/* ============================================================
   BRAND LANDING PAGE STYLES
   ============================================================ */

.brand-hero-section {
    padding: 44px 0 52px;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.brand-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

/* ------------------------------------------------------------
   LEFT: BRAND INFO & DESCRIPTION
   ------------------------------------------------------------ */
.brand-hero-info {
    display: flex;
    flex-direction: column;
}

.brand-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.brand-breadcrumb-link {
    color: #888888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.brand-breadcrumb-link:hover {
    color: #111111;
}

.brand-breadcrumb-sep {
    color: #aaaaaa;
    font-size: 10px;
    font-weight: 700;
}

.brand-breadcrumb-current {
    color: #555555;
    font-weight: 700;
}

.brand-title-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.brand-heading {
    font-size: 38px;
    font-weight: 600;
    /* color: #111111; */
    margin: 0;
    line-height: 1.1;
    /* letter-spacing: -0.5px; */
}

.btn-brand-follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border: 1.5px solid #111111;
    border-radius: 4px;
    background-color: #ffffff;
    color: #111111;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.btn-brand-follow:hover {
    background-color: #111111;
    color: #ffffff;
    transform: translateY(-1px);
}

.brand-desc-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-desc-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #444444;
    margin: 0 0 10px 0;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.brand-desc-text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.brand-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
}

.brand-readmore-btn:hover {
    color: #555555;
}

.brand-readmore-btn svg {
    transition: transform 0.25s ease;
}

.brand-readmore-btn.is-active svg {
    transform: rotate(180deg);
}

/* ------------------------------------------------------------
   RIGHT: BRAND BANNER GRAPHIC
   ------------------------------------------------------------ */
.brand-hero-media {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-banner-card {
    width: 100%;
    aspect-ratio: 2.35 / 1;
    background-color: #000000;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.brand-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   BRAND SPOTLIGHT / CAMPAIGN FEATURE SECTION
   ============================================================ */
.brand-spotlight-section {
    padding: 40px 0 60px;
    background-color: #ffffff;
}

.brand-spotlight-card {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    background-color: #f6f6f6;
    border-radius: 4px;
    overflow: hidden;
}

.brand-spotlight-media {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000000;
}

.brand-spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 0.8 / 1;
}

.brand-spotlight-info {
    padding: 40px 48px 40px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-spotlight-tag {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #111111;
    margin-bottom: 10px;
}

.brand-spotlight-title {
    font-size: 32px;
    font-weight: 900;
    color: #111111;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.brand-spotlight-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #444444;
    margin: 0 0 24px 0;
    max-width: 520px;
}

.brand-spotlight-action {
    display: flex;
}

.btn-spotlight-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: #000000;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.btn-spotlight-shop:hover {
    background-color: #2b2b2b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   BRAND PRODUCTS SECTION & TOOLBAR
   ============================================================ */
.brand-products-section {
    padding: 30px 0 50px;
    background-color: #ffffff;
}

.brand-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-bottom: 24px;
    margin-bottom: 36px;
    border-bottom: 1px solid #efefef;
}

.brand-toolbar-left {
    display: flex;
    align-items: center;
}

.brand-toolbar-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    /* letter-spacing: 0.8px; */
    text-transform: uppercase;
}

.brand-toolbar-breadcrumb a {
    color: #777777;
    text-decoration: none;
    transition: color 0.2s ease;
}

.brand-toolbar-breadcrumb a:hover {
    color: #000000;
}

.brand-toolbar-breadcrumb .sep {
    color: #bbbbbb;
    font-size: 10px;
}

.brand-toolbar-breadcrumb .current {
    color: #111111;
}

.brand-toolbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.brand-items-count {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    /* color: #111111; */
}

.brand-toolbar-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand-toolbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 500;
    /* letter-spacing: 0.8px; */
    text-transform: uppercase;
    /* color: #111111; */
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s ease;
}

.brand-toolbar-btn:hover {
    opacity: 0.7;
}

/* Trending Sort Dropdown */
.brand-sort-wrap {
    position: relative;
}

.brand-sort-trigger .sort-chevron {
    transition: transform 0.2s ease;
}

.brand-sort-wrap.is-open .sort-chevron {
    transform: rotate(180deg);
}

.brand-sort-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.brand-sort-wrap.is-open .brand-sort-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.brand-sort-option {
    background: transparent;
    border: none;
    text-align: left;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    /* letter-spacing: 0.6px; */
    text-transform: uppercase;
    color: #333333;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease;
    width: 100%;
}

.brand-sort-option:hover {
    background-color: #f7f7f7;
    color: #000000;
}

.brand-sort-option.is-active {
    font-weight: 700;
    color: #000000;
}

/* ------------------------------------------------------------
   BRAND PRODUCTS GRID
   ------------------------------------------------------------ */
.brand-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 16px;
}

/* ============================================================
   FILTER SIDEBAR DRAWER & BACKDROP
   ============================================================ */
.brand-filter-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

.brand-filter-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.brand-filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.brand-filter-drawer.is-open {
    transform: translateX(0);
}

.brand-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid #eeeeee;
    position: relative;
}

