/*
Theme Name: CEWI Online Store
Theme URI: https://cewionlinestore.com
Author: CEWI Online Store
Description: Custom WooCommerce theme for CEWI Online Store. Blue, red and yellow brand colors, product badges, "Buy more, save more" discounts, sale countdown, trust badges and a Help & FAQ page template. Edit texts in Appearance → Customize → CEWI Store Settings.
Version: 1.0.18
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
WC requires at least: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cewi
Tags: e-commerce, woocommerce, custom-logo, custom-menu
*/

:root{
  --blue:#1a35a0; --blue-d:#11246f; --blue-l:#eaf0ff;
  --red:#e0141e; --red-d:#b80f17;
  --yellow:#f7b500; --yellow-l:#fff6dc;
  --ink:#14172b; --navy:#142568; --muted:#5d6278; --line:#e6e8f0; --bg:#f6f7fb;
  --green:#14a05f;
  --r:14px; --shadow:0 6px 24px rgba(20,23,43,.08);
  --head:'Poppins',system-ui,sans-serif;
  --body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--ink);background:#fff;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3,h4{font-family:var(--head);line-height:1.2;letter-spacing:-.01em;margin:0}
p{margin:0 0 10px}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;z-index:100;background:#fff;padding:8px 14px;border-radius:8px}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}

/* Announcement */
.announce{background:var(--blue);color:#fff;font-size:13.5px;font-weight:500;text-align:center;padding:8px 12px;min-height:36px}
.announce span{display:inline-block;animation:fadeIn .5s}
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* Header */
.header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.admin-bar .header{top:32px}
.header-in{display:flex;align-items:center;gap:18px;height:72px}
.logo img,.custom-logo{height:46px;width:auto}
.nav .menu{display:flex;gap:22px;list-style:none;margin:0;padding:0;font-weight:500;font-size:15px}
.nav .menu a{padding:6px 0;border-bottom:2px solid transparent;transition:.2s}
.nav .menu a:hover,.nav .current-menu-item>a{color:var(--blue);border-color:var(--yellow)}
.search{flex:1;max-width:320px;margin-left:auto;display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:0 14px;height:42px}
.search svg{width:18px;height:18px;color:var(--muted);flex:none}
.search input[type=search]{border:0;background:none;outline:0;width:100%;font-size:15px}
.icon-btn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;position:relative;transition:.2s;border:0;background:none;cursor:pointer}
.icon-btn:hover{background:var(--bg)}
.cart-count{position:absolute;top:2px;right:0;background:var(--red);color:#fff;font-size:11px;font-weight:700;min-width:19px;height:19px;border-radius:999px;display:grid;place-items:center;padding:0 5px}
.menu-btn{display:none}

.mobile-menu{position:fixed;inset:0;background:rgba(10,14,40,.45);z-index:60;opacity:0;pointer-events:none;transition:.25s}
.mobile-menu.open{opacity:1;pointer-events:auto}
.mm-panel{width:300px;max-width:85%;height:100%;background:#fff;padding:18px;transform:translateX(-100%);transition:.25s;overflow:auto}
.mobile-menu.open .mm-panel{transform:none}
.mm-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.mm-logo img{height:40px;width:auto}
.mm-panel .search{display:flex;max-width:none;margin:0 0 8px}
.mm-panel .menu{list-style:none;margin:0;padding:0}
.mm-panel .menu a{display:block;padding:13px 6px;border-bottom:1px solid var(--line);font-weight:500}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 26px;border-radius:999px;font-weight:600;font-family:var(--head);font-size:15px;transition:.2s;white-space:nowrap;border:0;cursor:pointer}
.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue-d)}
.btn-red{background:var(--yellow);color:var(--ink)}.btn-red:hover{filter:brightness(.94)}
.btn-yellow{background:var(--yellow);color:var(--ink)}.btn-yellow:hover{filter:brightness(.95)}
.btn-outline{border:2px solid currentColor;background:none}
.link{color:var(--blue);font-weight:600}.link:hover{text-decoration:underline}

