/* Armley Bigdiscount storefront refinement */
:root{--armley-red:#d71920;--armley-red-dark:#a90f18;--armley-ink:#17191e;--armley-muted:#747b84;--armley-line:#e7e8eb;--armley-radius:12px}
/* Product category archive: remove the category description block */
body.tax-product_cat .term-description,body.tax-product_cat .woocommerce-products-header .term-description,body.tax-product_cat .category-description,body.tax-product_cat .wd-cat-desc,body.tax-product_cat .wd-cat-content .wd-cat-desc,body.tax-product_cat .category-description-wrap{display:none!important}
/* Consistent, premium action buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wd-add-btn>a,.product-grid-item .add-to-cart-loop,.armley-direct-checkout,.armley-checkout-coupon button{border-radius:9px!important;font-weight:800!important;letter-spacing:.045em;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;box-shadow:0 3px 0 rgba(0,0,0,.08)!important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover,.wd-add-btn>a:hover,.product-grid-item .add-to-cart-loop:hover,.armley-direct-checkout:hover,.armley-checkout-coupon button:hover{background:#17191e!important;border-color:#17191e!important;color:#fff!important;box-shadow:0 6px 16px rgba(23,25,30,.18)!important;transform:translateY(-1px)}
.woocommerce a.button:focus-visible,.woocommerce button.button:focus-visible,.wd-add-btn>a:focus-visible,.armley-direct-checkout:focus-visible{outline:3px solid rgba(215,25,32,.28)!important;outline-offset:3px}
/* Ensure product card cart icons inherit the button foreground, including hover */
.wd-add-btn>a,.wd-add-btn>a *, .wd-add-btn>a:before,.wd-add-btn>a:after,.product-grid-item .add-to-cart-loop,.product-grid-item .add-to-cart-loop *,.product-grid-item .add-to-cart-loop:before,.product-grid-item .add-to-cart-loop:after{color:inherit!important;fill:currentColor!important;stroke:currentColor}
.wd-add-btn>a:hover,.wd-add-btn>a:hover *, .wd-add-btn>a:hover:before,.wd-add-btn>a:hover:after,.product-grid-item .add-to-cart-loop:hover,.product-grid-item .add-to-cart-loop:hover *,.product-grid-item .add-to-cart-loop:hover:before,.product-grid-item .add-to-cart-loop:hover:after{color:#fff!important;fill:currentColor!important;stroke:currentColor}
/* Mobile drawer/filter/menu must sit above promotional banners and sticky elements */
body.wd-side-hidden .wd-side-hidden,body.wd-side-hidden .wd-side-hidden.wd-opened{z-index:2147483000!important}
body.wd-side-hidden .wd-close-side{z-index:2147482990!important}
.wd-side-hidden,.wd-side-hidden.wd-opened,.wd-close-side,.wd-popup,.wd-filter-modal,.wd-dropdown-menu,.wd-header-nav,.wd-header-cart .wd-dropdown,.wd-search-popup,.wd-sticky-nav,.wd-nav-mobile,.mobile-nav,.wd-nav-opener{z-index:100050!important}
.wd-close-side{z-index:100040!important}
.wd-side-hidden.wd-opened{position:fixed!important;isolation:isolate}
/* Cart badge: anchor to the cart icon, not the header container */
.wd-header-cart,.wd-tools-element.wd-header-cart,.site-header .cart-contents{position:relative}
.wd-header-cart .wd-tools-count,.wd-header-cart .cart-count,.wd-tools-element.wd-header-cart .wd-tools-count,.site-header .cart-contents .count{position:absolute!important;top:-7px!important;right:-7px!important;left:auto!important;margin:0!important;min-width:20px;height:20px;line-height:20px;text-align:center;border-radius:50%;font-size:11px;font-weight:800;z-index:4}
/* Quantity controls */
.woocommerce .quantity{display:inline-flex;align-items:center;gap:0;border:1px solid #dfe1e5;border-radius:10px;overflow:hidden;background:#fff;min-height:46px}
.woocommerce .quantity input.qty{width:54px!important;height:44px!important;min-height:44px!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;font-weight:800!important;font-size:16px!important;text-align:center!important;padding:0 4px!important}
.woocommerce .quantity .minus,.woocommerce .quantity .plus{width:40px!important;height:44px!important;min-height:44px!important;border:0!important;background:#f5f6f7!important;color:#17191e!important;font-weight:800!important;font-size:19px!important;transition:background .18s,color .18s}
.woocommerce .quantity .minus:hover,.woocommerce .quantity .plus:hover{background:#17191e!important;color:#fff!important}
/* Product page payment selector */
.armley-payment-choice{margin:20px 0 8px;padding:20px;border:1px solid var(--armley-line);border-radius:14px;background:#fff;box-shadow:0 5px 22px rgba(20,25,35,.045);max-width:620px}
.armley-payment-choice__heading{font-size:17px;font-weight:850;color:var(--armley-ink);margin:0 0 4px}
.armley-payment-choice__sub{font-size:13px;color:var(--armley-muted);margin:0 0 14px}
.armley-payment-choice__options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}
.armley-payment-option{display:flex;align-items:center;gap:9px;min-height:58px;padding:11px 12px;border:1px solid #e3e5e8;border-radius:10px;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.armley-payment-option:has(input:checked){border-color:var(--armley-red);background:#fff8f8;box-shadow:0 0 0 2px rgba(215,25,32,.08)}
.armley-payment-option input{position:absolute;opacity:0;pointer-events:none}
.armley-payment-option__mark{width:17px;height:17px;flex:0 0 17px;border:2px solid #aeb4bc;border-radius:50%;position:relative}
.armley-payment-option input:checked+.armley-payment-option__mark{border-color:var(--armley-red)}
.armley-payment-option input:checked+.armley-payment-option__mark:after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--armley-red)}
.armley-payment-option__icon{display:flex;align-items:center;justify-content:center;max-width:78px;max-height:25px;overflow:hidden}
.armley-payment-option__icon img{max-width:76px!important;max-height:24px!important;width:auto!important;height:auto!important}
.armley-payment-option__fallback{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#e8f8ed;color:#08a545;font-weight:900}
.armley-payment-option__name{font-size:13px;font-weight:800;color:#222;line-height:1.2}
.armley-direct-checkout{width:100%;min-height:50px!important;display:flex!important;align-items:center;justify-content:center;gap:12px;background:var(--armley-red)!important;border:1px solid var(--armley-red)!important;color:#fff!important;font-size:14px!important;text-transform:uppercase!important}
.armley-direct-checkout:disabled{opacity:.65;cursor:wait}
.armley-direct-checkout span{font-size:20px;line-height:1}
.armley-payment-choice__secure{font-size:11px;color:#858b94;text-align:center;margin-top:11px}
.armley-payment-choice__message{font-size:12px;color:var(--armley-red);margin-top:8px}
/* Cart totals and checkout order review */
.woocommerce-cart .cart_totals,.woocommerce-checkout #order_review,.woocommerce-checkout .woocommerce-checkout-review-order{border:1px solid var(--armley-line);border-radius:14px;padding:20px;background:#fff;box-shadow:0 6px 24px rgba(20,25,35,.04)}
.woocommerce-cart .cart_totals>h2{font-size:21px;font-weight:850;letter-spacing:-.02em;margin:0 0 14px;padding:0 0 13px;border-bottom:1px solid var(--armley-line)}
.woocommerce-cart .cart_totals table,.woocommerce-checkout-review-order-table{border:0!important;margin:0!important}
.woocommerce-cart .cart_totals table th,.woocommerce-cart .cart_totals table td,.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:13px 5px!important;border-top:1px solid #eff0f2!important;font-size:14px;vertical-align:middle}
.woocommerce-cart .cart_totals .order-total th,.woocommerce-cart .cart_totals .order-total td,.woocommerce-checkout-review-order-table tfoot .order-total th,.woocommerce-checkout-review-order-table tfoot .order-total td{font-size:18px!important;font-weight:900!important;color:#17191e!important}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;letter-spacing:.06em}
.armley-checkout-coupon-row th{font-weight:800!important;vertical-align:top!important}
.armley-checkout-coupon{display:flex;gap:8px;min-width:0}
.armley-checkout-coupon input{min-width:0;width:100%;height:44px;border:1px solid #dfe1e5;border-radius:8px;padding:0 12px;font-size:14px}
.armley-checkout-coupon button{min-width:82px;background:var(--armley-red)!important;color:#fff!important;border:1px solid var(--armley-red)!important;padding:0 14px!important}
.armley-coupon-message{font-size:12px;margin-top:6px;color:#707780}
/* Keep checkout and cart controls visually consistent */
.woocommerce-checkout #payment,.woocommerce-checkout #payment ul.payment_methods{border-radius:12px}
@media(max-width:767px){
 .armley-payment-choice{padding:15px;margin-top:16px}
 .armley-payment-choice__options{grid-template-columns:1fr}
 .armley-payment-option{min-height:54px}
 .woocommerce-cart .cart_totals,.woocommerce-checkout #order_review,.woocommerce-checkout .woocommerce-checkout-review-order{padding:15px;border-radius:12px}
 .woocommerce-cart .cart_totals table th,.woocommerce-cart .cart_totals table td,.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:11px 3px!important;font-size:13px}
 .armley-checkout-coupon{flex-wrap:nowrap}
 .armley-checkout-coupon button{min-width:74px;padding:0 10px!important}
 .armley-mobile-banner{padding:22px 18px!important;min-height:0!important;background-position:center!important}
 .armley-mobile-banner h1,.armley-mobile-banner h2,.armley-mobile-banner .elementor-heading-title{font-size:clamp(27px,8vw,38px)!important;line-height:1.02!important;letter-spacing:-.035em!important}
 .armley-mobile-banner p{font-size:13px!important;line-height:1.4!important}
 .armley-mobile-banner .elementor-button,.armley-mobile-banner a.button{min-height:44px!important;padding:12px 17px!important;font-size:11px!important}
}

/* 1.0.2 screenshot-driven corrections: WoodMart archive, buttons and mobile layers */
/* Category descriptions are not part of the archive layout. */
body.archive.tax-product_cat .term-description,
body.archive.tax-product_cat .woocommerce-category-description,
body.archive.tax-product_cat .woocommerce-products-header__description,
body.archive.tax-product_cat .wd-cat-desc,
body.archive.tax-product_cat .wd-cat-content,
body.archive.tax-product_cat .category-description,
body.archive.tax-product_cat .category-description-wrap,
body.archive.tax-product_cat .term-description p,
body.archive.tax-product_cat .wd-cat-content p {display:none!important;height:0!important;margin:0!important;padding:0!important}

/* Product tile CTA: red at rest, charcoal on hover/focus/press; force every icon glyph white. */
body .wd-add-btn>a,
body .wd-add-btn>a.add-to-cart-loop,
body .product-grid-item .add-to-cart-loop,
body .product-grid-item .wd-add-btn a,
body .woocommerce ul.products li.product a.add_to_cart_button,
body .woocommerce ul.products li.product a.ajax_add_to_cart {
  background:var(--armley-red)!important;border:1px solid var(--armley-red)!important;color:#fff!important;
  -webkit-text-fill-color:#fff!important;border-radius:9px!important;min-height:48px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-shadow:0 3px 0 rgba(0,0,0,.09)!important;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important
}
body .wd-add-btn>a:hover,body .wd-add-btn>a:focus,body .wd-add-btn>a:active,
body .product-grid-item .add-to-cart-loop:hover,body .product-grid-item .add-to-cart-loop:focus,body .product-grid-item .add-to-cart-loop:active,
body .woocommerce ul.products li.product a.add_to_cart_button:hover,body .woocommerce ul.products li.product a.ajax_add_to_cart:hover {
  background:#17191e!important;border-color:#17191e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  box-shadow:0 7px 18px rgba(23,25,30,.2)!important;transform:translateY(-1px)
}
body .wd-add-btn>a:before,body .wd-add-btn>a:after,body .wd-add-btn>a i,body .wd-add-btn>a svg,
body .product-grid-item .add-to-cart-loop:before,body .product-grid-item .add-to-cart-loop:after,
body .product-grid-item .add-to-cart-loop i,body .product-grid-item .add-to-cart-loop svg,
body .product-grid-item .add-to-cart-loop svg path,body .product-grid-item .add-to-cart-loop svg use {
 color:#fff!important;fill:#fff!important;stroke:#fff!important;-webkit-text-fill-color:#fff!important
}
body .wd-add-btn>a:hover:before,body .wd-add-btn>a:hover:after,body .wd-add-btn>a:hover i,body .wd-add-btn>a:hover svg,
body .product-grid-item .add-to-cart-loop:hover:before,body .product-grid-item .add-to-cart-loop:hover:after,
body .product-grid-item .add-to-cart-loop:hover i,body .product-grid-item .add-to-cart-loop:hover svg,
body .product-grid-item .add-to-cart-loop:hover svg path {color:#fff!important;fill:#fff!important;stroke:#fff!important}

/* All prominent red CTAs use a contrasting charcoal hover instead of red-on-red. */
body .elementor a.elementor-button,body .wd-button-wrapper a,body a.wd-button,
body .wd-btn,body .button,body button.button,body input.button,
body .woocommerce a.button,body .woocommerce button.button,body .woocommerce input.button {
 transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease!important
}
body .elementor a.elementor-button:hover,body .elementor a.elementor-button:focus,
body .wd-button-wrapper a:hover,body a.wd-button:hover,body .wd-btn:hover,
body .button:hover,body button.button:hover,body input.button:hover,
body .woocommerce a.button:hover,body .woocommerce button.button:hover,body .woocommerce input.button:hover {
 background:#17191e!important;border-color:#17191e!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 box-shadow:0 7px 18px rgba(23,25,30,.18)!important;transform:translateY(-1px)
}
body .elementor a.elementor-button:hover *,body .wd-button-wrapper a:hover *,body .wd-btn:hover *,body .button:hover *,body button.button:hover * {color:#fff!important;fill:#fff!important;stroke:#fff!important}

/* WoodMart filter and navigation drawers must cover the promo strip AND header. */
html body .wd-close-side,
html body .wd-side-hidden.wd-opened,
html body .wd-filter-modal.wd-opened,
html body .wd-filter-modal[style*="display: block"],
html body .wd-side-hidden[style*="display: block"] {
 z-index:2147483600!important
}
html body .wd-close-side{position:fixed!important;inset:0!important;z-index:2147483500!important}
html body .wd-side-hidden.wd-opened,
html body .wd-filter-modal.wd-opened {position:fixed!important;top:0!important;max-height:100vh!important;max-height:100dvh!important}
html body .wd-side-hidden.wd-opened .wd-scroll,
html body .wd-filter-modal.wd-opened .wd-scroll {max-height:100vh!important;max-height:100dvh!important;overflow-y:auto!important}

/* Cart count is positioned against the actual icon, not the whole header cell. */
html body .wd-header-cart .wd-tools-icon,
html body .wd-tools-element.wd-header-cart .wd-tools-icon {position:relative!important;display:inline-flex!important}
html body .wd-header-cart .wd-tools-count,
html body .wd-tools-element.wd-header-cart .wd-tools-count {top:-7px!important;right:-8px!important;left:auto!important;transform:none!important;margin:0!important;z-index:8!important}

/* Compact mobile Black Friday hero: keep the offer, remove the clipped manual-code sentence. */
@media(max-width:767px){
 body .armley-mobile-banner-terms{display:none!important}
 body .armley-mobile-banner{padding:20px 17px!important;min-height:0!important;height:auto!important;overflow:hidden!important;border-radius:14px!important;background-position:58% center!important}
 body .armley-mobile-banner h1,body .armley-mobile-banner h2,body .armley-mobile-banner .elementor-heading-title{font-size:clamp(28px,8.2vw,38px)!important;line-height:1.02!important;margin-bottom:10px!important}
 body .armley-mobile-banner p{font-size:13px!important;line-height:1.35!important;margin-bottom:10px!important}
 body .armley-mobile-banner .elementor-button,body .armley-mobile-banner a.button{min-height:44px!important;padding:11px 16px!important;font-size:11px!important;white-space:normal!important}
}
