/* =========================================================
   STORE DETAIL PAGE
   Beyaz zemin + kırmızı vurgu
   Dinamik mağaza detay + ürün vitrini
   ========================================================= */

.store-detail-page {
    background: #ffffff;
    padding: 28px 0 70px;
    color: #111111;
}

.store-detail-page * {
    box-sizing: border-box;
}

.store-detail-page a {
    text-decoration: none;
}

.store-detail-page img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.store-detail-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.22s ease;
    cursor: pointer;
}

.store-detail-page .btn:hover {
    transform: translateY(-2px);
}

.store-detail-page .btn-primary {
    background: #c40000;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(196, 0, 0, 0.16);
}

.store-detail-page .btn-primary:hover {
    background: #990000;
    color: #ffffff;
}

/* =========================================================
   SECTION HEADING
   ========================================================= */
.store-detail-page .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.store-detail-page .section-heading__eyebrow,
.store-detail-hero__eyebrow,
.store-detail-empty-state__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffe8e8;
    color: #c40000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-detail-page .section-heading__eyebrow {
    margin-bottom: 10px;
}

.store-detail-page .section-heading__title {
    margin: 0;
    color: #111111;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.store-detail-page .section-heading__meta {
    color: #c40000;
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   HERO
   ========================================================= */
.store-detail-hero {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 36px;
    border: 1px solid #ececec;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(196, 0, 0, 0.10), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.store-detail-hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-detail-hero__logo,
.store-detail-hero__logo-placeholder {
    width: 100%;
    max-width: 220px;
    height: 220px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    background: #fafafa;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.store-detail-hero__logo {
    object-fit: cover;
}

.store-detail-hero__logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%);
    color: #c40000;
    font-size: 64px;
    font-weight: 800;
}

.store-detail-hero__content {
    max-width: 820px;
}

.store-detail-hero__eyebrow {
    margin-bottom: 18px;
}

.store-detail-hero__title {
    margin: 0 0 14px;
    color: #111111;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.store-detail-hero__location {
    margin-bottom: 14px;
    color: #c40000;
    font-size: 15px;
    font-weight: 700;
}

.store-detail-hero__text {
    margin: 0;
    color: #555555;
    font-size: 17px;
    line-height: 1.85;
}

/* =========================================================
   DETAIL SECTIONS
   ========================================================= */
.store-detail-section {
    margin-top: 42px;
}

.store-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.store-detail-meta-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 120px;
    padding: 20px;
    border: 1px solid #ececec;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.22s ease;
}

.store-detail-meta-card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 0, 0, 0.20);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.07);
}

.store-detail-meta-card--full {
    grid-column: 1 / -1;
    min-height: auto;
}

.store-detail-meta-card__label {
    color: #777777;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.store-detail-meta-card__value {
    color: #111111;
    font-size: 15px;
    line-height: 1.75;
    word-break: break-word;
}

/* =========================================================
   PRODUCT GRID
   ========================================================= */
.store-detail-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.store-detail-product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.store-detail-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196, 0, 0, 0.22);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.store-detail-product-card::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #990000, #c40000);
}

.store-detail-product-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fafafa;
    border-bottom: 1px solid #ececec;
}

.store-detail-product-card__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.store-detail-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.store-detail-product-card:hover .store-detail-product-card__image img {
    transform: scale(1.04);
}

.store-detail-product-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%);
}

.store-detail-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    height: 100%;
}

.store-detail-product-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.store-detail-product-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ffe8e8;
    color: #c40000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.store-detail-product-card__title {
    margin: 0;
    min-height: 60px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}

.store-detail-product-card__title a {
    color: #111111;
    transition: color 0.2s ease;
}

.store-detail-product-card__title a:hover {
    color: #c40000;
}

.store-detail-product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #555555;
    font-size: 14px;
    font-weight: 600;
}

.store-detail-product-card__price {
    color: #111111;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.store-detail-product-card__price--ask {
    color: #c40000;
    font-size: 18px;
    font-weight: 800;
}

.store-detail-product-card__actions {
    margin-top: auto;
    display: flex;
    align-items: center;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */
.store-detail-empty-state {
    margin-top: 28px;
}

.store-detail-empty-state__box {
    padding: 54px 28px;
    text-align: center;
    border: 1px solid #ececec;
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f8 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.store-detail-empty-state__eyebrow {
    margin-bottom: 14px;
}

.store-detail-empty-state__box h2 {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 800;
    color: #111111;
}

.store-detail-empty-state__box p {
    max-width: 620px;
    margin: 0 auto;
    color: #555555;
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
    .store-detail-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-detail-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .store-detail-page {
        padding: 22px 0 52px;
    }

    .store-detail-hero {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .store-detail-hero__media {
        justify-content: flex-start;
    }

    .store-detail-page .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .store-detail-hero,
    .store-detail-empty-state__box {
        padding: 20px 18px;
    }

    .store-detail-hero__title {
        font-size: 30px;
    }

    .store-detail-hero__text {
        font-size: 15px;
        line-height: 1.75;
    }

    .store-detail-meta-grid,
    .store-detail-product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .store-detail-meta-card--full {
        grid-column: auto;
    }

    .store-detail-product-card__title {
        min-height: auto;
        font-size: 19px;
    }

    .store-detail-product-card__price {
        font-size: 22px;
    }

    .store-detail-page .btn {
        width: 100%;
    }

    .store-detail-empty-state__box h2 {
        font-size: 24px;
    }
}