/* 
 * Override fixes for original site CSS
 * Handles edge cases where extracted CSS needs local adjustments
 */

/* ========================================
   HEADER FIXES
   ======================================== */

/* Hide mobile-only header columns on desktop */
@media (min-width: 1025px) {
    .whb-hidden-lg {
        display: none !important;
    }
}

/* Hide desktop columns on mobile */
@media (max-width: 1024px) {
    .whb-visible-lg {
        display: none !important;
    }
}

/* Force hide the search clear X button */
.searchform .wd-clear-search {
    display: none !important;
}

/* WoodMart Mobile Menu Width Override */
@media (max-width: 1024px) {
    .wd-side-hidden {
        width: 85vw !important;
        max-width: 380px !important;
    }
}

/* ---- Header colors from original site ---- */

/* Top bar: light gray bg + bottom border + proper height */
.whb-top-bar {
    background-color: rgba(244, 244, 244, 1) !important;
    border-color: rgba(0, 0, 0, 0.11);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding: 8px 0;
}

/* General header: light gray bg */
.whb-general-header {
    background-color: rgba(244, 244, 244, 1) !important;
}

/* Account icon (whb-hosuzxov): white bg, dark text */
.whb-row .whb-hosuzxov4z23g3c9t54a.wd-tools-element>a>.wd-tools-icon {
    color: rgba(36, 36, 36, 1) !important;
    background-color: rgba(255, 255, 255, 1) !important;
}

/* Cart icon (whb-9mmuvgjq): dark bg, white text */
.whb-row .whb-9mmuvgjq1yhc2chuf6fm.wd-tools-element>a>.wd-tools-icon {
    color: rgba(255, 255, 255, 1) !important;
    background-color: rgba(36, 36, 36, 1) !important;
}

/* Sticky header: when whb-sticked is added by JS, fix the header */
.whb-header.whb-sticked .whb-general-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Reserve space when header becomes fixed */
.whb-header.whb-sticked {
    padding-bottom: var(--header-h, 70px);
}

/* Navigation dropdown arrows - hide on desktop main nav */
.wd-nav-header>.menu-item-has-children>a::after {
    display: none;
}

/* Hide off-canvas panels by default (search overlay, mobile nav, cart sidebar) */
.wd-search-full-screen,
.wd-close-side,
.mobile-nav.wd-side-hidden,
.cart-widget-side.wd-side-hidden {
    display: none !important;
}

/* Show them only when activated */
.wd-search-full-screen.wd-opened,
.wd-close-side.wd-opened,
.mobile-nav.wd-side-hidden.wd-opened,
.cart-widget-side.wd-side-hidden.wd-opened {
    display: block !important;
}

/* Fix Elementor accordion SVG icons - prevent them from being giant */
.e-n-accordion-item-title-icon svg {
    width: 12px !important;
    height: 12px !important;
    fill: currentColor;
}

.e-n-accordion-item-title-icon .e-opened {
    display: none;
}

.e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-opened {
    display: inline-flex;
}

.e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-closed {
    display: none;
}

/* Fix Elementor accordion toggle styling */
.e-n-accordion-item summary {
    cursor: pointer;
    list-style: none;
}

.e-n-accordion-item summary::-webkit-details-marker {
    display: none;
}

/* Ensure images from CDN display properly with lazy load placeholders */
img[data-src] {
    min-height: 50px;
}

/* Fix footer styling to match original */
.wd-footer {
    background-color: #f4f4f4 !important;
    color: #333;
}

/* CRITICAL: Footer toggle content is opacity:0 by default.
   The CSS requires .elementor-element ancestor which we don't have.
   Force it visible. */
.wd-el-toggle-content-inner {
    opacity: 1 !important;
}

