/*
Theme Name: XWAMAPI Storefront
Author: XWAMAPI
Description: Responsive WooCommerce storefront for professional healthcare and business supplies.
Version: 1.2.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: xwamapi-storefront
*/
:root{--ink:#142b3b;--muted:#607482;--brand:#087e8b;--brand-dark:#075c67;--mint:#e8f6f4;--bg:#f5f9fb;--line:#dce6eb;--radius:18px}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font:16px/1.6 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--brand-dark);text-decoration:none}a:hover{color:var(--brand)}img{max-width:100%;height:auto}button,.button,.wp-element-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--brand);color:#fff;border:0;border-radius:999px;padding:12px 19px;font-weight:750;cursor:pointer}button:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--brand-dark);color:#fff}input,select,textarea{border:1px solid var(--line);border-radius:10px;padding:11px 13px;max-width:100%}.xwa-container{width:min(1180px,calc(100% - 36px));margin:auto}.xwa-topbar{background:var(--ink);color:#e6f1f4;padding:8px 0;font-size:12px}.xwa-topbar .xwa-container{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.xwa-header{border-bottom:1px solid var(--line);background:#fff}.xwa-header-inner{min-height:82px;display:flex;align-items:center;gap:26px}.xwa-branding{min-width:200px}.xwa-site-title{font-size:24px;font-weight:850;letter-spacing:-.7px;color:var(--ink);line-height:1.2}.xwa-site-description{margin:4px 0 0;font-size:12px;color:var(--muted)}.custom-logo{max-height:55px;width:auto}.xwa-nav{flex:1}.xwa-nav ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:24px}.xwa-nav a{font-size:14px;font-weight:700;color:var(--ink)}.xwa-actions{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:700;white-space:nowrap}.xwa-actions a{color:var(--ink)}.xwa-cart{background:var(--mint);padding:9px 14px;border-radius:999px}.xwa-mobile-toggle{display:none;background:#fff;color:var(--ink);border:1px solid var(--line);padding:7px 12px}.xwa-hero{padding:65px 0;background:linear-gradient(120deg,#eefaf8,#f7fbfd 58%,#e9f3f8)}.xwa-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center}.xwa-pill{display:inline-block;background:#d9f0ed;color:var(--brand-dark);padding:7px 12px;border-radius:99px;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:1px}.xwa-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.06;letter-spacing:-2px;margin:20px 0}.xwa-hero p{font-size:18px;color:var(--muted);max-width:580px;margin:0 0 25px}.xwa-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.xwa-secondary{display:inline-block;background:#fff;border:1px solid #c4d4dc;border-radius:99px;padding:11px 18px;font-weight:750}.xwa-visual{background:#fff;border:1px solid var(--line);border-radius:28px;padding:25px;box-shadow:0 24px 65px #142b3b17;transform:rotate(1deg)}.xwa-visual-icon{height:160px;border-radius:20px;background:linear-gradient(135deg,#d9f2ef,#edf5fb);display:grid;place-items:center;font-size:76px;color:var(--brand);margin-bottom:20px}.xwa-visual h3{margin:0 0 5px;font-size:21px}.xwa-visual p{font-size:14px;margin:0}.xwa-trust{border-bottom:1px solid var(--line);padding:19px 0}.xwa-trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.xwa-trust-item{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:13px}.xwa-trust-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--mint);color:var(--brand-dark);font-size:20px}.xwa-section{padding:58px 0}.xwa-soft{background:var(--bg)}.xwa-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.xwa-section-heading h2{font-size:clamp(27px,3vw,38px);line-height:1.15;letter-spacing:-1px;margin:0}.xwa-section-heading p{margin:8px 0 0;color:var(--muted)}.xwa-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.xwa-category{display:block;border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:#fff;min-height:160px;transition:.2s}.xwa-category:hover{transform:translateY(-4px);box-shadow:0 10px 35px #142b3b12}.xwa-category-icon{width:48px;height:48px;border-radius:15px;background:var(--mint);display:grid;place-items:center;font-size:24px;margin-bottom:15px}.xwa-category h3{font-size:17px;margin:0 0 5px;color:var(--ink)}.xwa-category p{font-size:13px;color:var(--muted);margin:0}.xwa-products .products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:14px!important;border:1px solid var(--line);border-radius:16px;background:#fff;transition:.2s}.woocommerce ul.products li.product:hover{box-shadow:0 10px 35px #142b3b12;transform:translateY(-3px)}.woocommerce ul.products li.product a img{border-radius:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;color:var(--ink);padding-bottom:8px!important}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--brand-dark)!important;font-weight:850}.woocommerce ul.products li.product .price{font-size:15px!important}.woocommerce span.onsale{background:#e2f5ef;color:#08644f;min-height:auto;min-width:auto;line-height:1;padding:8px 10px;border-radius:99px}.xwa-cta{background:var(--ink);color:white;border-radius:24px;padding:38px;display:flex;align-items:center;justify-content:space-between;gap:25px}.xwa-cta h2{color:white;margin:0 0 7px;font-size:clamp(25px,3vw,34px)}.xwa-cta p{color:#c9d9e1;margin:0}.xwa-cta .button{background:white;color:var(--ink);flex-shrink:0}.xwa-page-title{background:var(--bg);padding:36px 0;border-bottom:1px solid var(--line)}.xwa-page-title h1{margin:0;font-size:clamp(30px,4vw,44px);letter-spacing:-1px}.xwa-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:8px}.xwa-content{padding:40px 0 65px}.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin:0 0 20px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:14px;color:var(--muted)}.woocommerce div.product .product_title{font-size:clamp(28px,4vw,42px);line-height:1.12}.woocommerce div.product div.images img{border-radius:18px}.woocommerce table.shop_table{border-color:var(--line);border-radius:12px;overflow:hidden}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:13px;border-color:var(--line)}.xwa-footer{background:#102635;color:#d1dfe6;padding:45px 0 20px;margin-top:50px}.xwa-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.xwa-footer h3{color:#fff;font-size:15px;margin:0 0 12px}.xwa-footer p,.xwa-footer a{color:#c0d0d8;font-size:13px}.xwa-footer ul{list-style:none;padding:0;margin:0}.xwa-footer li{margin:7px 0}.xwa-footer-bottom{border-top:1px solid #ffffff20;margin-top:28px;padding-top:16px;font-size:12px;color:#91a8b5;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
@media(max-width:950px){.xwa-header-inner{gap:14px;flex-wrap:wrap;padding:14px 0}.xwa-branding{flex:1}.xwa-nav{display:none;order:5;flex-basis:100%}.xwa-nav.is-open{display:block}.xwa-nav ul{justify-content:flex-start;flex-wrap:wrap;padding:10px 0}.xwa-mobile-toggle{display:block}.xwa-hero-grid{grid-template-columns:1fr .8fr;gap:25px}.xwa-categories{grid-template-columns:repeat(2,1fr)}.xwa-products .products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.xwa-container{width:calc(100% - 28px)}.xwa-topbar .xwa-container{justify-content:center;text-align:center}.xwa-header-inner{min-height:68px}.xwa-site-title{font-size:21px}.xwa-actions{font-size:12px;gap:8px}.xwa-hero{padding:40px 0}.xwa-hero-grid{grid-template-columns:1fr}.xwa-hero h1{font-size:39px;letter-spacing:-1.4px}.xwa-hero p{font-size:16px}.xwa-visual{max-width:360px;margin:auto}.xwa-trust-grid{grid-template-columns:1fr;gap:12px}.xwa-trust-item{justify-content:flex-start}.xwa-section{padding:42px 0}.xwa-section-heading{align-items:flex-start;flex-direction:column}.xwa-categories{gap:10px}.xwa-category{padding:15px;min-height:145px}.xwa-products .products{gap:11px!important}.woocommerce ul.products li.product{padding:9px!important}.xwa-cta{padding:25px;flex-direction:column;align-items:flex-start}.xwa-footer-grid{grid-template-columns:1fr;gap:23px}}

/* Modern product detail page */
:root{--brand:#2457d6;--brand-dark:#173f9f;--mint:#edf3ff;--bg:#f7f9fc;--line:#e3e8f0;--ink:#14243b;--muted:#68778c}
.xwa-product-page{padding-top:28px;padding-bottom:64px}
.xwa-product-page .woocommerce-breadcrumb{margin:0 0 26px!important;font-size:12px!important;letter-spacing:.01em;color:#718096!important}
.xwa-product-layout{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);gap:clamp(28px,5vw,68px);align-items:start}
.xwa-product-gallery{min-width:0;position:relative}
.xwa-product-gallery .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important}
.xwa-product-gallery .woocommerce-product-gallery__wrapper{background:linear-gradient(145deg,#f2f6fb,#f8fafc);border:1px solid #e8edf4;border-radius:22px;padding:clamp(18px,3vw,36px);overflow:hidden}
.xwa-product-gallery .woocommerce-product-gallery__image img{width:100%;max-height:570px;object-fit:contain;border-radius:12px}
.xwa-product-gallery .flex-control-thumbs{display:flex;gap:12px;margin:14px 0 0!important;padding:0!important}
.xwa-product-gallery .flex-control-thumbs li{width:76px!important;float:none!important;border:1px solid var(--line);border-radius:12px;padding:6px;overflow:hidden;background:#fff}
.xwa-product-gallery .flex-control-thumbs img{border-radius:7px;opacity:.75}
.xwa-product-gallery .flex-control-thumbs img.flex-active,.xwa-product-gallery .flex-control-thumbs img:hover{opacity:1}
.xwa-product-info{min-width:0;padding-top:6px}
.xwa-product-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:var(--brand);margin:0 0 12px}
.xwa-product-eyebrow a{color:inherit}
.xwa-product-info .product_title{font-size:clamp(30px,3.2vw,43px)!important;line-height:1.08!important;letter-spacing:-1.6px;margin:0 0 15px!important;color:var(--ink)}
.xwa-product-info .woocommerce-product-rating{margin:0 0 12px!important}
.xwa-product-info .price{font-size:29px!important;line-height:1.2;font-weight:850!important;color:var(--ink)!important;margin:18px 0 8px!important}
.xwa-product-info .price del{font-size:17px;opacity:.55;font-weight:500}
.xwa-product-info .price ins{text-decoration:none}
.xwa-product-info .stock{display:inline-flex;align-items:center;background:#eaf8ef;color:#167344;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:750;margin:0 0 15px}
.xwa-product-info .out-of-stock{background:#fff1f0;color:#b42318}
.xwa-product-info .woocommerce-product-details__short-description{color:#5e6c80;font-size:15px;line-height:1.8;margin:16px 0 22px}
.xwa-product-info .cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0 18px!important}
.xwa-product-info .quantity .qty{height:48px;min-width:72px;border:1px solid #dce3ee;border-radius:11px;background:#fff;font-size:15px}
.xwa-product-info .single_add_to_cart_button,.xwa-product-info .button.single_add_to_cart_button{height:48px;border-radius:11px!important;padding:0 26px!important;background:var(--brand)!important;color:#fff!important;font-size:14px!important;font-weight:800!important;box-shadow:0 8px 18px #2457d626;transition:transform .2s,background .2s}
.xwa-product-info .single_add_to_cart_button:hover{background:var(--brand-dark)!important;transform:translateY(-1px)}
.xwa-product-info .variations{border:0!important;margin:16px 0!important}
.xwa-product-info .variations td,.xwa-product-info .variations th{border:0!important;padding:7px 0!important}
.xwa-product-info .variations select{width:100%;min-height:44px}
.xwa-product-info .reset_variations{font-size:12px}
.xwa-product-info .product_meta{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--line);padding-top:16px;margin-top:20px;font-size:12px;color:var(--muted)}
.xwa-product-info .product_meta a{color:#465b79}
.xwa-product-details-card{border:1px solid var(--line);border-radius:16px;padding:18px 20px;background:#fff;margin-top:24px}
.xwa-product-details-card h2{font-size:14px;margin:0 0 12px;color:var(--ink);font-weight:800}
.xwa-product-details-card dl{margin:0}
.xwa-product-details-card dl>div{display:grid;grid-template-columns:minmax(100px,.7fr) 1.3fr;gap:16px;padding:10px 0;border-top:1px solid #eef1f6;font-size:12px;line-height:1.5}
.xwa-product-details-card dt{color:var(--muted);font-weight:500}
.xwa-product-details-card dd{margin:0;color:var(--ink);font-weight:700;overflow-wrap:anywhere}
.xwa-product-description{margin-top:64px;padding-top:36px;border-top:1px solid var(--line)}
.xwa-description-heading span{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:var(--brand);font-weight:850}
.xwa-description-heading h2{font-size:clamp(25px,3vw,34px);letter-spacing:-.8px;margin:8px 0 20px;color:var(--ink)}
.xwa-description-content{max-width:850px;color:#5e6c80;line-height:1.85}
.xwa-product-description .woocommerce-tabs{margin-top:40px}
.xwa-product-description .woocommerce-tabs ul.tabs{padding:0!important;display:flex;gap:22px;border-bottom:1px solid var(--line)}
.xwa-product-description .woocommerce-tabs ul.tabs:before,.xwa-product-description .woocommerce-tabs ul.tabs li:before,.xwa-product-description .woocommerce-tabs ul.tabs li:after{display:none!important}
.xwa-product-description .woocommerce-tabs ul.tabs li{background:transparent!important;border:0!important;margin:0!important;padding:0 0 12px!important}
.xwa-product-description .woocommerce-tabs ul.tabs li.active{border-bottom:2px solid var(--brand)!important}
.xwa-product-description .woocommerce-tabs ul.tabs li a{font-size:13px;color:var(--muted)!important;font-weight:700}
.xwa-product-description .woocommerce-tabs ul.tabs li.active a{color:var(--brand)!important}
.xwa-product-description .related.products{margin-top:56px}
.xwa-product-description .related.products>h2{font-size:26px;letter-spacing:-.7px;margin-bottom:22px}
.xwa-product-page .woocommerce-message,.xwa-product-page .woocommerce-error,.xwa-product-page .woocommerce-info{border-radius:12px;border-top-color:var(--brand)}
@media(max-width:850px){.xwa-product-layout{grid-template-columns:minmax(0,1fr);gap:32px}.xwa-product-gallery .woocommerce-product-gallery__wrapper{padding:18px}.xwa-product-gallery .woocommerce-product-gallery__image img{max-height:480px}.xwa-product-info .product_title{font-size:34px!important}.xwa-product-description{margin-top:42px;padding-top:28px}}
@media(max-width:520px){.xwa-product-page{padding-top:18px;padding-bottom:40px}.xwa-product-page .woocommerce-breadcrumb{margin-bottom:18px!important}.xwa-product-info .product_title{font-size:29px!important;letter-spacing:-1px}.xwa-product-info .price{font-size:25px!important}.xwa-product-info .cart{gap:9px}.xwa-product-info .single_add_to_cart_button{flex:1;padding:0 14px!important}.xwa-product-details-card{padding:15px}.xwa-product-details-card dl>div{grid-template-columns:105px minmax(0,1fr);gap:10px}.xwa-product-description .woocommerce-tabs ul.tabs{gap:15px;overflow-x:auto}.xwa-product-description .woocommerce-tabs ul.tabs li a{white-space:nowrap}}


/* Flexible modern widget areas */
.xwa-eyebrow{display:inline-block;color:var(--brand);font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
.xwa-home-widget-section{background:linear-gradient(180deg,#f7f9fc 0%,#fff 100%);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.xwa-home-widget-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.xwa-widget{min-width:0;background:#fff;border:1px solid var(--line);border-radius:20px;padding:23px;box-shadow:0 8px 28px rgba(20,36,59,.035)}
.xwa-widget .widget-title{font-size:16px;letter-spacing:-.25px;margin:0 0 13px;color:var(--ink)}
.xwa-widget p{color:var(--muted);font-size:14px;margin:8px 0}
.xwa-widget ul{list-style:none;padding:0;margin:0}
.xwa-widget li{padding:9px 0;border-bottom:1px solid #eef1f6;font-size:14px}
.xwa-widget li:last-child{border-bottom:0}
.xwa-widget a{font-weight:650}
.xwa-widget select,.xwa-widget input[type=search],.xwa-widget input[type=text]{width:100%;min-height:44px}
.xwa-footer .xwa-widget{background:transparent;border:0;box-shadow:none;padding:0;border-radius:0}
.xwa-footer .xwa-widget .widget-title,.xwa-footer .xwa-widget h2{color:#fff;font-size:15px;margin:0 0 12px}
.xwa-footer .xwa-widget p,.xwa-footer .xwa-widget a,.xwa-footer .xwa-widget li{color:#c0d0d8;font-size:13px}
.xwa-footer .xwa-widget li{border-color:#ffffff1c}
@media(max-width:850px){.xwa-home-widget-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.xwa-home-widget-grid{grid-template-columns:1fr}.xwa-widget{padding:19px}}
