/* ============================================================
   Egoire – Brand Page Styles
   File:  public/css/brand.css
   ============================================================

   Table of Contents:
   1. Brand Hero
   2. Brand Logo
   3. Brand Description
   4. Brand Products Section
   5. Shop Toolbar
   6. Empty State
   7. Responsive
   ============================================================ */


/* ============================================================
   1. BRAND HERO
   ============================================================ */
.brand-hero {
    padding: 72px 0 56px;
    text-align: center;
    background: linear-gradient(
        180deg,
        #FAF6F3 0%,
        #ffffff 100%
    );
    border-bottom: 1px solid rgba(198, 167, 94, 0.08);
}

.brand-hero__inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}


/* ============================================================
   2. BRAND LOGO
   ============================================================ */
.brand-hero__logo {
    display: block;
    max-width: 200px;
    max-height: 80px;
    margin: 0 auto 28px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.4s ease;
}

.brand-hero__logo:hover {
    filter: grayscale(0%);
}

.brand-hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    color: #0a0a0a;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
    line-height: 1.2;
}


/* ============================================================
   3. BRAND DESCRIPTION
   ============================================================ */
.brand-hero__desc {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #666;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
}

.brand-hero__desc p {
    margin: 0 0 12px;
}

.brand-hero__desc p:last-child {
    margin-bottom: 0;
}

.brand-hero__count {
    display: inline-block;
    margin-top: 24px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #999;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ============================================================
   4. BRAND PRODUCTS SECTION
   ============================================================ */
.brand-products {
    padding: 60px 0 100px;
}

.brand-products__container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}


/* ============================================================
   5. SHOP TOOLBAR (sort within brand page)
   ============================================================ */
.brand-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.brand-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-toolbar__label {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.brand-toolbar__select {
    appearance: none;
    -webkit-appearance: none;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #222;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 10px 36px 10px 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
    min-width: 200px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23888' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.brand-toolbar__select:focus {
    border-color: #C6A75E;
}


/* ============================================================
   6. EMPTY STATE
   ============================================================ */
.brand-empty {
    text-align: center;
    padding: 80px 20px;
}

.brand-empty__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px;
}

.brand-empty__text {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 15px;
    color: #888;
    margin: 0;
}


/* ============================================================
   7. RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1199px) {
    .brand-hero {
        padding: 56px 0 44px;
    }

    .brand-hero__logo {
        max-width: 160px;
        max-height: 64px;
        margin-bottom: 24px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .brand-hero {
        padding: 40px 0 32px;
    }

    .brand-hero__logo {
        max-width: 140px;
        max-height: 56px;
        margin-bottom: 20px;
    }

    .brand-hero__desc {
        font-size: 14px;
    }

    .brand-hero__count {
        font-size: 12px;
        margin-top: 18px;
    }

    .brand-products {
        padding: 40px 0 60px;
    }

    .brand-toolbar {
        margin-bottom: 24px;
    }

    .brand-toolbar__select {
        min-width: 0;
        width: 100%;
    }

    .brand-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Small Mobile */
@media (max-width: 479px) {
    .brand-hero {
        padding: 32px 0 24px;
    }

    .brand-hero__title {
        font-size: 24px;
    }
}
