.listing_container {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1400px;
    margin: 0px auto;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.listing_text {
    /* background-color: #3D9491; */
    color: #fff;
    padding-left: 3rem;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.listing_text h3 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 10px;
}

.listing_text p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0px;
    margin: 0;
    color: #ffffff;
    padding-top: 1rem;
    width: 80%;
}

.listing_image {
    width: 50%;
}

.listing_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Header & Filter Controls ===== */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
}

.filter-btn {
    background: #8B2E3C;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
}

span.num_list {
    font-size: 16px;
    font-weight: 500;
}

.filter-icon {
    width: 16px;
    height: 16px;
}

.clear-all {
    background: #EDEDED;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}

/* ===== Filter Overlay (for mobile) ===== */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Filter Panel ===== */
.filter-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 350px;
    background: white;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
}

.filter-panel.active {
    transform: translateX(0);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
}

.filter-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.filter-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 80px;
}

/* ===== Filter Sections ===== */
.filter-section {
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    padding-bottom: 7px;
}

.filter-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.filter-section-header h3 {
    font-family: "Erode", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    text-transform: capitalize;
    color: #1E1E1E;
}

.toggle-icon {
    font-size: 18px;
    color: #8b2e3c;
    transition: transform 0.3s ease;
}

.filter-section.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.filter-section-content {
    padding-top: 15px;
    max-height: max-content;
    transition: max-height 0.3s ease;
}

.filter-section.collapsed .filter-section-content {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
}

.box-list {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 90%;
}

.checkbox-item {
    display: flex;
    align-items: self-start;
    gap: 10px;
    margin-bottom: 12px;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #8B2E3C;
}

.checkbox-item label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0;
    vertical-align: middle;
    color: #000;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

/** ===== Price Range Slider ===== */
.price-slider {
    position: relative;
    height: 28px;
    margin: 15px 0
}

.rail {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    background: #ddd;
    border-radius: 999px;
    transform: translateY(-50%)
}

.fill {
    position: absolute;
    top: 50%;
    height: 3px;
    background: #730D18;
    border-radius: 999px;
    transform: translateY(-50%)
}

.list-left_content input[type=range] {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none
}

.list-left_content input[type=range]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #730D18;
    cursor: pointer
}

.list-left_content .inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px
}

.field {
    display: flex;
    align-items: center;
    background: #f2f2f2;
    padding: 8px 14px;
    border-radius: 999px;
    flex: 1
}

.field input {
    border: 0;
    background: none;
    width: 100%;
    font-size: 14px;
    outline: none;
    text-align: right;
    color: #1a1a1a
}

/* ===== Apply Button (mobile only) ===== */
.apply-btn-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 85%;
    max-width: 350px;
    background: white;
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.filter-panel.active~.apply-btn-container {
    transform: translateX(0);
}

.apply-btn-container button {
    width: 100%;
    background: #000;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

ul.product_list {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

ul.product_list li {
    width: 32%;
    padding-bottom: 30px;
}

ul.product_list li:nth-last-child(-n+3) {
    padding-bottom: 0;
}

/* Sort By Section */
.sort-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    width: 40%;
}

.sort-label {
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0;
    vertical-align: middle;
    color: #000;
    white-space: nowrap;
}

span.selected-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0;
    vertical-align: middle;
    color: #000;
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    flex: 1;
    max-width: 250px;
}

.dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
    color: #1a1a1a;
    background: #EDEDED;
    border-radius: 50px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.dropdown-selected:hover {
    background: #ececec;
    border-color: #d0d0d0;
}

.custom-dropdown.active .dropdown-selected {
    border-color: #999;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.custom-dropdown.active .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    padding-bottom: 10px;
}

.dropdown-option {
    display: flex;
    align-items: flex-start;
    padding: 3px 13px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
    vertical-align: middle;
    color: #000;
    cursor: pointer;
}

.dropdown-option:hover {
    background: #f5f5f5;
}

.dropdown-option.selected {
    font-weight: 500;
}

.dropdown-option::before {
    content: '✓';
    font-size: 16px;
    font-weight: bold;
    margin-right: 12px;
    color: #1a1a1a;
    opacity: 0;
    width: 16px;
    flex-shrink: 0;
}

.dropdown-option.selected::before {
    opacity: 1;
}

