/* Jewelry Collection Listing Styles */

.jewelry-collection-section {
    padding: 80px 0 50px;
    background: #fff;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 238, 219, 0.4) 0%, rgba(255, 255, 255, 1) 90%);
    position: relative;
    overflow: hidden;
}

.jewelry-collection-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bg/bokeh-light.png') center/cover no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.section-header .section-title {
    font-family: 'Cinzel Decorative', cursive;
    font-weight: 700;
    font-size: 38px;
    color: #4a4a4a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.section-header .section-title::before,
.section-header .section-title::after {
    content: '';
    height: 1px;
    width: 100px;
    background: linear-gradient(to right, transparent, #c19b67, transparent);
}

.section-header .section-title span.decorative-icon {
    font-size: 20px;
    color: #c19b67;
}

/* Tabs Styling */
.jewelry-tabs {
    border-bottom: none;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.jewelry-tabs .nav-link {
    border: 1px solid #eee !important;
    border-radius: 4px !important;
    padding: 10px 25px;
    color: #4a4a4a;
    /* font-family: 'Italiana', serif; */
    font-size: 15px;
    background: #fdfaf7;
    transition: all 0.3s ease;
    /* font-weight: 600; */
}

.jewelry-tabs .nav-link.active {
    background: #f5eee6 !important;
    border-color: #dccab5 !important;
    color: #44020d !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

.jewelry-tabs .nav-link:hover {
    border-color: #dccab5 !important;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    /* margin-bottom: 40px; */
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 14px;
}

.filter-left,
.filter-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-item-wrap {
    position: relative;
    display: inline-block;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    /* font-weight: 500; */
    transition: all 0.2s ease;
    /* color: #3e2a16; */
}

.jewelry-collection-section .tab-content .tab-pane {
    margin-top: 10px;
}

.filter-item:hover {
    border-color: #e6d5c3;
    background: #fff9f2;
}

.filter-item-text {
    flex: 1;
}

.sort-dropdown-wrap {
    position: relative;
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5d8c8;
    background: #fff;
    color: #4a4a4a;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sort-text {
    flex: 1;
}

.sort-by:hover {
    border-color: #c19b67;
}

.sort-by:focus,
.sort-by:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 155, 103, 0.22);
    border-color: #c19b67;
}

.sort-by i {
    font-size: 12px;
    color: #7f7f7f;
}

.sort-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    display: none;
}

.sort-dropdown-menu.show {
    display: block;
}

.sort-option {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 9px 16px;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.4;
}

.sort-option:hover,
.sort-option.active {
    background: #f8f2eb;
    color: #2f2f2f;
}

.filter-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px;
    margin-top: 10px;
    display: none;
    border-radius: 4px;
}

.filter-dropdown.show {
    display: block;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
}

.selected-count {
    color: #4a4a4a;
    font-size: 14px;
}

.reset-link {
    color: #333;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
}

.reset-link:hover {
    color: #c19b67;
}

.dropdown-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 10px -15px;
}

.filter-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-options li {
    padding: 8px 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.checkbox-item.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.checkbox-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #ccc;
    margin-right: 12px;
    display: inline-block;
    position: relative;
}

.checkbox-item:hover input~.checkmark {
    border-color: #999;
}

.checkbox-item input:checked~.checkmark {
    background-color: #fff;
    border-color: #333;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-item input:checked~.checkmark:after {
    display: block;
}

.checkbox-item .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #44020d;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.label-text {
    color: #444;
}

.count {
    color: #888;
    margin-left: 5px;
}

.grid-view-icons {
    display: flex;
    gap: 10px;
    color: #999;
}

.grid-view-icons i.active {
    color: #4a4a4a;
}

