/* ============================================================
   BRAND DIRECTORY — Premium fashion editorial
   /marka — Hero + Search + Alphabet + Featured + Grid + CTA
   ============================================================ */

.brand-page {
    --bg: #FCFBF8;
    --surface: #FFFFFF;
    --surface-soft: #F7F5F2;
    --text: #111111;
    --text-soft: #666666;
    --muted: #8B8B8B;
    --border: #E9E5DF;
    --border-soft: #F0EDE7;
    --blue: #7C3AED;
    --blue-soft: #F5F3FF;
    --black: #0D0D0D;
    --beige: #E8DFD2;
    --sand: #D8C6B0;

    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 64px;
}

.brand-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.brand-section { margin-top: 64px; }
.brand-section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--text);
    margin: 0 0 22px;
}
.brand-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.brand-section-header .brand-section-title { margin: 0; }
.brand-section-count {
    font-size: 13px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   1. HERO
   ============================================================ */
.brand-hero-section { padding-top: 28px; }

.brand-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.05);
}

.brand-hero-text {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-width: 0;
}
.brand-hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0;
}
.brand-hero-title em {
    font-style: italic;
    color: var(--blue);
    font-weight: 400;
}
.brand-hero-deck {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-soft);
    margin: 0;
    max-width: 520px;
}

.brand-hero-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.brand-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    flex: 1;
    min-width: 110px;
}
.brand-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--surface);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-soft);
}
.brand-stat-body { display: flex; flex-direction: column; line-height: 1.2; }
.brand-stat-body strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.015em;
    font-variant-numeric: tabular-nums;
}
.brand-stat-body span {
    font-size: 11.5px;
    color: var(--muted);
    text-transform: lowercase;
}

.brand-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.brand-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: var(--black);
    color: #FFFFFF;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-btn-primary:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(13, 13, 13, 0.25);
}
.brand-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.brand-btn-ghost:hover {
    background: var(--surface-soft);
    border-color: #DDD8CF;
    color: var(--text);
    text-decoration: none;
}

/* HERO sağ — visual + floating cards */
.brand-hero-visual {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--beige);
    min-height: 460px;
}
.brand-floating-list {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 240px;
}
.brand-floating-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.25s ease;
}
.brand-floating-card:nth-child(1) { transform: translateX(-30px); }
.brand-floating-card:nth-child(2) { transform: translateX(0); }
.brand-floating-card:nth-child(3) { transform: translateX(-20px); }
.brand-floating-card:hover {
    transform: translateX(-4px);
    color: var(--text);
    text-decoration: none;
}
.brand-floating-thumb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-soft);
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.brand-floating-body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-floating-body strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand-floating-body span {
    font-size: 11px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   2. SEARCH + ALPHABET
   ============================================================ */
.brand-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    margin-bottom: 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.brand-search:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
}
.brand-search-icon { color: var(--muted); flex-shrink: 0; display: inline-flex; }
.brand-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: var(--text);
    height: 44px;
    padding: 0;
    min-width: 0;
}
.brand-search input::placeholder { color: var(--muted); }
.brand-search-btn {
    height: 40px;
    padding: 0 22px;
    background: var(--black);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.brand-search-btn:hover { opacity: 0.88; }

.brand-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-soft);
}
.brand-alpha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 32px;
    padding: 0 10px;
    background: transparent;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.brand-alpha:first-child {
    padding: 0 14px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
}
.brand-alpha:hover {
    background: var(--surface-soft);
    color: var(--text);
    text-decoration: none;
}
.brand-alpha.is-active {
    background: var(--black);
    color: #FFFFFF;
    border-color: var(--black);
}
.brand-alpha.is-active:hover { background: var(--black); color: #FFFFFF; }
.brand-alpha.is-empty {
    color: var(--muted);
    opacity: 0.45;
    pointer-events: none;
}

/* ============================================================
   3. ÖNE ÇIKAN MARKALAR — 4 büyük kart
   ============================================================ */
.brand-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.brand-featured-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    color: var(--text);
    text-decoration: none;
}

.brand-featured-cover {
    position: relative;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-soft);
    overflow: hidden;
}
.brand-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.20) 55%,
        rgba(0, 0, 0, 0.78) 100%);
    pointer-events: none;
}
.brand-featured-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #FFFFFF;
    z-index: 1;
}
.brand-featured-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
    color: #FFFFFF;
}
.brand-featured-tag {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    letter-spacing: -0.005em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.brand-featured-meta {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.7);
    margin: 4px 0 0;
    font-variant-numeric: tabular-nums;
}

