.shop-page {
    gap: 16px;
}

.shop-page__intro {
    display: grid;
    gap: 8px;
    padding-inline: 2px;
}

.shop-page__intro p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.9;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.shop-grid__card {
    --shop-card-accent: rgba(201, 162, 39, 0.22);
    --shop-card-accent-solid: #c9a227;
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    min-height: 122px;
    padding: 14px 12px;
    border-radius: 24px;
    border: 1px solid rgba(229, 231, 235, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 243, 0.94));
    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.64);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
    isolation: isolate;
}

.shop-grid__card::before,
.shop-grid__card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.shop-grid__card::before {
    inset-inline-start: -34px;
    top: -34px;
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--shop-card-accent), transparent 72%);
    transform: rotate(14deg);
}

.shop-grid__card::after {
    inset-inline-end: -18px;
    bottom: -22px;
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--shop-card-accent), transparent 72%);
}

.shop-grid__card:hover,
.shop-grid__card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(201, 162, 39, 0.34);
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.shop-grid__card--gold {
    --shop-card-accent: rgba(201, 162, 39, 0.24);
    --shop-card-accent-solid: #c9a227;
}

.shop-grid__card--soft {
    --shop-card-accent: rgba(180, 138, 96, 0.2);
    --shop-card-accent-solid: #b48a60;
}

.shop-grid__card--navy {
    --shop-card-accent: rgba(15, 23, 42, 0.18);
    --shop-card-accent-solid: #0f172a;
}

.shop-grid__body {
    display: grid;
    gap: 0;
    width: 100%;
    min-height: 100%;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.shop-grid__body strong {
    font-size: clamp(15px, 4.4vw, 20px);
    line-height: 1.6;
    letter-spacing: -0.03em;
}

.shop-grid__body p {
    display: none;
}

.shop-grid__action {
    display: none;
}

.shop-grid__action i {
    font-size: 14px;
}

@media (min-width: 768px) {
    .shop-page {
        gap: 28px;
    }

    .shop-page__intro p {
        font-size: 14px;
    }

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

    .shop-grid__card {
        min-height: 176px;
        padding: 18px;
        align-content: space-between;
        justify-items: start;
    }

    .shop-grid__body {
        gap: 10px;
        justify-items: start;
        text-align: right;
    }

    .shop-grid__body p {
        margin: 0;
        color: var(--text-secondary);
        font-size: 13px;
        line-height: 1.9;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .shop-grid__action {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--shop-card-accent-solid);
        font-size: 13px;
        font-weight: 800;
    }
}

@media (min-width: 1100px) {
    .shop-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.page-shop .shop-page {
    gap: 24px;
}

.page-shop .shop-page__eyebrow {
    display: inline-flex;
    width: max-content;
    align-items: center;
    min-height: 30px;
    padding-inline: 12px;
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.12);
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.page-shop .shop-page__eyebrow:hover,
.page-shop .shop-page__eyebrow:focus-visible {
    background: rgba(201, 162, 39, 0.18);
}

.page-shop .shop-page__intro {
    gap: 10px;
}

.page-shop .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.page-shop .shop-grid__card {
    min-height: 108px;
    padding: 12px 8px;
    border-radius: 20px;
}

.page-shop .shop-grid__body strong {
    font-size: clamp(12px, 3.4vw, 18px);
    line-height: 1.65;
}

.page-shop .shop-products-toolbar {
    margin-top: 4px;
}

.page-shop .shop-products-toolbar .category-toolbar__heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.28;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.page-shop .shop-listing {
    gap: 18px;
}

.page-shop .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.page-shop .shop-product-card {
    display: grid;
    gap: 10px;
    min-height: 100%;
    padding: 8px;
    border-radius: 22px;
    border: 1px solid rgba(229, 231, 235, 0.92);
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.page-shop .shop-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    padding: 8px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(236, 238, 242, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(247, 248, 250, 0.98));
}

.page-shop .shop-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.page-shop .shop-product-card__body {
    display: grid;
    gap: 8px;
    align-content: space-between;
}

.page-shop .shop-product-card__title {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 800;
}

.page-shop .shop-product-card__title a {
    color: var(--text-primary);
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.page-shop .shop-product-card__button {
    min-height: 42px;
    border-radius: 16px;
    font-size: 13px;
    justify-content: center;
}

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

    .page-shop .shop-grid__card {
        min-height: 168px;
    }
}

@media (min-width: 1024px) {
    .page-shop .shop-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .page-shop .shop-product-card {
        gap: 12px;
        padding: 10px;
        border-radius: 24px;
    }

    .page-shop .shop-product-card__title {
        font-size: 14px;
    }

    .page-shop .shop-product-card__button {
        min-height: 40px;
    }

    .page-shop .shop-products-toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 20px;
        align-items: center;
    }

    .page-shop .shop-products-toolbar .category-sort {
        min-width: 300px;
    }
}

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

@media (max-width: 719px) {
    .page-shop .shop-page__intro p {
        font-size: 12px;
        line-height: 1.9;
    }

    .page-shop .shop-grid__card {
        min-height: 96px;
        padding: 10px 7px;
        border-radius: 18px;
    }

    .page-shop .shop-grid__body strong {
        font-size: 11px;
    }

    .page-shop .shop-products-toolbar {
        padding: 16px;
        border-radius: 26px;
    }

    .page-shop .shop-products-toolbar .category-toolbar__heading h2 {
        font-size: clamp(24px, 6vw, 32px);
    }

    .page-shop .shop-products-toolbar .category-toolbar__heading p {
        font-size: 12px;
    }
}