/* Product Card */
.product-card {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 12px 12px 0 12px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product-card .badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3.5px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.25;
    color: #ffffff !important;
    z-index: 10;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.badge-tag.new {
    background: #0f766e;
}

.badge-tag.bestseller {
    background: #b45309;
}

.badge-tag.sale {
    background: #dc2626;
}

.product-card .badge-tag.out-of-stock,
.badge-tag.out-of-stock {
    background: rgba(33, 29, 26, 0.92) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    letter-spacing: 0.7px !important;
}

/* Subtle dimming for out-of-stock catalog items */
.product-card[data-badges*="out-of-stock"] .card-main-img {
    opacity: 0.85;
}

.no-products-copy {
    text-align: center;
    color: #6b5b4c;
    font-weight: 500;
    padding: 30px 0;
    letter-spacing: 0.5px;
}

.product-image-wrapper {
    margin-bottom: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #fdfaf7;
    border-radius: 8px;
}

/* Rating Badge on Product Image (Desktop & Mobile, matching Image 2 e.g. 4.4 ★ | 14.4k) */
.product-image-rating-badge {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    z-index: 5 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border-radius: 4px !important;
    padding: 3px 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14) !important;
    line-height: 1 !important;
    pointer-events: none !important;
}

.product-image-rating-badge .rating-val {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #282c3f !important;
    letter-spacing: -0.2px !important;
    line-height: 1 !important;
}

.product-image-rating-badge .rating-star-icon {
    font-size: 9.5px !important;
    color: #14958f !important; /* Teal green star like Image 2 */
    line-height: 1 !important;
}

.product-image-rating-badge .rating-divider {
    display: inline-block !important;
    width: 1px !important;
    height: 10px !important;
    background: #d4d5d9 !important;
    margin: 0 2px !important;
}

.product-image-rating-badge .rating-count {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #535766 !important;
    line-height: 1 !important;
}

/* The product link wraps the <img>, which breaks the flex-item percentage-size
   chain (the <a> has no intrinsic size of its own) — stretch it to fill the box
   so the image's width:100%/height:100% below has something definite to resolve against. */
.product-image-wrapper > a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.product-listing-page .product-info {
    padding-left: 0px;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.product-hover-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 6;
}

.product-card:hover .product-hover-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-hover-actions .hover-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ebddcf;
    color: brown;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

.product-hover-actions .hover-icon:hover {
    background: brown;
    color: #fff;
    border-color: transparent;
}

.product-hover-actions .hover-icon.is-active {
    background: brown;
    color: #fff;
    border-color: transparent;
}

.product-info {
    min-width: 0;
}

.product-info h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 6px;
    letter-spacing: 1px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info h4 a:hover {
    color: #8a5b22;
}

.woocommerce .product-card .star-rating,
.woocommerce-page .product-card .star-rating,
.product-card .star-rating,
.product-info .star-rating,
.star-rating.product-star-rating {
    float: none !important;
    overflow: visible !important;
    width: auto !important;
    height: auto !important;
    line-height: normal !important;
    font-family: inherit !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    color: #f1c40f !important;
    font-size: 15px !important;
    margin: 6px auto 8px !important;
    text-align: center !important;
    clear: both !important;
}

.woocommerce .product-card .star-rating::before,
.woocommerce .product-card .star-rating::after,
.woocommerce-page .product-card .star-rating::before,
.woocommerce-page .product-card .star-rating::after,
.product-card .star-rating::before,
.product-card .star-rating::after,
.product-info .star-rating::before,
.product-info .star-rating::after {
    display: none !important;
    content: none !important;
}

.product-card .star-rating i,
.product-info .star-rating i {
    display: inline-block !important;
    color: #f1c40f !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.product-info .price-tag,
.product-card .price-tag {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    text-align: center !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #4a4a4a !important;
    margin-bottom: 12px !important;
}

.price-tag ins,
.sale-price {
    text-decoration: none;
    color: #cc3333;
    font-weight: 600;
}

.price-tag del,
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-right: 6px;
}

/* Card Color Swatches */
.card-color-swatches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: -4px 0 10px;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
}

