


img{
    width: 100%;
}
/* ===== PAGE BREADCRUMB ===== */
.page-header {
    background: var(--beige);
    padding: 40px 48px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb-sep {
    color: #ccc;
}

.breadcrumb-cur {
    color: var(--gold);
}

.page-hero {
    padding-bottom: 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.page-hero-left .pg-label {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.page-hero-left h1 {
    font-size: 38px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.15;
}

.page-hero-left h1 em {
    color: var(--gold);
    font-style: italic;
}

.page-hero-right {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    text-align: right;
    line-height: 1.7;
}

.page-hero-right strong {
    color: var(--black);
    display: block;
    font-size: 22px;
    font-family: 'Georgia', serif;
    font-weight: 400;
}

/* ===== LAYOUT ===== */
.shop-layout {
    display: flex;
    gap: 0;
    min-height: 80vh;
}

/* ===== SIDEBAR FILTERS ===== */
.filter-sidebar {
    width: 280px;
    flex-shrink: 0;
    border-right: .5px solid var(--border);
    padding: 36px 28px;
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
    background: #fff;
}

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

.filter-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: var(--beige-dark);
    border-radius: 2px;
}

.filter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.filter-heading {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--black);
    font-weight: 700;
}

.filter-clear {
    background: none;
    border: none;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: var(--gold);
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0;
}

.filter-clear:hover {
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 28px;
    border-bottom: .5px solid #F0EAE0;
    padding-bottom: 24px;
}

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

.filter-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 0;
    padding-bottom: 14px;
}

.filter-group-head h4 {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--black);
    font-weight: 600;
}

.fg-arrow {
    transition: transform .25s;
    color: var(--text-muted);
}

.fg-arrow.open {
    transform: rotate(180deg);
}

.filter-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease;
}

.filter-body.open {
    max-height: 500px;
}

/* Category pills */
.cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-pill {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 14px;
    border: .5px solid var(--border);
    cursor: pointer;
    transition: all .2s;
    background: transparent;
    color: var(--text-muted);
}

.cat-pill:hover,
.cat-pill.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

/* Price range */
.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.price-inp {
    flex: 1;
    border: .5px solid var(--border);
    padding: 9px 12px;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: var(--black);
    outline: none;
    transition: border-color .2s;
    background: #FAFAF8;
    width: 100px;
}

.price-inp:focus {
    border-color: var(--gold);
}

.price-dash {
    color: var(--text-muted);
    font-size: 13px;
}

.price-slider {
    position: relative;
    height: 4px;
    background: #E8E0D0;
    margin: 12px 0 8px;
}

.price-slider-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--gold);
}

.price-slider input[type=range] {
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 16px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
}

.price-slider input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #fff;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

.price-label {
    display: flex;
    justify-content: space-between;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: var(--text-muted);
}

/* Check filters */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.check-box {
    width: 16px;
    height: 16px;
    border: .5px solid #C8BFB2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    background: #fff;
}

.check-item:hover .check-box {
    border-color: var(--gold);
}

.check-item.checked .check-box {
    background: var(--gold);
    border-color: var(--gold);
}

.check-tick {
    display: none;
    width: 8px;
    height: 8px;
}

.check-item.checked .check-tick {
    display: block;
}

.check-label {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    flex: 1;
}

.check-count {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: #B0A898;
}

/* Rating filter */
.rating-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.stars-row {
    display: flex;
    gap: 2px;
}

.star {
    color: #DDD5C8;
    font-size: 13px;
}

.star.filled {
    color: var(--gold);
}

.rating-label {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
}

.rating-item.active .rating-label {
    color: var(--gold);
}

/* Color swatches */
.swatch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s;
    position: relative;
}

.swatch.active {
    border-color: var(--gold);
}

.swatch.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--gold);
}

/* Apply filter btn */
.btn-apply-filter {
    width: 100%;
    background: var(--black);
    color: #fff;
    border: none;
    padding: 13px;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s;
    margin-top: 4px;
}

.btn-apply-filter:hover {
    background: var(--gold);
}

/* Mobile filter toggle */
.mobile-filter-bar {
    display: none;
}

/* ===== PRODUCT AREA ===== */
.product-area {
    flex: 1;
    padding: 0;
}

/* Toolbar */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 36px;
    border-bottom: .5px solid var(--border);
    background: #fff;
    position: sticky;
    top: 72px;
    z-index: 100;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.result-count {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
}

.result-count strong {
    color: var(--black);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-dim);
    border: .5px solid rgba(201, 168, 76, .3);
    padding: 5px 12px;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 1px;
}

.filter-tag-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gold);
    font-size: 12px;
    line-height: 1;
    padding: 0;
}

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

.sort-select {
    border: .5px solid var(--border);
    background: #FAFAF8;
    padding: 9px 14px;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: var(--black);
    outline: none;
    cursor: pointer;
    letter-spacing: .5px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B0A898' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.sort-select:focus {
    border-color: var(--gold);
}

.view-btns {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 34px;
    height: 34px;
    background: none;
    border: .5px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.view-btn.active,
.view-btn:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
}

.view-btn svg {
    opacity: .6;
}

.view-btn.active svg,
.view-btn:hover svg {
    opacity: 1;
}

