.shop-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(193, 154, 91, 0.14), transparent 30%),
        radial-gradient(circle at bottom right, rgba(160, 82, 45, 0.08), transparent 28%),
        linear-gradient(180deg, #f8f5f0 0%, #f6efe5 100%);
}

.shop-page::before,
.shop-page::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.shop-page::before {
    top: 180px;
    right: -110px;
    width: 260px;
    height: 260px;
    background: rgba(193, 154, 91, 0.12);
    filter: blur(10px);
}

.shop-page::after {
    bottom: 180px;
    left: -110px;
    width: 220px;
    height: 220px;
    background: rgba(160, 82, 45, 0.08);
    filter: blur(10px);
}

.shop-page a {
    text-decoration: none;
}

.shop-hero {
    position: relative;
    padding: 42px 0 24px;
}

.shop-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: stretch;
}

.shop-hero-copy,
.shop-panel-card,
.shop-sidebar-card,
.shop-results-card {
    border: 1px solid rgba(193, 154, 91, 0.14);
    border-radius: 34px;
    background: rgba(255, 251, 246, 0.94);
    box-shadow: 0 26px 58px rgba(56, 32, 13, 0.08);
}

.shop-hero-copy {
    padding: 30px 30px 26px;
}

.shop-eyebrow,
.shop-section-label,
.shop-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.shop-eyebrow::before,
.shop-section-label::before,
.shop-panel-label::before {
    content: '';
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.shop-eyebrow {
    margin-bottom: 14px;
}

.shop-hero-copy h1 {
    max-width: 700px;
    margin-bottom: 14px;
    color: #15120f;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.02;
    text-wrap: balance;
}

.shop-hero-copy > p {
    max-width: 620px;
    color: rgba(43, 35, 28, 0.8);
    font-size: 0.98rem;
    line-height: 1.75;
}

.shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fffaf5;
    font-family: 'Poppins', sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(160, 82, 45, 0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.shop-btn:hover,
.shop-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(160, 82, 45, 0.24);
}

.shop-btn:focus-visible,
.shop-btn-small:focus-visible,
.shop-btn-ghost:focus-visible,
.shop-select:focus-visible,
.shop-icon-btn:focus-visible,
.add-to-cart:focus-visible,
.shop-page-btn:focus-visible,
.shop-filter-chip:focus-visible,
.notification-close:focus-visible,
.shop-view-toggle button:focus-visible,
.shop-price-form input:focus-visible {
    outline: 2px solid rgba(193, 154, 91, 0.9);
    outline-offset: 3px;
}

.shop-btn-ghost {
    background: rgba(193, 154, 91, 0.08);
    border-color: rgba(193, 154, 91, 0.16);
    color: #1c1511;
    box-shadow: none;
}

.shop-btn-small {
    min-width: 0;
    padding: 12px 18px;
}

.shop-hero-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.shop-hero-summary span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(193, 154, 91, 0.08);
    color: #2b231c;
    font-size: 0.92rem;
    line-height: 1.4;
}

.shop-panel-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 26px 24px;
}

.shop-panel-card h2 {
    color: #17120f;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.06;
}

.shop-panel-card p {
    color: rgba(43, 35, 28, 0.8);
    line-height: 1.72;
    font-size: 0.96rem;
}

.shop-panel-list {
    display: grid;
    gap: 14px;
}

.shop-panel-list div {
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
}

.shop-panel-list strong {
    color: var(--secondary-color);
    font-size: 1.12rem;
}

.shop-panel-list span,
.shop-panel-note {
    color: rgba(43, 35, 28, 0.74);
    line-height: 1.7;
}

.shop-active-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-active-summary.inline {
    margin-top: 24px;
}

.shop-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(193, 154, 91, 0.16);
    border-radius: 999px;
    background: rgba(193, 154, 91, 0.08);
    color: #1b1512;
    font-size: 0.92rem;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-filter-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(193, 154, 91, 0.28);
    color: var(--secondary-color);
}

.shop-layout-section {
    position: relative;
    z-index: 1;
    padding-bottom: 92px;
}

#shop-products-anchor {
    scroll-margin-top: 120px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 148px;
}

.shop-sidebar-card,
.shop-results-card {
    padding: 32px 28px;
}

.shop-sidebar-head {
    margin-bottom: 26px;
}

.shop-sidebar-head h2,
.shop-results-head h2,
.shop-empty-state h3 {
    margin-top: 16px;
    color: #17120f;
    font-size: 2rem;
    line-height: 1.05;
}

.shop-filter-group + .shop-filter-group {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(193, 154, 91, 0.12);
}

