/* WooCommerce polish v2.7.7 */
.edd-woo-main{background:#fff;min-height:60vh}.edd-shop-page{padding:0 0 76px}.edd-shop-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff 0%,#f7f8fa 62%,rgba(225,6,0,.06) 100%);border-bottom:1px solid var(--edd-line);padding:72px 0 46px}.edd-shop-hero:after{content:"";position:absolute;right:-180px;top:-120px;width:520px;height:520px;background:radial-gradient(circle,rgba(225,6,0,.10),rgba(225,6,0,0) 65%);pointer-events:none}.edd-shop-hero__inner{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:32px}.edd-eyebrow{margin:0 0 10px;color:var(--edd-red);font-size:13px;line-height:1;text-transform:uppercase;letter-spacing:.22em;font-weight:900}.woocommerce-products-header__title,.product_title,.woocommerce-cart h1,.woocommerce-checkout h1{font-size:clamp(46px,7vw,96px);line-height:.88;font-style:italic;text-transform:uppercase;letter-spacing:-.06em;margin:0;color:#10141a}.edd-shop-hero__copy{max-width:640px;margin:24px 0 0;color:#4b5563;font-size:clamp(17px,1.4vw,22px);line-height:1.45}.edd-shop-hero__badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;max-width:440px}.edd-shop-hero__badges span{background:#fff;border:1px solid var(--edd-line);border-radius:999px;padding:10px 14px;color:#111827;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;box-shadow:0 10px 30px rgba(16,24,40,.05)}.edd-shop-content{padding-top:32px}.edd-shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 24px;padding:16px 18px;background:#fff;border:1px solid var(--edd-line);border-radius:16px;box-shadow:0 8px 24px rgba(16,24,40,.04)}.woocommerce-result-count{float:none!important;margin:0!important;color:#4b5563;font-size:14px;font-weight:800}.woocommerce-ordering{float:none!important;margin:0!important}.woocommerce-ordering select{appearance:none;-webkit-appearance:none;min-width:220px;border:1px solid var(--edd-line);border-radius:10px;background:#fff;padding:11px 38px 11px 14px;color:#111827;font-weight:800;background-image:linear-gradient(45deg,transparent 50%,#111827 50%),linear-gradient(135deg,#111827 50%,transparent 50%);background-position:calc(100% - 18px) 50%,calc(100% - 12px) 50%;background-size:6px 6px,6px 6px;background-repeat:no-repeat}.woocommerce ul.products{clear:both;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:26px;list-style:none!important;padding:0!important;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;list-style:none!important;background:#fff;border:1px solid var(--edd-line);border-radius:22px;padding:18px!important;box-shadow:0 16px 42px rgba(16,24,40,.08);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;overflow:hidden}.woocommerce ul.products li.product::marker{content:""}.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 24px 60px rgba(16,24,40,.12);border-color:rgba(225,6,0,.22)}.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;text-decoration:none}.woocommerce ul.products li.product img{width:100%;border-radius:16px;background:#f5f6f8;aspect-ratio:1/1;object-fit:cover;margin:0 0 18px!important}.woocommerce-loop-product__title{font-size:19px!important;line-height:1.15!important;min-height:44px;text-transform:uppercase;font-weight:950;color:#10141a;margin:0 0 14px!important;letter-spacing:-.02em}.woocommerce ul.products li.product .price{display:block;color:var(--edd-red)!important;font-weight:950;font-size:22px!important;margin:0 0 14px!important}.woocommerce ul.products li.product .button{width:100%;text-align:center;justify-content:center}.button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex!important;align-items:center;justify-content:center;background:var(--edd-red)!important;color:#fff!important;border:1px solid var(--edd-red)!important;border-radius:12px!important;padding:14px 18px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:-.01em;box-shadow:0 12px 28px rgba(225,6,0,.18);transition:.2s ease}.button:hover,.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover{filter:brightness(.96);transform:translateY(-1px)}.woocommerce nav.woocommerce-pagination{margin-top:34px}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:8px;justify-content:center}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border:1px solid var(--edd-line);border-radius:10px;padding:11px 14px;font-weight:900}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--edd-red);color:#fff;border-color:var(--edd-red)}.single-product div.product{display:grid;grid-template-columns:minmax(300px,1fr) minmax(320px,460px);gap:42px}.single-product div.product .woocommerce-product-gallery{background:#fff;border:1px solid var(--edd-line);border-radius:18px;padding:18px;box-shadow:var(--edd-shadow)}.single-product div.product .summary{background:#fff;border:1px solid var(--edd-line);border-radius:18px;padding:28px;box-shadow:var(--edd-shadow);align-self:start;position:sticky;top:110px}.single-product .price{color:var(--edd-red)!important;font-size:34px!important;font-weight:900}.woocommerce div.product form.cart{display:flex;gap:12px;align-items:center}.woocommerce .quantity .qty{height:48px;border:1px solid var(--edd-line);border-radius:8px}.woocommerce-tabs{grid-column:1/-1;margin-top:24px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 16px;display:flex;gap:10px}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid var(--edd-line)!important;background:#fff!important;border-radius:999px!important;padding:0!important}.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 18px!important;text-transform:uppercase;font-weight:900}.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order,.woocommerce-billing-fields,.woocommerce-shipping-fields{background:#fff;border:1px solid var(--edd-line);border-radius:16px;padding:24px;box-shadow:0 10px 28px rgba(16,24,40,.06)}.woocommerce table.shop_table{border:0;border-collapse:separate;border-spacing:0 10px}.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-top:1px solid var(--edd-line);padding:16px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--edd-line);border-radius:8px;padding:14px;background:#fff}.woocommerce form .form-row label{font-weight:800;text-transform:uppercase;font-size:12px}.woocommerce-checkout .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:24px}.woocommerce-checkout .col2-set:before,.woocommerce-checkout .col2-set:after{display:none}.woocommerce-notices-wrapper{margin:20px 0}.woocommerce-message,.woocommerce-info,.woocommerce-error{border:1px solid var(--edd-line);border-left:4px solid var(--edd-red);border-radius:10px;background:#fff;padding:18px 22px}@media(max-width:900px){.edd-shop-hero{padding:50px 0 34px}.edd-shop-hero__inner{display:block}.edd-shop-hero__badges{justify-content:flex-start;margin-top:20px}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.single-product div.product,.woocommerce-checkout .col2-set{grid-template-columns:1fr}.single-product div.product .summary{position:static}.woocommerce div.product form.cart{display:block}.woocommerce div.product form.cart .button{width:100%;margin-top:12px}}@media(max-width:560px){.edd-shop-page{padding-bottom:48px}.edd-shop-hero{padding:36px 0 26px}.woocommerce-products-header__title{font-size:clamp(50px,18vw,76px)}.edd-shop-hero__copy{font-size:16px;margin-top:16px}.edd-shop-hero__badges{gap:8px}.edd-shop-hero__badges span{font-size:11px;padding:9px 10px}.edd-shop-content{padding-top:20px}.edd-shop-toolbar{display:block;padding:14px;margin-bottom:18px}.edd-shop-toolbar__sort{margin-top:12px}.woocommerce-ordering select{width:100%;min-width:0}.woocommerce ul.products{grid-template-columns:1fr;gap:18px}.woocommerce ul.products li.product{border-radius:18px;padding:14px!important}.woocommerce-loop-product__title{min-height:0}.woocommerce table.shop_table_responsive tr td::before{font-weight:900}.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order,.woocommerce-billing-fields,.woocommerce-shipping-fields{padding:16px}}

/* WooCommerce filters v2.8.0 */
.edd-shop-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:start}.edd-shop-results{min-width:0}.edd-shop-filters{position:sticky;top:112px;background:#fff;border:1px solid var(--edd-line);border-radius:22px;padding:20px;box-shadow:0 16px 42px rgba(16,24,40,.07);z-index:3}.edd-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.edd-filter-head h2{font-size:24px;line-height:.95;margin:6px 0 0;color:#10141a;text-transform:uppercase;font-style:italic;letter-spacing:-.04em}.edd-filter-close{display:none}.edd-filter-toggle{display:none}.edd-filter-group{border-top:1px solid var(--edd-line);padding-top:18px;margin-top:18px}.edd-filter-group:first-of-type{border-top:0;padding-top:0;margin-top:0}.edd-filter-group h3{font-size:13px;text-transform:uppercase;letter-spacing:.12em;color:#10141a;margin:0 0 12px;font-weight:950}.edd-filter-field{display:block;margin:0 0 12px}.edd-filter-field span{display:block;margin:0 0 6px;color:#64748b;font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.08em;font-weight:950}.edd-filter-field select,.edd-filter-field input{width:100%;min-height:44px;border:1px solid var(--edd-line);border-radius:12px;background:#fff;color:#111827;padding:10px 12px;font-weight:850;box-shadow:0 4px 12px rgba(16,24,40,.03)}.edd-filter-field select:focus,.edd-filter-field input:focus{outline:2px solid rgba(225,6,0,.18);border-color:rgba(225,6,0,.45)}.edd-price-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.edd-filter-note{font-size:12px;line-height:1.45;color:#64748b;margin:8px 0 0}.edd-filter-actions{display:flex;align-items:center;gap:12px;margin-top:18px}.edd-filter-submit{flex:1}.edd-filter-reset{font-weight:950;text-transform:uppercase;color:#64748b;text-decoration:none;font-size:12px}.edd-filter-reset:hover{color:var(--edd-red)}.edd-filter-backdrop{display:none}.edd-filter-group--fitment{background:linear-gradient(135deg,#10141a,#07090c);border:0;border-radius:18px;padding:16px;margin:0 0 18px;color:#fff}.edd-filter-group--fitment h3,.edd-filter-group--fitment .edd-filter-field span{color:#fff}.edd-filter-group--fitment .edd-filter-note{color:rgba(255,255,255,.68)}.edd-filter-group--fitment .edd-filter-field select{border-color:rgba(255,255,255,.16);background:#fff;color:#111827}.edd-shop-filters .edd-eyebrow{font-size:10px}.woocommerce ul.products li.product .edd-fitment-badge{display:inline-flex;align-items:center;margin-bottom:10px;border:1px solid rgba(225,6,0,.15);border-radius:999px;padding:6px 9px;background:rgba(225,6,0,.05);color:var(--edd-red);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}@media(max-width:1100px){.edd-shop-layout{grid-template-columns:260px minmax(0,1fr);gap:20px}.edd-shop-filters{padding:16px}.edd-price-row{grid-template-columns:1fr}}@media(max-width:900px){.edd-shop-layout{display:block}.edd-filter-toggle{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 0 16px;background:#10141a;color:#fff;border:1px solid #10141a;border-radius:14px;padding:14px 16px;font-weight:950;text-transform:uppercase;letter-spacing:.04em}.edd-shop-filters{position:fixed;top:0;right:0;bottom:0;left:auto;width:min(390px,92vw);max-width:92vw;overflow-y:auto;-webkit-overflow-scrolling:touch;border-radius:0;padding:22px;transform:translateX(104%);transition:transform .25s ease;z-index:10003}.edd-shop-filters.is-open{transform:translateX(0)}.edd-filter-close{display:inline-flex;width:38px;height:38px;border-radius:999px;border:1px solid var(--edd-line);background:#fff;color:#10141a;align-items:center;justify-content:center;font-size:24px;line-height:1}.edd-filter-backdrop{position:fixed;inset:0;background:rgba(7,9,12,.45);backdrop-filter:blur(2px);z-index:10002}.edd-filter-backdrop.is-open{display:block}body.edd-filters-open{overflow:hidden}.edd-filter-actions{position:sticky;bottom:-22px;background:#fff;padding:14px 0 0;margin-bottom:-6px}}@media(max-width:560px){.edd-shop-filters{width:94vw;max-width:94vw}.edd-filter-head h2{font-size:22px}.edd-filter-group--fitment{border-radius:16px}.edd-filter-field select,.edd-filter-field input{min-height:46px;font-size:16px}.edd-filter-note{display:none}}


/* v2.8.1 — Shop by part type / category sections */
.edd-part-types{margin:0 0 26px;padding:22px;background:#fff;border:1px solid var(--edd-line);border-radius:20px;box-shadow:0 12px 34px rgba(16,24,40,.055)}
.edd-part-types__head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:16px}
.edd-part-types__head h2{margin:0;color:#10141a;font-size:clamp(24px,2.6vw,38px);line-height:.95;text-transform:uppercase;font-style:italic;letter-spacing:-.045em}
.edd-part-types__rail{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 2px 8px}
.edd-part-type-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:11px 14px;border:1px solid var(--edd-line);border-radius:999px;background:#fff;color:#10141a;text-decoration:none;font-weight:950;text-transform:uppercase;letter-spacing:.035em;box-shadow:0 6px 18px rgba(16,24,40,.04);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease}
.edd-part-type-pill span{white-space:nowrap;font-size:12px}
.edd-part-type-pill em{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#f3f4f6;color:#64748b;font-style:normal;font-size:11px;font-weight:950}
.edd-part-type-pill:hover{transform:translateY(-1px);border-color:rgba(225,6,0,.35);box-shadow:0 12px 28px rgba(16,24,40,.08);color:var(--edd-red)}
.edd-product-sections{display:grid;gap:34px}
.edd-product-section{scroll-margin-top:120px}
.edd-product-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 16px;padding:0 2px}
.edd-product-section__head h2{margin:0;color:#10141a;font-size:clamp(30px,4vw,58px);line-height:.9;text-transform:uppercase;font-style:italic;letter-spacing:-.055em}
.edd-product-section__head p:not(.edd-eyebrow){max-width:720px;margin:10px 0 0;color:#64748b;font-size:15px;line-height:1.5;font-weight:650}
.edd-section-link{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(225,6,0,.28);border-radius:999px;padding:10px 14px;color:var(--edd-red);background:#fff;text-decoration:none;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;box-shadow:0 8px 22px rgba(225,6,0,.06)}
.edd-section-link:hover{background:var(--edd-red);color:#fff;border-color:var(--edd-red)}
.edd-product-section ul.products{margin-bottom:0!important}
@media(max-width:900px){.edd-part-types{padding:18px;margin-bottom:22px}.edd-part-types__head{display:block}.edd-part-types__head h2{margin-top:6px}.edd-product-sections{gap:28px}.edd-product-section__head{display:block}.edd-section-link{margin-top:12px}.edd-product-section{scroll-margin-top:96px}}
@media(max-width:560px){.edd-part-types{border-radius:16px;padding:16px;margin-left:-2px;margin-right:-2px}.edd-part-type-pill{min-height:42px;padding:10px 12px}.edd-part-type-pill span{font-size:11px}.edd-product-section__head h2{font-size:36px}.edd-product-section__head p:not(.edd-eyebrow){font-size:14px}.edd-section-link{width:100%}}

/* v2.8.3 multi-select category filter */
.edd-category-filter{border:0;margin:0 0 14px;padding:0}.edd-category-filter legend{display:block;margin:0 0 6px;color:#64748b;font-size:11px;line-height:1;text-transform:uppercase;letter-spacing:.08em;font-weight:950}.edd-category-filter__top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px}.edd-category-filter__top span{font-size:12px;color:#64748b;font-weight:800}.edd-category-clear{border:0;background:transparent;color:var(--edd-red);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;cursor:pointer;padding:2px 0}.edd-category-clear:hover{text-decoration:underline}.edd-category-filter__list{display:grid;gap:8px;max-height:260px;overflow:auto;padding:2px 4px 2px 0}.edd-category-check{display:flex;align-items:center;gap:10px;border:1px solid var(--edd-line);border-radius:12px;background:#fff;padding:10px 12px;cursor:pointer;transition:.18s ease;min-height:42px}.edd-category-check:hover{border-color:rgba(225,6,0,.35);box-shadow:0 6px 16px rgba(16,24,40,.05)}.edd-category-check input{accent-color:var(--edd-red);width:16px;height:16px;flex:0 0 auto}.edd-category-check span{flex:1;color:#10141a;font-size:13px;line-height:1.2;font-weight:900}.edd-category-check em{font-style:normal;color:#64748b;font-size:11px;font-weight:950}.edd-category-check:has(input:checked){border-color:rgba(225,6,0,.55);background:rgba(225,6,0,.045)}
@media(max-width:560px){.edd-category-filter__list{max-height:none}.edd-category-check{min-height:46px}.edd-category-check span{font-size:14px}}


/* v2.8.4: compact part sections + remove middle category rail */
.edd-part-types{display:none!important}
.edd-product-sections{gap:22px!important}
.edd-product-section{padding-top:2px;scroll-margin-top:110px}
.edd-product-section__head{margin:0 0 12px!important;padding:0!important;align-items:center!important}
.edd-product-section__head .edd-eyebrow{font-size:11px!important;letter-spacing:.22em!important;margin-bottom:6px!important}
.edd-product-section__head h2{font-size:clamp(24px,2.8vw,38px)!important;line-height:.92!important;letter-spacing:-.045em!important;margin:0!important}
.edd-product-section__head p:not(.edd-eyebrow){font-size:13px!important;margin-top:6px!important;max-width:560px!important}
.edd-section-link{padding:9px 14px!important;font-size:12px!important;border-radius:999px!important;white-space:nowrap!important}
.edd-product-section ul.products{gap:18px!important}
@media(max-width:900px){.edd-product-sections{gap:24px!important}.edd-product-section__head{display:flex!important;align-items:flex-start!important;gap:12px!important}.edd-product-section__head h2{font-size:32px!important}.edd-section-link{margin-top:0!important}}
@media(max-width:640px){.edd-product-section__head{display:block!important}.edd-product-section__head h2{font-size:30px!important}.edd-section-link{display:inline-flex!important;width:auto!important;margin-top:10px!important}.edd-product-sections{gap:22px!important}}


/* v2.8.5: gray bar section headers + tighter product layout */
.edd-product-sections{
  gap:18px!important;
}
.edd-product-section{
  padding-top:0!important;
  scroll-margin-top:104px;
}
.edd-product-section__head--bar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  background:#f5f6f8!important;
  border:1px solid #e3e7ee!important;
  border-radius:14px!important;
  padding:12px 14px!important;
  margin:0 0 14px!important;
  box-shadow:0 8px 22px rgba(16,24,40,.035)!important;
}
.edd-section-title-wrap{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.edd-section-kicker{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  border-radius:999px;
  padding:5px 9px;
  background:#fff;
  border:1px solid #e5e7eb;
  color:var(--edd-red);
  font-size:10px;
  line-height:1;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.14em;
  white-space:nowrap;
}
.edd-product-section__head--bar .edd-eyebrow{
  display:none!important;
}
.edd-product-section__head--bar h2{
  margin:0!important;
  color:#10141a!important;
  font-size:clamp(18px,1.65vw,26px)!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
  text-transform:uppercase!important;
  font-style:italic!important;
}
.edd-product-section__head--bar p:not(.edd-eyebrow){
  flex-basis:100%;
  margin:2px 0 0 0!important;
  max-width:720px!important;
  color:#64748b!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:650!important;
}
.edd-product-section__head--bar .edd-section-link{
  flex:0 0 auto!important;
  padding:7px 11px!important;
  min-height:34px!important;
  border-radius:999px!important;
  font-size:11px!important;
  line-height:1!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
.edd-product-section ul.products{
  gap:16px!important;
}
.edd-product-section .woocommerce ul.products li.product,
.woocommerce .edd-product-section ul.products li.product{
  padding:14px!important;
  border-radius:18px!important;
  box-shadow:0 10px 28px rgba(16,24,40,.06)!important;
}
.woocommerce .edd-product-section ul.products li.product img{
  border-radius:14px!important;
  margin-bottom:13px!important;
}
.woocommerce .edd-product-section .woocommerce-loop-product__title{
  font-size:16px!important;
  min-height:34px!important;
  margin-bottom:10px!important;
}
.woocommerce .edd-product-section ul.products li.product .price{
  font-size:18px!important;
  margin-bottom:10px!important;
}
.woocommerce .edd-product-section ul.products li.product .button{
  padding:11px 14px!important;
  border-radius:11px!important;
  font-size:13px!important;
}
@media(max-width:900px){
  .edd-product-section__head--bar{
    align-items:flex-start!important;
    padding:12px!important;
    border-radius:13px!important;
  }
  .edd-section-title-wrap{
    gap:9px;
  }
  .edd-product-section__head--bar h2{
    font-size:22px!important;
  }
  .edd-product-section__head--bar .edd-section-link{
    margin-top:0!important;
  }
}
@media(max-width:640px){
  .edd-product-sections{
    gap:16px!important;
  }
  .edd-product-section__head--bar{
    display:flex!important;
    align-items:center!important;
    padding:11px!important;
    gap:10px!important;
  }
  .edd-section-kicker{
    display:none;
  }
  .edd-product-section__head--bar h2{
    font-size:20px!important;
  }
  .edd-product-section__head--bar .edd-section-link{
    padding:7px 10px!important;
    font-size:10px!important;
  }
}

/* v2.8.6: product sections become horizontal carousels instead of stacked grids */
.edd-product-sections{
  gap:24px!important;
}
.edd-product-section__head--bar{
  margin-bottom:12px!important;
}
.edd-section-carousel{
  position:relative;
  width:100%;
}
.edd-carousel-viewport{
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  padding:0 2px 12px;
  scrollbar-width:thin;
}
.edd-carousel-viewport::-webkit-scrollbar{height:8px}
.edd-carousel-viewport::-webkit-scrollbar-thumb{background:#d9dee7;border-radius:999px}
.woocommerce .edd-product-section .edd-carousel-viewport ul.products{
  display:flex!important;
  grid-template-columns:none!important;
  flex-wrap:nowrap!important;
  gap:18px!important;
  width:max-content!important;
  min-width:100%!important;
  margin:0!important;
}
.woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product{
  flex:0 0 clamp(230px, 24vw, 310px)!important;
  width:clamp(230px, 24vw, 310px)!important;
  scroll-snap-align:start;
}
.edd-carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid #e3e7ee;
  background:#fff;
  color:#10141a;
  box-shadow:0 12px 30px rgba(16,24,40,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  line-height:1;
  font-weight:700;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
}
.edd-carousel-btn:hover{
  color:var(--edd-red);
  border-color:rgba(225,6,0,.25);
  box-shadow:0 16px 38px rgba(16,24,40,.16);
}
.edd-carousel-btn--prev{left:-18px}
.edd-carousel-btn--next{right:-18px}
.edd-section-carousel.is-at-start .edd-carousel-btn--prev,
.edd-section-carousel.is-at-end .edd-carousel-btn--next{
  opacity:.35;
  pointer-events:none;
}
@media(max-width:900px){
  .edd-carousel-btn{display:none!important}
  .edd-carousel-viewport{padding-bottom:10px}
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product{
    flex-basis:min(78vw,310px)!important;
    width:min(78vw,310px)!important;
  }
}
@media(max-width:560px){
  .edd-product-sections{gap:20px!important}
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products{
    gap:14px!important;
  }
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product{
    flex-basis:82vw!important;
    width:82vw!important;
  }
}

/* v2.8.7: reliable carousel arrows in section header */
.edd-product-section__head--bar{
  position:relative;
  z-index:5;
}
.edd-section-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:0 0 auto;
}
.edd-product-section__head--bar .edd-carousel-btn{
  position:static!important;
  transform:none!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  font-size:24px!important;
  z-index:10!important;
  pointer-events:auto!important;
}
.edd-product-section__head--bar .edd-carousel-btn:disabled{
  opacity:.35!important;
  cursor:not-allowed!important;
}
.edd-section-carousel .edd-carousel-btn{display:none!important}
.edd-section-carousel{
  position:relative;
  overflow:hidden;
}
.edd-carousel-viewport{
  cursor:grab;
}
.edd-carousel-viewport:active{
  cursor:grabbing;
}
@media(max-width:900px){
  .edd-section-actions .edd-carousel-btn{display:none!important}
  .edd-section-actions{width:100%;justify-content:flex-start;margin-top:10px;gap:8px;}
}


/* v2.8.8: visible, clickable carousel arrows fixed on carousel edges */
.edd-section-carousel{
  position:relative!important;
  overflow:visible!important;
}
.edd-section-carousel .edd-carousel-btn{
  display:flex!important;
  position:absolute!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:30!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border-radius:999px!important;
  border:1px solid #e2e7ef!important;
  background:#fff!important;
  color:#10141a!important;
  box-shadow:0 14px 34px rgba(16,24,40,.18)!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:34px!important;
  line-height:1!important;
  font-weight:800!important;
  cursor:pointer!important;
  pointer-events:auto!important;
}
.edd-section-carousel .edd-carousel-btn--prev{left:-18px!important;}
.edd-section-carousel .edd-carousel-btn--next{right:-18px!important;}
.edd-section-carousel .edd-carousel-btn:hover{
  color:#e10600!important;
  border-color:rgba(225,6,0,.35)!important;
  transform:translateY(-50%) scale(1.04)!important;
}
.edd-product-section.is-at-start .edd-section-carousel .edd-carousel-btn--prev,
.edd-product-section.is-at-end .edd-section-carousel .edd-carousel-btn--next{
  opacity:.22!important;
  cursor:not-allowed!important;
}
.edd-product-section:not(.has-overflow) .edd-section-carousel .edd-carousel-btn{
  display:none!important;
}
.edd-section-actions .edd-carousel-btn{display:none!important;}
.edd-carousel-viewport{
  padding-left:0!important;
  padding-right:0!important;
}
@media(max-width:900px){
  .edd-section-carousel .edd-carousel-btn{display:none!important;}
}


/* v2.8.9: hard-fix visible carousel arrows.
   Previous version hid arrows when JS did not add has-overflow quickly enough.
   Keep desktop arrows visible and clickable at all times; JS only disables when needed. */
@media (min-width: 901px){
  .woocommerce .edd-product-section .edd-section-carousel{
    position:relative!important;
    overflow:visible!important;
    padding-left:26px!important;
    padding-right:26px!important;
  }
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn,
  .woocommerce .edd-product-section:not(.has-overflow) .edd-section-carousel .edd-carousel-btn,
  .woocommerce .edd-product-section.is-at-start .edd-section-carousel .edd-carousel-btn--prev,
  .woocommerce .edd-product-section.is-at-end .edd-section-carousel .edd-carousel-btn--next{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn{
    position:absolute!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:999!important;
    width:48px!important;
    height:48px!important;
    border-radius:999px!important;
    border:1px solid rgba(16,24,40,.12)!important;
    background:#ffffff!important;
    color:#10141a!important;
    box-shadow:0 14px 36px rgba(16,24,40,.24)!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:34px!important;
    line-height:1!important;
    font-weight:900!important;
    cursor:pointer!important;
  }
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn--prev{left:0!important;}
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn--next{right:0!important;}
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn:disabled{
    opacity:.38!important;
    cursor:not-allowed!important;
  }
  .woocommerce .edd-product-section .edd-carousel-viewport{
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    padding-bottom:10px!important;
  }
}

/* v2.9.0: carousel controls fixed in the gray section header.
   This avoids clipped/off-screen arrows and keeps both directions visible. */
.woocommerce .edd-product-section .edd-product-section__head--bar{
  overflow:visible!important;
}
.woocommerce .edd-product-section .edd-section-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin-left:auto!important;
  flex:0 0 auto!important;
}
.woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn{
  display:inline-flex!important;
  position:static!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  transform:none!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:999px!important;
  border:1px solid rgba(16,24,40,.12)!important;
  background:#fff!important;
  color:#10141a!important;
  box-shadow:0 8px 20px rgba(16,24,40,.10)!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:900!important;
  cursor:pointer!important;
}
.woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn:hover:not(:disabled){
  color:#e10600!important;
  border-color:rgba(225,6,0,.35)!important;
  box-shadow:0 12px 26px rgba(16,24,40,.16)!important;
}
.woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn:disabled{
  opacity:.32!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
}
.woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn{
  display:none!important;
}
.woocommerce .edd-product-section .edd-section-carousel{
  overflow:hidden!important;
  padding:0!important;
}
.woocommerce .edd-product-section .edd-carousel-viewport{
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:smooth!important;
  -webkit-overflow-scrolling:touch!important;
  padding-bottom:12px!important;
}
@media(max-width:900px){
  .woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn{
    display:none!important;
  }
  .woocommerce .edd-product-section .edd-section-actions{
    width:auto!important;
    justify-content:flex-start!important;
  }
}

/* v2.9.1: carousel controls inside visible carousel bounds, not clipped by page/header. */
@media (min-width: 901px){
  .woocommerce .edd-product-section{
    position:relative!important;
    overflow:visible!important;
    max-width:100%!important;
  }
  .woocommerce .edd-product-section .edd-product-section__head--bar{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn{
    display:none!important;
  }
  .woocommerce .edd-product-section .edd-section-carousel{
    position:relative!important;
    overflow:hidden!important;
    max-width:100%!important;
    width:100%!important;
    padding:0 56px!important;
    isolation:isolate!important;
  }
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    position:absolute!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:50!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    border-radius:999px!important;
    border:1px solid rgba(16,24,40,.14)!important;
    background:#fff!important;
    color:#10141a!important;
    box-shadow:0 14px 36px rgba(16,24,40,.20)!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:32px!important;
    line-height:1!important;
    font-weight:900!important;
    cursor:pointer!important;
  }
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn--prev{
    left:8px!important;
  }
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn--next{
    right:8px!important;
  }
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn:hover:not(:disabled){
    color:#e10600!important;
    border-color:rgba(225,6,0,.35)!important;
    transform:translateY(-50%) scale(1.04)!important;
  }
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn:disabled{
    opacity:.36!important;
    cursor:not-allowed!important;
    pointer-events:none!important;
  }
  .woocommerce .edd-product-section .edd-carousel-viewport{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-behavior:smooth!important;
    -webkit-overflow-scrolling:touch!important;
    max-width:100%!important;
    width:100%!important;
    padding:0 0 12px!important;
  }
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:18px!important;
    width:max-content!important;
    min-width:100%!important;
  }
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product{
    flex:0 0 300px!important;
    width:300px!important;
    max-width:300px!important;
  }
}
@media (max-width:900px){
  .woocommerce .edd-product-section .edd-section-carousel .edd-carousel-btn{display:none!important;}
}

/* v2.9.2: fixed shop scaling + header-based carousel controls.
   The carousel was not a full page issue; product cards were intentionally overflowing the viewport,
   but the next arrow was being clipped/mis-positioned. Controls now live in the gray header bar. */
.edd-shop-page,
.edd-shop-page * {
  box-sizing: border-box;
}
.edd-shop-content,
.edd-shop-layout,
.edd-shop-results,
.edd-product-sections,
.edd-product-section {
  min-width: 0 !important;
  max-width: 100% !important;
}
.edd-shop-results {
  overflow: hidden !important;
}
.woocommerce .edd-product-section {
  width: 100% !important;
  overflow: hidden !important;
  margin-bottom: 26px !important;
}
.woocommerce .edd-product-section .edd-product-section__head--bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  padding: 13px 16px !important;
}
.woocommerce .edd-product-section .edd-section-title-wrap {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.woocommerce .edd-product-section .edd-section-title-wrap h2 {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: clamp(22px, 2.2vw, 34px) !important;
  line-height: 1 !important;
}
.woocommerce .edd-product-section .edd-section-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}
.woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn {
  display: inline-flex !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(16,24,40,.14) !important;
  background: #fff !important;
  color: #10141a !important;
  box-shadow: 0 8px 20px rgba(16,24,40,.10) !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 27px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn:hover:not(:disabled) {
  color: #e10600 !important;
  border-color: rgba(225,6,0,.35) !important;
  transform: translateY(-1px) !important;
}
.woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn:disabled {
  opacity: .34 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.woocommerce .edd-product-section .edd-section-carousel {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin-top: 12px !important;
}
.woocommerce .edd-product-section .edd-section-carousel > .edd-carousel-btn {
  display: none !important;
}
.woocommerce .edd-product-section .edd-carousel-viewport {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 0 0 12px !important;
}
.woocommerce .edd-product-section .edd-carousel-viewport ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  min-width: 100% !important;
  gap: 18px !important;
  margin: 0 !important;
}
.woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product {
  flex: 0 0 clamp(245px, 28vw, 300px) !important;
  width: clamp(245px, 28vw, 300px) !important;
  max-width: 300px !important;
}
@media (max-width: 900px) {
  .edd-shop-layout {
    display: block !important;
  }
  .woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn {
    display: none !important;
  }
  .woocommerce .edd-product-section .edd-section-title-wrap h2 {
    font-size: 24px !important;
  }
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product {
    flex-basis: min(82vw, 310px) !important;
    width: min(82vw, 310px) !important;
  }
}
@media (max-width: 560px) {
  .woocommerce .edd-product-section .edd-product-section__head--bar {
    padding: 11px 12px !important;
  }
  .woocommerce .edd-product-section .edd-section-kicker {
    font-size: 9px !important;
    padding: 6px 8px !important;
  }
  .woocommerce .edd-product-section .edd-section-title-wrap h2 {
    font-size: 21px !important;
  }
}


/* v2.9.5: final responsive + SEO/UX hardening pass
   - true container scaling
   - carousel stays within content width
   - filters become usable drawer on mobile
   - product cards never force horizontal page scroll
*/
html, body { max-width: 100%; overflow-x: hidden; }
.edd-container,
.edd-shop-content,
.edd-shop-layout,
.edd-shop-results,
.edd-product-sections,
.edd-product-section,
.edd-carousel-viewport { box-sizing: border-box; }
.edd-shop-content { width: min(100% - 32px, 1440px); margin-left: auto; margin-right: auto; }
.edd-shop-layout { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr) !important; gap: clamp(18px, 2vw, 32px) !important; }
.edd-shop-results { width: 100%; min-width: 0; }
.woocommerce .edd-product-section { contain: layout paint; border-radius: 14px; }
.woocommerce .edd-product-section .edd-product-section__head--bar { min-height: 58px; background: #f4f6f8 !important; }
.woocommerce .edd-product-section .edd-carousel-viewport { scrollbar-width: thin; overscroll-behavior-x: contain; }
.woocommerce .edd-product-section .edd-carousel-viewport ul.products { width: auto !important; max-width: none !important; }
.woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product { min-width: 0 !important; }
.woocommerce .edd-product-section .edd-section-actions .edd-section-link { white-space: nowrap; }

/* Desktop/tablet card sizing: 3 cards fit without cutting the third card off. */
@media (min-width: 1181px) {
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product {
    flex: 0 0 calc((100% - 36px) / 3) !important;
    width: calc((100% - 36px) / 3) !important;
    max-width: none !important;
  }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .edd-shop-layout { grid-template-columns: 280px minmax(0, 1fr) !important; }
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product {
    flex: 0 0 calc((100% - 18px) / 2) !important;
    width: calc((100% - 18px) / 2) !important;
    max-width: none !important;
  }
}

/* Mobile shop: no sideways page scroll; filters are drawer-friendly; cards swipe cleanly. */
@media (max-width: 900px) {
  .edd-shop-content { width: min(100% - 24px, 760px); }
  .edd-shop-layout { display: block !important; }
  .edd-filter-toggle { display: inline-flex !important; align-items: center; justify-content: center; }
  .edd-shop-filters {
    width: min(92vw, 390px);
    max-width: 390px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .edd-filter-close { display: inline-flex !important; }
  .edd-filter-backdrop.is-open { display: block !important; position: fixed; inset: 0; background: rgba(15,23,42,.42); z-index: 10000; }
  .woocommerce .edd-product-section .edd-carousel-viewport { overflow-x: auto !important; scroll-snap-type: x mandatory; }
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products { gap: 14px !important; }
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product {
    flex: 0 0 min(84vw, 320px) !important;
    width: min(84vw, 320px) !important;
    max-width: 320px !important;
    scroll-snap-align: start;
  }
  .woocommerce .edd-product-section .edd-section-actions .edd-carousel-btn { display: none !important; }
}

@media (max-width: 560px) {
  .edd-shop-content { width: calc(100% - 18px); padding-top: 18px; }
  .edd-shop-hero__inner { gap: 16px; }
  .edd-shop-hero__badges { max-width: 100%; }
  .woocommerce .edd-product-section .edd-product-section__head--bar {
    align-items: center !important;
    gap: 10px !important;
    min-height: 52px;
  }
  .woocommerce .edd-product-section .edd-section-title-wrap { gap: 9px !important; }
  .woocommerce .edd-product-section .edd-section-actions .edd-section-link {
    padding: 8px 10px !important;
    font-size: 11px !important;
  }
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product {
    flex-basis: min(86vw, 300px) !important;
    width: min(86vw, 300px) !important;
  }
  .edd-shop-toolbar { border-radius: 14px; }
}

/* v2.9.8 Shop by Engine quick filters + AJAX loading */
.edd-shop-engine-quick{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:28px 0 24px;padding:22px;border:1px solid var(--edd-line,#e5e7eb);border-radius:22px;background:#fff;box-shadow:0 14px 36px rgba(15,23,42,.06)}
.edd-shop-engine-quick h2{margin:0;font-size:clamp(28px,3vw,46px);line-height:.95;text-transform:uppercase;font-weight:950;letter-spacing:-.04em;color:#070b13}.edd-shop-engine-quick__buttons{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.edd-shop-engine-chip{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:999px;border:1px solid #d7dce3;background:#fff;color:#07101e;text-decoration:none;font-weight:900;text-transform:uppercase;letter-spacing:.04em;transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease}.edd-shop-engine-chip:hover,.edd-shop-engine-chip.is-active{background:#e10600;border-color:#e10600;color:#fff;transform:translateY(-1px)}.edd-shop-engine-chip--clear{background:#f3f4f6;color:#4b5563}.edd-shop-results{position:relative}.edd-shop-results.is-loading{opacity:.55;pointer-events:none}.edd-shop-results.is-loading:before{content:'Updating products…';position:absolute;top:10px;right:10px;z-index:5;background:#07101e;color:#fff;border-radius:999px;padding:9px 14px;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.08em}@media(max-width:760px){.edd-shop-engine-quick{align-items:stretch;flex-direction:column;padding:18px}.edd-shop-engine-quick__buttons{justify-content:flex-start}.edd-shop-engine-chip{flex:1 1 calc(50% - 8px)}}


/* v3.8.2: compact product cards + clean pagination
   - Smaller cards so 4–5 products are visible before horizontal scrolling on desktop.
   - Removes stray pagination bullets and normalizes page controls. */
.woocommerce .edd-product-section .edd-carousel-viewport ul.products{
  gap:16px!important;
  align-items:stretch!important;
}
.woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product,
.woocommerce ul.products li.product{
  padding:14px!important;
  border-radius:18px!important;
}
.woocommerce ul.products li.product img{
  aspect-ratio:16/10!important;
  height:auto!important;
  max-height:178px!important;
  object-fit:contain!important;
  background:#fff!important;
  margin:0 0 12px!important;
}
.woocommerce-loop-product__title{
  font-size:15px!important;
  line-height:1.12!important;
  min-height:38px!important;
  margin:0 0 10px!important;
  letter-spacing:-.025em!important;
}
.woocommerce ul.products li.product .price{
  font-size:18px!important;
  margin:0 0 10px!important;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button{
  min-height:42px!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  font-size:13px!important;
}
/* Standard product grids: fit more cards per row when not inside a carousel. */
.woocommerce ul.products{
  grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important;
  gap:18px!important;
}
/* Carousel rows: 5 cards on wide screens, 4 on normal desktop, 3 on small desktop. */
@media (min-width:1500px){
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product{
    flex:0 0 calc((100% - 64px) / 5)!important;
    width:calc((100% - 64px) / 5)!important;
    max-width:none!important;
  }
}
@media (min-width:1181px) and (max-width:1499px){
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product{
    flex:0 0 calc((100% - 48px) / 4)!important;
    width:calc((100% - 48px) / 4)!important;
    max-width:none!important;
  }
}
@media (min-width:901px) and (max-width:1180px){
  .woocommerce .edd-product-section .edd-carousel-viewport ul.products li.product{
    flex:0 0 calc((100% - 32px) / 3)!important;
    width:calc((100% - 32px) / 3)!important;
    max-width:none!important;
  }
}
@media (max-width:900px){
  .woocommerce ul.products li.product img{max-height:190px!important;}
  .woocommerce-loop-product__title{font-size:15px!important;min-height:0!important;}
}

/* Pagination fix: remove stray bullet, center controls, and keep arrows/numbers aligned. */
.woocommerce nav.woocommerce-pagination{
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  margin:34px auto 0!important;
  clear:both!important;
}
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul.page-numbers{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  list-style:none!important;
}
.woocommerce nav.woocommerce-pagination ul li,
.woocommerce nav.woocommerce-pagination ul.page-numbers li{
  display:block!important;
  float:none!important;
  border:0!important;
  padding:0!important;
  margin:0!important;
  list-style:none!important;
}
.woocommerce nav.woocommerce-pagination ul li::before,
.woocommerce nav.woocommerce-pagination ul li::after,
.woocommerce nav.woocommerce-pagination ul.page-numbers li::before,
.woocommerce nav.woocommerce-pagination ul.page-numbers li::after{
  content:none!important;
  display:none!important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:44px!important;
  height:44px!important;
  padding:0 13px!important;
  border:1px solid #dfe5ee!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#10141a!important;
  font-size:15px!important;
  font-weight:950!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:0 8px 20px rgba(16,24,40,.04)!important;
}
.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--edd-red,#e10600)!important;
  border-color:var(--edd-red,#e10600)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(225,6,0,.18)!important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover{
  border-color:rgba(225,6,0,.38)!important;
  color:var(--edd-red,#e10600)!important;
}

/* v3.8.4 auto-apply filters: no apply button, reset clears instantly */
.edd-filter-submit{display:none!important}.edd-filter-actions{justify-content:stretch}.edd-filter-reset.button{width:100%;text-align:center;justify-content:center;background:#10141a!important;border-color:#10141a!important;color:#fff!important;box-shadow:none!important}.edd-filter-reset.button:hover{background:#ef1414!important;border-color:#ef1414!important;color:#fff!important;text-decoration:none!important}


/* ===== v3.8.5: View-all category pages should be full grids, not carousels ===== */
.woocommerce .edd-product-sections--category-grid .edd-product-section__head--bar .edd-section-actions,
.woocommerce .edd-product-sections--category-grid .edd-carousel-btn,
.woocommerce .edd-product-sections--category-grid .edd-section-link{
  display:none!important;
}
.woocommerce .edd-product-section--grid .edd-category-grid-wrap ul.products{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;
  gap:22px!important;
  overflow:visible!important;
  scroll-snap-type:none!important;
}
.woocommerce .edd-product-section--grid .edd-category-grid-wrap ul.products li.product{
  min-width:0!important;
  width:auto!important;
  flex:none!important;
  scroll-snap-align:none!important;
}
.woocommerce .edd-product-section--grid .woocommerce-pagination{
  margin:30px 0 0!important;
}

/* ===== v3.8.5: Premium single-product gallery fix ===== */
.single-product .edd-woo-main > .edd-container{
  max-width:1500px;
}
.single-product div.product{
  display:grid!important;
  grid-template-columns:minmax(420px,52%) minmax(380px,48%)!important;
  gap:48px!important;
  align-items:start!important;
}
.single-product div.product .woocommerce-product-gallery{
  width:100%!important;
  max-width:100%!important;
  position:sticky!important;
  top:118px!important;
  background:#fff!important;
  border:1px solid rgba(16,24,40,.10)!important;
  border-radius:24px!important;
  padding:20px!important;
  box-shadow:0 18px 52px rgba(16,24,40,.08)!important;
  overflow:hidden!important;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  border-radius:18px!important;
}
.single-product div.product .woocommerce-product-gallery__image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:560px!important;
  width:100%!important;
  text-align:center!important;
}
.single-product div.product .woocommerce-product-gallery__image a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
}
.single-product div.product .woocommerce-product-gallery__image img{
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:560px!important;
  object-fit:contain!important;
  margin:0 auto!important;
}
.single-product div.product .flex-control-nav.flex-control-thumbs,
.single-product div.product ol.flex-control-nav.flex-control-thumbs{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:12px!important;
  margin:16px 0 0!important;
  padding:0!important;
  list-style:none!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  counter-reset:none!important;
}
.single-product div.product .flex-control-nav.flex-control-thumbs li,
.single-product div.product ol.flex-control-nav.flex-control-thumbs li{
  list-style:none!important;
  width:86px!important;
  min-width:86px!important;
  height:86px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(16,24,40,.12)!important;
  border-radius:14px!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  counter-increment:none!important;
}
.single-product div.product .flex-control-nav.flex-control-thumbs li::before,
.single-product div.product ol.flex-control-nav.flex-control-thumbs li::before,
.single-product div.product .flex-control-nav.flex-control-thumbs li::marker,
.single-product div.product ol.flex-control-nav.flex-control-thumbs li::marker{
  content:""!important;
  display:none!important;
}
.single-product div.product .flex-control-nav.flex-control-thumbs img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:7px!important;
  border-radius:12px!important;
  opacity:.72!important;
  cursor:pointer!important;
}
.single-product div.product .flex-control-nav.flex-control-thumbs img.flex-active,
.single-product div.product .flex-control-nav.flex-control-thumbs img:hover{
  opacity:1!important;
  outline:2px solid var(--edd-red)!important;
}
.single-product div.product .summary{
  position:sticky!important;
  top:118px!important;
  align-self:start!important;
  background:#fff!important;
  border:1px solid rgba(16,24,40,.10)!important;
  border-radius:24px!important;
  padding:34px!important;
  box-shadow:0 18px 52px rgba(16,24,40,.08)!important;
}
.single-product .product_title{
  font-size:clamp(42px,5vw,82px)!important;
  line-height:.88!important;
  letter-spacing:-.06em!important;
  text-transform:uppercase!important;
  font-style:italic!important;
  margin:0 0 24px!important;
}
.single-product .price{
  font-size:clamp(34px,3vw,54px)!important;
  line-height:1!important;
  color:var(--edd-red)!important;
  margin:0 0 28px!important;
}
.single-product .woocommerce-product-details__short-description{
  font-size:18px!important;
  line-height:1.65!important;
  color:#1f2937!important;
}
.single-product .woocommerce-product-gallery__trigger{
  z-index:4!important;
  top:18px!important;
  right:18px!important;
}
@media(max-width:980px){
  .single-product div.product{grid-template-columns:1fr!important;gap:28px!important;}
  .single-product div.product .woocommerce-product-gallery,
  .single-product div.product .summary{position:relative!important;top:auto!important;}
  .single-product div.product .woocommerce-product-gallery__image{min-height:360px!important;}
  .single-product div.product .woocommerce-product-gallery__image img{max-height:360px!important;}
  .single-product div.product .summary{padding:24px!important;}
}

/* ===== v3.8.6: Reliable single-product gallery + related products cleanup ===== */
.single-product div.product .woocommerce-product-gallery.edd-custom-gallery-ready .flex-viewport,
.single-product div.product .woocommerce-product-gallery.edd-custom-gallery-ready .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery.edd-custom-gallery-ready > .flex-control-nav,
.single-product div.product .woocommerce-product-gallery.edd-custom-gallery-ready > ol.flex-control-nav{
  display:none!important;
}
.single-product div.product .woocommerce-product-gallery.edd-custom-gallery-ready{
  min-height:0!important;
  padding:22px!important;
  overflow:visible!important;
}
.single-product .edd-single-gallery{
  width:100%;
}
.single-product .edd-single-gallery__main{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:520px!important;
  background:#fff!important;
  border:1px solid rgba(16,24,40,.08)!important;
  border-radius:20px!important;
  text-decoration:none!important;
  overflow:hidden!important;
}
.single-product .edd-single-gallery__main img{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:500px!important;
  object-fit:contain!important;
  margin:0 auto!important;
}
.single-product .edd-single-gallery__thumbs{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:14px!important;
  margin-top:18px!important;
  padding:0 2px 4px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
}
.single-product .edd-single-gallery__thumb{
  width:94px!important;
  height:94px!important;
  min-width:94px!important;
  border:1px solid rgba(16,24,40,.12)!important;
  border-radius:16px!important;
  background:#fff!important;
  padding:8px!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease!important;
}
.single-product .edd-single-gallery__thumb:hover,
.single-product .edd-single-gallery__thumb.is-active{
  border-color:var(--edd-red,#e10600)!important;
  box-shadow:0 10px 24px rgba(225,6,0,.12)!important;
  transform:translateY(-1px)!important;
}
.single-product .edd-single-gallery__thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
.single-product .woocommerce-product-gallery__trigger{
  display:none!important;
}
.single-product .related.products,
.single-product .upsells.products{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:none!important;
  margin-top:56px!important;
}
.single-product .related.products > h2,
.single-product .upsells.products > h2{
  font-size:clamp(28px,3vw,44px)!important;
  line-height:1!important;
  letter-spacing:-.04em!important;
  margin:0 0 24px!important;
  color:#10141a!important;
  font-style:normal!important;
  text-transform:none!important;
}
.single-product .related.products ul.products,
.single-product .upsells.products ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
  width:100%!important;
  margin:0!important;
}
.single-product .related.products ul.products li.product,
.single-product .upsells.products ul.products li.product{
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}
.single-product .related.products ul.products li.product img,
.single-product .upsells.products ul.products li.product img{
  aspect-ratio:1.15/1!important;
  object-fit:contain!important;
  background:#fff!important;
}
@media(max-width:1180px){
  .single-product .related.products ul.products,
  .single-product .upsells.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:760px){
  .single-product .edd-single-gallery__main{min-height:340px!important;}
  .single-product .edd-single-gallery__main img{max-height:320px!important;}
  .single-product .edd-single-gallery__thumb{width:76px!important;height:76px!important;min-width:76px!important;}
  .single-product .related.products ul.products,
  .single-product .upsells.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
}
@media(max-width:520px){
  .single-product .related.products ul.products,
  .single-product .upsells.products ul.products{grid-template-columns:1fr!important;}
}


/* v4.2.7: clean CAD/USD price formatting and product carousel containment */
.woocommerce ul.products li.product .price,
.woocommerce .edd-product-section ul.products li.product .price,
.edd-product-carousel ul.products li.product .price{
    white-space:normal!important;
    overflow-wrap:normal!important;
}
.woocommerce ul.products li.product .price .edd-dual-price,
.woocommerce .edd-product-section ul.products li.product .price .edd-dual-price,
.edd-product-carousel ul.products li.product .price .edd-dual-price,
.edd-dual-price{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:4px!important;
    line-height:1.12!important;
    white-space:normal!important;
}
.edd-dual-price .edd-cad-price{
    display:block!important;
    color:var(--edd-red,#e10600)!important;
    font-weight:950!important;
    font-size:1em!important;
    line-height:1.08!important;
}
.edd-dual-price .edd-cad-price .woocommerce-Price-amount,
.edd-dual-price .edd-cad-price .amount{
    display:inline!important;
}
.edd-dual-price .edd-currency-code{
    display:inline-block!important;
    margin-left:5px!important;
    font-size:.58em!important;
    line-height:1!important;
    vertical-align:baseline!important;
    color:#667085!important;
    font-weight:900!important;
    letter-spacing:.08em!important;
}
.edd-dual-price .edd-usd-equiv,
.woocommerce ul.products li.product .price .edd-usd-equiv,
.woocommerce .edd-product-section ul.products li.product .price .edd-usd-equiv,
.edd-product-carousel ul.products li.product .price .edd-usd-equiv{
    display:block!important;
    margin-top:0!important;
    color:#667085!important;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:800!important;
    letter-spacing:.01em!important;
    text-transform:none!important;
}
.woocommerce .edd-product-section .edd-section-carousel,
.edd-section-carousel{
    max-width:100%!important;
    min-width:0!important;
}
.woocommerce .edd-product-section .edd-carousel-viewport,
.edd-carousel-viewport{
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
}
.woocommerce .edd-product-section .edd-carousel-viewport ul.products{
    width:max-content!important;
    max-width:none!important;
}


/* v4.2.9: USD source price should be secondary/black under the red CAD estimate. */
.edd-dual-price .edd-usd-source-price,
.woocommerce ul.products li.product .price .edd-usd-source-price,
.woocommerce .edd-product-section ul.products li.product .price .edd-usd-source-price,
.edd-product-carousel ul.products li.product .price .edd-usd-source-price {
  display: block !important;
  margin-top: 2px !important;
  color: #111820 !important;
  font-size: .82em !important;
  line-height: 1.18 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.edd-dual-price--usd-source .edd-cad-price {
  color: var(--edd-red,#e10600) !important;
}


/* v4.2.19: shop category-section pagination. Keeps /shop/ from rendering every category group at once. */
.edd-category-section-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin:26px 0 8px;
  padding:16px;
  border:1px solid rgba(16,20,26,.1);
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 34px rgba(16,20,26,.07);
}
.edd-category-section-pagination__summary{font-size:13px;font-weight:800;color:#4b5563;}
.edd-category-section-pagination__links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.edd-category-section-page{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:999px;border:1px solid rgba(16,20,26,.12);background:#f8fafc;color:#10141a;font-weight:900;text-decoration:none;line-height:1;}
.edd-category-section-page:hover{border-color:rgba(223,20,20,.45);color:#df1414;background:#fff;}
.edd-category-section-page.is-current{background:#df1414;color:#fff;border-color:#df1414;}
.edd-category-section-page--prev,.edd-category-section-page--next{min-width:auto;}
@media (max-width: 640px){.edd-category-section-pagination{align-items:flex-start}.edd-category-section-pagination__links{width:100%}.edd-category-section-page{flex:1 1 auto}}


/* v4.2.39 — active filter chips + mobile drawer apply action. */
.edd-active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px}
.edd-active-filters__label{font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.06em;color:#64748b}
.edd-active-filters__list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.edd-active-filter-chip{display:inline-flex;align-items:center;gap:8px;background:#10141a;color:#fff;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:900;text-decoration:none;text-transform:uppercase;letter-spacing:.03em;line-height:1}
.edd-active-filter-chip:hover{background:#e10600;color:#fff}
.edd-active-filter-chip__x{font-size:15px;line-height:1;opacity:.8}
.edd-active-filters__clear{font-size:12px;font-weight:950;text-transform:uppercase;color:#e10600;text-decoration:underline;margin-left:4px}
.edd-filter-field select,.edd-filter-field input{font-size:16px}
.edd-filter-apply{display:none}
@media(max-width:900px){.edd-filter-apply{display:inline-flex;flex:1;align-items:center;justify-content:center}.edd-filter-actions{gap:10px}.edd-filter-reset{display:inline-flex;align-items:center;justify-content:center}}


/* v4.2.40 — harden active filter pill UI and keep filtered results visible. */
.edd-shop-results > .edd-active-filters{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 0 18px!important;
  padding:14px 16px!important;
  border:1px solid rgba(16,20,26,.10)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(16,20,26,.055)!important;
}
.edd-shop-results > .edd-active-filters .edd-active-filters__label{
  display:inline-flex!important;
  align-items:center!important;
  margin:0!important;
  color:#64748b!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}
.edd-shop-results > .edd-active-filters .edd-active-filters__list{
  display:flex!important;
  flex:1 1 auto!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px!important;
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}
.edd-shop-results > .edd-active-filters .edd-active-filter-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:34px!important;
  padding:9px 12px!important;
  border:1px solid rgba(16,20,26,.14)!important;
  border-radius:999px!important;
  background:#10141a!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
.edd-shop-results > .edd-active-filters .edd-active-filter-chip:hover,
.edd-shop-results > .edd-active-filters .edd-active-filter-chip:focus-visible{
  background:#df1414!important;
  border-color:#df1414!important;
  color:#fff!important;
  outline:none!important;
}
.edd-shop-results > .edd-active-filters .edd-active-filter-chip__x{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:16px!important;
  height:16px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.16)!important;
  font-size:14px!important;
  line-height:1!important;
}
.edd-shop-results > .edd-active-filters .edd-active-filters__clear{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  margin-left:auto!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  color:#df1414!important;
  font-size:12px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}
.edd-shop-results > .edd-active-filters .edd-active-filters__clear:hover{background:rgba(223,20,20,.08)!important;}
@media(max-width:700px){
  .edd-shop-results > .edd-active-filters{align-items:flex-start!important;padding:12px!important;}
  .edd-shop-results > .edd-active-filters .edd-active-filters__label{width:100%!important;}
  .edd-shop-results > .edd-active-filters .edd-active-filters__clear{margin-left:0!important;}
}