.inputs span {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== Desktop Layout ===== */
@media (min-width: 769px) {
    .filter-panel {
        position: sticky;
        top: 15px;
        flex: 0 0 320px;
        max-width: 320px;
        width: 320px;
        height: 100dvh;
        max-height: 100dvh;
        overflow-y: auto;
        padding-right: 30px;
        transform: none !important;
        left: auto;
        right: auto;
        bottom: auto;
        box-shadow: none;
    }

    .filter-overlay,
    .apply-btn-container,
    .close-btn {
        display: none;
    }

    .container-row {
        display: flex;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        gap: 20px;
    }

    .flex-row {
        justify-content: space-between;
        display: flex;
        padding: 0px 0px 10px 0px;
        align-items: baseline;
        position: sticky;
        top: 0px;
        background-color: #ffff;
        z-index: 1;
    }

    .flex-row span.num_list {
        font-size: 16px;
        font-weight: 500;
    }

    .main-content {
        flex: 1;
    }

    .filter-btn.mobile-only {
        display: none;
    }

    .filter-content {
        padding-bottom: 0;
    }

    .filter-header {
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        display: none;
    }


    section.product_list_section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .list-left_content {
        max-height: 90vh;
        overflow: auto;
        padding-right: 20px;
    }

    .flex-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 0 0 10px;
        position: sticky;
        top: 0;
        background-color: #fff;
        z-index: 5;
    }

    .sticky-btm {
        padding-bottom: 2rem;
    }


    .sort-section {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
        width: 40%;
        padding-top: 2rem;
    }

    .filter-content {
        padding-top: 2rem;
    }

    .list-left_content {
        max-height: 85vh;
    }

    section.product_list_section {
        padding-top: 0;
        padding-bottom: 0;
    }

}

body.filter-open {
    overflow: hidden;
}


/* ===== detail page ===== */
.details_main_image_wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/4;
    background: #EFEFEF;
    border-radius: 8px;
    height: 500px;
    overflow: hidden;
}

.details_main_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity .25s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.detail_search img {
    width: 13px;
}

.details_main_image.details_fade {
    opacity: 0;
}

.details_nav_button {
    display: none;
}

.header-left {
    padding: 10px 10px;
}

.details_nav_button:active {
    transform: translateY(-50%) scale(.95);
}

.details_nav_button_prev {
    left: 12px;
}

.details_nav_button_next {
    right: 12px;
}

.details_nav_button svg {
    width: 20px;
    height: 20px;
    fill: #333;
}


.details_icon_button {
    background: transparent;
    border: none;
}

.details_icon_button:active {
    transform: scale(.95);
}

.details_icon_button svg {
    width: 18px;
    height: 18px;
}

.details_icon_button.details_liked svg {
    fill: #e74c3c;
}

.details_icon_button:not(.details_liked) svg {
    fill: #333;
}

/* --Thumbs-- */
.details_thumbnails_wrapper {
    position: relative;
    background: #fff;
}

.details_thumbnails {
    display: flex;
    gap: 10px;
    padding: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.details_thumbnails::-webkit-scrollbar {
    display: none;
}

.details_thumbnail {
    flex: 0 0 24%;
    height: 125px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .2s ease, border-color .2s ease;
    background: #fafafa;
    scroll-snap-align: start;
}

.details_thumbnail:active {
    transform: scale(.96);
}

.details_thumbnail.details_active {
    border-color: #ffffff;
}

.details_thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumb arrows (show on desktop/tablet) */
.details_thumbnail_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .95);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    transition: transform .2s ease;
    z-index: 10;
}

.details_thumbnail_nav_prev {
    left: 8px;
}

.details_thumbnail_nav_next {
    right: 8px;
}

.details_thumbnail_nav svg {
    width: 16px;
    height: 16px;
    fill: #333;
}

.product_detail_section {
    padding: 3rem 0;
}

.detail-row {
    display: flex;
    gap: 3%;
}

.detail_left_row {
    width: 50%;
    position: sticky;
    top: 25px;
    align-self: start;
    z-index: 5;
}

.details_icons_wrapper {
    display: none;
}

.detail_search {
    position: absolute;
    top: 15px;
    right: 25px;
    display: flex;
    gap: 8px;
    z-index: 10;
    width: 30px;
    height: 30px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
}