.shop-filter-group h3 {
    margin-bottom: 16px;
    color: #1c1612;
    font-size: 1.1rem;
}

.shop-category-list {
    display: grid;
    gap: 10px;
    list-style: none;
}

.shop-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: #2b231c;
    background: rgba(255, 255, 255, 0.76);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.shop-category-list a:hover,
.shop-category-list a.active {
    transform: translateX(2px);
    background: rgba(193, 154, 91, 0.12);
    color: var(--secondary-color);
}

.shop-category-list strong {
    color: rgba(43, 35, 28, 0.66);
    font-size: 0.88rem;
}

.shop-price-form {
    display: grid;
    gap: 14px;
}

.shop-price-fields {
    display: grid;
    gap: 8px;
}

.shop-price-fields label {
    color: rgba(43, 35, 28, 0.74);
    font-size: 0.92rem;
    font-weight: 500;
}

.shop-price-form input,
.shop-select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(193, 154, 91, 0.16);
    border-radius: 16px;
    background: #fffdfb;
    color: #1c1511;
    font-family: 'Poppins', sans-serif;
}

.shop-price-form input::placeholder {
    color: rgba(51, 43, 36, 0.45);
}

.shop-select {
    cursor: pointer;
}

.shop-price-range {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(43, 35, 28, 0.7);
    font-size: 0.92rem;
}

.shop-price-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.shop-reset-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.shop-reset-link.strong {
    align-self: center;
}

.shop-guidance-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(193, 154, 91, 0.08);
}

.shop-guidance-card p {
    margin-top: 14px;
    color: rgba(43, 35, 28, 0.78);
    line-height: 1.75;
}

.shop-results-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}

.shop-results-head p {
    margin-top: 12px;
    color: rgba(43, 35, 28, 0.74);
    line-height: 1.75;
}

.shop-results-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.shop-select-compact {
    min-width: 220px;
}

.shop-view-toggle {
    display: inline-flex;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(193, 154, 91, 0.08);
}

.shop-view-toggle button {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #1d1713;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.shop-view-toggle button.active,
.shop-view-toggle button:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fffaf5;
    transform: translateY(-1px);
}

.shop-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.shop-product-card {
    overflow: hidden;
    border: 1px solid rgba(193, 154, 91, 0.12);
    border-radius: 30px;
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 20px 44px rgba(56, 32, 13, 0.08);
    cursor: pointer;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(193, 154, 91, 0.22);
    box-shadow: 0 26px 50px rgba(56, 32, 13, 0.12);
}

.shop-product-media {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: #efe7dc;
}

.shop-product-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 38%, rgba(23, 20, 17, 0.18) 100%);
    pointer-events: none;
}

.shop-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shop-product-card:hover .shop-product-media img {
    transform: scale(1.04);
}

.shop-product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(193, 154, 91, 0.94);
    color: #fffaf4;
    font-size: 0.84rem;
    font-weight: 700;
}

.shop-product-badge.new {
    background: rgba(160, 82, 45, 0.94);
}

.shop-product-actions {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.shop-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 250, 242, 0.75);
    border-radius: 50%;
    background: rgba(255, 252, 247, 0.96);
    color: #1d1713;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(38, 21, 8, 0.12);
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.shop-icon-btn:hover {
    transform: translateY(-2px);
    background: #fffaf4;
    color: var(--secondary-color);
}

.shop-product-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 24px 22px;
}

.shop-product-category {
    color: var(--secondary-color);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.shop-product-body h3 {
    color: #17120f;
    font-size: 1.55rem;
    line-height: 1.08;
}

.shop-product-rating,
.shop-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.shop-product-rating span {
    color: rgba(51, 43, 36, 0.55);
    font-size: 0.92rem;
}

.stars {
    display: inline-flex;
    gap: 4px;
    color: var(--primary-color);
}

.current-price {
    color: var(--secondary-color);
    font-size: 1.38rem;
    font-weight: 700;
}

.original-price {
    color: rgba(50, 42, 35, 0.5);
    font-size: 0.96rem;
    text-decoration: line-through;
}

.shop-product-description {
    color: rgba(43, 35, 28, 0.74);
    line-height: 1.75;
    font-size: 0.96rem;
}

.add-to-cart {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(193, 154, 91, 0.18);
    border-radius: 999px;
    background: rgba(193, 154, 91, 0.1);
    color: #1b1512;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.add-to-cart:hover {
    transform: translateY(-1px);
    background: rgba(193, 154, 91, 0.16);
    border-color: rgba(193, 154, 91, 0.32);
    color: var(--secondary-color);
}

.shop-products.list-view {
    grid-template-columns: 1fr;
}

.shop-products.list-view .shop-product-card {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
}

.shop-products.list-view .shop-product-media {
    min-height: 100%;
}

.shop-products.list-view .shop-product-body {
    justify-content: center;
    padding: 28px 28px 26px;
}

.shop-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 54px 24px;
    margin-top: 30px;
    border: 1px dashed rgba(193, 154, 91, 0.28);
    border-radius: 30px;
    background: rgba(255, 251, 246, 0.9);
    text-align: center;
}

