/* =====================================================
   SHAANWEAR — Shop All Products Catalog Hub (shop.html)
   Reuses design tokens from base.css & card styles from tshirts.css
   ===================================================== */

/* ---------- 1. PAGE HEADER & BREADCRUMBS ---------- */
.shop-hero-header {
    background: var(--off-white, #F8F7F4);
    border-bottom: 1px solid var(--border, #E5E3DE);
    padding: 36px 0 40px;
}

.shop-hero-header__inner {
    width: 100%;
    max-width: var(--container, 1440px);
    margin: 0 auto;
    padding: 0 var(--gutter, 40px);
}

.shop-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-gray, #6E6E6E);
    margin-bottom: 14px;
}

.shop-breadcrumbs a {
    color: var(--text-gray, #6E6E6E);
    transition: color var(--t-fast, 200ms ease);
}

.shop-breadcrumbs a:hover {
    color: var(--black, #111111);
}

.shop-breadcrumbs__sep {
    color: #BDBDBD;
}

.shop-breadcrumbs__current {
    color: var(--black, #111111);
}

.shop-hero-header__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.shop-hero-header__title {
    font-family: var(--font, 'Inter', sans-serif);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--black, #111111);
    line-height: 1.15;
}

.shop-hero-header__sub {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--text-gray, #6E6E6E);
    max-width: 560px;
}

.shop-hero-header__count {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-gray, #6E6E6E);
}

/* ---------- 2. TWO-COLUMN LAYOUT (SIDEBAR + PRODUCT GRID) ---------- */
.shop-catalog.tshirts {
    padding: 48px 0 88px;
}

.shop-layout {
    width: 100%;
    max-width: var(--container, 1440px);
    margin: 0 auto;
    padding: 0 var(--gutter, 40px);
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

/* ---------- 3. SIDEBAR FILTERS ---------- */
.shop-sidebar {
    position: sticky;
    top: 104px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-right: 16px;
    border-right: 1px solid var(--border, #E5E3DE);
}

.filter-group {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border, #E5E3DE);
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-group__title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--black, #111111);
    margin-bottom: 16px;
}

/* Category Links List */
.filter-categories {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-categories__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-gray, #6E6E6E);
    padding: 4px 0;
    transition: color var(--t-fast, 200ms ease), transform var(--t-fast, 200ms ease);
}

.filter-categories__link:hover,
.filter-categories__link.is-active {
    color: var(--black, #111111);
    font-weight: 600;
}

.filter-categories__link.is-active::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent, #B79A68);
}

/* Size Boxes / Checkboxes */
.filter-sizes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.filter-size-box {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.filter-size-box input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-size-box__label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border: 1px solid var(--border, #E5E3DE);
    background: var(--white, #FFFFFF);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--black, #111111);
    border-radius: 2px;
    transition: border-color var(--t-fast, 200ms ease), background var(--t-fast, 200ms ease), color var(--t-fast, 200ms ease);
}

.filter-size-box:hover .filter-size-box__label {
    border-color: var(--black, #111111);
}

.filter-size-box input:checked + .filter-size-box__label {
    background: var(--black, #111111);
    border-color: var(--black, #111111);
    color: var(--white, #FFFFFF);
}

/* Sort By Dropdown */
.filter-sort-select {
    width: 100%;
    height: 42px;
    padding: 0 34px 0 12px;
    font-family: var(--font, 'Inter', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: var(--black, #111111);
    background-color: var(--white, #FFFFFF);
    border: 1px solid var(--border, #E5E3DE);
    border-radius: 2px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color var(--t-fast, 200ms ease);
}

.filter-sort-select:hover,
.filter-sort-select:focus {
    border-color: var(--black, #111111);
    outline: none;
}

/* ---------- 4. PRODUCT GRID & LOAD MORE ---------- */
.shop-main-col {
    min-width: 0;
}

.shop-catalog .tshirts__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 20px;
}

.shop-load-more {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.shop-load-more__btn {
    min-width: 220px;
    justify-content: center;
}

/* ---------- 5. RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1024px) {
    .shop-hero-header__inner,
    .shop-layout {
        padding: 0 20px;
    }

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

    .shop-sidebar {
        position: static;
        padding-right: 0;
        padding-bottom: 24px;
        border-right: none;
        border-bottom: 1px solid var(--border, #E5E3DE);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 24px;
    }

    .filter-group {
        padding-bottom: 0;
        border-bottom: none;
    }

    .shop-catalog .tshirts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 12px;
    }
}