/* Desktop: always show everything, hide toggle icons */
@media (min-width: 769px) {
    .wd-footer .wd-el-toggle-icon {
        display: none !important;
    }
    .wd-footer .wd-el-toggle-content {
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Mobile: accordion behavior - collapsed by default */
@media (max-width: 768px) {
    .wd-footer .wd-el-toggle-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        transition: transform 0.3s ease;
    }
    .wd-footer .wd-el-toggle.wd-opened .wd-el-toggle-icon svg {
        transform: rotate(180deg);
    }
    .wd-footer .wd-el-toggle-head {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        cursor: pointer;
        padding: 12px 0;
        border-bottom: 1px solid #e0e0e0;
    }
    .wd-footer .wd-el-toggle-content {
        display: none !important;
    }
    .wd-footer .wd-el-toggle.wd-opened .wd-el-toggle-content {
        display: block !important;
    }
}

/* Footer links should match original (dark text, no underline) */
.wd-footer a {
    color: #333;
    text-decoration: none !important;
}

.wd-footer a:hover {
    color: var(--wd-primary-color, #C8A96E);
}

/* Footer column titles */
.wd-footer .wd-el-toggle-title,
.wd-footer .widget-title,
.wd-footer h5 {
    color: var(--wd-primary-color, #C8A96E);
}

/* Trusted Dealer logos - horizontal layout */
.wd-footer .trusted-logos img,
.wd-footer img[alt="RWI Reviews"],
.wd-footer img[alt="Reddit"],
.wd-footer img[alt="Quora"],
.wd-footer img[alt="Trustpilot"],
.wd-footer img[alt="Google Reviews"] {
    max-height: 32px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    filter: grayscale(0);
}

/* Copyright bar at bottom */
.copyrights-wrapper,
.wd-copyrights {
    background: #262626 !important;
    color: rgba(255, 255, 255, 0.65);
}

.copyrights-wrapper a,
.wd-copyrights a {
    color: rgba(255, 255, 255, 0.65);
}

/* Copyright bar: text left + payment icons right (max 290px) */
.elementor-element-10667f8>.e-con-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.elementor-element-10667f8>.e-con-inner>.elementor-widget {
    width: auto;
    flex-shrink: 0;
}

/* Payment icons widget: cap width like original */
.elementor-element-54b041f {
    max-width: 290px !important;
    width: 290px !important;
}

.elementor-element-54b041f img {
    max-width: 100%;
    height: auto;
}

/* Fix articles section - ensure proper side-by-side layout with FAQ */
.e-n-accordion-item-title {
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
}

.e-n-accordion-item-title-icon {
    display: inline-flex;
    align-items: center;
}

/* Blog post date badge - overlay on image */
.wd-post-date.wd-style-with-bg {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #fff;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.wd-post-date .post-date-day {
    font-size: 18px;
    font-weight: 700;
    display: block;
}

.wd-post-date .post-date-month {
    font-size: 11px;
    text-transform: uppercase;
    display: block;
    color: #999;
}

/* Blog post image container needs relative positioning */
.wd-post .wd-post-thumb,
.wd-post .post-img-wrapper {
    position: relative;
    overflow: hidden;
}

/* Blog grid list design - image + text side by side */
.wd-blog-holder.wd-grid-g .wd-post {
    margin-bottom: 20px;
}

/* ========================================
   Elementor Layout System
   NOTE: All section/column/widget-wrap/e-con layout rules
   are handled by custom-frontend.min.css (53KB from original site).
   DO NOT re-declare .elementor-section, .elementor-column,
   .elementor-widget-wrap, .e-con rules here.
   ======================================== */

/* Override Elementor default 1140px → original site uses 1540px */
.elementor-section.elementor-section-boxed>.elementor-container {
    max-width: var(--wd-container-w, 1540px);
}

/* Target ONLY the articles+FAQ section (element 35fd21a) for 50/50 layout on desktop */
@media (min-width: 1025px) {
    .elementor-element-35fd21a>.elementor-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        max-width: var(--wd-container-w, 1540px);
        margin: 0 auto;
    }

    .elementor-element-35fd21a>.elementor-container>.elementor-col-50 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Force stacked layout on mobile for articles+FAQ */
@media (max-width: 1024px) {
    .elementor-element-35fd21a>.elementor-container {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .elementor-element-35fd21a>.elementor-container>.elementor-col-50 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 40px !important;
    }
}

/* ========================================
   SIDEBAR / ARCHIVE PAGE FIXES
   ======================================== */

/* Sidebar widget styling */
.wd-widget.sidebar-widget {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.wd-widget .widget-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-transform: none;
    color: #333;
}

/* Product categories list */
.wd-widget .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wd-widget .product-categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
}

.wd-widget .product-categories li:last-child {
    border-bottom: none;
}

.wd-widget .product-categories li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.wd-widget .product-categories li a:hover {
    color: #C8A96E;
}

.wd-widget .product-categories li .count {
    background: #f5f5f5;
    color: #999;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    min-width: 28px;
    text-align: center;
}

/* Price filter */
.wd-widget .price_slider_wrapper {
    padding: 5px 0;
}

.wd-widget .price_slider input[type="range"] {
    width: 100%;
    accent-color: #C8A96E;
}

.wd-widget .price_slider_amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}

.wd-widget .price_slider_amount .button {
    background: #C8A96E;
    color: #fff;
    border: none;
    padding: 5px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
}

.wd-widget .price_slider_amount .button:hover {
    background: #b8964e;
}

/* Archive page breadcrumb */
.wd-page-content .woocommerce-breadcrumb {
    font-size: 13px;
    color: #999;
    padding: 10px 0;
}

.wd-page-content .woocommerce-breadcrumb a {
    color: #999;
    text-decoration: none;
}

.wd-page-content .woocommerce-breadcrumb a:hover {
    color: #C8A96E;
}

/* Product grid on archive page */
.wd-product .product-element-top {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 4px;
}

.wd-product .product-element-top img {
    transition: transform 0.3s ease;
}

.wd-product:hover .product-element-top img {
    transform: scale(1.05);
}

.wd-product .product-element-bottom h3 a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.wd-product .product-element-bottom h3 a:hover {
    color: #C8A96E;
}

/* Star rating display */
.wd-product .star-rating {
    font-size: 12px;
    color: #C8A96E;
    margin: 4px 0;
}

/* Sale badge */
.wd-product .product-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.wd-product .onsale.product-label {
    background: #C8A96E;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

/* Price styling on archive */
.wd-product .price del {
    color: #999;
    font-size: 13px;
}

.wd-product .price ins {
    color: #C8A96E;
    text-decoration: none;
    font-weight: 600;
}

/* ========================================
   Elementor CSS Variable Supplement
   custom-frontend.min.css handles most layout.
   Below: ONLY variables NOT in custom-frontend.min.css
   that post-XXXX.css files depend on.
   ======================================== */

/* NOTE: Do NOT add gap shorthand here.
   custom-frontend.min.css uses row-gap/column-gap separately.
   Adding gap shorthand causes conflicts (e.g. hero gets gap:30px instead of normal). */

/* NOTE: Do NOT bind widget flex-grow/width/height to CSS variables here.
   custom-frontend.min.css only sets min-width:0 and max-width:100% on widgets.
   Binding to --container-widget-flex-grow causes incorrect stretch behavior
   when post templates set it to 1. Browser default flex-grow:0 is correct. */
.e-con>.elementor-widget,
.e-con-inner>.elementor-widget {
    min-width: 0;
    max-width: 100%;
}

/* ── Link colors ── */
.elementor-element a {
    color: var(--wd-link-color, inherit);
    text-decoration: var(--wd-link-decor, none);
}

.elementor-element a:hover {
    color: var(--wd-link-color-hover, var(--wd-primary-color, #C8A96E));
    text-decoration: var(--wd-link-decor-hover, none);
}

/* ── Form (WPForms shortcode fallback) ── */
.elementor-widget-form .elementor-form {
    --e-form-steps-indicators-spacing: 20px;
    --e-form-steps-indicator-padding: 30px;
}

/* ── Share buttons ── */
.elementor-widget-share-buttons {
    --e-share-buttons-icon-size: var(--e-share-buttons-icon-size, 18px);
}

/* ── Sticky offset ── */
.elementor-sticky--effects {
    top: var(--wd-sticky-offset, 0) !important;
}

/* ── Negative gap helper ── */
/* NOTE: Do NOT add overflow:hidden here.
   The original site does not set overflow on .wd-negative-gap.
   It only adjusts margins via int-elem-base.min.css. */

/* ── Elementor global colors fallback ── */
:root {
    --e-global-color-primary: #6EC1E4;
    --e-global-color-secondary: #54595F;
    --e-global-color-text: #7A7A7A;
    --e-global-color-accent: #61CE70;
}

/* ========================================
   BLOG POST LAYOUT
   Styles for .blog-hero / .blog-body in post_content
   (replaces Elementor Single Post Template post-1570)
   ======================================== */

/* Hero Card */
.blog-hero {
    display: flex;
    gap: 30px;
    background: #F4F4F4;
    border-radius: 30px;
    padding: 30px;
    margin: 20px 0 60px;
    overflow: hidden;
}

.blog-hero-text {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-hero-image {
    flex: 0 0 58%;
    border-radius: 16px;
    overflow: hidden;
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 280px;
}

.blog-category {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    width: fit-content;
}

.blog-title {
    font-size: 38px;
    font-weight: 700;
    color: #333;
    line-height: 1.25;
    margin: 0 0 20px;
    font-family: 'Lato', 'Helvetica Neue', sans-serif;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #888;
    flex-wrap: wrap;
}

.blog-author {
    font-weight: 500;
}

.blog-date {
    color: #aaa;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.blog-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

/* Body Content */
.blog-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 60px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.blog-body h2 {
    font-size: 26px;
    color: #333;
    margin: 36px 0 16px;
    font-weight: 600;
    line-height: 1.3;
}

.blog-body h3 {
    font-size: 21px;
    color: #333;
    margin: 28px 0 12px;
    font-weight: 600;
}

.blog-body h4 {
    font-size: 18px;
    color: #333;
    margin: 24px 0 10px;
    font-weight: 600;
}

.blog-body p {
    margin-bottom: 16px;
}

.blog-body a {
    color: #C8A96E;
    text-decoration: none;
}

.blog-body a:hover {
    text-decoration: underline;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
}

.blog-body ul,
.blog-body ol {
    padding-left: 28px;
    margin-bottom: 16px;
}

.blog-body li {
    margin-bottom: 8px;
}

.blog-body blockquote {
    border-left: 4px solid #C8A96E;
    padding: 16px 24px;
    margin: 24px 0;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.blog-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.blog-body th,
.blog-body td {
    padding: 12px 16px;
    border: 1px solid #eee;
    text-align: left;
}

.blog-body th {
    background: #fafafa;
    font-weight: 600;
    color: #333;
}

.blog-body strong {
    color: #333;
}

/* Table of Contents */
.blog-body .lwptoc,
.lwptoc {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.lwptoc_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.lwptoc_items a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 2.2;
}

.lwptoc_items a:hover {
    color: #C8A96E;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        flex-direction: column-reverse;
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 30px;
    }

    .blog-hero-text,
    .blog-hero-image {
        flex: none;
        width: 100%;
    }

    .blog-title {
        font-size: 24px;
    }
}

/* ========================================
   HOMEPAGE LAYOUT FIXES 
   ======================================== */

/* Footer 'Shop By Brand' columns fix (restore desktop row layout) */
@media (min-width: 768px) {
    .elementor-element-f544d66 {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }

    .elementor-element-f544d66>.e-con-child {
        width: 25% !important;
    }
}

/* Guarantee Banner alignment fix */
.elementor-element-0bf4001,
.elementor-element-0bf4001>.e-con-inner,
div[data-id="0bf4001"] {
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* Generic container fix for background cutoffs */
.e-con-full {
    background-size: cover;
    background-position: center;
}
/* Fix 'Shop By Brand' list alignment (missing <ul> wrapper in Elementor text editor) */
.elementor-element-16b3913 .wd-text-block li {
    margin-left: 15px;
}

/* ── Mobile Layout & Overflow Fixes ── */
/* Prevent horizontal scroll bugs that cause the entire page to look shifted left 
   with a blank space on the right edge. */
html, body, .website-wrapper {
    overflow-x: hidden;
}

@media (max-width: 1024px) {
    /* wd-section-stretch uses 100vw which often causes horizontal scroll bugs on mobile.
       Reset it to stay within the normal 100% bounds to prevent leftward shifting. */
    [class*="wd-section-stretch"] {
        min-width: 0 !important;
        width: 100% !important;
        left: 0 !important;
        padding-inline: 0 !important;
    }
}

/* ========================================
   PRODUCT TABS - Active state fix
   ======================================== */
/* Force non-active tabs to have default (transparent) background */
.wd-products-tabs .wd-nav-tabs > li:not(.wd-active) > a {
    background-color: transparent !important;
    color: var(--wd-text-color, #333) !important;
    border-color: currentColor !important;
    box-shadow: none !important;
}

/* ========================================
   MOBILE SIDE NAV - Slide animation & backdrop
   ======================================== */
.mobile-nav.wd-side-hidden {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100%;
    z-index: 99999;
    background: #fff;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.mobile-nav.wd-side-hidden.wd-opened {
    right: 0;
}

/* Backdrop overlay */
.wd-close-side {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    cursor: pointer;
}
.wd-close-side.wd-close-side-opened {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll when nav is open */
html.mobile-nav-opened {
    overflow: hidden;
}
html.mobile-nav-opened body {
    overflow: hidden;
}

/* ========================================
   HOMEPAGE RECOMMENDED CAROUSEL & HEADER DEDUPLICATION (#12)
   ======================================== */

/* Mobile header: Force-hide the desktop cart + suppress Woodmart font-icon on our SVG mobile cart */
@media (max-width: 1024px) {
    /* Hide the entire desktop-only right column and its cart on mobile */
    .whb-9mmuvgjq1yhc2chuf6fm,
    .whb-col-right.whb-visible-lg,
    .whb-column10.whb-visible-lg {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
    }
}
/* Kill Woodmart's injected :before bag icon on our custom SVG mobile cart */
.ul-mobile-cart .wd-tools-icon:before,
.ul-mobile-cart .wd-tools-icon:after {
    content: none !important;
    display: none !important;
}
/* Remove gold circle background from mobile cart (wd-design-7 override) */
.ul-mobile-cart.wd-design-7 > a > .wd-tools-icon,
.ul-mobile-cart > a > .wd-tools-icon {
    background-color: transparent !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    color: #333 !important;
}
/* Ensure the SVG cart icon is dark-colored after removing gold bg */
.ul-mobile-cart > a {
    color: #333 !important;
}
.ul-mobile-cart .wd-tools-icon svg {
    stroke: #333 !important;
}
.ul-mobile-cart .wd-cart-number {
    background-color: #c6a96e !important;
    color: #fff !important;
}

/* Homepage Recommended Products - Force horizontal scroll on mobile */
@media (max-width: 768px) {
    .wd-products-tabs .products.elements-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px !important;
        -webkit-overflow-scrolling: touch;
        gap: 15px !important;
    }
    
    .wd-products-tabs .products.elements-grid::-webkit-scrollbar {
        height: 4px;
    }
    .wd-products-tabs .products.elements-grid::-webkit-scrollbar-thumb {
        background: #c6a96e;
        border-radius: 10px;
    }
    .wd-products-tabs .products.elements-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .wd-products-tabs .products.elements-grid .wd-col {
        flex: 0 0 65% !important; /* 65% width so the next item peeks out */
        max-width: 65% !important;
        scroll-snap-align: center;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ========================================
   QUANTITY BUTTON RESTORATION (#12)
   ======================================== */
.quantity {
    display: flex !important;
    align-items: center !important;
    height: 42px !important;
    border-radius: 40px !important;
    border: 1px solid #e1e1e1 !important;
    background: #fff !important;
    overflow: hidden !important;
    width: 120px !important;
    min-width: 120px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.quantity input[type="button"],
.quantity button.qty-sym {
    background: transparent !important;
    border: none !important;
    color: #333 !important;
    font-size: 0 !important;
    width: 36px !important;
    height: 100% !important;
    padding: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
/* Draw minus: single horizontal bar */
.quantity button.qty-sym.minus::after,
.quantity input[type="button"].minus::after {
    content: '' !important;
    display: block !important;
    width: 12px !important;
    height: 1.5px !important;
    background: #333 !important;
    border-radius: 1px !important;
}
/* Draw plus: horizontal bar + vertical bar */
.quantity button.qty-sym.plus::after,
.quantity input[type="button"].plus::after {
    content: '' !important;
    display: block !important;
    width: 12px !important;
    height: 1.5px !important;
    background: #333 !important;
    border-radius: 1px !important;
}
.quantity button.qty-sym.plus::before,
.quantity input[type="button"].plus::before {
    content: '' !important;
    display: block !important;
    width: 1.5px !important;
    height: 12px !important;
    background: #333 !important;
    border-radius: 1px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.quantity input[type="button"]:hover {
    color: #c6a96e !important;
    background: #f9f9f9 !important;
}

.quantity input[type="number"] {
    background: transparent !important;
    border: none !important;
    width: 50px !important;
    height: 100% !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    color: #333 !important;
    -moz-appearance: textfield !important;
}

.quantity input[type="number"]::-webkit-outer-spin-button,
.quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