@media (min-width:641px) {
    .details_thumbnail_nav {
        display: flex;
    }
}



.detail_product_info {
    font-family: "Inter", sans-serif;
    color: #232322;
    width: 50%;
}

.detail_product_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    align-items: center;
}

.detail_product_name {
    font-family: "Erode", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0;
    margin: 0;
    color: #232322;
    max-width: 70%;
}

.detail_product_icons {
    display: flex;
    gap: 20px;
}

.detail_product_icons button {
    background: none;
    border: none;
    font-size: 16px;
    color: #681212;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

.detail_product_icons button:hover {
    opacity: 0.7;
}

.detail_badges {
    margin: 20px 0;
    margin-bottom: 0;
}

.detail_badge_bestseller {
    background: #DFB16B;
    color: #1E1E1E;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 1.6;
    border-radius: 3px;
    padding: 2px 6px;
    border-radius: 0px 0px 8px 0px;
    display: inline-block;
}

.detail_price_row {
    display: flex;
    align-items: center;
    gap: 35px;
}

.detail-price_discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.detail_price_row span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 32px;
    line-height: 40px;
}

.detail_price_current {
    color: #730D18;
}

.detail_price_old {
    color: #9A9A9A;
}

.detail_price_row img {
    width: 32px;
}

span.detail_discount {
    background: #CDE8C1;
    color: #1E1E1E;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    font-style: normal;
    padding: 2px 6px;
    padding: 2px 20px;
    border-radius: 25px;
}

.offer_tag.offer_detail_tag {
    margin: 20px 0;
}

.offer_tag.offer_detail_tag h2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.offer-timer.detail_timer {
    padding-top: 10px;
}

.detail_product_description h2 {
    color: #730D18;
    font-size: 28px;
}

.detail_product_description p {
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.detail_product_description p.expanded {
    max-height: max-content;
    text-align: justify;
}

.detail_product_description a.read-more-btn {
    display: block;
    margin-top: 8px;
    color: #1E1E1E;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: underline;
}

.detail_product_description a.read-more-btn:hover {
    text-decoration: underline;
}

.detail_product_description {
    border-top: 1px solid #9A9A9A;
    padding: 20px 0px;
    border-bottom: 1px solid #9A9A9A;
}

/*--radio---*/
.size-selector {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.size-btn {
    padding: 12px 28px;
    border: 0.7px solid #730D18;
    border-radius: 25px;
    background: #FFF4F5;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #232322;

}

.size-btn:hover {
    border-color: #999;
}

.size-btn.active {
    background: #751a1a;
    color: rgb(255, 255, 255);
    border-color: #751a1a;
}

.container-btn h3 {
    text-align: left;
}

.container-btn {
    padding-top: 25px;
}

.detail_cart_box a {
    background: #730D18;
    color: #ffff;
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    text-decoration: none;
    padding: 19px 25px;
    border-radius: 50px;
    text-decoration: none;
    width: 90%;
}

button.size-btn:hover {
    background-color: #751a1a;
    color: #fff;
}

.detail_cart_box a:hover {
    background-color: #000000;
}

.detail_cart_box {
    background: #FFF4F5;
}

.bundle_container {
    padding-top: 25px;
}

.detail_cart_box {
    background: #FFF4F5;
    border: 0.7px solid #730D18;
    border-radius: 11px;
    padding: 30px;
    text-align: center;
}

.detail_cart_box span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 32px;
    line-height: 40px;
}

.detail_cart_box img {
    width: 32px;
}

.detail_cart_box .detail-price_discount {
    padding-bottom: 15px;
    gap: 20px;
}

/*--bundle--*/
.bundle_card {
    background: white;
    border: .07px solid #9A9A9A;
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.bundle_card.active {
    border-color: #730d18;
}

.bundle_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 20px 20px 20px;
    border-bottom: .07px solid #9A9A9A;
    background: #FFF4F5;
    position: relative;
    border-radius: 12px 12px 0px 0px;

}

.bundle_badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #CDE8C1;
    color: #1E1E1E;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.bundle_toggle_wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bundle_toggle {
    width: 45px;
    height: 22px;
    background: #737373;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.bundle_toggle.active {
    background: #730d18;
}