.shop-empty-state i {
    color: var(--primary-color);
    font-size: 2rem;
}

.shop-empty-state p {
    max-width: 520px;
    color: rgba(43, 35, 28, 0.74);
    line-height: 1.75;
}

.shop-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.shop-page-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 50px;
    min-height: 50px;
    padding: 0 18px;
    border: 1px solid rgba(193, 154, 91, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #1b1512;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shop-page-btn:hover,
.shop-page-btn.active {
    transform: translateY(-1px);
    background: rgba(193, 154, 91, 0.12);
    border-color: rgba(193, 154, 91, 0.24);
    color: var(--secondary-color);
}

.shop-notification {
    position: fixed;
    top: 110px;
    right: 24px;
    z-index: 1600;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: min(420px, calc(100vw - 32px));
    padding: 18px 18px 18px 16px;
    border: 1px solid rgba(193, 154, 91, 0.18);
    border-radius: 24px;
    background: rgba(255, 252, 248, 0.97);
    box-shadow: 0 22px 54px rgba(38, 21, 8, 0.16);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.shop-notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.shop-notification.success {
    border-color: rgba(46, 139, 87, 0.22);
}

.shop-notification.error {
    border-color: rgba(160, 82, 45, 0.28);
}

.shop-notification-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(193, 154, 91, 0.08);
    color: var(--primary-color);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.shop-notification.success .shop-notification-icon {
    background: rgba(46, 139, 87, 0.12);
    color: #2e8b57;
}

.shop-notification.error .shop-notification-icon {
    background: rgba(160, 82, 45, 0.14);
    color: var(--secondary-color);
}

.shop-notification-message {
    flex: 1 1 auto;
}

.shop-notification-message p {
    margin: 0;
    color: #1d1713;
    line-height: 1.65;
}

.notification-close {
    border: none;
    background: transparent;
    color: rgba(51, 43, 36, 0.5);
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.notification-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

@media (max-width: 1200px) {
    .shop-hero-shell,
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-main {
        order: 1;
    }

    .shop-sidebar {
        order: 2;
        position: static;
    }

    .shop-hero-panel {
        display: none;
    }

    .shop-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .shop-page {
        display: flex;
        flex-direction: column;
    }

    .shop-layout-section {
        order: 1;
        padding-top: 14px;
    }

    .shop-hero {
        order: 2;
    }

    .shop-hero-stats,
    .shop-products {
        grid-template-columns: 1fr;
    }

    .shop-results-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-results-controls {
        width: 100%;
        justify-content: space-between;
    }

    .shop-products.list-view .shop-product-card {
        grid-template-columns: 1fr;
    }

    .shop-products.list-view .shop-product-media {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .shop-hero {
        padding: 18px 0 10px;
    }

    .shop-hero-copy,
    .shop-panel-card,
    .shop-sidebar-card,
    .shop-results-card {
        border-radius: 26px;
    }

    .shop-hero-copy,
    .shop-panel-card,
    .shop-sidebar-card,
    .shop-results-card {
        padding: 22px 18px;
    }

    .shop-hero-copy h1 {
        font-size: clamp(1.85rem, 8.5vw, 2.8rem);
    }

    .shop-hero-actions,
    .shop-price-actions,
    .shop-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-hero-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 18px;
    }

    .shop-hero-summary span {
        width: 100%;
    }

    .shop-btn,
    .shop-btn-small,
    .shop-page-btn,
    .shop-select-compact {
        width: 100%;
    }

    .shop-results-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-view-toggle {
        width: 100%;
        justify-content: center;
    }

    .shop-product-media {
        min-height: 300px;
    }

    .shop-notification {
        top: 96px;
        right: 16px;
    }
}

@media (max-width: 520px) {
    .shop-eyebrow,
    .shop-section-label,
    .shop-panel-label {
        letter-spacing: 0.14em;
    }

    .shop-product-body h3,
    .shop-sidebar-head h2,
    .shop-results-head h2 {
        font-size: 1.7rem;
    }

    .shop-product-actions {
        right: 14px;
        bottom: 14px;
    }

    .shop-icon-btn {
        width: 46px;
        height: 46px;
    }
}