.brand-featured-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 18px;
    border-top: 1px solid var(--border-soft);
}
.brand-featured-domain {
    font-size: 12px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand-featured-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--black);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.brand-featured-card:hover .brand-featured-arrow {
    transform: translateX(2px);
}

/* ============================================================
   4. BRAND GRID — alfabetik liste
   ============================================================ */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.brand-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.brand-card:hover {
    transform: translateY(-1px);
    border-color: #DDD8CF;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    color: var(--text);
}
.brand-card-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--surface-soft);
    background-size: cover;
    background-position: center;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-soft);
}
.brand-card-body { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.brand-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.brand-card-badge {
    font-size: 11px;
    color: var(--blue);
    line-height: 1;
}
.brand-card-meta {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand-card-arrow {
    color: var(--muted);
    font-size: 18px;
    transition: transform 0.15s ease, color 0.15s ease;
}
.brand-card:hover .brand-card-arrow {
    color: var(--text);
    transform: translateX(2px);
}

.brand-empty {
    padding: 56px 24px;
    text-align: center;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: 18px;
    color: var(--muted);
}
.brand-empty p { margin: 0 0 16px; font-size: 14px; }

/* ============================================================
   5. BOTTOM CTA
   ============================================================ */
.brand-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 48px;
    background:
        radial-gradient(ellipse 60% 100% at 100% 50%, rgba(216, 198, 176, 0.4) 0%, transparent 65%),
        linear-gradient(135deg, var(--surface-soft) 0%, var(--beige) 130%);
    border: 1px solid var(--border);
    border-radius: 24px;
    flex-wrap: wrap;
}
.brand-bottom-cta-body { flex: 1; min-width: 280px; }
.brand-bottom-cta-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 6px;
}
.brand-bottom-cta-deck {
    font-size: 13.5px;
    color: var(--text-soft);
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
    .brand-container { padding: 0 32px; }
    .brand-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    .brand-hero { grid-template-columns: 1fr; }
    .brand-hero-visual { min-height: 360px; aspect-ratio: 16 / 10; }
    .brand-hero-text { padding: 40px 32px; }
    .brand-floating-list { right: 16px; max-width: 220px; }
    .brand-floating-card:nth-child(1),
    .brand-floating-card:nth-child(2),
    .brand-floating-card:nth-child(3) { transform: translateX(0); }
    .brand-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .brand-container { padding: 0 20px; }
    .brand-hero-section { padding-top: 16px; }
    .brand-section { margin-top: 44px; }
    .brand-hero-text { padding: 32px 24px; }
    .brand-hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .brand-hero-stats { gap: 8px; }
    .brand-stat { padding: 10px 12px; min-width: 90px; }
    .brand-stat-body strong { font-size: 16px; }
    .brand-section-title { font-size: 22px; }
    .brand-floating-list { display: none; }
    .brand-search input { font-size: 14px; height: 40px; }
    .brand-alpha { min-width: 30px; height: 30px; font-size: 11.5px; padding: 0 8px; }
    .brand-bottom-cta { padding: 28px 24px; }
    .brand-bottom-cta-title { font-size: 20px; }
}

@media (max-width: 480px) {
    .brand-featured-grid { grid-template-columns: 1fr; gap: 14px; }
    .brand-grid { grid-template-columns: 1fr; }
    .brand-hero-actions { flex-direction: column; align-items: stretch; }
    .brand-btn-primary, .brand-btn-ghost { justify-content: center; }
}

/* ============================================================
   ============================================================
   BRAND DETAIL — /marka/{slug}
   Premium fashion editorial detail
   ============================================================
   ============================================================ */

.brand-detail-page {
    --bg: #FCFBF8;
    --surface: #FFFFFF;
    --surface-soft: #F7F5F2;
    --text: #111111;
    --text-soft: #666666;
    --muted: #8B8B8B;
    --border: #E9E5DF;
    --border-soft: #F0EDE7;
    --blue: #7C3AED;
    --blue-soft: #F5F3FF;
    --black: #0D0D0D;
    --beige: #E8DFD2;
    --warm: #C9AA84;

    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 64px;
}