.bundle_toggle_circle {
    width: 17px;
    height: 17px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 3px;
    transition: transform 0.3s ease;
}

.bundle_toggle.active .bundle_toggle_circle {
    transform: translateX(22px);
}

.bundle_toggle_label {
    font-size: 15px;
    color: #1E1E1E;
    font-weight: 500;
}

.bundle_price_wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.bundle_price_wrapper span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 20px;
}

.bundle_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.bundle_item {
    padding: 24px 20px;
    text-align: center;
}

.bundle_item:first-child {
    border-right: .07px solid #9A9A9A;
}

.bundle_item_image {
    width: 100%;
    max-width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
    border-radius: 8px;
}

.bundle_item_title {
    font-size: 15px;
    font-weight: 600;
    color: #730D18;
    margin-bottom: 8px;
}

.bundle_item_desc {
    font-size: 14px;
    color: #1E1E1E;
    line-height: 1.4;
    margin: 0 auto;
    margin-bottom: 12px;
    width: 80%;
}

.bundle_item_value {
    font-size: 13px;
    color: #9A9A9A;
    text-decoration: line-through;
}



.bundle_container h3 {
    text-align: left;
}

.detail_product_info h3 {
    padding-bottom: 15px;
}

.detail-price_discount h3 {
    padding: 0;
}

.bundle_item_value img {
    width: 15px;
}

.bundle_item {
    position: relative;
}

.bundle_item:first-child {
    border-right: 1px solid #e5e5e5;
}

.bundle_item:first-child::after {
    content: '+';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #FFF4F5;
    border: 1px solid #9A9A9A;
    border-radius: 50%;
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-size: 24px;
    font-weight: 400;
    color: #730D18;
    z-index: 1;
}

.info_container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 25px;
}

.info_card {
    background: white;
    border: 1px solid #9A9A9A;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.info_card.shipping {
    background: #FFF4F5;
    border-color: #730D18;
    margin-bottom: 20px;
    color: #730D18;
    font-weight: 600;
    text-align: center;
}

.info_card.shipping p {
    color: #730D18;
    text-align: left;
    font-weight: 600;
}

.info_card.shipping img {
    width: 60px;
}

.info_icon {
    width: 30%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: end;
}

.info_icon svg {
    width: 100%;
    height: 100%;
}

.info_text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    color: #0E0D0D;
    width: 70%;
}

span.info_price img {
    width: 20px;
    display: inline-block;
}

.info_text strong {
    font-weight: 600;
    color: #1a1a1a;
}

.info_price {
    font-weight: 700;
    color: #882322;
}

.info_link {
    color: #1a1a1a;
    text-decoration: underline;
    cursor: pointer;
}


.detail_list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail_list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
}

.detail_list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 3px;
    color: #730D18;
    font-size: 33px;
    line-height: 14px;
}

.detail_list .detail_list-text {
    font-size: 17px;
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
    line-height: 26px;
    text-align: justify;
}

.detail_list .detail_list-text strong {
    font-weight: 600;
}



.dimensions_accordion span.faq_accordion-title {
    font-family: "Erode", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0;
    color: #730D18;
}

a.detail_like_btn.detail_liked img {
    height: 21px;
}

.faq_accordion .faq_accordion-item {
    border-bottom: 1px solid #9A9A9A;
}

.faq_accordion .faq_accordion-item:first-child {
    border-top: 1px solid #9A9A9A;
}

.dimensions_accordion {
    padding-top: 20px;
}



/* --- In-store pickup card --- */
.pickup_card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff7f8;
    border: 1px solid #cbb5b8;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 25px;
    gap: 16px;
    flex-wrap: wrap;
}

.pickup_card-left {
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: left;
    flex: 1;
    min-width: 250px;
}

.pickup_card-icon {
    font-size: 28px;
    color: #750014;
}

.pickup_card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pickup_card-content h4 {
    margin: 0;
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
    width: 80%;
}

.pickup_card-content p {
    margin: 2px 0 0;
    font-size: 14px;
    color: #9A9A9A;
}

.pickup_button {
    background-color: #750014;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.pickup_button:hover {
    background-color: #5e0010;
}

/* --- Feature boxes --- */
.feature_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    justify-content: space-between;
}