/* ===== PRODUCT GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: var(--border);
    padding: 1px;
}

.products-grid.view-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

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

/* Product Card */
.product-card {
    background: #fff;
    position: relative;
    cursor: pointer;
    transition: box-shadow .3s;
}

.product-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
    z-index: 2;
}

.product-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--beige);
}

.product-img-inner {
    width: 100%;
    height: 100%;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.product-card:hover .product-img-inner {
    transform: scale(1.06);
}

.product-badge-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 10px;
    z-index: 2;
}

.product-badge-tag.sale {
    background: #C9574C;
}

.product-badge-tag.new {
    background: #4CAF50;
}

.product-badge-tag.trending {
    background: #7B68C9;
}

.wish-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, .9);
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    z-index: 2;
    opacity: 0;
}

.product-card:hover .wish-btn {
    opacity: 1;
}

.wish-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.product-info {
    padding: 18px 20px 22px;
}

.product-cat-tag {
    font-family: 'Arial', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.product-name {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-sub {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.prod-stars {
    display: flex;
    gap: 2px;
}

.prod-star {
    font-size: 12px;
    color: #DDD5C8;
}

.prod-star.filled {
    color: var(--gold);
}

.prod-review-count {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: var(--text-muted);
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
}

.product-original {
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: #B0A898;
    text-decoration: line-through;
    margin-left: 6px;
}

.product-discount {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    color: #4CAF50;
    margin-left: 6px;
}

.btn-cart-add {
    background: var(--black);
    color: #fff;
    border: none;
    padding: 9px 18px;
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s;
    margin-top: 14px;
    width: 100%;
}

.btn-cart-add:hover {
    background: var(--gold);
}

/* List view card */
.products-grid.view-list .product-card {
    display: flex;
    flex-direction: row;
}

.products-grid.view-list .product-img {
    width: 260px;
    flex-shrink: 0;
    aspect-ratio: unset;
    height: 220px;
}

.products-grid.view-list .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px;
}

.products-grid.view-list .btn-cart-add {
    width: auto;
    display: inline-block;
}

/* ===== SKELETON LOADER ===== */
@keyframes shimmer {
    0% {
        background-position: -600px 0;
    }

    100% {
        background-position: 600px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #F5F0E8 25%, #EDE5DA 50%, #F5F0E8 75%);
    background-size: 1200px 100%;
    animation: shimmer 1.4s infinite;
}

.skel-card {
    background: #fff;
}

.skel-img {
    aspect-ratio: 1/1;
    background: #F5F0E8;
}

.skel-img.skeleton {
    aspect-ratio: 1/1;
}

.skel-info {
    padding: 18px 20px 22px;
}

.skel-line {
    height: 12px;
    margin-bottom: 10px;
    border-radius: 0;
}

.skel-line.short {
    width: 40%;
}

.skel-line.med {
    width: 65%;
}

.skel-line.long {
    width: 85%;
}

/* ===== LOAD MORE / INFINITE SCROLL ===== */
.load-sentinel {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.load-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--beige-dark);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    display: none;
}

.load-spinner.active {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.load-end-msg {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: none;
    text-align: center;
    padding: 24px;
}

.load-end-msg.show {
    display: block;
}

.load-end-msg::before,
.load-end-msg::after {
    content: '—';
    color: var(--gold);
    margin: 0 12px;
}

/* ===== NO RESULTS ===== */
.no-results-state {
    padding: 80px 40px;
    text-align: center;
    grid-column: 1/-1;
}

.no-results-state .nr-icon {
    margin: 0 auto 20px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-results-state h3 {
    font-size: 22px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 10px;
}

.no-results-state p {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
}


/* ===== MOBILE RESPONSIVE ===== */
@media(max-width: 1024px) {
    .filter-sidebar {
        width: 240px;
        padding: 30px 20px;
    }
    .page-header {
        padding: 30px 30px 0;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 900px) {
    .filter-sidebar {
        display: none;
    }

    .mobile-filter-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        border-bottom: .5px solid var(--border);
        background: #fff;
        position: sticky;
        top: 72px;
        z-index: 99;
        overflow-x: auto;
    }

    .mobile-filter-btn {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 6px;
        background: none;
        border: .5px solid var(--border);
        padding: 8px 14px;
        font-family: 'Arial', sans-serif;
        font-size: 11px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        cursor: pointer;
        color: var(--text-muted);
        transition: all .2s;
        white-space: nowrap;
    }

    .mobile-filter-btn.active,
    .mobile-filter-btn:hover {
        border-color: var(--gold);
        color: var(--gold);
    }

    .toolbar {
        top: calc(72px + 50px);
    }

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

    .products-grid.view-list .product-card {
        flex-direction: column;
    }

    .products-grid.view-list .product-img {
        width: 100%;
        height: 220px;
    }

    .page-header {
        padding: 24px 20px 0;
    }

    .page-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .page-hero-right {
        text-align: left;
    }
}

@media(max-width: 767px) {
    .page-hero-left h1 {
        font-size: 28px;
    }
    .page-hero-right strong {
        font-size: 18px;
    }
    .toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }
    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
    .sort-select {
        flex: 1;
    }
}

@media(max-width: 540px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .search-wrap {
        margin: 0 10px;
    }

    .toolbar {
        padding: 14px 16px;
    }
}

/* Entrance animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeUp .4s ease both;
}
