/* ============================================================
   SHOP / COLLECTION / CATEGORY ARCHIVE
   ============================================================ */

.gb-shop-page {
    background: var(--bg-page);
}

.gb-shop-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .gb-shop-shell {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .gb-shop-shell {
        padding: 0 48px;
    }
}

.gb-shop-section {
    position: relative;
}

.gb-shop-section--warm {
    background: linear-gradient(180deg, var(--bg-sunk) 0%, rgba(248, 247, 245, 0.88) 100%);
}

.gb-shop-section--white {
    background: var(--bg-surface);
}

.gb-shop-hero {
    padding: 92px 0 54px;
}

.gb-shop-header {
    max-width: 780px;
}

.gb-shop-header__eyebrow {
    margin-bottom: 14px;
}

.gb-shop-header__title {
    margin: 0;
    font-family: var(--ff-sans);
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.gb-shop-header__text {
    margin: 18px 0 0;
    max-width: 58ch;
    font-family: var(--ff-serif);
    font-size: clamp(1.04rem, 1.6vw, 1.18rem);
    line-height: 1.72;
    color: var(--fg-2);
}

.gb-shop-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
}

.gb-shop-toolbar__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-left: auto;
}

.gb-shop-count {
    flex-shrink: 0;
    font-family: var(--ff-serif);
    font-size: 14px;
    line-height: 1.35;
    color: var(--fg-3);
    white-space: nowrap;
}

.gb-shop-sort {
    position: relative;
    flex-shrink: 0;
}

.gb-shop-sort__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 240px;
    min-height: 46px;
    padding: 0 44px 0 16px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.82);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    font-family: var(--ff-sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--fg-1);
    transition: border-color 0.2s var(--ease-calm), background-color 0.2s var(--ease-calm), box-shadow 0.2s var(--ease-calm);
}

.gb-shop-sort__select:hover,
.gb-shop-sort__select:focus-visible {
    border-color: var(--geb-green-dark);
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 3px rgba(138, 154, 91, 0.14);
}

.gb-shop-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.gb-shop-filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: transparent;
    color: var(--fg-1);
    font-family: var(--ff-sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s var(--ease-calm), background-color 0.2s var(--ease-calm), border-color 0.2s var(--ease-calm), color 0.2s var(--ease-calm);
}

.gb-shop-filter-pill:hover,
.gb-shop-filter-pill:focus-visible {
    transform: translateY(-1px);
    border-color: var(--geb-green-dark);
    color: var(--geb-green-dark);
}

.gb-shop-filter-pill.is-active,
.gb-shop-filter-pill[aria-current="page"] {
    background: var(--geb-green);
    border-color: var(--geb-green);
    color: #fff;
}

.gb-shop-results {
    padding: 112px 0;
}

.gb-shop-results__body {
    display: grid;
    gap: 32px;
}

.gb-shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 720px) {
    .gb-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (min-width: 1080px) {
    .gb-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

.gb-shop-grid .gb-product-card {
    height: 100%;
}

.gb-shop-grid .gb-product-card__body {
    padding: 20px 20px 22px;
}

.gb-shop-grid .gb-product-card__title {
    font-size: 1.32rem;
}

.gb-shop-grid .gb-product-card__media {
    background: linear-gradient(135deg, #f4f1eb 0%, #e2d9cd 100%);
}

.gb-category-strip {
    max-width: 1320px;
    margin: 0 auto 36px;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .gb-category-strip {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .gb-category-strip {
        padding: 0 48px;
    }
}

.gb-category-strip__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 21 / 7;
    border-radius: 32px;
    background: linear-gradient(135deg, #f4f1eb 0%, #e2d9cd 100%);
    box-shadow: var(--shadow-overlay);
}

.gb-category-strip__media--tone-sage {
    background: linear-gradient(135deg, #ced7b6 0%, #a9b57d 48%, #7f8e56 100%);
}

.gb-category-strip__media--tone-mist {
    background: linear-gradient(135deg, #edf1ec 0%, #d4ded6 48%, #b0bdaa 100%);
}

.gb-category-strip__media--tone-sand {
    background: linear-gradient(135deg, #f4eee4 0%, #e4d4c4 48%, #cbb59a 100%);
}

.gb-category-strip__media--tone-clay {
    background: linear-gradient(135deg, #f0e5db 0%, #ddc0aa 48%, #b98f74 100%);
}

.gb-category-strip__media--tone-stone {
    background: linear-gradient(135deg, #f6f5f2 0%, #ded7cf 48%, #b8b2ab 100%);
}

.gb-category-strip__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-category-strip__fallback {
    position: absolute;
    inset: 0;
    display: block;
}

.gb-shop-load-more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.gb-shop-load-more__button {
    min-width: 220px;
}

.gb-shop-empty {
    padding: 56px 0 0;
    max-width: 640px;
}

.gb-shop-empty p {
    margin-bottom: 0;
    font-family: var(--ff-serif);
    font-size: 1rem;
    line-height: 1.72;
    color: var(--fg-2);
}

.gb-shop-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 959px) {
    .gb-shop-hero {
        padding: 72px 0 36px;
    }

    .gb-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        margin-top: 28px;
    }

    .gb-shop-toolbar__meta {
        justify-content: space-between;
        margin-left: 0;
    }

    .gb-shop-sort__select {
        min-width: 210px;
    }

    .gb-shop-results {
        padding: 88px 0;
    }

    .gb-category-strip {
        margin-bottom: 28px;
    }
}

@media (max-width: 639px) {
    .gb-shop-toolbar__meta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .gb-shop-count {
        white-space: normal;
    }

    .gb-shop-sort__select {
        width: 100%;
        min-width: 0;
    }

    .gb-category-strip__media {
        border-radius: 24px;
    }
}
