/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/* Candy4Less: round homepage top info-box-carousel icons (match Woodmart reference) */
.elementor-element-7440d95 .info-box-icon img{border-radius:50%;object-fit:cover;aspect-ratio:1/1;}


/* Candy4Less: Popular Categories portrait image + scroll-capped subcategories */
.elementor-element-25c8063 .wd-cat-image{align-self:stretch;}
.elementor-element-25c8063 .wd-cat-image img{width:100%!important;height:100%!important;min-height:210px;object-fit:cover;border-radius:10px;display:block;}
.elementor-element-25c8063 ul.wd-cat-sub-menu{max-height:200px;overflow-y:auto;padding-right:6px;}
.elementor-element-25c8063 ul.wd-cat-sub-menu::-webkit-scrollbar{width:5px;}
.elementor-element-25c8063 ul.wd-cat-sub-menu::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:3px;}

/* Candy4Less: Express Checkout (Stripe banner) — lay quick-pay buttons in a row (2026-06-02 v2).
   woo-stripe-payment styles '.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways' (higher specificity)
   and its stripe.css loads AFTER this child theme, so we match that container + use !important on display. */
.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways > li.wc-stripe-checkout-banner-gateway {
    display: flex !important;
    flex: 1 1 0;
    min-width: 150px;
    margin: 0;
}
/* PayPal renders in an iframe with its own width — keep it from blowing out the row */
.wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways .paypal-buttons { width: 100% !important; }

/* WCAG 1.3.1 helper: screen-reader-only H1 (added 2026-06-02) */
.c4l-a11y-h1{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}

/* === Candy4Less: WCAG 1.4.3 contrast remediation (2026-07-16) ===
   Subtle-shift package approved by Melvin. Before/after ratios logged in
   site-management-project/outputs/Candy4Less_ADA-Remediation-Log_v1.md */

/* Woodmart global greys: #777777 was 4.48:1, #a5a5a5 2.46:1, #bbb 1.92:1 (small text needs 4.5:1) */
:root{
	--wd-text-color: #6d6d6d;
	--color-gray-300: #6d6d6d;
	--color-gray-400: #6d6d6d;
}