.feature_box {
    width: 30%;
    border: 1px solid #cbb5b8;
    border-radius: 10px;
    padding: 25px 10px 20px;
    background-color: #fff;
    text-align: center;
    transition: 0.3s ease;
    background-color: #FFF4F5;
    cursor: pointer;
}

.feature_box:hover {
    background-color: #ffe7ea;
    border-color: #750014;
}

.pickup_card:hover {
    background-color: #ffe7ea;
}

.info_card.shipping:hover {
    background-color: #ffe7ea;
}

.detail_cart_box:hover {
    background-color: #ffe7ea;
}

.feature_box-icon {
    font-size: 38px;
    color: #750014;
    margin-bottom: 10px;
}

.feature_box p {
    font-weight: 600;
    color: #750014;
    font-size: 15px;
    margin: 0;
}


.pickup_section {
    padding-top: 25px;
}


.shipping_strip {
    background: #FFF4F5;
    padding: 40px 0;
}

article.shipping_card img {
    padding-bottom: 20px;
}

.shipping_container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
}

.shipping_card {
    flex: 1 1 calc(25% - 18px);
    position: relative;
    padding: 22px 18px;
    text-align: center;
    box-sizing: border-box;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
    -webkit-tap-highlight-color: transparent;
}

.shipping_card:hover,
.shipping_card:focus-visible {
    transform: translateY(-4px);
    outline: none;
}


.shipping_icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    color: var(--brand);
    fill: currentColor;
    display: block;
}

.shipping_title {
    font-size: 18px;
    line-height: 1.25;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin: 0 0 6px;
}

.shipping_text {
    margin: 0 auto;
    line-height: 1.4;
    color: #1E1E1E;
}

/* Responsive */
@media (max-width:900px) {
    .shipping_card {
        flex: 1 1 calc(50% - 18px);
    }
}



section.you_like_section {
    padding: 3rem 0 3rem 4rem;
}

.dimensions_accordion .faq_accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
}

/* optional: rotate icon when open */
.dimensions_accordion .faq_icon img {
    transition: transform 0.28s ease;
}

.dimensions_accordion .faq_accordion-item[aria-expanded="true"] .faq_icon img {
    transform: rotate(180deg);
}

.mattress_banner {
    width: 100%;
    background: #ffffff;
    padding: 0;
    margin-bottom: 3rem;
}

.banner_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    background: #274060;
    overflow: hidden;
}

.banner_image {
    flex: 1;
    min-height: 280px;
}

.banner_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner_content {
    flex: 1;
    color: #fff;
    padding: 0 1rem 0 5rem;
    background: #274060;
    text-align: left;
}

.banner_content h2 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.2;
}

.banner_content p {
    font-size: 15px;
    color: #d6d6d6;
    margin-bottom: 25px;
    width: 55%;
}

.banner_btn {
    display: inline-block;
    background: #fff;
    color: #274060;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.banner_btn:hover {
    background: #f1f1f1;
}


.fixed_cart {
    position: fixed;
    right: 55px;
    bottom: 40px;
    background: #fff;
    border: 1px solid #750014;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    width: 37%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.fixed_cart:hover {
    border-color: #000000;
}

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

.fixed_cart_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.fixed_cart_info {
    display: flex;
    align-items: self-start;
    gap: 10px;
}

.fixed_cart_img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.fixed_cart_text h4 {
    font-size: 15px;
    line-height: 20px;
    color: #000;
    margin: 0 0 6px;
    width: 80%;
}

.fixed_cart_price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding-top: 6px;
}

.fixed_cart_price .price_new {
    color: #750014;
    font-weight: 600;
}

.fixed_cart_price .price_old {
    color: #aaa;
    text-decoration: line-through;
}

.fixed_cart_price .discount {
    background: #CDE8C1;
    color: #1E1E1E;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    font-style: normal;
    padding: 0px 13px;
    border-radius: 25px;
    line-height: 30px;
}

.fixed_cart_btn {
    background: #750014;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    padding: 16px 22px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 16px;
    min-width: 135px;
}

.fixed_cart_btn:hover {
    background: #5a0010;
}

.fixed_cart_price span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    line-height: 40px;
}

.fixed_cart_price img {
    width: 15px;
}

/* --- STICKY DETAIL BAR --- */
.detail_sticky_bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: #ffffff;
    box-shadow: 0px -2px 10px 1px #00000040;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.detail_sticky_hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}