/* Hero */
.hero{background:linear-gradient(120deg,var(--blue-d),var(--blue) 60%,#2c4fd0);color:#fff;position:relative;overflow:hidden}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;border-style:solid;border-color:transparent}
.hero::before{width:620px;height:620px;right:-180px;top:-160px;border-width:28px;border-left-color:var(--yellow);border-top-color:var(--yellow);transform:rotate(-20deg);opacity:.9}
.hero::after{width:820px;height:820px;right:-300px;top:-260px;border-width:18px;border-left-color:rgba(255,255,255,.18);border-top-color:rgba(255,255,255,.18);transform:rotate(-20deg)}
.hero-in{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:70px 20px 80px;position:relative;z-index:1}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);padding:6px 14px;border-radius:999px;font-size:13px;font-weight:600}
.hero h1{font-size:clamp(34px,5vw,58px);font-weight:800;margin:18px 0 16px;color:#fff}
.hero h1 em{font-style:normal;color:var(--yellow)}
.hero p{font-size:18px;opacity:.9;max-width:520px;margin-bottom:28px}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.hero-ctas .btn-outline{color:#fff}.hero-ctas .btn-outline:hover{background:#fff;color:var(--blue);border-color:#fff}
.hero-art{display:grid;grid-template-columns:1fr 1fr;gap:16px;transform:rotate(-1deg)}
.hero-tile{background:#fff;color:var(--ink);border-radius:18px;padding:12px;box-shadow:0 16px 34px rgba(0,0,0,.22);transition:.3s;display:flex;flex-direction:column}
.hero-tile:nth-child(even){transform:translateY(16px)}
.hero-tile:hover{transform:translateY(-4px)}
.hero-tile:nth-child(even):hover{transform:translateY(12px)}
.hero-tile img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;background:var(--bg)}
.hero-tile b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-family:var(--head);font-weight:600;font-size:14px;line-height:1.3;min-height:2.6em;margin-top:10px}
.tile-price{color:var(--navy);font-weight:700;font-size:14px;margin-top:4px}
.tile-price del{color:var(--muted);font-weight:400;font-size:12px}
.tile-price ins{text-decoration:none;color:var(--red)}

/* Trust */
.trust{border-bottom:1px solid var(--line)}
.trust-in{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:22px 20px}
.trust-item{display:flex;align-items:center;gap:12px}
.trust-ic{width:46px;height:46px;border-radius:12px;background:var(--blue-l);color:var(--blue);display:grid;place-items:center;flex:none}
.trust-item b{display:block;font-family:var(--head);font-size:14.5px}
.trust-item small{color:var(--muted);font-size:13px}

/* Sections */
.section{padding:64px 0}
.section.alt{background:var(--bg)}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}
.sec-head h2{font-size:clamp(24px,3vw,34px);font-weight:700}
.sec-head p{color:var(--muted);margin:6px 0 0}
.kicker{color:var(--blue);font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;display:block;margin-bottom:6px}
.notice-box{background:var(--yellow-l);border-radius:20px;padding:32px;text-align:center}