.brand-detail-section { margin-top: 56px; }
.brand-detail-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.brand-detail-section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--text);
    margin: 0;
}
.brand-detail-section-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.15s ease;
}
.brand-detail-section-link:hover { color: var(--blue); text-decoration: none; }
.brand-detail-section-count {
    font-size: 13px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   1. HERO
   ============================================================ */
.brand-detail-hero-section { padding-top: 28px; }

.brand-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.05);
}

.brand-detail-hero-text {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-width: 0;
}

.brand-detail-bc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 4px;
}
.brand-detail-bc a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}
.brand-detail-bc a:hover { color: var(--text); text-decoration: none; }
.brand-detail-bc-sep { color: var(--border); }
.brand-detail-bc-current { color: var(--text); font-weight: 600; }

.brand-detail-hero-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin: 0;
}
.brand-detail-hero-deck {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-soft);
    margin: 0;
    max-width: 540px;
}

.brand-detail-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.brand-detail-follow-form { margin: 0; }

.brand-btn-ghost.is-following {
    background: var(--surface-soft);
    border-color: var(--blue);
    color: var(--blue);
}

.brand-detail-hero-stats {
    display: flex;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.brand-detail-stat {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-detail-stat strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.brand-detail-stat span {
    font-size: 11.5px;
    color: var(--muted);
    text-transform: lowercase;
    margin-top: 2px;
}

/* HERO sağ — visual + floating product */
.brand-detail-hero-visual {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--beige);
    min-height: 480px;
    overflow: hidden;
}
.brand-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.06) 100%);
    pointer-events: none;
}

.brand-detail-floating-product {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 10px;
    width: 280px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.25s ease;
}
.brand-detail-floating-product:hover {
    transform: translateY(-52%);
    color: var(--text);
    text-decoration: none;
}
.brand-detail-floating-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    padding: 4px 12px;
    background: var(--black);
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    border-radius: 999px;
    text-transform: uppercase;
}
.brand-detail-floating-image {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    background: var(--surface-soft);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.brand-detail-floating-body {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
    gap: 2px;
}
.brand-detail-floating-brand {
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.brand-detail-floating-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand-detail-floating-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.brand-detail-floating-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--black);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    flex-shrink: 0;
}

/* ============================================================
   2. OVERVIEW STRIP
   ============================================================ */
.brand-detail-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.brand-detail-overview-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.brand-detail-overview-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface-soft);
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.brand-detail-overview-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0 0 8px;
}
.brand-detail-overview-deck {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-soft);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-detail-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.brand-detail-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--surface-soft);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text);
}
.brand-detail-cat-icon { width: 14px; height: 14px; object-fit: cover; border-radius: 4px; }
.brand-detail-cat-count {
    background: var(--black);
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

.brand-detail-social {
    display: flex;
    gap: 6px;
}
.brand-detail-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--surface-soft);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.brand-detail-social a:hover {
    background: var(--black);
    color: #FFFFFF;
    transform: translateY(-2px);
    text-decoration: none;
}

.brand-detail-website-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}
.brand-detail-website-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   3. LOOKBOOK
   ============================================================ */
.brand-detail-lookbook {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.brand-detail-look-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-detail-look-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
    color: var(--text);
    text-decoration: none;
}
.brand-detail-look-cover {
    position: relative;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-soft);
}
.brand-detail-look-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0.78) 100%);
    pointer-events: none;
}
.brand-detail-look-content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #FFFFFF;
}
.brand-detail-look-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
    color: #FFFFFF;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.brand-detail-look-meta {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.brand-detail-look-dot { color: rgba(255, 255, 255, 0.5); }

/* ============================================================
   4. POPÜLER ÜRÜNLER
   ============================================================ */
.brand-detail-products {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}
.brand-detail-product-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-detail-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    color: var(--text);
    text-decoration: none;
}
.brand-detail-product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-soft);
}
.brand-detail-product-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.brand-detail-product-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.brand-detail-product-brand {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.brand-detail-product-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.005em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    min-height: 2.6em;
}
.brand-detail-product-cat {
    font-size: 11px;
    color: var(--text-soft);
    margin-top: 2px;
}
.brand-detail-product-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    margin-top: 4px;
}

/* ============================================================
   5. SPLIT — saved list + about
   ============================================================ */