.detail_sticky_content {
    max-width: 480px;
    margin: 0 auto;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.detail_sticky_price_wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.detail_sticky_price_wrap span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 22px;
    line-height: 40px;
}

.detail_sticky_button {
    flex-shrink: 0;
    border: none;
    outline: none;
    border-radius: 999px;
    padding: 10px 20px;
    background: #730D18;
    color: #ffff;
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.detail_sticky_button:hover {
    transform: scale(0.96);
    background-color: #000;
}

.detail_sticky_hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.quantity_selector input::-webkit-outer-spin-button,
.quantity_selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.container-btn-box .quantity_wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px 0;

}

.quantity_selector {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    height: 36px;
    max-width: 110px;
    justify-content: center;
    border: 0.7px solid #730D18;
    border-radius: 25px;
    background: #FFF4F5;
}

button.qty_btn {
    border: none;
    background: none;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    width: 36px;
    height: 36px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.quantity_selector input {
    width: 50px;
    border: none;
    outline: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background-color: #fff4f5;

}

.container-btn-box label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0;
}


html {
    scrollbar-gutter: stable;
}

.detail_price_row {
    padding: 20px 0;
}

.zoom-wrapper {
    position: relative;
    display: inline-block;
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    display: none;
    z-index: 5;
}

.zoom-active+.zoom-overlay {
    display: block;
}

/* zoom effect */
#detailsMainImage {
    transition: transform .3s ease;
    cursor: zoom-in;
}

#detailsMainImage.zoom-active {
    transform: scale(2);
    cursor: zoom-out;
}

/* disable page scroll while zoom active */
body.zoom-lock {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

#detailsMainImage {
    transition: transform .3s ease;
    cursor: default !important;
}

.bundle_toggle,
.bundle_toggle * {
    cursor: pointer !important;
    user-select: none;
    -webkit-user-select: none;
    caret-color: transparent;
}


@media (min-width: 769px) {
    .detail_sticky_bar {
        display: none;
    }

}

/* ---------- Responsive ---------- */

@media (max-width: 1440px) {
    .product_detail_section {
        padding: 2rem 0;
    }

    .detail_product_name {
        font-size: 35px;
        max-width: 60%;
    }

    .detail_badge_bestseller {
        font-size: 15px;
    }

    .detail_price_row span {
        font-size: 24px;
        line-height: 40px;
    }

    .detail_price_row img {
        width: 24px;
    }

    span.detail_discount {
        font-size: 15px;
        line-height: 25px;
    }

    .detail_product_description p {
        max-height: 79px;
        transition: max-height 0.4s ease;
    }

    .size-selector {
        display: flex;
        gap: 14px;
        flex-wrap: nowrap;
    }

    .detail_cart_box img {
        width: 25px;
    }

    .detail_cart_box span {
        font-size: 25px;
        line-height: 40px;
    }

    .detail_cart_box a {
        padding: 14px 25px;
        width: 90%;
    }

    .bundle_item_desc {
        width: 100%;
    }

    .details_main_image_wrapper {
        height: 400px;
        overflow: hidden;
    }

    section.you_like_section {
        padding: 3rem 0 3rem 2rem;
    }
}

@media (max-width: 991px) {
    .fixed_cart {
        display: none;
    }
}