.card-color-swatch {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: var(--swatch-hex, #c29c32);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #d6c8b4;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    outline: none;
}

.card-color-swatch:hover {
    transform: scale(1.22);
    box-shadow: 0 0 0 1.5px #7b4e12, 0 2px 6px rgba(0, 0, 0, 0.15);
}

.card-color-swatch.is-active {
    transform: scale(1.18);
    box-shadow: 0 0 0 2px #7b4e12;
}

.product-card .card-main-img {
    transition: opacity 0.2s ease;
}

.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 60%;
    border: 0;
    border-radius: 5px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #fff;
    background: linear-gradient(90deg, rgb(113 72 9) 0%, rgb(166 118 0) 50%, rgb(128 98 0 / 98%) 100%);
    box-shadow: 0 8px 16px rgba(156, 108, 61, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #b98752 0%, #87562e 100%);
    box-shadow: 0 12px 22px rgba(135, 86, 46, 0.3);
    transform: translateY(-2px);
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 7px 14px rgba(135, 86, 46, 0.24);
}

.price-dropdown {
    width: 350px;
}

.highest-price-label {
    font-size: 14px;
    color: #4a4a4a;
}

.price-range-inputs {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

.price-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #d5d5d5;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
    transition: border-color 0.3s ease;
}

.price-input-group:focus-within {
    border-color: #333;
}

.currency-symbol {
    font-size: 18px;
    color: #444;
    margin-right: 10px;
    margin-top: 5px;
}

.input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.input-wrapper input {
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    width: 100%;
    background: transparent;
    padding: 12px 8px 8px 8px;
    /* top padding for label space */
}

.input-wrapper label {
    position: absolute;
    left: 8px;
    top: 12px;
    font-size: 14px;
    color: #888;
    pointer-events: none;
    transition: all 0.2s ease;
    background: #fff;
    padding: 0 4px;
}

.input-wrapper input:focus+label,
.input-wrapper input:not(:placeholder-shown)+label {
    top: -8px;
    font-size: 12px;
    color: #4a4a4a;
}

/* Hide scroll arrows for number input */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.listing-pagination {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.listing-pagination .page-number,
.listing-pagination .page-nav {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e4d6c7;
    background: #fff;
    color: #6a5138;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.listing-pagination .page-number:hover,
.listing-pagination .page-nav:hover {
    border-color: #b7864f;
    color: #7a4f07;
    transform: translateY(-2px);
}

.listing-pagination .page-number.active {
    border-color: #7a4f07;
    color: #fff;
    background: linear-gradient(90deg, rgb(113 72 9) 0%, rgb(166 118 0) 50%, rgb(128 98 0 / 98%) 100%);
    box-shadow: 0 8px 18px rgba(122, 80, 7, 0.24);
}

.listing-pagination .page-nav.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.listing-pagination .page-dots {
    color: #9b8268;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ==========================================================================
   Mobile-Only Elements: Completely Hidden on Desktop Screens
   ========================================================================== */
.amelia-archive-hero,
.amelia-mobile-toolbar,
.mobile-filter-drawer,
.mobile-sort-sheet,
.mobile-drawer-backdrop,
.mobile-card-wishlist {
    display: none !important;
}

.row.product-grid.view-mode-list .card-color-swatches,
.row.product-grid.view-mode-list .mobile-image-swatches {
    display: none !important;
}

/* ==========================================================================
   Modern Mobile UI Matching Image 3 (Strictly max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .jewelry-collection-section {
        padding: 20px 0 40px !important;
        background: #faf8f5 !important;
    }

    .section-header {
        display: none !important;
    }

    .amelia-archive-hero {
        display: block !important;
        margin-bottom: 16px;
        position: relative;
    }

    .amelia-archive-breadcrumb-wrap {
        margin-bottom: 8px;
    }

    .amelia-archive-breadcrumb {
        font-size: 12px;
        color: #8c7b6d;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    .amelia-archive-breadcrumb a {
        color: #8c7b6d;
        text-decoration: none;
    }

    .amelia-archive-breadcrumb .sep {
        font-size: 10px;
        opacity: 0.6;
        margin: 0 2px;
    }

    .amelia-archive-hero-header {
        display: block;
        position: relative;
    }

    .amelia-archive-hero-title {
        font-family: 'Cinzel Decorative', 'Georgia', serif;
        font-weight: 700;
        font-size: 24px;
        color: #2b1f14;
        line-height: 1.25;
        margin: 0 0 4px 0;
    }

    .amelia-archive-hero-sub {
        display: none;
        font-size: 13px;
        color: #8c7b6d;
        margin: 0;
        font-style: italic;
        font-family: 'Poppins', sans-serif;
    }

    .amelia-mobile-toolbar {
        display: block !important;
        margin-bottom: 16px;
    }

    .mobile-card-wishlist {
        display: inline-flex !important;
    }

    /* Horizontal Scrolling Filter Tabs */
    .jewelry-tabs-wrap {
        width: 100%;
        margin-bottom: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .jewelry-tabs-wrap::-webkit-scrollbar {
        display: none;
    }

    .jewelry-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        width: max-content;
        margin-bottom: 0 !important;
        border-bottom: none !important;
        padding: 0 !important;
    }

    .jewelry-tabs .nav-link {
        white-space: nowrap !important;
        padding: 7px 18px !important;
        border-radius: 50px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #4a4a4a !important;
        background: #ffffff !important;
        border: 1px solid #ebd9c8 !important;
        transition: all 0.2s ease !important;
    }

    .jewelry-tabs .nav-link.active {
        background: #44020d !important;
        color: #ffffff !important;
        border-color: #44020d !important;
        box-shadow: 0 2px 8px rgba(68, 2, 13, 0.2) !important;
    }

    /* Mobile Compact Toolbar */
    .amelia-mobile-toolbar {
        margin-bottom: 16px;
    }

    .mobile-toolbar-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        position: relative;
    }

    .mobile-toolbar-btn {
        background: #f7f3ed;
        border: 1px solid #e5dad0;
        border-radius: 50px;
        padding: 8px 14px;
        font-size: 13px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: #3b2a1a;
        cursor: pointer;
        transition: all 0.2s ease;
        line-height: 1.2;
    }

    .mobile-toolbar-btn:active {
        background: #ebd9c8;
    }

    .mobile-filter-btn {
        flex: 1 1 0%;
        min-width: 0;
    }

    .mobile-sort-btn {
        flex: 1 1 0%;
        min-width: 0;
        overflow: hidden;
    }

    .mobile-sort-btn #mobileSelectedSortLabel {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

    .mobile-sort-btn i {
        flex-shrink: 0;
    }

    .mobile-view-toggles {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }

    .mobile-view-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid #e5dad0;
        background: #ffffff;
        color: #665a50;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        cursor: pointer;
        padding: 0;
        transition: all 0.2s ease;
    }

    .mobile-view-btn.active {
        background: #44020d;
        border-color: #44020d;
        color: #ffffff;
    }

    .mobile-products-count {
        font-size: 13px;
        color: #8c7b6d;
        font-weight: 500;
        margin-top: 10px;
    }

    /* 2-Column Product Grid on Mobile */
    .row.product-grid {
        margin-left: -6px !important;
        margin-right: -6px !important;
    }

    .amelia-product-col {
        padding-left: 6px !important;
        padding-right: 6px !important;
        margin-bottom: 12px !important;
    }

    .product-card {
        background: #ffffff !important;
        border: 1px solid #ebd9c8 !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        position: relative !important;
        padding: 0 !important;
    }

    .badge-tag {
        position: absolute !important;
        top: 8px !important;
        left: 8px !important;
        z-index: 4 !important;
        font-size: 9.5px !important;
        padding: 2.5px 7px !important;
        border-radius: 4px !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        line-height: 1.3 !important;
    }

    .badge-tag.new {
        background: #0f766e !important;
        box-shadow: 0 2px 6px rgba(15, 118, 110, 0.3) !important;
    }

    .badge-tag.bestseller {
        background: #b45309 !important;
        box-shadow: 0 2px 6px rgba(180, 83, 9, 0.3) !important;
    }

    .badge-tag.sale {
        background: #dc2626 !important;
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3) !important;
    }

    .badge-tag.out-of-stock {
        background: rgba(33, 29, 26, 0.92) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    }

    .mobile-card-wishlist {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        z-index: 4 !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #2b1f14 !important;
        font-size: 14px !important;
        border: none !important;
        text-decoration: none !important;
    }

    .mobile-card-wishlist.active,
    .mobile-card-wishlist:active {
        color: #e8115b !important;
    }

    .product-image-wrapper {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        overflow: hidden !important;
        position: relative !important;
        background: #fdfaf7 !important;
        border-radius: 10px 10px 0 0 !important;
        margin-bottom: 0 !important;
    }

    .product-image-wrapper > a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .card-main-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
        display: block !important;
    }

    /* Rating Badge on Product Image (Myntra-style e.g. 4.2 ★ | 231) */
    .product-image-rating-badge {
        position: absolute !important;
        bottom: 8px !important;
        left: 8px !important;
        z-index: 5 !important;
        background: rgba(255, 255, 255, 0.94) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        border-radius: 4px !important;
        padding: 2.5px 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 3px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14) !important;
        line-height: 1 !important;
        pointer-events: none !important;
    }

    .product-image-rating-badge .rating-val {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #282c3f !important;
        letter-spacing: -0.2px !important;
        line-height: 1 !important;
    }

    .product-image-rating-badge .rating-star-icon {
        font-size: 9px !important;
        color: #14958f !important;
        line-height: 1 !important;
    }

    .product-image-rating-badge .rating-divider {
        display: inline-block !important;
        width: 1px !important;
        height: 9px !important;
        background: #d4d5d9 !important;
        margin: 0 2px !important;
    }

    .product-image-rating-badge .rating-count {
        font-size: 10px !important;
        font-weight: 600 !important;
        color: #535766 !important;
        line-height: 1 !important;
    }

    /* Circular Discount Badge on image like Image 1 (e.g. 15% OFF) */
    .product-image-discount-badge {
        position: absolute !important;
        bottom: 8px !important;
        right: 8px !important;
        z-index: 5 !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        border: 1.5px solid #c29c32 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
        line-height: 1 !important;
        pointer-events: none !important;
    }

    .product-image-discount-badge .disc-pct {
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #8a6200 !important;
        line-height: 1 !important;
    }

    .product-image-discount-badge .disc-lbl {
        font-size: 8px !important;
        font-weight: 700 !important;
        color: #8a6200 !important;
        line-height: 1 !important;
        margin-top: 1px !important;
        letter-spacing: 0.3px !important;
    }

    .product-hover-actions {
        display: none !important;
    }

    .product-info {
        padding: 6px 8px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
        background: #ffffff !important;
        margin: 0 !important;
        height: auto !important;
        min-width: 0 !important;
    }

    .product-info h4 {
        font-size: 13px !important;
        line-height: 1.35 !important;
        margin: 0 0 2px 0 !important;
        font-weight: 600 !important;
        color: #222222 !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        height: auto !important;
        max-height: none !important;
    }

    .product-info h4 a {
        color: inherit !important;
        text-decoration: none !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .price-row-wrap {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-top: 2px !important;
        margin-bottom: 0 !important;
    }

    .price-row-wrap .price-tag {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        display: inline-flex !important;
        align-items: baseline !important;
        gap: 6px !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        width: auto !important;
        line-height: 1.2 !important;
    }

    /* Regular price when not on sale */
    .price-row-wrap .price-tag > .woocommerce-Price-amount,
    .price-row-wrap .price-tag > bdi {
        color: #1a1a1a !important;
        font-weight: 700 !important;
        font-size: 14px !important;
    }

    /* Sale price: highlighted in bold vivid red/pink like Image 1, shown FIRST */
    .price-row-wrap .price-tag ins {
        order: 1 !important;
        text-decoration: none !important;
        color: #e53935 !important;
        font-weight: 700 !important;
        font-size: 14px !important;
    }

    .price-row-wrap .price-tag ins .woocommerce-Price-amount,
    .price-row-wrap .price-tag ins bdi {
        color: #e53935 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    /* Original crossed-out price: shown SECOND in muted grey with strikethrough */
    .price-row-wrap .price-tag del {
        order: 2 !important;
        text-decoration: line-through !important;
        color: #8c8c8c !important;
        font-size: 11px !important;
        font-weight: 400 !important;
        margin: 0 !important;
    }

    .price-row-wrap .price-tag del .woocommerce-Price-amount,
    .price-row-wrap .price-tag del bdi {
        color: #8c8c8c !important;
        font-weight: 400 !important;
        text-decoration: line-through !important;
    }

    .desktop-view-more {
        display: none !important;
    }

    #scroll-percentage {
        bottom: 12px !important;
        right: 12px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 10px !important;
        z-index: 99 !important;
    }

    #scroll-percentage-value {
        width: 28px !important;
        height: 28px !important;
        font-size: 9px !important;
    }

    /* List View Mode for Mobile */
    .row.product-grid.view-mode-list .amelia-product-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .row.product-grid.view-mode-list .product-card {
        flex-direction: row !important;
        align-items: center !important;
    }

    .row.product-grid.view-mode-list .product-image-wrapper {
        width: 105px !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0 !important;
        border-radius: 10px 0 0 10px !important;
    }

    .row.product-grid.view-mode-list .product-info {
        padding: 10px 14px !important;
    }

    /* List view doesn't need to show color options */
    .row.product-grid.view-mode-list .card-color-swatches,
    .row.product-grid.view-mode-list .mobile-image-swatches {
        display: none !important;
    }

    /* Mobile Filter & Sort Dropdown Popups (Matching Desktop Images 1 & 2) */
    .mobile-filter-drawer {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        width: min(100%, 340px) !important;
        max-width: 100% !important;
        background: #ffffff !important;
        border: 1px solid #e5e5e5 !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
        padding: 16px !important;
        z-index: 1001 !important;
        transform: none !important;
    }

    .mobile-filter-drawer.is-open {
        display: block !important;
    }

    .mobile-filter-drawer .price-range-inputs {
        gap: 12px !important;
        padding: 8px 0 !important;
    }

    .mobile-filter-drawer .price-input-group {
        padding: 6px 10px !important;
    }

    .mobile-filter-drawer .input-wrapper input {
        font-size: 14px !important;
        padding: 10px 4px 6px 4px !important;
    }

    .mobile-filter-drawer .input-wrapper label {
        font-size: 13px !important;
        left: 4px !important;
        top: 10px !important;
    }

    .mobile-filter-drawer .input-wrapper input:focus + label,
    .mobile-filter-drawer .input-wrapper input:not(:placeholder-shown) + label {
        top: -8px !important;
        font-size: 11px !important;
    }

    /* Mobile Sort Dropdown Menu (Matching Image 2) */
    .mobile-sort-sheet {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 28% !important;
        right: auto !important;
        bottom: auto !important;
        width: min(72vw, 240px) !important;
        background: #ffffff !important;
        border: 1px solid #e5e5e5 !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
        padding: 8px 0 !important;
        z-index: 1001 !important;
        transform: none !important;
    }

    .mobile-sort-sheet.is-open {
        display: block !important;
    }

    .mobile-sort-options {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-sort-option {
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        text-align: left !important;
        padding: 10px 18px !important;
        font-size: 14px !important;
        color: #4a4a4a !important;
        display: block !important;
        border-radius: 0 !important;
        cursor: pointer !important;
        line-height: 1.4 !important;
    }

    .mobile-sort-option:hover,
    .mobile-sort-option.active {
        background: #f8f2eb !important;
        color: #2f2f2f !important;
        font-weight: 400 !important;
    }

    .listing-pagination {
        gap: 8px;
    }

    .listing-pagination .page-number,
    .listing-pagination .page-nav {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