.btn-filter-close {
    background: transparent;
    border: none;
    color: #111111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: opacity 0.2s ease;
}

.btn-filter-close:hover {
    opacity: 0.7;
}

.filter-drawer-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111111;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.brand-filter-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 28px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.brand-filter-body::-webkit-scrollbar {
    width: 4px;
}

.brand-filter-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.filter-group {
    border-bottom: 1px solid #eeeeee;
    padding: 16px 0;
}

.filter-group-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 600;
    /* letter-spacing: 0.8px; */
    text-transform: uppercase;
    /* color: #111111; */
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.filter-group-header .acc-chevron {
    transition: transform 0.25s ease;
}

.filter-group.is-expanded .acc-chevron {
    transform: rotate(180deg);
}

.filter-group-content {
    display: none;
    padding: 14px 0 6px;
}

.filter-group.is-expanded .filter-group-content {
    display: block;
}

.filter-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13.5px;
    color: #333333;
    user-select: none;
}

.filter-option-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-radio {
    width: 16px;
    height: 16px;
    border: 1.5px solid #aaaaaa;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
}

.filter-option-item input[type="radio"]:checked+.custom-radio {
    border-color: #000000;
}

.filter-option-item input[type="radio"]:checked+.custom-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #000000;
    border-radius: 50%;
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1.5px solid #aaaaaa;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-option-item input[type="checkbox"]:checked+.custom-checkbox,
.filter-sale-item input[type="checkbox"]:checked+.custom-checkbox {
    background-color: #000000;
    border-color: #000000;
}

.filter-option-item input[type="checkbox"]:checked+.custom-checkbox::after,
.filter-sale-item input[type="checkbox"]:checked+.custom-checkbox::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.filter-size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.size-pill-btn {
    padding: 9px 4px;
    font-size: 11.5px;
    font-weight: 700;
    border: 1px solid #dddddd;
    background-color: #ffffff;
    color: #111111;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: all 0.2s ease;
}

.size-pill-btn:hover {
    border-color: #000000;
}

.size-pill-btn.is-selected {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.filter-group--sale {
    padding: 22px 0;
}

.filter-sale-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.filter-sale-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-sale-item .sale-label {
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #111111;
}

.brand-filter-footer {
    padding: 18px 28px;
    border-top: 1px solid #eeeeee;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background-color: #ffffff;
}

.btn-filter-action {
    padding: 13px 0;
    font-size: 13px;
    font-weight: 600;
    /* letter-spacing: 0.8px; */
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    border-radius: 2px;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-filter-clear {
    border: 1.5px solid #111111;
    background-color: #ffffff;
    color: #111111;
}

.btn-filter-clear:hover {
    background-color: #f7f7f7;
}

.btn-filter-view {
    border: 1.5px solid #111111;
    background-color: #000000;
    color: #ffffff;
}

.btn-filter-view:hover {
    background-color: #2b2b2b;
    border-color: #2b2b2b;
}

/* ------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES
   ------------------------------------------------------------ */
@media (max-width: 1200px) {
    .brand-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px 20px;
    }
}

@media (max-width: 991px) {
    .brand-hero-section {
        padding: 36px 0 40px;
    }

    .brand-hero-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .brand-heading {
        font-size: 32px;
    }

    .brand-banner-card {
        aspect-ratio: 2.4 / 1;
        max-width: 600px;
        margin: 0 auto;
    }

    .brand-spotlight-card {
        grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
        gap: 36px;
    }

    .brand-spotlight-info {
        padding: 30px 32px 30px 0;
    }

    .brand-spotlight-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .brand-spotlight-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .brand-spotlight-media img {
        aspect-ratio: 1.2 / 1;
        max-height: 400px;
    }

    .brand-spotlight-info {
        padding: 28px 24px 32px 24px;
    }

    .brand-products-toolbar {
        flex-wrap: wrap;
        gap: 16px;
    }

    .brand-toolbar-center {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        text-align: center;
        padding-top: 8px;
        border-top: 1px dashed #eee;
    }

    .brand-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }
}

@media (max-width: 576px) {
    .brand-hero-section {
        padding: 24px 0 32px;
    }

    .brand-heading {
        font-size: 28px;
    }

    .btn-brand-follow {
        padding: 5px 14px;
        font-size: 12px;
    }

    .brand-desc-text {
        font-size: 13.5px;
        line-height: 1.55;
    }

    .brand-banner-card {
        aspect-ratio: 2.2 / 1;
        max-width: 100%;
    }

    .brand-spotlight-section {
        padding: 24px 0 40px;
    }

    .brand-spotlight-media img {
        aspect-ratio: 1 / 1;
    }

    .brand-spotlight-title {
        font-size: 22px;
    }

    .brand-spotlight-desc {
        font-size: 13.5px;
        margin-bottom: 20px;
    }

    .btn-spotlight-shop {
        padding: 10px 22px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }

    .brand-products-section {
        padding: 20px 0 40px;
    }

    .brand-toolbar-breadcrumb {
        font-size: 10px;
    }

    .brand-toolbar-right {
        gap: 16px;
    }

    .brand-toolbar-btn {
        font-size: 11.5px;
    }

    .brand-filter-drawer {
        width: 100%;
    }
}