/* dropdown / mega-menu category links (was #838383 = 3.79:1 on white) */
ul.wd-sub-menu li > a.woodmart-nav-link{ color: #6d6d6d !important; }

/* product-card + widget category links (was #a5a5a5 = 2.46:1) */
.wd-product-cats a{ color: #6d6d6d; }

/* mobile nav tab label (was #949494 on #f5f5f5 = 2.78:1) */
.wd-nav-mob-tab .nav-link-text{ color: #595959; }

/* checkout "(optional)" hint (was #bbb = 1.92:1) */
.woocommerce form .form-row .optional{ color: #6d6d6d; }

/* select2 placeholder (was #777 = 4.48:1) */
.select2-container .select2-selection__placeholder{ color: #6d6d6d; }

/* caramel-apple cart/checkout notice (was #777 on #fdf3f4 = 4.12:1) */
.c4l-apple-cart-note{ color: #6d6d6d; }

/* express-checkout "OR" divider (was #777 on #f6f8f2 = 4.19:1) */
span.banner-divider{ color: #6d6d6d; }

/* small brand-red text: #F03D34 (3.87:1) -> #D32F27 (4.99:1 on white / 4.67:1 on cream) */
.banner-subtitle.subtitle-color-default{ color: #d32f27; }
a.woocommerce-terms-and-conditions-link{ color: #d32f27; }
.form-row a[id^="wc-local-pickup-plus-date-clear"]{ color: #d32f27; }

/* red CTA buttons keep brand #F03D34; label lifted to WCAG large text (>=14pt bold -> 3:1 bar; 3.87:1 passes) */
a.btn.btn-color-alt, button.btn.btn-color-alt{ font-size: 19px; font-weight: 700; }

/* product rating stars + count (was #eabe12 = 1.65:1; #8a6d00 = 4.6:1 on cream) */
.star-rating, .wd-product-rating .star-rating{ color: #8a6d00; }

/* BEGIN Candy4Less approved homepage release 2026-10-21 v1 */
body.home{--c4l-pumpkin:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%20width%3D%2242%22%20height%3D%2242%22%20focusable%3D%22false%22%20aria-hidden%3D%22true%22%3E%0A%20%20%3Cg%20class%3D%22c4l-pumpkin-sway%22%20fill%3D%22none%22%20stroke%3D%22%23672c8f%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M30%2018c-2-6%200-10%206-13l4%204c-5%202-5%205-5%209%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M32%2019C14%2010%204%2025%207%2041c2%2012%2011%2017%2025%2016%2014%201%2023-4%2025-16%203-16-7-31-25-22Z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M26%2020c-8%2010-8%2025%200%2036m12-36c8%2010%208%2025%200%2036%22%20stroke%3D%22%23f7931e%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22m18%2032%207-5%202%209Zm19%204%202-9%207%205Z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M21%2043q11%2013%2022%200%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A");--c4l-bat:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2090%2048%22%20width%3D%2252%22%20height%3D%2228%22%20focusable%3D%22false%22%20aria-hidden%3D%22true%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23672c8f%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M45%2018%2039%208l-3%2011C26%2019%2016%2011%204%205c0%2012%204%2022%2012%2029%202-9%209-8%2012-3%207-5%2010%202%2017%2012%207-10%2010-17%2017-12%203-5%2010-6%2012%203%208-7%2012-17%2012-29-12%206-22%2014-32%2014L51%208Z%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22m40%2024%202%201m8-1-2%201%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A");--c4l-web:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20width%3D%2274%22%20height%3D%2274%22%20focusable%3D%22false%22%20aria-hidden%3D%22true%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23672c8f%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1%2095V1h94M1%201l67%2067M1%201l88%2037M1%201l37%2088%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M1%2025q8-1%209-3%206%202%208-4%206-2%204-8%202-1%203-9M1%2049q16-2%2018-4%2012%204%2016-10%2014-4%2010-16%202-2%204-18M1%2073q24-3%2028-6%2018%206%2025-13%2019-7%2013-25%203-4%206-28M1%2095q31-3%2037-6%2022%206%2030-21%2027-8%2021-30%203-6%206-37%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A");}
/* Halloween styling for the existing Woodmart and Elementor homepage widgets. */
body.home .site-logo{ display:inline-flex;align-items:center;gap:8px; }
body.home .site-logo::after{ content:'';display:block;width:42px;height:42px;flex:0 0 42px;background:var(--c4l-pumpkin) center/contain no-repeat;animation:c4l-greeting 2.4s ease-in-out 2; }
@keyframes c4l-greeting{0%,100%{transform:rotate(0)}22%{transform:rotate(-5deg)}48%{transform:rotate(4deg)}74%{transform:rotate(-2deg)}}
body.home .c4l-four-shortcuts .wd-carousel-wrap{ display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;transform:none!important; }
body.home .c4l-four-shortcuts .wd-carousel-item{ width:100%!important;max-width:100%!important;margin:0!important;min-width:0; }
body.home .c4l-four-shortcuts .wd-info-box{ width:100%;align-items:center;gap:8px; }
body.home .c4l-four-shortcuts .box-icon-wrapper{ margin:0!important; }
body.home .c4l-four-shortcuts .info-box-icon{ position:relative;width:90px!important;height:90px!important;min-width:90px;overflow:visible!important; }
body.home .c4l-four-shortcuts .info-box-icon>img{ width:90px!important;height:90px!important;object-fit:contain; }
body.home .c4l-four-shortcuts .info-box-content{ width:100%;padding:0!important; }
body.home .c4l-four-shortcuts .info-box-title{ font-size:15px!important;line-height:1.3!important;text-align:center; }
body.home .c4l-four-shortcuts .wd-nav-scroll{ display:none!important; }
body.home #menu-main-header-menu .c4l-holiday-nav:focus-within>.wd-dropdown{ visibility:visible;opacity:1;pointer-events:auto;transform:none; }
body.home #menu-main-header-menu .c4l-holiday-nav>.woodmart-nav-link{ font-size:13px;white-space:nowrap; }
body.home #menu-main-header-menu .c4l-holiday-nav .wd-sub-menu a{ min-height:44px; }
body.home .c4l-four-shortcuts .elementor-repeater-item-a26b070 .info-box-icon{ background:var(--c4l-pumpkin) center/78px no-repeat #fff6e9;border:2px solid #f7931e;border-radius:50%; }
body.home .c4l-four-shortcuts .elementor-repeater-item-a26b070 .info-box-icon img{ opacity:0; }
body.home .c4l-four-shortcuts .elementor-repeater-item-f0c70c9 .info-box-icon,body.home .c4l-four-shortcuts .elementor-repeater-item-b2606d0 .info-box-icon{ border:2px solid #f7931e;border-radius:50%; }
body.home .c4l-four-shortcuts .elementor-repeater-item-f0c70c9 img,body.home .c4l-four-shortcuts .elementor-repeater-item-b2606d0 img{ padding:4px; }
body.home .c4l-seasonal-surface .promo-banner{ position:relative;isolation:isolate; }
body.home .c4l-seasonal-surface .promo-banner::after,body.home #slide-400 .wd-slide-bg::after,body.home #slide-426 .wd-slide-bg::after{ content:'';position:absolute;inset:0;pointer-events:none;z-index:3;background:var(--c4l-web) left top/65px no-repeat,var(--c4l-bat) right 14px top 14px/48px no-repeat; }
body.home .c4l-halloween-banner .banner-image{ background:#f3e4fc; }
body.home .c4l-halloween-banner .banner-image img{ object-fit:contain!important;padding:190px 30px 15px!important; }
body.home .c4l-halloween-banner .banner-title,body.home .c4l-halloween-banner .banner-subtitle{ color:#672c8f!important; }
body.home .c4l-seasonal-surface .content-banner{ padding:35px 16px 20px!important;z-index:4; }
body.home .c4l-seasonal-surface .banner-title{ font-size:24px!important;line-height:1.18!important; }
body.home .c4l-movie-banner .banner-subtitle{ font-size:10px!important;line-height:1.3; }
body.home .c4l-seasonal-surface .banner-btn-wrapper{ margin-top:8px!important; }
body.home .c4l-movie-banner .btn{ white-space:nowrap;font-size:12px!important;padding:5px 0!important; }
body.home #slide-400 .wd-slide-bg{ background:#ffe5bb!important; }
body.home #slide-426 .wd-slide-bg{ background:#f6eafb!important; }
body.home #slide-400 .elementor-400,body.home #slide-426 .elementor-426{ position:relative;width:100%;min-height:340px; }
body.home #slide-400 .elementor-element-83396db,body.home #slide-426 .elementor-element-a77ac76{ position:relative;z-index:5;width:52%!important;margin-left:24px;background:#fffaf2;padding:22px; }
body.home #slide-400 .c4l-native-art,body.home #slide-426 .c4l-native-art{ position:absolute!important;inset:0 0 0 52%;width:48%!important;max-width:48%;padding:0!important;z-index:2; }
body.home .c4l-native-art .elementor-widget-image{ position:absolute!important;margin:0!important; }
body.home .c4l-native-art .elementor-widget-image img{ width:100%;height:100%;object-fit:contain; }
body.home .c4l-native-charms{ width:90%!important;right:0;top:10%;transform:rotate(7deg); }
body.home .c4l-native-ring{ width:38%!important;left:0;bottom:4%;transform:rotate(-8deg); }
body.home .c4l-native-apple-tray{ width:79%!important;right:8px;top:2%; }
body.home .c4l-native-apple-pack{ width:35%!important;left:0;bottom:5%; }
body.home .c4l-native-apple-pack img,body.home .c4l-native-apple-tray img{ background:#fff;border-radius:8px; }
@media(max-width:1024px){body.home .site-logo::after{width:32px;height:32px;flex-basis:32px}body.home .c4l-four-shortcuts .info-box-icon,body.home .c4l-four-shortcuts .info-box-icon>img{width:70px!important;height:70px!important;min-width:70px}body.home .c4l-four-shortcuts .elementor-repeater-item-a26b070 .info-box-icon{background-size:60px}}
@media(max-width:767px){
 body.home .c4l-seasonal-surface .promo-banner::after,body.home #slide-400 .wd-slide-bg::after,body.home #slide-426 .wd-slide-bg::after{background-size:40px,36px;opacity:.65}
 body.home .c4l-four-shortcuts .wd-carousel-wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 8px}
 body.home .c4l-four-shortcuts .info-box-title{font-size:14px!important}
 body.home #slide-400,body.home #slide-426{min-height:540px!important}
 body.home #slide-400 .wd-slide-container,body.home #slide-426 .wd-slide-container{align-items:flex-start!important;padding:0!important}
 body.home #slide-400 .wd-slide-inner,body.home #slide-426 .wd-slide-inner{width:100%!important;padding:0!important}
 body.home #slide-400 .elementor-400,body.home #slide-426 .elementor-426{min-height:540px}
 body.home #slide-400 .elementor-element-83396db,body.home #slide-426 .elementor-element-a77ac76{width:calc(100% - 28px)!important;margin:14px!important;padding:18px!important}
 body.home #slide-400 .c4l-native-art,body.home #slide-426 .c4l-native-art{inset:275px 20px 30px;width:auto!important;max-width:none;}
 body.home .c4l-native-charms{width:68%!important;top:0;right:4%}
 body.home .c4l-native-ring{width:31%!important;left:5%;bottom:0}
 body.home .c4l-native-apple-tray{width:72%!important;top:0}
 body.home .c4l-native-apple-pack{width:33%!important;bottom:0}
 body.home .c4l-halloween-banner .banner-image img{padding-top:220px!important}
}
@media(max-width:359px){body.home .site-logo::after{width:28px;height:28px;flex-basis:28px}}
@media(prefers-reduced-motion:reduce){body.home .site-logo::after{animation:none!important;transform:none!important}}

/* END Candy4Less approved homepage release 2026-10-21 v1 */