.brand-detail-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: start;
}
.brand-detail-split-side { display: flex; flex-direction: column; min-width: 0; }
.brand-detail-split-side .brand-detail-section-header { margin-bottom: 14px; }

.brand-detail-saved-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}
.brand-detail-saved-list li + li {
    border-top: 1px solid var(--border-soft);
}
.brand-detail-saved-row {
    display: grid;
    grid-template-columns: 32px 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s ease;
}
.brand-detail-saved-row:hover {
    background: var(--surface-soft);
    color: var(--text);
    text-decoration: none;
}
.brand-detail-saved-rank {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    color: var(--warm);
    text-align: center;
    line-height: 1;
}
.brand-detail-saved-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-soft);
    flex-shrink: 0;
}
.brand-detail-saved-body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; gap: 2px; }
.brand-detail-saved-body strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand-detail-saved-body span {
    font-size: 12px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.brand-detail-saved-likes {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* About card */
.brand-detail-about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.brand-detail-about-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-soft);
    margin: 0 0 18px;
}
.brand-detail-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
}
.brand-detail-facts > div { display: flex; flex-direction: column; gap: 2px; }
.brand-detail-facts dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 600;
}
.brand-detail-facts dd {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

/* ============================================================
   6. BENZER MARKALAR
   ============================================================ */
.brand-detail-similar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.brand-detail-similar-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.brand-detail-similar-card:hover {
    transform: translateY(-2px);
    border-color: #DDD8CF;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    color: var(--text);
    text-decoration: none;
}
.brand-detail-similar-thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-soft);
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-soft);
}
.brand-detail-similar-body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; gap: 2px; }
.brand-detail-similar-body strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand-detail-similar-body span {
    font-size: 11.5px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============================================================
   7. BOTTOM CTA
   ============================================================ */
.brand-detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 48px;
    background:
        radial-gradient(ellipse 60% 100% at 100% 50%, rgba(216, 198, 176, 0.4) 0%, transparent 65%),
        linear-gradient(135deg, var(--surface-soft) 0%, var(--beige) 130%);
    border: 1px solid var(--border);
    border-radius: 24px;
    flex-wrap: wrap;
}
.brand-detail-cta-body { flex: 1; min-width: 280px; }
.brand-detail-cta-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--text);
    margin: 0 0 6px;
}
.brand-detail-cta-deck {
    font-size: 13.5px;
    color: var(--text-soft);
    margin: 0;
}

/* ============================================================
   RESPONSIVE — Detail
   ============================================================ */
@media (max-width: 1280px) {
    .brand-detail-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .brand-detail-lookbook { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .brand-detail-hero { grid-template-columns: 1fr; }
    .brand-detail-hero-visual { min-height: 380px; aspect-ratio: 16 / 10; }
    .brand-detail-hero-text { padding: 36px 32px; }
    .brand-detail-floating-product {
        right: 16px;
        top: auto;
        bottom: 24px;
        transform: none;
        width: 260px;
    }
    .brand-detail-floating-product:hover { transform: translateY(-2px); }
    .brand-detail-similar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-detail-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .brand-detail-split { grid-template-columns: 1fr; gap: 28px; }
    .brand-detail-lookbook { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .brand-detail-section { margin-top: 40px; }
    .brand-detail-hero-text { padding: 28px 22px; }
    .brand-detail-hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    .brand-detail-hero-stats { gap: 18px; }
    .brand-detail-stat strong { font-size: 18px; }
    .brand-detail-section-title { font-size: 20px; }
    .brand-detail-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-detail-lookbook { grid-template-columns: 1fr; }
    .brand-detail-cta { padding: 28px 24px; }
    .brand-detail-cta-title { font-size: 20px; }
    .brand-detail-floating-product {
        width: calc(100% - 32px);
        left: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .brand-detail-products { grid-template-columns: 1fr; }
    .brand-detail-similar { grid-template-columns: 1fr; }
    .brand-detail-saved-row {
        grid-template-columns: 28px 48px minmax(0, 1fr);
        gap: 10px;
        padding: 10px 14px;
    }
    .brand-detail-saved-thumb { width: 48px; height: 48px; }
    .brand-detail-saved-likes {
        grid-column: 1 / -1;
        text-align: right;
        padding-top: 4px;
        margin-top: 4px;
        border-top: 1px solid var(--border-soft);
    }
    .brand-detail-facts { grid-template-columns: 1fr; }
}