@media (max-width: 768px) {
    .banner_container {
        flex-direction: column;
    }

    .banner_content {
        padding: 40px 20px;
        text-align: center;
    }

    .banner_content h2 {
        text-align: center;
    }

    .banner_content p {
        text-align: center;
        width: 90%;
        margin: 0 auto;
        padding-bottom: 20px;
    }

    .detail_product_info {
        width: 100%;
    }

    .listing_container {
        flex-direction: column;
    }

    .listing_text,
    .listing_image {
        width: 100%;
    }

    .listing_text {
        padding: 20px;
    }

    .filter-fulltop .flex-row {
        display: flex;
        gap: 20px;
        width: 90%;
        margin: 0 auto;
    }

    .filter-fulltop {
        padding-top: 30px;
    }

    .filter-header h2 {
        font-size: 32px;
        font-weight: 600;
    }

    .main-content .flex-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
    }

    .sort-section {
        width: 50%;
        flex-wrap: wrap;
    }

    .sort-label {
        font-size: 16px;
        line-height: 20px;
        white-space: nowrap;
        text-align: left;
        display: block;
        width: 100%;
    }

    .dropdown-option {
        padding: 1px 4px;
        font-size: 14px;
        font-size: 14px;
        line-height: 1.6;
        letter-spacing: 0;
    }

    .product_price_wrapper span {
        font-size: 15px;
        line-height: 1;
    }

    .details_container {
        border-radius: 0;
    }

    .details_thumbnails {
        gap: 8px;
        padding: 12px 0;
    }

    .details_thumbnail {
        flex-basis: 70px;
        height: 70px;
    }

    .details_nav_button {
        width: 36px;
        height: 36px;
    }

    .details_nav_button svg {
        width: 18px;
        height: 18px;
    }

    /* Prev/Next */
    .details_nav_button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, .95);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
        transition: transform .2s ease, box-shadow .2s ease;
        z-index: 10;
        -webkit-tap-highlight-color: transparent;
    }

    .detail-row {
        display: flex;
        flex-wrap: wrap;
    }

    .detail_left_row {
        width: 100%;
        position: static;
    }

    .details_main_image_wrapper {
        height: 50dvh;
    }

    .details_nav_button {
        width: 30px;
        height: 30px;
    }

    .details_thumbnails_wrapper {
        display: none;
    }

    .details_icons_wrapper {
        position: absolute;
        bottom: 12px;
        right: 12px;
        display: flex;
        gap: 20px;
        z-index: 10;
    }

    .detail_product_icons {
        display: none;
    }

    .detail_product_name {
        max-width: 100%;
        padding-top: 20px;
        font-size: 36px;
    }

    .feature_box p {
        font-size: 17px;
        line-height: 17px;
    }

    .pickup_section {
        padding-top: 25px;
        padding-bottom: 3rem;
    }

    section.product_detail_section .detail_price_row span {
        font-size: 18px;
    }

    section.product_detail_section .detail_price_row img {
        width: 20px;
    }

    .detail_price_row span {
        font-size: 18px;
    }

    .detail_price_row img {
        width: 25px;
    }

    .detail_product_description p {
        max-height: 125px;
        text-align: justify;
    }

    .size-selector {
        gap: 13px;
        flex-wrap: wrap;
    }

    span.detail_discount {
        padding: 5px 20px;
    }

    .detail_cart_box {
        display: none;
    }

    .bundle_header {
        align-items: flex-start;
        gap: 12px;
    }

    .bundle_container {
        padding-top: 5px;
    }

    .detail_product_info h3 {
        padding-bottom: 25px;
    }

    .info_text {
        width: 90%;
    }

    .info_card {
        padding: 14px 16px;
    }

    .info_icon {
        width: 36px;
        height: 36px;
    }

    .detail_list .detail_list-text {
        text-align: left;
    }

    .pickup_card {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .pickup_button {
        align-self: flex-start;
        margin-top: 10px;
        font-size: 13px;
        min-width: max-content;
    }

    .pickup_card-content h4 {
        font-size: 16px;
        line-height: 22px;
        width: 85%;
        width: 99%;
    }

    .pickup_card-left {
        gap: 15px;
        min-width: 65%;
    }

    .shipping_container {
        flex-direction: column;
    }

    .shipping_card {
        flex: 1 1 100%;
        text-align: center;
        padding: 25px;
        background: #FFF4F5;
    }

    .shipping_icon {
        margin: 0 0 8px 0;
    }

    .shipping_title {
        font-size: 21px;
        line-height: 2.25;
    }

    .shipping_strip {
        background: #ffffff;
        padding: 40px 0 0 0;
    }

    section.you_like_section {
        padding: 3rem 0 3rem 1rem;
    }

    .banner_image {
        flex: 1;
        min-height: max-content;
        order: 2;
    }

    .listing_text p {
        text-align: center;
    }

    section.product_list_section {
        position: relative;
        padding-bottom: 3rem;
    }

    .filter-fix.lg-none {
        position: absolute;
        top: 45px;
    }

    .main-content {
        padding-top: 20px;
    }

    .dropdown-selected {
        padding: 8px 16px;
        width: max-content;
        min-width: 200px;
    }

    span.num_list {
        padding-left: 20px;
    }
}