/* Categories */
.cats{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}.cats>.cat{flex:0 0 calc(20% - 12.8px);min-width:0}
.cat{border-radius:var(--r);padding:24px 14px 20px;text-align:center;background:#fff;border:1px solid var(--line);transition:.25s}
.cat:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:transparent}
.cat-ic{width:96px;height:96px;margin:0 auto 14px;border-radius:50%;transition:transform .25s;display:grid;place-items:center;background:linear-gradient(135deg,var(--c1),var(--c2));overflow:hidden;color:#fff;font-family:var(--head);font-weight:800;font-size:30px}
.cat-ic img{width:100%;height:100%;object-fit:cover}
.cat-ic svg{width:50px;height:50px}
.cat:hover .cat-ic{transform:scale(1.06)}
.cat b{font-family:var(--head);font-size:15.5px;display:block}
.cat small{color:var(--muted);font-size:12.5px}

/* ---------- WooCommerce product grid ---------- */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;list-style:none;margin:0 0 24px;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;padding:0!important;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;position:relative;transition:.25s;text-align:left}
.woocommerce ul.products li.product:hover{box-shadow:var(--shadow);transform:translateY(-3px);border-color:transparent}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1}
.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1;object-fit:cover;margin:0!important;background:var(--bg);transition:.4s}
.woocommerce ul.products li.product:hover a img{transform:scale(1.03)}
.card-cat{display:block;padding:14px 16px 0;font-size:12px;color:var(--muted);font-weight:500;text-transform:uppercase;letter-spacing:.05em}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:4px 16px 0!important;font-size:15.5px!important;font-weight:600;font-family:var(--head);color:var(--ink)}
.woocommerce ul.products li.product .price{display:flex!important;flex-wrap:wrap;gap:8px;align-items:baseline;padding:8px 16px 0;margin:auto 0 0!important;color:var(--ink)!important;font-family:var(--head);font-size:18px!important;font-weight:700}
.woocommerce ul.products li.product .star-rating{margin:6px 16px 0!important;font-size:.8em}
.woocommerce .price del{color:var(--muted);font-size:.8em;font-weight:400;opacity:1}
.woocommerce .price ins{text-decoration:none;color:var(--red)}
.woocommerce ul.products li.product .button{margin:12px 16px 16px!important;display:flex!important;align-items:center;justify-content:center;min-height:42px;border-radius:999px!important;background:var(--blue)!important;color:#fff!important;font-family:var(--head);font-weight:600;font-size:14px;padding:0 14px!important}
.woocommerce ul.products li.product .button:hover{background:var(--blue-d)!important}
.woocommerce ul.products li.product .button.loading{opacity:.6}
.woocommerce ul.products li.product .added_to_cart{display:block;text-align:center;margin:-6px 16px 14px;font-size:13px;color:var(--blue);font-weight:600}
.woocommerce span.onsale{position:absolute;top:12px;left:12px;right:auto;z-index:3;margin:0!important;min-height:0!important;min-width:0!important;line-height:1.4!important;padding:4px 10px!important;border-radius:999px!important;background:var(--red)!important;color:#fff;font-size:12px!important;font-weight:700}
.badges{position:absolute;top:12px;right:12px;z-index:3;display:flex;flex-direction:column;gap:6px;align-items:flex-end}
.badge{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--red);color:#fff}
.badge.new{background:var(--yellow);color:var(--ink)}
.badge.low{background:#fff;color:var(--red);border:1px solid #ffd0d3}

/* Sale band */
.sale-band{background:linear-gradient(90deg,var(--red),#ff3b44);color:#fff;border-radius:20px;padding:26px 32px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:24px}
.sale-band h3{font-size:24px;color:#fff}
.sale-band p{margin:4px 0 0;opacity:.9}
.countdown{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cd-box{background:var(--ink);color:#fff;border-radius:10px;min-width:56px;padding:8px 6px;text-align:center}
.cd-box b{display:block;font-family:var(--head);font-size:22px;line-height:1}
.cd-box small{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;opacity:.75}
.sale-band .cd-box{background:rgba(0,0,0,.25)}
.sale-ends{margin:12px 0}.sale-ends small{display:block;font-weight:600;color:var(--muted);margin-bottom:8px}

/* Feature band */
.feature{display:grid;grid-template-columns:1fr 1fr;border-radius:24px;overflow:hidden;background:var(--yellow-l)}
.feature-img img{width:100%;height:100%;object-fit:cover;min-height:380px}
.feature-body{padding:48px;display:flex;flex-direction:column;justify-content:center;gap:16px}
.feature-body h2{font-size:clamp(26px,3vw,38px)}
.lead{color:var(--muted);font-size:16px}
.feature-price{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-family:var(--head);font-size:26px;font-weight:700}
.feature-price del{color:var(--muted);font-size:.65em;font-weight:400}.feature-price ins{text-decoration:none}
.off-tag{background:var(--red);color:#fff;font-size:13px;font-weight:700;padding:4px 10px;border-radius:8px;font-family:var(--body)}

/* How to order */
.why{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.why-item{background:#fff;border-radius:var(--r);padding:28px;border:1px solid var(--line)}
.why-item .num{width:48px;height:48px;border-radius:14px;background:var(--blue);color:#fff;display:grid;place-items:center;font-family:var(--head);font-weight:800;font-size:20px;margin-bottom:16px}
.why-item:nth-child(2) .num{background:var(--red)}
.why-item:nth-child(3) .num{background:var(--yellow);color:var(--ink)}
.why-item h3{font-size:18px;margin-bottom:6px}
.why-item p{color:var(--muted);font-size:14.5px}

/* CTA */
.cta-band{background:var(--blue);color:#fff;border-radius:24px;padding:48px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;position:relative;overflow:hidden}
.cta-band::after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;border:22px solid var(--yellow);border-right-color:transparent;border-bottom-color:transparent;right:-80px;top:-120px;transform:rotate(30deg);opacity:.8}
.cta-band h2{font-size:clamp(22px,3vw,32px);max-width:560px;color:#fff}
.cta-band p{opacity:.85;margin:6px 0 0}
.cta-band .btn{position:relative;z-index:1}

/* ---------- Shop / archive ---------- */
.wc-main{padding:28px 20px 64px}
.woocommerce .woocommerce-breadcrumb{font-size:13.5px;color:var(--muted);margin:0 0 10px}
.woocommerce .woocommerce-breadcrumb a{color:var(--muted)}
.woocommerce-products-header{background:var(--bg);border-radius:20px;padding:28px 30px;margin-bottom:24px}
.woocommerce-products-header__title.page-title{font-size:clamp(26px,3.4vw,38px);margin:0}
.term-description{color:var(--muted);margin-top:8px}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.chip{padding:8px 16px;border-radius:999px;border:1px solid var(--line);font-size:14px;font-weight:500;background:#fff;transition:.2s}
.chip:hover{border-color:var(--blue);color:var(--blue)}
.chip.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.woocommerce .woocommerce-result-count{color:var(--muted);font-size:14px;margin:10px 0 20px}
.woocommerce .woocommerce-ordering{margin:0 0 20px}
.woocommerce .woocommerce-ordering select{height:42px;border:1px solid var(--line);border-radius:999px;padding:0 16px;background:#fff;font-size:14px}
.woocommerce nav.woocommerce-pagination ul{border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0 3px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border-radius:10px;min-width:40px;padding:10px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--blue);color:#fff}

/* ---------- Single product ---------- */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:48px;position:relative;padding-top:8px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product div.images{position:relative}
.woocommerce div.product div.images .woocommerce-product-gallery__image img,.woocommerce div.product div.images img{border-radius:20px}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:10px;margin-top:12px!important}
.woocommerce div.product div.images .flex-control-thumbs li{width:76px!important;margin:0!important}
.woocommerce div.product div.images .flex-control-thumbs img{border-radius:12px;border:2px solid transparent}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{border-color:var(--blue)}
.woocommerce div.product > span.onsale{top:14px;left:14px;font-size:14px!important;padding:6px 14px!important}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells,.woocommerce div.product .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce div.product .product_title{font-size:clamp(26px,3vw,36px);margin-bottom:12px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-family:var(--head);font-size:28px;font-weight:700;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--muted);font-size:16px;margin:12px 0}
.woocommerce div.product .woocommerce-product-rating{margin-bottom:10px}
.woocommerce .star-rating span::before,.woocommerce .star-rating::before{color:var(--yellow)}
.stock-note{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--red);margin:12px 0}
.stock-bar{flex:1;max-width:220px;height:7px;border-radius:999px;background:#ffe2e4;overflow:hidden}
.stock-bar i{display:block;height:100%;background:var(--red);border-radius:999px}
.ok-note{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--green);font-weight:600;margin:12px 0}
.dot{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(20,160,95,.18)}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0!important}
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none}
.woocommerce div.product form.cart div.quantity{margin:0!important;float:none}
.woocommerce .quantity .qty{width:84px;height:52px;border:1px solid var(--line);border-radius:999px;text-align:center;font-weight:600;font-size:16px}
.woocommerce div.product form.cart .button{flex:1;float:none;min-height:52px;border-radius:999px;background:var(--yellow);color:var(--ink);font-family:var(--head);font-weight:600;font-size:16px}
.woocommerce div.product form.cart .button:hover{background:var(--yellow);filter:brightness(.94);color:var(--ink)}
.woocommerce div.product form.cart .variations{margin-bottom:6px;width:100%}
.woocommerce div.product form.cart .variations select{min-height:44px;border:1px solid var(--line);border-radius:12px;padding:0 12px;min-width:200px}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{display:flex;gap:10px;width:100%}
.bundles{display:grid;gap:12px;flex-basis:100%;margin-bottom:6px}
.bundles-title{font-family:var(--head);font-weight:600;font-size:15px;display:flex;align-items:center;gap:10px}
.bundles-title::before,.bundles-title::after{content:"";flex:1;height:1px;background:var(--line)}
.bundle{display:flex;align-items:center;gap:14px;border:2px solid var(--line);border-radius:14px;padding:14px 16px;cursor:pointer;transition:.2s;position:relative}
.bundle:hover{border-color:#b9c5f2}
.bundle.active{border-color:var(--blue);background:var(--blue-l)}
.bundle input{accent-color:var(--blue);width:18px;height:18px;margin:0}
.b-text{display:flex;flex-direction:column}
.b-name{font-weight:600;font-family:var(--head)}
.b-sub{font-size:12.5px;color:var(--muted)}
.b-price{margin-left:auto;text-align:right;display:flex;flex-direction:column}
.b-price b{font-family:var(--head)}
.b-price s{font-size:12.5px;color:var(--muted)}
.b-tag{position:absolute;top:-11px;right:14px;background:var(--red);color:#fff;font-size:11.5px;font-weight:700;padding:2px 10px;border-radius:999px}
.b-tag.y{background:var(--yellow);color:var(--ink)}
.mini-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center;font-size:12.5px;color:var(--muted);margin:14px 0}
.mini-trust div{background:var(--bg);border-radius:12px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:6px}
.mini-trust svg{color:var(--blue)}
.guarantee{display:flex;gap:16px;align-items:center;background:var(--yellow-l);border:1px dashed var(--yellow);border-radius:16px;padding:16px 18px;margin:14px 0}
.seal{width:62px;height:62px;border-radius:50%;background:var(--yellow);display:grid;place-content:center;text-align:center;font-family:var(--head);font-weight:800;line-height:1;flex:none;font-size:20px}
.seal small{display:block;font-size:9px;font-weight:700}
.guarantee b{font-family:var(--head)}
.guarantee p{font-size:13.5px;color:var(--muted);margin:2px 0 0}
.pay-icons{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}
.pay-pill{font-size:12px;font-weight:600;border:1px solid var(--line);border-radius:8px;padding:5px 10px;background:#fff;color:var(--ink)}
.woocommerce div.product .product_meta{font-size:13.5px;color:var(--muted);border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.woocommerce div.product .product_meta>span{display:block}
.woocommerce div.product .woocommerce-tabs{margin-top:24px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important;margin:0 0 20px!important;display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0!important;background:none!important;margin:0!important;padding:0!important;border-radius:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 4px!important;margin-right:16px;font-family:var(--head);font-weight:600;color:var(--muted)!important;border-bottom:3px solid transparent}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink)!important;border-color:var(--yellow)}
.woocommerce div.product .woocommerce-tabs .panel{color:#3a3f57;max-width:820px}
.woocommerce div.product .woocommerce-tabs .panel h2:first-child{display:none}
.woocommerce table.shop_attributes{border-top:1px solid var(--line)}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border-bottom:1px solid var(--line);padding:10px 12px;font-style:normal}
.woocommerce div.product .related>h2,.woocommerce div.product .upsells>h2{font-size:clamp(22px,3vw,30px);margin:40px 0 20px}

/* Sticky ATC */
.sticky-atc{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--line);padding:10px 16px;display:none;align-items:center;gap:12px;z-index:35;box-shadow:0 -6px 20px rgba(0,0,0,.06);transform:translateY(100%);transition:.25s}
.sticky-atc.show{transform:none}
.sticky-atc .s-name{font-family:var(--head);font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sticky-atc .s-price{color:var(--navy);font-weight:700;font-size:14px}
.sticky-atc .s-price del{display:none}.sticky-atc .s-price ins{text-decoration:none}
.sticky-atc .btn{margin-left:auto;min-height:44px}

/* ---------- Pages, cart, checkout, account ---------- */
.page-head{background:var(--bg);padding:34px 0;border-bottom:1px solid var(--line)}
.page-head h1{font-size:clamp(26px,3.4vw,38px)}
.page-body{padding:36px 20px 70px}
.entry-content{max-width:none}
.entry-content>*:not(.woocommerce):not(.wp-block-woocommerce-cart):not(.wp-block-woocommerce-checkout){max-width:820px}
.entry-content a:not(.button):not(.wc-block-components-button){color:var(--blue)}
.ship-prog{background:var(--bg);border-radius:12px;padding:12px 16px;font-size:14px;margin-bottom:18px}
.ship-prog .bar{height:8px;border-radius:999px;background:var(--line);margin-top:8px;overflow:hidden}
.ship-prog .bar i{display:block;height:100%;background:linear-gradient(90deg,var(--yellow),var(--green));border-radius:999px}

/* WooCommerce buttons (classic + blocks) */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link),.wp-block-button__link,.wp-element-button{background:var(--blue);color:#fff;border-radius:999px!important;font-family:var(--head);font-weight:600;min-height:48px;padding:0 24px;border:0;transition:.2s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.wc-block-components-button:not(.is-link):hover{background:var(--blue-d);color:#fff}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce #payment #place_order,.woocommerce .checkout-button,
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{background:var(--yellow)!important;color:var(--ink)!important}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.wc-block-cart__submit-button:hover,.wc-block-components-checkout-place-order-button:hover{background:var(--yellow)!important;filter:brightness(.94)}
.woocommerce a.button,.woocommerce button.button{display:inline-flex;align-items:center;justify-content:center}

.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{border-radius:12px;border-top-color:var(--blue)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--blue)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container .select2-selection--single{border:1px solid var(--line);border-radius:12px;padding:12px 14px;min-height:48px}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select__select{border-radius:12px!important}
.wc-block-components-text-input input:focus,.woocommerce form .form-row input.input-text:focus{border-color:var(--blue)!important;box-shadow:0 0 0 3px rgba(26,53,160,.12)!important;outline:0}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-family:var(--head)}
.wc-block-cart .wc-block-cart__totals-title,.wc-block-components-title{font-family:var(--head)!important}
.woocommerce table.shop_table{border-radius:16px;border-color:var(--line)}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{background:var(--bg);border-radius:20px;padding:24px}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a{display:block;padding:12px 16px;border-radius:12px;font-weight:500;color:var(--ink)}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a{background:var(--blue);color:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover{background:var(--bg)}

/* Help template */
.help-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:40px;padding:40px 20px 70px;align-items:start}
.help-sec{margin-bottom:40px}
.help-sec h2,.aside-title{font-size:24px;margin-bottom:14px}
.acc{border-top:1px solid var(--line)}
.acc-item{border-bottom:1px solid var(--line)}
.acc-q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 2px;font-family:var(--head);font-weight:600;font-size:15.5px;text-align:left;background:none;border:0;cursor:pointer}
.acc-q::after{content:"+";font-size:22px;font-weight:400;color:var(--blue);transition:.2s}
.acc-item.open .acc-q::after{transform:rotate(45deg)}
.acc-a{display:none;padding:0 2px 18px;color:var(--muted)}
.acc-item.open .acc-a{display:block}
.contact-cards{display:grid;gap:12px}
.contact-card{display:block;border:1px solid var(--line);border-radius:16px;padding:18px 20px;transition:.2s}
.contact-card:hover{border-color:var(--blue);box-shadow:var(--shadow)}
.contact-card svg{color:var(--blue)}
.contact-card b{display:block;font-family:var(--head);margin:6px 0 2px}
.contact-card small{color:var(--muted);word-break:break-word}

/* Posts & misc */
.post-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.post-card img{border-radius:14px;margin-bottom:12px}
.post-card h2{font-size:19px;margin-bottom:6px}
.empty{text-align:center;padding:60px 20px;color:var(--muted)}
.empty .big{font-size:64px;font-family:var(--head);font-weight:800;color:var(--blue)}
.empty h3{color:var(--ink);margin-bottom:6px}

/* Footer */
.footer{background:#0d1433;color:#c9cde0;padding-top:56px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px;padding-bottom:40px}
.footer-logo img{height:62px;width:auto;background:#fff;border-radius:12px;padding:6px 10px;margin-bottom:14px}
.footer h4{color:#fff;font-size:15px;margin-bottom:14px}
.footer ul{list-style:none;display:grid;gap:9px;font-size:14.5px;margin:0;padding:0}
.footer a:hover{color:var(--yellow)}
.contact-list li{display:flex;gap:8px;align-items:center}
.contact-list svg{width:16px;height:16px;flex:none}
.social{display:flex;gap:10px;margin-top:14px}
.social a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);display:grid;place-items:center;font-size:13px;font-weight:700}
.social a:hover{background:var(--yellow);color:var(--ink)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:20px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;font-size:13.5px}
.footer-bottom p{margin:0}
.footer .pay-icons{margin:0}
.footer .pay-pill{background:rgba(255,255,255,.08);border:0;color:#fff}

/* Responsive */
@media (max-width:1024px){
  .nav{display:none}
  .menu-btn{display:grid}
  .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cats>.cat{flex-basis:calc(25% - 12px)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:820px){
  .hero-in{grid-template-columns:1fr;padding:48px 20px 56px}
  .hero-art{transform:none;gap:12px;margin-top:8px}
  .hero-tile:nth-child(even),.hero-tile:nth-child(even):hover,.hero-tile:hover{transform:none}
  .hero-tile{padding:8px;border-radius:14px}
  .hero-tile b{font-size:13px;margin-top:8px}
  .trust-in{grid-template-columns:1fr 1fr}
  .feature{grid-template-columns:1fr}
  .feature-img img{min-height:260px}
  .feature-body{padding:28px}
  .why,.post-list{grid-template-columns:1fr}
  .woocommerce div.product{grid-template-columns:minmax(0,1fr);gap:24px}
  .help-layout{grid-template-columns:1fr}
  .sticky-atc{display:flex}
}
@media (max-width:782px){.admin-bar .header{top:0}}
@media (max-width:620px){
  .header-in{gap:6px;height:64px}
  .logo img,.custom-logo{height:38px}
  .header-in>.search{display:none}
  .account-btn{margin-left:auto}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;padding:4px 12px 0!important}
  .card-cat{padding:10px 12px 0;font-size:11px}
  .woocommerce ul.products li.product .price{padding:6px 12px 0;font-size:16px!important}
  .woocommerce ul.products li.product .button{margin:10px 12px 12px!important;font-size:13px;min-height:38px}
  .badges{top:auto;bottom:auto;right:8px;top:8px}
  .cats>.cat{flex-basis:calc(50% - 8px)}
  .section{padding:44px 0}
  .sec-head{flex-direction:column;align-items:flex-start}
  .cta-band{padding:30px}
  .footer-grid{grid-template-columns:1fr}
  .trust-in{grid-template-columns:1fr}
}
@media (max-width:820px){.hero::before{width:240px;height:240px;right:-120px;top:-120px;border-width:16px}.hero::after{width:340px;height:340px;right:-170px;top:-170px;border-width:12px}}
@media (max-width:620px){.hero::before{width:170px;height:170px;right:-95px;top:-95px;border-width:14px}.hero::after{width:240px;height:240px;right:-130px;top:-130px;border-width:10px}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- Side cart drawer ---------- */
.drawer-bg{position:fixed;inset:0;background:rgba(10,14,40,.45);z-index:70;opacity:0;pointer-events:none;transition:.25s}
.drawer-bg.open{opacity:1;pointer-events:auto}
.cart-drawer{position:fixed;top:0;right:0;height:100%;width:420px;max-width:100%;background:#fff;z-index:71;transform:translateX(100%);transition:.3s;display:flex;flex-direction:column;box-shadow:-10px 0 40px rgba(0,0,0,.12)}
.admin-bar .cart-drawer{top:32px;height:calc(100% - 32px)}
.cart-drawer.open{transform:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}
.drawer-head h3{font-size:19px}
.drawer-body{flex:1;overflow:auto;padding:4px 20px 20px}
.drawer-body .widget_shopping_cart_content{display:flex;flex-direction:column;min-height:100%}
.cart-drawer ul.woocommerce-mini-cart{list-style:none;margin:0;padding:0}
.cart-drawer li.woocommerce-mini-cart-item{position:relative;display:block;padding:16px 28px 16px 82px;border-bottom:1px solid var(--line);min-height:96px;font-size:14.5px}
.cart-drawer li.woocommerce-mini-cart-item a:not(.remove){font-family:var(--head);font-weight:600;color:var(--ink);display:block;line-height:1.3}
.cart-drawer li.woocommerce-mini-cart-item img{position:absolute;left:0;top:16px;width:66px!important;height:66px;object-fit:cover;border-radius:12px;margin:0!important;background:var(--bg)}
.cart-drawer li.woocommerce-mini-cart-item .quantity{display:block;color:var(--muted);margin-top:6px}
.cart-drawer li.woocommerce-mini-cart-item .quantity .amount{color:var(--ink);font-weight:600}
.cart-drawer li.woocommerce-mini-cart-item dl.variation{font-size:12.5px;color:var(--green);margin:4px 0 0}
.cart-drawer li.woocommerce-mini-cart-item dl.variation dt,.cart-drawer li.woocommerce-mini-cart-item dl.variation dd{display:inline;margin:0;float:none}
.cart-drawer a.remove{position:absolute;right:0;top:14px;width:24px;height:24px;line-height:22px;text-align:center;border-radius:50%;color:var(--muted)!important;font-size:18px}
.cart-drawer a.remove:hover{background:#ffe2e4;color:var(--red)!important}
.cart-drawer .woocommerce-mini-cart__total{display:flex;justify-content:space-between;align-items:center;margin:16px 0 4px;padding-top:12px;font-family:var(--head);font-size:17px}
.cart-drawer .woocommerce-mini-cart__total strong{font-weight:600}
.cart-drawer .woocommerce-mini-cart__buttons{display:grid;gap:10px;margin:12px 0 0}
.cart-drawer .woocommerce-mini-cart__buttons .button{display:flex;align-items:center;justify-content:center;min-height:50px;width:100%;margin:0;border-radius:999px;font-family:var(--head);font-weight:600;font-size:15px;text-align:center}
.cart-drawer .cewi-btn-checkout{background:var(--red)!important;color:#fff!important}
.cart-drawer .cewi-btn-checkout:hover{background:var(--red-d)!important}
.cart-drawer .cewi-btn-cart{background:var(--blue)!important;color:#fff!important}
.cart-drawer .cewi-btn-continue{background:#fff!important;color:var(--ink)!important;border:2px solid var(--line)!important}
.cart-drawer .cewi-btn-continue:hover{border-color:var(--ink)!important}
.cart-drawer .woocommerce-mini-cart__empty-message{text-align:center;color:var(--muted);padding:50px 0 10px}
.cart-top{margin:0 0 16px}
@media (max-width:782px){.admin-bar .cart-drawer{top:46px;height:calc(100% - 46px)}}

.cart-drawer ul.product_list_widget li.woocommerce-mini-cart-item{padding:16px 30px 16px 82px!important;margin:0!important;min-height:98px}
.cart-drawer ul.product_list_widget li img{float:none!important;position:absolute!important;left:0;top:16px;width:66px!important;height:66px!important;margin:0!important;box-shadow:none!important}

.social a svg{width:18px;height:18px}

/* Mobile/tablet fix: keep product gallery and summary inside the screen */
.woocommerce div.product>*{min-width:0}
.woocommerce div.product div.images{max-width:100%;overflow:hidden}
.woocommerce div.product form.cart .variations select{max-width:100%}
/* Cart drawer must cover the gallery zoom icon */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{z-index:5!important}
.cart-drawer{z-index:100000!important}

/* v1.0.10: keep hero text column from collapsing when tile titles are long */
.hero-in>*{min-width:0}
.hero-tile{min-width:0}

/* v1.0.11: WordPress adds class "search" to <body> on search results; undo the header search-box styles there */
body.search{display:block;flex:none;max-width:none;margin:0;gap:0;align-items:normal;background:#fff;border:0;border-radius:0;padding:0;height:auto}

/* v1.0.12: homepage info cards are links */
a.why-item{display:block;color:inherit;text-decoration:none}
a.why-item:hover h3{color:var(--blue)}

/* v1.0.15 section titles navy */
.sec-head h2,.feature-body h2{color:var(--navy)}
.woocommerce ul.products li.product .price{color:var(--navy)!important}

/* v1.0.17 unified category icons + Shop by need */
.cat-ic{background:#eef2ff;color:var(--navy);position:relative}
.cat-ic::after{content:"";position:absolute;inset:6px;border-radius:50%;border:3px solid transparent;border-left-color:#ffc72c;transform:rotate(25deg);pointer-events:none}
.cat-ic img{position:relative;z-index:0}
.needs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.need{display:flex;flex-direction:row;align-items:stretch;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;color:inherit;transition:.25s}
.need:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:transparent}
.need img{width:42%;flex:none;aspect-ratio:1;object-fit:cover;background:var(--bg)}
.need-body{padding:20px 22px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.need h3{color:var(--navy);font-size:20px;font-weight:700}
.need p{color:var(--muted);font-size:14.5px;margin:6px 0 12px}
.need-link{color:var(--navy);font-weight:600;font-family:var(--head);font-size:14.5px;border-bottom:2px solid #ffc72c;padding-bottom:2px}
@media (max-width:700px){.needs{grid-template-columns:1fr}.need img{width:38%}.need-body{padding:14px 16px}.need h3{font-size:18px}.need p{font-size:13.5px}}
