/* Asshal Pro — main.css (mirrors React preview, WooCommerce + Elementor ready) */
:root{
  --primary:#1e7df5;
  --primary-700:#1664c9;
  --primary-50:#eaf2ff;
  --accent:#0ea672;
  --bg:#f7f9fc;
  --surface:#ffffff;
  --text:#0f172a;
  --muted:#5b6b81;
  --border:#e6ecf3;
  --shadow:0 8px 24px rgba(15,23,42,.08);
  --shadow-lg:0 24px 60px -20px rgba(30,125,245,.35);
  --radius:14px;
  --radius-lg:22px;
  --container:1240px;
  --font:'Tajawal','Cairo',system-ui,-apple-system,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.7;direction:rtl;text-align:right}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .2s}
a:hover{color:var(--primary)}
button{font-family:inherit;cursor:pointer;border:0;background:transparent;color:inherit}
input,select,textarea{font-family:inherit}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}

/* SAR */
.sar-symbol{display:inline-block;vertical-align:-2px;fill:currentColor;height:1em;width:auto}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 22px;border-radius:999px;font-weight:700;border:1.5px solid transparent;transition:all .25s ease;font-size:15px;cursor:pointer;text-decoration:none}
.btn-primary{background:linear-gradient(135deg,var(--primary),#3a92ff);color:#fff;box-shadow:var(--shadow-lg)}
.btn-primary:hover{transform:translateY(-2px);filter:brightness(1.05);color:#fff}
.btn-ghost{background:transparent;border-color:var(--border);color:var(--text)}
.btn-ghost:hover{background:var(--primary-50);border-color:var(--primary);color:var(--primary)}
.btn-light{background:#fff;color:var(--primary)}
.btn-light:hover{transform:translateY(-2px);color:var(--primary)}
.btn-sm{padding:8px 14px;font-size:13px}
.btn-block{display:flex;width:100%}

/* Announcement bar */
.announcement-bar{background:linear-gradient(90deg,var(--primary),var(--accent));color:#fff;font-weight:700;font-size:13px}
.ann-inner{display:flex;align-items:center;justify-content:center;gap:12px;min-height:38px;padding:6px 20px;position:relative}
.ann-text{text-align:center}
.ann-close{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.18);color:#fff;display:grid;place-items:center;cursor:pointer;transition:.2s}
.ann-close:hover{background:rgba(255,255,255,.32)}

/* Header */
.site-header{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100}
.header-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:14px 20px;max-width:var(--container);margin:0 auto}
.site-title{display:flex;align-items:center;gap:10px;white-space:nowrap}
.site-logo,.site-title img,.custom-logo{height:44px;width:auto;max-height:44px;display:block;object-fit:contain}

.header-search{position:relative;display:flex;align-items:center}
.header-search input{width:100%;padding:13px 18px 13px 50px;border:1.5px solid var(--border);border-radius:999px;background:#f3f6fa;font-size:15px;outline:none;transition:all .2s}
.header-search input:focus{border-color:var(--primary);background:#fff;box-shadow:0 0 0 4px var(--primary-50)}
.header-search button{position:absolute;left:6px;top:50%;transform:translateY(-50%);background:var(--primary);color:#fff;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:none}
.header-search button:hover{background:var(--primary-700)}

.header-actions{display:flex;align-items:center;gap:10px}
.ha-link,.ha-cart{position:relative;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#f3f6fa;color:var(--text);transition:all .2s;cursor:pointer}
.ha-link:hover,.ha-cart:hover{background:var(--primary);color:#fff}
.cart-count{position:absolute;top:-4px;left:-4px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;border-radius:999px;display:grid;place-items:center;padding:0 5px;border:2px solid #fff}
.menu-toggle{display:none;width:44px;height:44px;border-radius:50%;background:#f3f6fa;align-items:center;justify-content:center;color:var(--text);transition:.2s;border:none}
.menu-toggle.is-open{background:var(--primary);color:#fff}

/* Nav */
.primary-nav{background:linear-gradient(90deg,#fff,#f3f6fa);border-bottom:1px solid var(--border)}
.nav-menu{display:flex;list-style:none;margin:0;padding:0;gap:4px;flex-wrap:wrap;justify-content:center;align-items:center}
.nav-menu li{position:relative}
.nav-menu a{display:block;padding:14px 14px;font-weight:600;font-size:14px;color:var(--text);border-bottom:2px solid transparent;transition:.2s;cursor:pointer}
.nav-menu a:hover,.nav-menu .current-menu-item>a,.nav-menu .current_page_item>a,.nav-menu .active{color:var(--primary);border-bottom-color:var(--primary)}
.nav-menu .sub-menu{position:absolute;top:100%;right:0;background:#fff;list-style:none;margin:0;padding:8px 0;min-width:200px;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s;z-index:120}
.nav-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.nav-menu .sub-menu a{padding:8px 16px;border:none;font-size:13px}
.menu-overlay{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:150;backdrop-filter:blur(2px)}

/* Hero */
.hero{padding:60px 0 70px;background:radial-gradient(1200px 500px at 100% 0%,#dceaff 0,transparent 60%),radial-gradient(900px 500px at 0% 100%,#e8f7f1 0,transparent 60%),var(--bg)}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}
.eyebrow{display:inline-block;background:var(--primary-50);color:var(--primary-700);padding:6px 14px;border-radius:999px;font-weight:700;font-size:13px;margin-bottom:18px}
.hero-text h1{font-size:clamp(28px,4.4vw,52px);line-height:1.2;margin:0 0 16px;font-weight:800;letter-spacing:-.5px}
.hero-text p{font-size:17px;color:var(--muted);margin:0 0 26px;max-width:560px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.hero-trust{display:flex;gap:30px;margin-top:32px;flex-wrap:wrap}
.hero-trust strong{display:block;font-size:24px;color:var(--primary);font-weight:800}
.hero-trust span{color:var(--muted);font-size:14px}
.hero-card{position:relative;background:linear-gradient(135deg,#1e7df5,#0ea672);border-radius:var(--radius-lg);padding:36px;color:#fff;box-shadow:var(--shadow-lg);min-height:320px}
.hero-card-inner{display:grid;gap:14px}
.hcard-row{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.14);padding:14px 18px;border-radius:14px;font-weight:600}
.hcard-row .ic{font-size:24px}
.floating-badge{position:absolute;background:#fff;color:var(--text);padding:10px 16px;border-radius:999px;font-weight:700;font-size:14px;box-shadow:var(--shadow);animation:float 4s ease-in-out infinite}
.fb-1{top:-14px;right:24px}
.fb-2{bottom:-14px;left:24px;animation-delay:1.5s}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* Features */
.features{padding:40px 0}
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.feature{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px;text-align:center;transition:.25s}
.feature:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--primary-50)}
.feature .fi{font-size:32px;margin-bottom:10px}
.feature h4{margin:0 0 6px;font-size:17px;font-weight:700}
.feature p{margin:0;color:var(--muted);font-size:14px}

/* Sections */
.section{padding:60px 0}
.section-alt{background:#fff;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:16px;flex-wrap:wrap}
.section-head h2{font-size:clamp(22px,3vw,32px);font-weight:800;margin:0}
.link-more{color:var(--primary);font-weight:700;cursor:pointer;background:none;border:none;font-size:14px}

/* Categories */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cat{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px;text-align:center;transition:.25s;cursor:pointer;display:block;width:100%;color:var(--text)}
.cat:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:transparent;color:var(--text)}
.cat .ci{width:64px;height:64px;border-radius:16px;background:var(--primary-50);color:var(--primary);display:grid;place-items:center;font-size:28px;margin:0 auto 12px}
.cat h4{margin:0 0 4px;font-size:16px;font-weight:700}
.cat span{color:var(--muted);font-size:13px}

/* Product grid */
.product-grid,ul.products{display:grid !important;grid-template-columns:repeat(4,1fr);gap:20px;list-style:none;padding:0;margin:0}
.product-grid.cols-3,ul.products.columns-3{grid-template-columns:repeat(3,1fr)}
ul.products.columns-2{grid-template-columns:repeat(2,1fr)}
.product,ul.products li.product{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:.25s;position:relative;cursor:pointer;display:flex;flex-direction:column;width:auto !important;margin:0 !important;padding:0 !important;float:none !important}
.product:hover,ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:transparent}
.product .thumb{position:relative;aspect-ratio:1;background:linear-gradient(135deg,#f3f6fa,#e8eef5);display:grid;place-items:center;font-size:64px;overflow:hidden}
.product .thumb-ic{font-size:64px;line-height:1}
.product .thumb img,ul.products li.product img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;margin:0}
.product .badge-sale,ul.products li.product .onsale{position:absolute;top:10px;right:10px;left:auto;background:#ef4444;color:#fff;font-size:11px;font-weight:700;padding:4px 10px;border-radius:999px;z-index:2;letter-spacing:.3px;min-height:auto;min-width:auto;line-height:1.4}
.product-body,ul.products li.product .woocommerce-loop-product__link{padding:14px;display:flex;flex-direction:column;gap:8px;flex:1;text-decoration:none;color:inherit}
.product .cat-tag{color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.4px}
.product h3,ul.products li.product .woocommerce-loop-product__title{font-size:14px !important;font-weight:700;margin:0 !important;padding:0 !important;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em;color:var(--text)}
.product .stars{color:#f59e0b;font-size:12px;display:flex;align-items:center;gap:6px}
.product .stars em{color:var(--muted);font-style:normal;font-size:11px}
.product .price,ul.products li.product .price{display:flex;align-items:baseline;gap:8px;margin-top:auto;color:var(--primary) !important;font-weight:800;font-size:17px}
.product .price .new,ul.products li.product .price ins{color:var(--primary);font-weight:800;font-size:17px;text-decoration:none;background:transparent}
.product .price .old,ul.products li.product .price del{color:#94a3b8 !important;text-decoration:line-through;font-size:13px;font-weight:500;opacity:1}
.product .add,ul.products li.product .button{display:flex !important;align-items:center;justify-content:center;gap:6px;width:100%;background:var(--primary);color:#fff !important;padding:10px;border-radius:10px;font-weight:700;font-size:13px;text-align:center;transition:.2s;cursor:pointer;border:none;margin-top:8px;text-decoration:none;font-family:inherit}
.product .add:hover,ul.products li.product .button:hover{background:var(--primary-700);color:#fff !important}
.product .add svg{width:16px;height:16px}

/* Page head */
.page-head{background:linear-gradient(135deg,#eaf2ff,#e8f7f1);padding:38px 0;border-bottom:1px solid var(--border)}
.page-head h1{margin:6px 0 4px;font-size:clamp(24px,4vw,36px);font-weight:800}
.page-head p{margin:0;color:var(--muted)}
.breadcrumbs,.woocommerce-breadcrumb{font-size:13px;color:var(--muted)}
.breadcrumbs a,.woocommerce-breadcrumb a{color:var(--primary)}
.breadcrumbs span{margin:0 4px}

/* Shop layout */
.shop-layout{display:grid;grid-template-columns:280px 1fr;gap:30px;align-items:start}
.shop-sidebar{display:grid;gap:18px;position:sticky;top:80px}
.filter-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.filter-card h4{margin:0 0 14px;font-size:16px;font-weight:700;padding-bottom:10px;border-bottom:1px solid var(--border)}

/* Cart page */
.cart-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:8px}
.cart-empty{text-align:center;padding:40px 20px}
.cart-empty .ce-ic{font-size:60px;margin-bottom:10px}
.cart-row{display:grid;grid-template-columns:80px 1fr auto auto auto;align-items:center;gap:14px;padding:14px;border-bottom:1px solid var(--border)}
.cart-row:last-child{border-bottom:none}
.cart-thumb{width:80px;height:80px;border-radius:12px;background:linear-gradient(135deg,#f3f6fa,#e8eef5);display:grid;place-items:center;font-size:36px;overflow:hidden}
.cart-thumb img{width:100%;height:100%;object-fit:cover}
.cart-meta h4{margin:4px 0 0;font-size:14px;font-weight:700;line-height:1.45}
.cart-meta .cat-tag{color:var(--muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.4px}
.cart-price-mob{display:none;align-items:baseline;gap:8px;margin-top:4px}
.cart-line-total{font-weight:800;color:var(--primary);font-size:16px;white-space:nowrap}
.cart-remove{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#fef2f2;color:#ef4444;border:none;transition:.2s}
.cart-remove:hover{background:#ef4444;color:#fff}
.cart-actions{padding:14px;display:flex;justify-content:flex-start}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--border);border-radius:999px;overflow:hidden;background:#fff}
.qty button{width:34px;height:36px;background:#f3f6fa;color:var(--text);font-size:16px;font-weight:800}
.qty input{width:42px;height:36px;border:0;outline:none;text-align:center;font-weight:700;font-size:14px;background:transparent}

/* Checkout */
.checkout-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;align-items:start}
.card-block{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin-bottom:20px}
.card-block h3{margin:0 0 18px;font-size:18px;font-weight:800;padding-bottom:12px;border-bottom:1px solid var(--border)}
.field{display:grid;gap:6px;margin-bottom:14px}
.field label{font-size:13px;font-weight:700;color:var(--text)}
.field input,.field select,.field textarea{padding:12px 14px;border:1.5px solid var(--border);border-radius:10px;background:#f9fbfd;font-size:14px;outline:none;transition:.2s;font-family:inherit;width:100%}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);background:#fff;box-shadow:0 0 0 3px var(--primary-50)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pay-options{display:grid;gap:10px;margin-bottom:18px}
.pay-opt{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1.5px solid var(--border);border-radius:12px;cursor:pointer;transition:.2s;background:#f9fbfd}
.pay-opt:hover{border-color:var(--primary)}
.pay-opt.active{border-color:var(--primary);background:var(--primary-50)}
.pay-opt input{accent-color:var(--primary)}
.terms{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--muted)}
.terms a{color:var(--primary);font-weight:700}
.order-summary{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;position:sticky;top:80px}
.order-summary h3{margin:0 0 18px;font-size:18px;font-weight:800;padding-bottom:12px;border-bottom:1px solid var(--border)}
.totals{display:grid;gap:8px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);margin-bottom:16px}
.tr{display:flex;justify-content:space-between;font-size:14px;color:var(--muted)}
.tr strong{color:var(--text);font-weight:700}
.tr .free{color:var(--accent)}
.tr.grand{font-size:18px;padding-top:8px;border-top:1px dashed var(--border);margin-top:4px}
.tr.grand strong{color:var(--primary);font-weight:800;font-size:20px}
.secure-note{text-align:center;font-size:12px;color:var(--muted);margin-top:10px}

/* CTA */
.cta-band{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;padding:50px 0}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.cta-inner h3{margin:0 0 6px;font-size:24px;font-weight:800;color:#fff}
.cta-inner p{margin:0;opacity:.95}

/* Footer */
.site-footer{background:#0a0c10;color:#cbd5e1;margin-top:40px}
.footer-newsletter{padding:32px 0;border-bottom:1px solid rgba(255,255,255,.06);text-align:center}
.footer-newsletter h3{color:#fff;font-size:18px;font-weight:800;margin:0 0 6px}
.footer-newsletter p{color:#94a3b8;font-size:13px;margin:0 0 16px}
.nl-form{display:flex;gap:8px;max-width:480px;margin:0 auto}
.nl-form input{flex:1;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);color:#fff;border-radius:12px;padding:12px 16px;font-size:13px;outline:none;text-align:right}
.nl-form input::placeholder{color:#64748b}
.nl-form input:focus{border-color:var(--primary)}
.nl-form button{background:var(--primary);color:#fff;border:0;font-weight:700;padding:0 22px;border-radius:12px;font-size:13px;cursor:pointer;transition:filter .2s}
.nl-form button:hover{filter:brightness(1.08)}
.footer-brand{padding:36px 0 28px;text-align:center}
.footer-brand h2{color:#fff;font-size:24px;font-weight:800;margin:0 0 10px}
.footer-brand p{color:#94a3b8;font-size:13px;line-height:1.7;max-width:320px;margin:0 auto 20px}
.footer-social{display:flex;justify-content:center;gap:12px}
.footer-social a{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.05);display:grid;place-items:center;color:#cbd5e1;transition:.2s}
.footer-social a:hover{background:rgba(255,255,255,.1);color:#fff}
.footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:32px 24px;padding:8px 0 32px}
.footer-col h4{color:#fff;font-size:15px;font-weight:700;margin:0 0 14px}
.footer-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.footer-col a{color:#94a3b8;font-size:13px;transition:color .2s}
.footer-col a:hover{color:var(--primary)}
.footer-pay{padding:0 0 36px;border-top:1px solid rgba(255,255,255,.06);padding-top:24px}
.fp-title{text-align:center;color:#64748b;font-size:11px;margin:0 0 14px}
.pay-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0}
.pay-badges span{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);padding:7px 12px;border-radius:8px;font-size:10px;font-weight:700;color:#cbd5e1;letter-spacing:.3px}
.footer-bottom{background:rgba(0,0,0,.4);padding:22px 0}
.fb-inner{display:flex;flex-direction:column;align-items:center;gap:12px;color:#64748b;font-size:12px;text-align:center}
.fb-inner p{margin:0}

/* WooCommerce — buttons & forms */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce .button.alt,.woocommerce-page .button{background:var(--primary) !important;color:#fff !important;border:none !important;border-radius:999px !important;padding:12px 22px !important;font-weight:700 !important;font-size:14px !important;font-family:inherit !important;transition:.2s;text-shadow:none !important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce .button.alt:hover{background:var(--primary-700) !important;color:#fff !important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{padding:12px 14px;border:1.5px solid var(--border);border-radius:10px;background:#f9fbfd;font-size:14px;font-family:inherit;outline:none;transition:.2s;width:100%}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus{border-color:var(--primary);background:#fff;box-shadow:0 0 0 3px var(--primary-50)}
.woocommerce-info,.woocommerce-message,.woocommerce-error{border-top-color:var(--primary) !important;background:#fff !important;border-radius:12px;font-family:inherit;color:var(--text)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--primary) !important}
.woocommerce nav.woocommerce-pagination ul{border:none !important;display:flex;gap:8px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:none !important}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#fff;border:1px solid var(--border) !important;font-weight:700;color:var(--text);padding:0 !important}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--primary) !important;color:#fff !important;border-color:var(--primary) !important}
.woocommerce table.shop_table{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;border-collapse:separate;background:#fff}
.woocommerce table.shop_table th{background:#f3f6fa;color:var(--text);font-weight:700;padding:14px;text-align:right}
.woocommerce table.shop_table td{padding:14px;border-top:1px solid var(--border)}
.woocommerce ul.cart_list li img,.woocommerce ul.product_list_widget li img{width:48px;height:auto;border-radius:8px}
.woocommerce-cart .cart-collaterals,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px}
.woocommerce-cart-form{background:#fff;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.woocommerce-checkout .col2-set,.woocommerce-page .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:24px;width:100%}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:100%;float:none;max-width:none}

/* Elementor compatibility */
.elementor-button{font-family:inherit !important}
.elementor-widget-wp-widget-shopping-cart .product_list_widget,
.elementor-widget-woocommerce-cart .cart-collaterals{font-family:inherit}
body.elementor-page .site-content{padding:0}
.elementor-section,.elementor-container{font-family:inherit}

/* Responsive */
@media (max-width:1100px){
  .shop-layout{grid-template-columns:240px 1fr}
  .product-grid.cols-3,ul.products.columns-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1024px){
  .features-grid,.cat-grid{grid-template-columns:repeat(3,1fr)}
  .product-grid,ul.products{grid-template-columns:repeat(3,1fr)}
  .footer-links{grid-template-columns:repeat(3,1fr)}
  .checkout-grid,.woocommerce-checkout .col2-set{grid-template-columns:1fr}
  .order-summary{position:static}
}
@media (max-width:820px){
  .menu-toggle{display:flex}
  .header-inner{grid-template-columns:1fr auto;gap:10px;padding:12px 16px}
  .site-logo,.custom-logo{height:36px;max-height:36px}
  .header-search{order:5;grid-column:1/-1;margin-top:4px}
  .header-search input{padding:11px 16px 11px 48px;font-size:14px}
  .header-search button{width:38px;height:38px}
  .header-actions{gap:6px}
  .ha-link,.ha-cart{width:40px;height:40px}
  .primary-nav{position:fixed;top:0;left:-300px;bottom:0;width:280px;background:#fff;z-index:200;transition:left .3s ease;box-shadow:10px 0 30px rgba(0,0,0,.12);overflow-y:auto}
  .primary-nav.open{left:0}
  .primary-nav .container{padding:64px 0 20px}
  .nav-menu{flex-direction:column;gap:0;align-items:stretch;justify-content:flex-start}
  .nav-menu a{padding:14px 24px;border-bottom:1px solid var(--border);text-align:right}
  .nav-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:none;border-radius:0;background:#f9fbfd;padding:0}
  .hero{padding:40px 0 50px}
  .hero-grid{grid-template-columns:1fr;gap:30px}
  .hero-card{order:-1;min-height:auto;padding:28px}
  .features-grid,.cat-grid{grid-template-columns:repeat(2,1fr)}
  .product-grid,.product-grid.cols-3,ul.products,ul.products.columns-3,ul.products.columns-4{grid-template-columns:repeat(2,1fr) !important;gap:12px}
  .product .thumb-ic{font-size:48px}
  .product-body,ul.products li.product .woocommerce-loop-product__link{padding:12px;gap:6px}
  .product h3,ul.products li.product .woocommerce-loop-product__title{font-size:13px !important;min-height:2.8em}
  .product .price .new,ul.products li.product .price ins{font-size:15px}
  .product .add,ul.products li.product .button{font-size:12px;padding:9px}
  .cta-inner{flex-direction:column;text-align:center}
  .grid-2{grid-template-columns:1fr}
  .section{padding:40px 0}
  .footer-links{grid-template-columns:repeat(2,1fr)}
  .cart-row{grid-template-columns:64px 1fr auto;grid-template-areas:"thumb meta remove" "qty qty total";gap:10px;padding:12px}
  .cart-thumb{grid-area:thumb;width:64px;height:64px;font-size:30px}
  .cart-meta{grid-area:meta}
  .cart-remove{grid-area:remove;align-self:start}
  .qty{grid-area:qty;justify-self:start}
  .cart-line-total{grid-area:total;justify-self:end}
  .cart-price-mob{display:flex}
}
@media (max-width:480px){
  .nav-menu a{font-size:14px}
  .ann-text{font-size:12px}
}

/* === v1.3 mobile fixes === */
/* Force WooCommerce shop loop into clean grid (kill .first/.last floats) */
.woocommerce ul.products,
.woocommerce-page ul.products{display:grid !important;float:none !important}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{clear:none !important;float:none !important;width:auto !important;margin:0 !important}
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last{clear:none !important;margin:0 !important}

/* Add-to-cart button: never become a circle */
ul.products li.product .button,
.product .button,
.product .add{
  display:block !important;
  width:100% !important;
  border-radius:10px !important;
  white-space:normal;
  line-height:1.3;
  margin:10px 12px 12px !important;
  padding:10px 12px !important;
  text-align:center;
  max-width:calc(100% - 24px);
  box-sizing:border-box;
}
ul.products li.product{padding-bottom:4px !important}

/* Fix product title clamp */
ul.products li.product .woocommerce-loop-product__title,
.product h3{
  display:-webkit-box !important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:2.6em !important;
  font-size:14px !important;
  margin:8px 12px 4px !important;
  text-align:center;
}
ul.products li.product .price,
.product .price{
  text-align:center;
  margin:6px 12px !important;
  font-size:14px;
}
ul.products li.product .price ins{font-weight:800;text-decoration:none;color:var(--primary)}
ul.products li.product .price del{color:var(--muted);font-size:12px;display:block;margin-bottom:2px}

/* Hero card: tighter on mobile */
@media (max-width:820px){
  .hero-card{padding:20px !important;border-radius:18px}
  .hcard-row{padding:10px 14px;font-size:14px;gap:10px}
  .hcard-row .ic{font-size:18px}
  .hero-card-inner{gap:10px}
  .floating-badge{font-size:12px;padding:7px 12px}
  .fb-1{top:-10px;right:14px}
  .fb-2{bottom:-10px;left:14px}
  /* Mobile shop: enforce 2-col with smaller gaps */
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    grid-template-columns:repeat(2,1fr) !important;
    gap:10px !important;
  }
  .woocommerce ul.products li.product .onsale{
    font-size:10px;padding:3px 8px;top:8px;right:8px;
  }
}
@media (max-width:380px){
  .hero-text h1{font-size:22px}
  .hero-text p{font-size:14px}
}

/* === v1.4 — header logo RTL + bulletproof product grid === */
/* Header: force flex RTL so logo sits on RIGHT, actions on LEFT */
.header-inner{direction:rtl}
@media (max-width:820px){
  .header-inner{
    display:flex !important;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:12px 16px;
  }
  .site-title{order:0;margin:0}
  .header-actions{order:1;margin:0}
  .header-search{order:2;flex:1 0 100%}
}

/* Bulletproof Woo product grid — kill every default float/width WC injects */
.woocommerce .products,
.woocommerce-page .products,
ul.products{
  display:grid !important;
  grid-template-columns:repeat(2,1fr) !important;
  gap:12px !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
  float:none !important;
}
@media (min-width:768px){
  ul.products,.woocommerce ul.products,.woocommerce-page ul.products{
    grid-template-columns:repeat(3,1fr) !important;gap:18px !important;
  }
}
@media (min-width:1100px){
  ul.products,.woocommerce ul.products,.woocommerce-page ul.products{
    grid-template-columns:repeat(4,1fr) !important;gap:20px !important;
  }
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product,
ul.products li.product.first,
ul.products li.product.last{
  width:auto !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:none !important;
  display:flex !important;
  flex-direction:column;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  position:relative;
}

/* Card image */
ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product .woocommerce-loop-product__link{
  display:block;padding:0;text-align:center;color:inherit;
}
ul.products li.product img{
  width:100% !important;height:auto !important;aspect-ratio:1 !important;
  object-fit:contain !important;background:#f7f9fc;padding:14px;margin:0 !important;
}

/* Title — allow 2 lines, no aggressive truncation */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2,
ul.products li.product h3{
  font-size:14px !important;font-weight:700 !important;
  margin:6px 12px 4px !important;padding:0 !important;
  text-align:center;line-height:1.4;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;min-height:2.6em;
}

/* Price layout — old/new on same row */
ul.products li.product .price{
  display:flex !important;align-items:center;justify-content:center;gap:8px;
  margin:4px 12px 8px !important;font-size:14px;flex-wrap:wrap;
}
ul.products li.product .price del{
  color:var(--muted);text-decoration:line-through;font-size:12px;opacity:.7;order:2;
}
ul.products li.product .price ins{
  background:none !important;color:var(--primary) !important;
  font-weight:800;font-size:16px;text-decoration:none;order:1;
}

/* Add-to-cart: full-width pill, never circle */
ul.products li.product .button,
ul.products li.product a.add_to_cart_button,
ul.products li.product .added_to_cart{
  display:flex !important;align-items:center;justify-content:center;gap:6px;
  width:calc(100% - 20px) !important;
  margin:auto 10px 10px !important;
  padding:10px 12px !important;
  border-radius:10px !important;
  font-size:13px !important;font-weight:700 !important;
  white-space:normal !important;line-height:1.3 !important;
  background:var(--primary) !important;color:#fff !important;
  text-align:center;box-sizing:border-box;
}

/* Sale badge — discount pill top-right (RTL) */
ul.products li.product .onsale{
  position:absolute !important;top:10px;right:10px;left:auto !important;
  background:#ef4444 !important;color:#fff !important;
  font-size:11px !important;font-weight:700 !important;
  padding:4px 10px !important;border-radius:999px !important;
  margin:0 !important;min-height:auto !important;line-height:1.4 !important;z-index:2;
}

/* === v1.4.1 — Elementor safety net === */
/* Elementor wraps Woo widgets in .elementor-widget-container; force same grid behavior */
.elementor-widget-woocommerce-products ul.products,
.elementor-widget-wc-archive-products ul.products,
.elementor-widget-container ul.products,
.elementor-element ul.products{
  display:grid !important;
  grid-template-columns:repeat(2,1fr) !important;
  gap:12px !important;
}
@media (min-width:768px){
  .elementor-widget-container ul.products,
  .elementor-element ul.products{grid-template-columns:repeat(3,1fr) !important;gap:18px !important}
}
@media (min-width:1100px){
  .elementor-widget-container ul.products,
  .elementor-element ul.products{grid-template-columns:repeat(4,1fr) !important;gap:20px !important}
}
.elementor-widget-container ul.products li.product,
.elementor-element ul.products li.product{
  width:auto !important;float:none !important;clear:none !important;margin:0 !important;
}
/* Elementor sometimes injects flex on parent — make sure our header flex wins */
body .header-inner{direction:rtl !important}
body.elementor-page .site-header{position:sticky;top:0;z-index:100}

/* === v1.5 — header inset + premium product cards === */
/* Header: inset logo from screen edge to align with content */
.header-inner{
  max-width:var(--container);
  margin:0 auto;
  padding-right:24px !important;
  padding-left:24px !important;
}
@media (max-width:820px){
  .header-inner{padding-right:18px !important;padding-left:18px !important}
  .site-title{padding-right:4px}
  .site-logo,.custom-logo,.site-title img{height:38px !important;max-height:38px !important}
}

/* Premium product card (matches React preview) */
ul.products,.product-grid,
.woocommerce ul.products,.woocommerce-page ul.products,
.elementor-widget-container ul.products{
  display:grid !important;
  grid-auto-rows:1fr !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
}
@media (min-width:768px){
  ul.products,.product-grid,.woocommerce ul.products,.woocommerce-page ul.products,
  .elementor-widget-container ul.products{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:18px !important}
}
@media (min-width:1100px){
  ul.products,.product-grid,.woocommerce ul.products,.woocommerce-page ul.products,
  .elementor-widget-container ul.products{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:20px !important}
}

ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.elementor-widget-container ul.products li.product{
  /* layout reset */
  width:auto !important;max-width:none !important;min-width:0 !important;
  margin:0 !important;padding:0 !important;
  float:none !important;clear:none !important;
  /* card styling */
  display:flex !important;flex-direction:column !important;
  background:#fff !important;
  border:1px solid var(--border) !important;
  border-radius:16px !important;
  overflow:hidden !important;
  position:relative !important;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
  height:100%;
}
ul.products li.product:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px -12px rgba(15,23,42,.18);
  border-color:transparent !important;
}

/* Image area — controlled height, no oversize */
ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product .woocommerce-loop-product__link{
  display:flex !important;flex-direction:column;flex:1;
  text-decoration:none !important;color:inherit !important;
}
ul.products li.product img{
  width:100% !important;
  aspect-ratio:1/1 !important;
  height:auto !important;max-height:180px;
  object-fit:contain !important;
  background:linear-gradient(135deg,#f7f9fc,#eef2f7) !important;
  padding:18px !important;margin:0 !important;
  box-sizing:border-box;
  border-bottom:1px solid var(--border);
}

/* Title — fixed 2 lines, comfortable size */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product h3{
  font-size:14px !important;font-weight:700 !important;
  color:var(--text) !important;
  margin:10px 12px 4px !important;padding:0 !important;
  text-align:center;line-height:1.45;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  min-height:2.9em !important;max-height:2.9em;
}

/* Price */
ul.products li.product .price{
  display:flex !important;align-items:baseline !important;
  justify-content:center !important;gap:8px !important;
  margin:4px 12px 10px !important;flex-wrap:wrap !important;
}
ul.products li.product .price ins{
  background:none !important;color:var(--primary) !important;
  font-weight:800 !important;font-size:16px !important;
  text-decoration:none !important;order:1;
}
ul.products li.product .price del{
  color:var(--muted) !important;font-size:12px !important;
  opacity:.7;order:2;text-decoration:line-through;
}
ul.products li.product .price > span:not(ins):not(del){
  color:var(--primary);font-weight:800;font-size:16px;
}

/* Button — full width pill, fixed height */
ul.products li.product .button,
ul.products li.product a.add_to_cart_button{
  display:flex !important;align-items:center !important;justify-content:center !important;
  gap:6px !important;
  width:calc(100% - 20px) !important;
  height:40px !important;min-height:40px !important;
  margin:auto 10px 12px !important;
  padding:0 12px !important;
  border-radius:10px !important;
  font-size:13px !important;font-weight:700 !important;
  white-space:nowrap !important;line-height:1 !important;
  background:var(--primary) !important;color:#fff !important;
  text-align:center !important;box-sizing:border-box !important;
  border:none !important;
}
ul.products li.product .button:hover{background:var(--primary-700) !important}

/* Sale badge */
ul.products li.product .onsale{
  position:absolute !important;top:10px;right:10px;left:auto !important;
  background:#ef4444 !important;color:#fff !important;
  font-size:10px !important;font-weight:700 !important;
  padding:4px 9px !important;border-radius:999px !important;
  margin:0 !important;min-height:0 !important;line-height:1.3 !important;z-index:3;
}

/* Star rating compact */
ul.products li.product .star-rating{
  margin:0 auto 6px !important;font-size:12px !important;
}

@media (max-width:480px){
  ul.products li.product img{max-height:140px;padding:14px !important}
  ul.products li.product .woocommerce-loop-product__title,
  ul.products li.product h3{font-size:13px !important}
  ul.products li.product .price ins{font-size:15px !important}
  ul.products li.product .button{height:38px !important;font-size:12px !important}
}

/* === v1.5.1 — refined logo balance === */
/* Tighter, more balanced logo sizing & spacing */
.site-header .header-inner{
  grid-template-columns:auto 1fr auto !important;
  gap:20px !important;
  align-items:center;
  padding:10px 24px !important;
}
.site-title{
  display:flex !important;align-items:center;
  max-height:52px;line-height:1;
  margin:0 !important;padding:0 !important;
}
.site-logo,.custom-logo,.site-title img,.custom-logo-link img{
  height:40px !important;max-height:40px !important;width:auto !important;
  object-fit:contain;display:block;
  transition:transform .2s ease;
}
.site-title:hover .site-logo,
.site-title:hover .custom-logo,
.custom-logo-link:hover img{transform:scale(1.04)}

/* Keep search compact so logo+actions never wrap on desktop */
.header-search{max-width:520px;width:100%;justify-self:center}

@media (max-width:820px){
  .site-header .header-inner{
    display:flex !important;flex-wrap:wrap;
    justify-content:space-between;align-items:center;
    padding:8px 14px !important;gap:8px !important;
  }
  .site-logo,.custom-logo,.site-title img,.custom-logo-link img{
    height:34px !important;max-height:34px !important;
  }
  .site-title{order:0;flex:0 0 auto}
  .header-actions{order:1;flex:0 0 auto;gap:6px}
  .header-search{order:2;flex:1 0 100%;max-width:100%;margin-top:4px}
}
@media (max-width:480px){
  .site-logo,.custom-logo,.site-title img,.custom-logo-link img{
    height:30px !important;max-height:30px !important;
  }
}

/* === v1.5.2 — header bulletproof one-row layout === */
/* Force flex everywhere so RTL ordering is reliable across themes/plugins */
.site-header .header-inner,
body .site-header .header-inner,
body.elementor-page .site-header .header-inner{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  direction:rtl !important;
  padding:10px 24px !important;
  max-width:var(--container);
  margin:0 auto;
}
/* Order: logo (right) -> search (center, grows) -> actions (left) */
.site-header .site-title{order:1 !important;flex:0 0 auto !important;margin:0 !important}
.site-header .header-search{
  order:2 !important;flex:1 1 auto !important;
  min-width:0 !important;max-width:560px !important;
  margin:0 auto !important;
}
.site-header .header-actions{order:3 !important;flex:0 0 auto !important;margin:0 !important;gap:10px}

/* Logo sizing — refined */
.site-logo,.custom-logo,.site-title img,.custom-logo-link img{
  height:42px !important;max-height:42px !important;width:auto !important;
  object-fit:contain !important;display:block !important;
}

/* Tablet/Mobile: wrap search to second row, keep logo+actions on first */
@media (max-width:820px){
  .site-header .header-inner{
    flex-wrap:wrap !important;
    padding:8px 14px !important;gap:8px !important;
  }
  .site-header .site-title{order:1 !important;flex:0 0 auto !important}
  .site-header .header-actions{order:2 !important;flex:0 0 auto !important;gap:6px}
  .site-header .header-search{order:3 !important;flex:1 1 100% !important;max-width:100% !important;margin-top:4px !important}
  .site-logo,.custom-logo,.site-title img,.custom-logo-link img{
    height:34px !important;max-height:34px !important;
  }
}
@media (max-width:480px){
  .site-logo,.custom-logo,.site-title img,.custom-logo-link img{
    height:30px !important;max-height:30px !important;
  }
}

/* === v1.5.3 — front-page products grid hard fix === */
/* Many caching/optimization plugins (FlyingPress, etc.) inject inline styles
   that override grid. Force max specificity so our grid always wins. */
html body .section ul.products,
html body .section .products,
html body .section .product-grid,
html body section ul.products,
html body .container ul.products,
html body ul.products.product-grid,
html body ul.products.columns-4,
html body ul.products.columns-3,
html body ul.products.columns-2,
html body .woocommerce ul.products,
html body .woocommerce-page ul.products,
html body .elementor-widget-container ul.products{
  display:grid !important;
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-auto-rows:1fr !important;
  gap:14px !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
  float:none !important;
}
@media (min-width:768px){
  html body .section ul.products,
  html body .section .product-grid,
  html body ul.products.product-grid,
  html body ul.products.columns-4,
  html body ul.products.columns-3,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .elementor-widget-container ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px !important;
  }
}
@media (min-width:1100px){
  html body .section ul.products,
  html body .section .product-grid,
  html body ul.products.product-grid,
  html body ul.products.columns-4,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .elementor-widget-container ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:20px !important;
  }
}
/* Force every product card to fill its grid cell, no shrink-to-content */
html body ul.products li.product,
html body ul.products li.product.first,
html body ul.products li.product.last,
html body .woocommerce ul.products li.product,
html body .woocommerce-page ul.products li.product{
  width:auto !important;
  min-width:0 !important;
  max-width:100% !important;
  float:none !important;
  clear:none !important;
  margin:0 !important;
  flex:1 1 auto !important;
}
/* Make sure the section wrapper is full width */
html body .section,html body .section-alt{width:100%}
html body .section > .container,html body .section-alt > .container{
  max-width:var(--container) !important;width:100% !important;margin:0 auto !important;
}

/* === v1.5.4 — footer logo === */
.footer-brand{text-align:center;margin:24px 0}
.footer-logo-link{display:inline-block;line-height:0}
.footer-logo{
  height:54px;width:auto;max-height:54px;
  object-fit:contain;display:block;margin:0 auto 12px;
  filter:brightness(1.05);
}
.footer-brand p{color:rgba(255,255,255,.7);font-size:14px;margin:8px auto 0;max-width:520px}
@media (max-width:600px){
  .footer-logo{height:44px;max-height:44px}
}

/* === v1.5.5 — products grid: NUCLEAR specificity + JS fallback hook === */
/* Use attribute selectors for higher specificity than any .class !important */
html body ul[class*="products"],
html body ul.products[class],
html body .section ul[class*="products"],
html body .section-alt ul[class*="products"],
html body .container ul[class*="products"],
html body[class] ul.products,
html body[class] .product-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-auto-rows:1fr !important;
  gap:14px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:100% !important;
  box-sizing:border-box !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  inset:auto !important;
  justify-content:stretch !important;
  justify-items:stretch !important;
  flex:1 1 100% !important;
  text-align:initial !important;
}
@media (min-width:768px){
  html body ul[class*="products"],
  html body ul.products[class],
  html body .section ul[class*="products"],
  html body[class] ul.products,
  html body[class] .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:18px !important;
  }
}
@media (min-width:1100px){
  html body ul[class*="products"],
  html body ul.products[class],
  html body[class] .product-grid{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:20px !important;
  }
}
html body ul[class*="products"] > li.product,
html body ul.products[class] > li[class*="product"]{
  width:100% !important;min-width:0 !important;max-width:100% !important;
  float:none !important;clear:none !important;margin:0 !important;
  display:flex !important;flex-direction:column !important;
  flex:1 1 auto !important;
}


/* === v1.5.6 — final WooCommerce/Elementor product grid repair === */
/* Problem fixed: Elementor/Woo parents may shrink to content and the JS used viewport width,
   so 4 columns were forced inside a narrow right-side box. Stretch parents + use container-aware columns. */
html body .woocommerce,
html body .woocommerce-page,
html body .products,
html body .elementor-widget-woocommerce-products,
html body .elementor-widget-wc-archive-products,
html body .elementor-products-grid,
html body .elementor-widget-container:has(ul.products),
html body .elementor-element:has(ul.products),
html body .elementor-widget-wrap:has(ul.products){
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  align-self:stretch !important;
  flex-basis:100% !important;
}
html body .elementor-widget-woocommerce-products,
html body .elementor-widget-wc-archive-products,
html body .elementor-products-grid{
  display:block !important;
}
html body ul.products,
html body .woocommerce ul.products,
html body .woocommerce-page ul.products,
html body ul.products.elementor-grid,
html body .elementor-products-grid ul.products,
html body .elementor-widget-woocommerce-products ul.products,
html body .elementor-widget-wc-archive-products ul.products,
html body .elementor-widget-container ul.products{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)) !important;
  grid-auto-rows:1fr !important;
  gap:20px !important;
  width:100% !important;
  inline-size:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  float:none !important;
  clear:both !important;
  justify-content:stretch !important;
  justify-items:stretch !important;
  align-items:stretch !important;
  direction:rtl !important;
}
@media (max-width:767px){
  html body ul.products,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .elementor-products-grid ul.products,
  html body .elementor-widget-container ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }
}
@media (max-width:360px){
  html body ul.products,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .elementor-products-grid ul.products,
  html body .elementor-widget-container ul.products{
    gap:10px !important;
  }
}
html body ul.products > li.product,
html body .woocommerce ul.products > li.product,
html body .woocommerce-page ul.products > li.product,
html body .elementor-products-grid ul.products > li.product,
html body .elementor-widget-container ul.products > li.product{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:none !important;
  display:flex !important;
  flex-direction:column !important;
  background:#fff !important;
  border:1px solid var(--border) !important;
  border-radius:14px !important;
  overflow:hidden !important;
  box-shadow:0 10px 28px -22px rgba(15,23,42,.45) !important;
}
html body ul.products > li.product a.woocommerce-LoopProduct-link,
html body ul.products > li.product .woocommerce-loop-product__link{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  width:100% !important;
  color:inherit !important;
  text-align:center !important;
}
html body ul.products > li.product img{
  width:100% !important;
  height:170px !important;
  max-height:170px !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  padding:18px !important;
  margin:0 !important;
  background:#f4f7fb !important;
  border-bottom:1px solid var(--border) !important;
  box-sizing:border-box !important;
}
html body ul.products > li.product .woocommerce-loop-product__title,
html body ul.products > li.product h2.woocommerce-loop-product__title,
html body ul.products > li.product h3{
  min-height:44px !important;
  max-height:44px !important;
  margin:12px 12px 6px !important;
  padding:0 !important;
  font-size:15px !important;
  line-height:22px !important;
  font-weight:800 !important;
  text-align:center !important;
  overflow:hidden !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  word-break:normal !important;
}
html body ul.products > li.product .price{
  min-height:44px !important;
  margin:2px 12px 10px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  flex-wrap:wrap !important;
  text-align:center !important;
}
html body ul.products > li.product .button,
html body ul.products > li.product a.add_to_cart_button,
html body ul.products > li.product .added_to_cart{
  width:calc(100% - 24px) !important;
  height:42px !important;
  min-height:42px !important;
  margin:auto 12px 12px !important;
  padding:0 12px !important;
  border-radius:11px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
@media (max-width:767px){
  html body ul.products > li.product img{height:138px !important;max-height:138px !important;padding:14px !important}
  html body ul.products > li.product .woocommerce-loop-product__title,
  html body ul.products > li.product h2.woocommerce-loop-product__title,
  html body ul.products > li.product h3{font-size:13px !important;line-height:19px !important;min-height:38px !important;max-height:38px !important;margin:10px 10px 5px !important}
  html body ul.products > li.product .button,
  html body ul.products > li.product a.add_to_cart_button{width:calc(100% - 20px) !important;margin:auto 10px 10px !important;height:38px !important;min-height:38px !important;font-size:12px !important}
}


/* === v1.5.7 — break out products row from narrow Elementor/optimizer columns === */
html body .section:has(ul.products),
html body .section-alt:has(ul.products),
html body section:has(ul.products),
html body .container:has(ul.products),
html body .woocommerce:has(ul.products),
html body .elementor-section:has(ul.products),
html body .elementor-container:has(ul.products),
html body .elementor-column:has(ul.products),
html body .elementor-widget-wrap:has(ul.products),
html body .elementor-widget:has(ul.products),
html body .elementor-element:has(ul.products),
html body .elementor-widget-container:has(ul.products){
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
html body .elementor-section:has(ul.products),
html body .elementor-container:has(ul.products),
html body .elementor-column:has(ul.products),
html body .elementor-widget-wrap:has(ul.products),
html body .elementor-widget:has(ul.products),
html body .elementor-element:has(ul.products){
  flex:0 0 100% !important;
  flex-basis:100% !important;
}
html body .elementor-container:has(ul.products),
html body .elementor-widget-wrap:has(ul.products){
  display:flex !important;
  flex-wrap:wrap !important;
}
@supports (width:100vw){
  html body .section > .container > ul.products,
  html body .section > .container > .woocommerce > ul.products,
  html body .section > .container > .elementor > .elementor-section:has(ul.products) ul.products{
    width:100% !important;
  }
}


/* === v1.5.8 — match reference product cards: 3 wide cards desktop === */
html body .section:has(ul.products) > .container,
html body .section-alt:has(ul.products) > .container,
html body .woocommerce:has(ul.products),
html body .elementor-section:has(ul.products) > .elementor-container,
html body .elementor-container:has(ul.products){
  width:100% !important;
  max-width:1520px !important;
  margin-right:auto !important;
  margin-left:auto !important;
  padding-right:28px !important;
  padding-left:28px !important;
}
html body .section-head:has(+ ul.products),
html body .section-head{
  width:100% !important;
}
html body ul.products,
html body .woocommerce ul.products,
html body .woocommerce-page ul.products,
html body .elementor-products-grid ul.products,
html body .elementor-widget-woocommerce-products ul.products,
html body .elementor-widget-wc-archive-products ul.products,
html body .elementor-widget-container ul.products{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:32px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  align-items:stretch !important;
}
html body ul.products > li.product,
html body .woocommerce ul.products > li.product,
html body .woocommerce-page ul.products > li.product,
html body .elementor-products-grid ul.products > li.product,
html body .elementor-widget-container ul.products > li.product{
  min-height:790px !important;
  background:#fff !important;
  border:1px solid #dfe8f2 !important;
  border-radius:18px !important;
  overflow:hidden !important;
  box-shadow:0 18px 45px -35px rgba(15,23,42,.4) !important;
  transform:none !important;
}
html body ul.products > li.product:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 28px 60px -42px rgba(15,23,42,.55) !important;
  border-color:#d6e1ec !important;
}
html body ul.products > li.product a.woocommerce-LoopProduct-link,
html body ul.products > li.product .woocommerce-loop-product__link{
  padding:0 !important;
  gap:0 !important;
}
html body ul.products > li.product img{
  height:470px !important;
  max-height:470px !important;
  min-height:470px !important;
  width:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  padding:108px 26px !important;
  background:#edf3f8 !important;
  border-bottom:1px solid #e5edf5 !important;
}
html body ul.products > li.product .onsale{
  top:16px !important;
  right:16px !important;
  left:auto !important;
  min-width:76px !important;
  height:42px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 16px !important;
  border-radius:999px !important;
  background:#f43f46 !important;
  color:#fff !important;
  font-size:17px !important;
  line-height:1 !important;
  font-weight:800 !important;
}
html body ul.products > li.product .product-category,
html body ul.products > li.product .cat-tag,
html body ul.products > li.product .posted_in,
html body ul.products > li.product .ast-woo-product-category{
  display:block !important;
  color:#64748b !important;
  font-size:16px !important;
  font-weight:800 !important;
  letter-spacing:.04em !important;
  text-align:right !important;
  margin:28px 22px 10px !important;
  text-transform:uppercase !important;
}
html body ul.products > li.product .woocommerce-loop-product__title,
html body ul.products > li.product h2.woocommerce-loop-product__title,
html body ul.products > li.product h3{
  min-height:34px !important;
  max-height:68px !important;
  margin:0 22px 26px !important;
  font-size:23px !important;
  line-height:34px !important;
  font-weight:900 !important;
  color:#111827 !important;
  text-align:center !important;
  -webkit-line-clamp:2 !important;
}
html body ul.products > li.product .star-rating,
html body ul.products > li.product .stars{
  margin:0 22px 22px !important;
  align-self:flex-end !important;
  color:#f59e0b !important;
  font-size:15px !important;
}
html body ul.products > li.product .price{
  min-height:38px !important;
  margin:0 22px 26px !important;
  justify-content:flex-start !important;
  direction:ltr !important;
  gap:14px !important;
  font-size:30px !important;
  line-height:1.1 !important;
}
html body ul.products > li.product .price ins,
html body ul.products > li.product .price > .amount,
html body ul.products > li.product .price > span:not(del):not(ins){
  color:var(--primary) !important;
  font-size:30px !important;
  font-weight:900 !important;
  text-decoration:none !important;
}
html body ul.products > li.product .price del{
  color:#94a3b8 !important;
  font-size:22px !important;
  font-weight:700 !important;
  opacity:1 !important;
  text-decoration:line-through !important;
}
html body ul.products > li.product .button,
html body ul.products > li.product a.add_to_cart_button,
html body ul.products > li.product .added_to_cart{
  width:calc(100% - 44px) !important;
  height:66px !important;
  min-height:66px !important;
  margin:auto 22px 24px !important;
  border-radius:12px !important;
  font-size:20px !important;
  font-weight:800 !important;
  background:#2383f6 !important;
  color:#fff !important;
  box-shadow:none !important;
}
@media (max-width:1199px){
  html body ul.products,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .elementor-products-grid ul.products,
  html body .elementor-widget-container ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:22px !important;
  }
  html body ul.products > li.product{min-height:700px !important}
  html body ul.products > li.product img{height:390px !important;min-height:390px !important;max-height:390px !important;padding:82px 22px !important}
}
@media (max-width:767px){
  html body .section:has(ul.products) > .container,
  html body .section-alt:has(ul.products) > .container,
  html body .woocommerce:has(ul.products),
  html body .elementor-section:has(ul.products) > .elementor-container,
  html body .elementor-container:has(ul.products){padding-right:14px !important;padding-left:14px !important}
  html body ul.products,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .elementor-products-grid ul.products,
  html body .elementor-widget-container ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }
  html body ul.products > li.product{min-height:390px !important;border-radius:14px !important}
  html body ul.products > li.product img{height:170px !important;min-height:170px !important;max-height:170px !important;padding:34px 12px !important}
  html body ul.products > li.product .onsale{top:8px !important;right:8px !important;min-width:48px !important;height:28px !important;font-size:12px !important;padding:0 8px !important}
  html body ul.products > li.product .product-category,
  html body ul.products > li.product .cat-tag,
  html body ul.products > li.product .ast-woo-product-category{font-size:11px !important;margin:12px 10px 5px !important}
  html body ul.products > li.product .woocommerce-loop-product__title,
  html body ul.products > li.product h2.woocommerce-loop-product__title,
  html body ul.products > li.product h3{font-size:13px !important;line-height:19px !important;min-height:38px !important;max-height:38px !important;margin:0 10px 10px !important}
  html body ul.products > li.product .price{margin:0 10px 10px !important;gap:8px !important;min-height:28px !important}
  html body ul.products > li.product .price ins,
  html body ul.products > li.product .price > .amount,
  html body ul.products > li.product .price > span:not(del):not(ins){font-size:18px !important}
  html body ul.products > li.product .price del{font-size:13px !important}
  html body ul.products > li.product .button,
  html body ul.products > li.product a.add_to_cart_button{width:calc(100% - 20px) !important;height:40px !important;min-height:40px !important;margin:auto 10px 10px !important;border-radius:10px !important;font-size:12px !important}
}

/* v1.5.9 — CSS :has() force-stretch for any Elementor ancestor containing a products list */
html body .elementor-section:has(ul.products),
html body .elementor-container:has(ul.products),
html body .elementor-row:has(ul.products),
html body .elementor-column:has(ul.products),
html body .elementor-column-wrap:has(ul.products),
html body .elementor-widget-wrap:has(ul.products),
html body .elementor-widget:has(ul.products),
html body .elementor-widget-container:has(ul.products),
html body .elementor-element:has(ul.products),
html body .e-con:has(ul.products),
html body .e-con-inner:has(ul.products),
html body div:has(> ul.products),
html body div:has(> div > ul.products),
html body .woocommerce:has(ul.products),
html body .woocommerce-page:has(ul.products){
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: 1 1 100% !important;
  flex-basis: 100% !important;
  box-sizing: border-box !important;
}

/* Force the products UL itself to display as grid no matter what */
html body ul.products,
html body ul[class*="products"]{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1520px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
  direction: rtl !important;
}
@media (max-width: 1199px){
  html body ul.products,
  html body ul[class*="products"]{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}
@media (max-width: 600px){
  html body ul.products,
  html body ul[class*="products"]{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 8px !important;
  }
}
html body ul.products > li.product,
html body ul[class*="products"] > li[class*="product"]{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
}

/* === v1.6.0 — rebuilt products section: one final source of truth === */
html body .section:has(ul.products) > .container,
html body .section-alt:has(ul.products) > .container,
html body .woocommerce:has(ul.products),
html body .woocommerce-page:has(ul.products),
html body .elementor-section:has(ul.products),
html body .elementor-container:has(ul.products),
html body .elementor-row:has(ul.products),
html body .elementor-column:has(ul.products),
html body .elementor-column-wrap:has(ul.products),
html body .elementor-widget-wrap:has(ul.products),
html body .elementor-widget:has(ul.products),
html body .elementor-widget-container:has(ul.products),
html body .elementor-element:has(ul.products),
html body .e-con:has(ul.products),
html body .e-con-inner:has(ul.products){
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  flex:1 1 100% !important;
  flex-basis:100% !important;
  box-sizing:border-box !important;
}
html body .section:has(ul.products) > .container,
html body .section-alt:has(ul.products) > .container,
html body .woocommerce:has(ul.products),
html body .woocommerce-page:has(ul.products),
html body .elementor-container:has(ul.products),
html body .e-con-inner:has(ul.products){
  max-width:1520px !important;
  margin-right:auto !important;
  margin-left:auto !important;
  padding-right:24px !important;
  padding-left:24px !important;
}
html body ul.products,
html body .woocommerce ul.products,
html body .woocommerce-page ul.products,
html body ul.products.elementor-grid,
html body .elementor-products-grid ul.products,
html body .elementor-widget-woocommerce-products ul.products,
html body .elementor-widget-wc-archive-products ul.products,
html body .elementor-widget-container ul.products,
html body .product-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  grid-auto-rows:1fr !important;
  gap:24px !important;
  width:100% !important;
  max-width:1520px !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 !important;
  list-style:none !important;
  float:none !important;
  clear:both !important;
  direction:rtl !important;
  box-sizing:border-box !important;
  align-items:stretch !important;
  justify-content:stretch !important;
  justify-items:stretch !important;
}
html body ul.products::before,
html body ul.products::after,
html body .woocommerce ul.products::before,
html body .woocommerce ul.products::after{
  content:none !important;
  display:none !important;
}
html body ul.products > li.product,
html body .woocommerce ul.products > li.product,
html body .woocommerce-page ul.products > li.product,
html body .elementor-products-grid ul.products > li.product,
html body .elementor-widget-container ul.products > li.product,
html body .product-grid > .product{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:100% !important;
  min-height:620px !important;
  margin:0 !important;
  padding:0 !important;
  float:none !important;
  clear:none !important;
  display:flex !important;
  flex-direction:column !important;
  position:relative !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid #dfe8f2 !important;
  border-radius:18px !important;
  box-shadow:0 18px 44px -36px rgba(15,23,42,.45) !important;
  transform:none !important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease !important;
  box-sizing:border-box !important;
}
html body ul.products > li.product:hover,
html body .product-grid > .product:hover{
  transform:translateY(-3px) !important;
  border-color:#cfdae8 !important;
  box-shadow:0 26px 58px -42px rgba(15,23,42,.58) !important;
}
html body ul.products > li.product a.woocommerce-LoopProduct-link,
html body ul.products > li.product .woocommerce-loop-product__link,
html body .product-grid > .product .product-body{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  width:100% !important;
  min-width:0 !important;
  padding:0 !important;
  gap:0 !important;
  color:inherit !important;
  text-decoration:none !important;
  text-align:center !important;
  box-sizing:border-box !important;
}
html body ul.products > li.product img,
html body .product-grid > .product .thumb img{
  display:block !important;
  width:100% !important;
  height:340px !important;
  min-height:340px !important;
  max-height:340px !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  padding:46px 28px !important;
  margin:0 !important;
  background:#eef4f9 !important;
  border-bottom:1px solid #e4edf6 !important;
  box-sizing:border-box !important;
}
html body ul.products > li.product .onsale,
html body .product-grid > .product .badge-sale{
  position:absolute !important;
  top:16px !important;
  right:16px !important;
  left:auto !important;
  z-index:5 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:70px !important;
  min-height:36px !important;
  margin:0 !important;
  padding:0 14px !important;
  border-radius:999px !important;
  background:#f43f46 !important;
  color:#fff !important;
  font-size:15px !important;
  line-height:1 !important;
  font-weight:900 !important;
  text-align:center !important;
  box-shadow:none !important;
}
html body ul.products > li.product .product-category,
html body ul.products > li.product .cat-tag,
html body ul.products > li.product .posted_in,
html body ul.products > li.product .ast-woo-product-category{
  display:block !important;
  margin:22px 20px 8px !important;
  color:#64748b !important;
  font-size:13px !important;
  line-height:1.4 !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  text-align:right !important;
  text-transform:none !important;
}
html body ul.products > li.product .woocommerce-loop-product__title,
html body ul.products > li.product h2.woocommerce-loop-product__title,
html body ul.products > li.product h3,
html body .product-grid > .product h3{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  min-height:58px !important;
  max-height:58px !important;
  margin:22px 20px 14px !important;
  padding:0 !important;
  color:#111827 !important;
  font-size:20px !important;
  line-height:29px !important;
  font-weight:900 !important;
  text-align:center !important;
  word-break:normal !important;
}
html body ul.products > li.product .star-rating,
html body ul.products > li.product .stars{
  margin:0 auto 14px !important;
  color:#f59e0b !important;
  font-size:14px !important;
  line-height:1 !important;
}
html body ul.products > li.product .price,
html body .product-grid > .product .price{
  display:flex !important;
  align-items:baseline !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  min-height:34px !important;
  margin:0 20px 20px !important;
  color:var(--primary) !important;
  font-size:24px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  text-align:center !important;
  direction:rtl !important;
}
html body ul.products > li.product .price ins,
html body ul.products > li.product .price > .amount,
html body ul.products > li.product .price > span:not(del):not(ins),
html body .product-grid > .product .price .new{
  color:var(--primary) !important;
  background:transparent !important;
  font-size:24px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  text-decoration:none !important;
}
html body ul.products > li.product .price del,
html body .product-grid > .product .price .old{
  color:#94a3b8 !important;
  font-size:18px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  opacity:1 !important;
  text-decoration:line-through !important;
}
html body ul.products > li.product .button,
html body ul.products > li.product a.add_to_cart_button,
html body ul.products > li.product .added_to_cart,
html body .product-grid > .product .add{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  width:calc(100% - 40px) !important;
  height:56px !important;
  min-height:56px !important;
  max-width:none !important;
  margin:auto 20px 22px !important;
  padding:0 16px !important;
  border:0 !important;
  border-radius:12px !important;
  background:var(--primary) !important;
  color:#fff !important;
  font-family:inherit !important;
  font-size:17px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  text-align:center !important;
  white-space:normal !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
}
html body ul.products > li.product .button:hover,
html body ul.products > li.product a.add_to_cart_button:hover,
html body ul.products > li.product .added_to_cart:hover,
html body .product-grid > .product .add:hover{
  background:var(--primary-700) !important;
  color:#fff !important;
}
@media (max-width:1199px){
  html body .section:has(ul.products) > .container,
  html body .section-alt:has(ul.products) > .container,
  html body .woocommerce:has(ul.products),
  html body .woocommerce-page:has(ul.products),
  html body .elementor-container:has(ul.products),
  html body .e-con-inner:has(ul.products){
    padding-right:18px !important;
    padding-left:18px !important;
  }
  html body ul.products,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .elementor-products-grid ul.products,
  html body .elementor-widget-container ul.products,
  html body .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
  }
  html body ul.products > li.product,
  html body .product-grid > .product{min-height:560px !important}
  html body ul.products > li.product img,
  html body .product-grid > .product .thumb img{height:300px !important;min-height:300px !important;max-height:300px !important;padding:38px 22px !important}
}
@media (max-width:767px){
  html body .section:has(ul.products) > .container,
  html body .section-alt:has(ul.products) > .container,
  html body .woocommerce:has(ul.products),
  html body .woocommerce-page:has(ul.products),
  html body .elementor-container:has(ul.products),
  html body .e-con-inner:has(ul.products){
    padding-right:10px !important;
    padding-left:10px !important;
  }
  html body ul.products,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .elementor-products-grid ul.products,
  html body .elementor-widget-container ul.products,
  html body .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  html body ul.products > li.product,
  html body .product-grid > .product{
    min-height:386px !important;
    border-radius:14px !important;
  }
  html body ul.products > li.product img,
  html body .product-grid > .product .thumb img{
    height:166px !important;
    min-height:166px !important;
    max-height:166px !important;
    padding:18px 10px !important;
  }
  html body ul.products > li.product .onsale,
  html body .product-grid > .product .badge-sale{
    top:10px !important;
    right:10px !important;
    min-width:52px !important;
    min-height:28px !important;
    padding:0 10px !important;
    font-size:11px !important;
  }
  html body ul.products > li.product .woocommerce-loop-product__title,
  html body ul.products > li.product h2.woocommerce-loop-product__title,
  html body ul.products > li.product h3,
  html body .product-grid > .product h3{
    min-height:42px !important;
    max-height:42px !important;
    margin:12px 10px 8px !important;
    font-size:13px !important;
    line-height:21px !important;
  }
  html body ul.products > li.product .price,
  html body .product-grid > .product .price{
    min-height:24px !important;
    margin:0 10px 10px !important;
    gap:6px !important;
    font-size:15px !important;
  }
  html body ul.products > li.product .price ins,
  html body ul.products > li.product .price > .amount,
  html body ul.products > li.product .price > span:not(del):not(ins),
  html body .product-grid > .product .price .new{font-size:15px !important}
  html body ul.products > li.product .price del,
  html body .product-grid > .product .price .old{font-size:12px !important}
  html body ul.products > li.product .button,
  html body ul.products > li.product a.add_to_cart_button,
  html body ul.products > li.product .added_to_cart,
  html body .product-grid > .product .add{
    width:calc(100% - 20px) !important;
    height:40px !important;
    min-height:40px !important;
    margin:auto 10px 10px !important;
    padding:0 8px !important;
    border-radius:10px !important;
    font-size:12px !important;
    white-space:normal !important;
  }
}
@media (max-width:360px){
  html body ul.products,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .elementor-products-grid ul.products,
  html body .elementor-widget-container ul.products,
  html body .product-grid{gap:8px !important}
  html body ul.products > li.product img,
  html body .product-grid > .product .thumb img{height:148px !important;min-height:148px !important;max-height:148px !important}
  html body ul.products > li.product .button,
  html body ul.products > li.product a.add_to_cart_button,
  html body ul.products > li.product .added_to_cart,
  html body .product-grid > .product .add{font-size:11px !important}
}


/* === v1.6.4 — fixed home product cards sizing === */
html body .asshal-home-products{
  overflow:hidden !important;
}
html body .asshal-home-products > .container{
  max-width:1240px !important;
  width:100% !important;
  margin-right:auto !important;
  margin-left:auto !important;
  padding-right:20px !important;
  padding-left:20px !important;
}
html body .asshal-home-products ul.products,
html body .asshal-home-products .woocommerce ul.products,
html body .asshal-home-products ul.products.product-grid,
html body .asshal-home-products .product-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:20px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  align-items:stretch !important;
}
html body .asshal-home-products ul.products > li.product,
html body .asshal-home-products .woocommerce ul.products > li.product,
html body .asshal-home-products .product-grid > .product{
  min-height:0 !important;
  height:auto !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  background:#fff !important;
  border:1px solid var(--border) !important;
  border-radius:14px !important;
  overflow:hidden !important;
  box-shadow:0 8px 24px -18px rgba(15,23,42,.35) !important;
}
html body .asshal-home-products ul.products > li.product a.woocommerce-LoopProduct-link,
html body .asshal-home-products ul.products > li.product .woocommerce-loop-product__link,
html body .asshal-home-products .product-grid > .product .product-body{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  padding:0 !important;
  gap:0 !important;
  text-align:center !important;
  color:inherit !important;
  text-decoration:none !important;
}
html body .asshal-home-products ul.products > li.product img,
html body .asshal-home-products .product-grid > .product .thumb,
html body .asshal-home-products .product-grid > .product .thumb img{
  width:100% !important;
  height:190px !important;
  min-height:190px !important;
  max-height:190px !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  padding:24px 18px !important;
  margin:0 !important;
  background:#eef4f9 !important;
  border-bottom:1px solid #e4edf6 !important;
  box-sizing:border-box !important;
}
html body .asshal-home-products .product-grid > .product .thumb{
  display:grid !important;
  place-items:center !important;
}
html body .asshal-home-products .product-grid > .product .thumb-ic{
  font-size:64px !important;
  line-height:1 !important;
}
html body .asshal-home-products ul.products > li.product .onsale,
html body .asshal-home-products .product-grid > .product .badge-sale{
  top:10px !important;
  right:10px !important;
  left:auto !important;
  min-width:auto !important;
  min-height:0 !important;
  height:auto !important;
  padding:5px 12px !important;
  border-radius:999px !important;
  background:#ef4444 !important;
  color:#fff !important;
  font-size:12px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
}
html body .asshal-home-products ul.products > li.product .woocommerce-loop-product__title,
html body .asshal-home-products ul.products > li.product h2.woocommerce-loop-product__title,
html body .asshal-home-products ul.products > li.product h3,
html body .asshal-home-products .product-grid > .product h3{
  min-height:42px !important;
  max-height:42px !important;
  margin:14px 12px 8px !important;
  padding:0 !important;
  font-size:15px !important;
  line-height:21px !important;
  font-weight:800 !important;
  color:var(--text) !important;
  text-align:center !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
html body .asshal-home-products ul.products > li.product .star-rating,
html body .asshal-home-products ul.products > li.product .stars{
  margin:0 auto 8px !important;
  font-size:12px !important;
  line-height:1 !important;
}
html body .asshal-home-products ul.products > li.product .price,
html body .asshal-home-products .product-grid > .product .price{
  display:flex !important;
  align-items:baseline !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  min-height:28px !important;
  margin:0 12px 12px !important;
  color:var(--primary) !important;
  font-size:17px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  text-align:center !important;
  direction:rtl !important;
}
html body .asshal-home-products ul.products > li.product .price ins,
html body .asshal-home-products ul.products > li.product .price > .amount,
html body .asshal-home-products ul.products > li.product .price > span:not(del):not(ins),
html body .asshal-home-products .product-grid > .product .price .new{
  color:var(--primary) !important;
  background:transparent !important;
  font-size:18px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  text-decoration:none !important;
}
html body .asshal-home-products ul.products > li.product .price del,
html body .asshal-home-products .product-grid > .product .price .old{
  color:#94a3b8 !important;
  font-size:13px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  opacity:1 !important;
  text-decoration:line-through !important;
}
html body .asshal-home-products ul.products > li.product .button,
html body .asshal-home-products ul.products > li.product a.add_to_cart_button,
html body .asshal-home-products ul.products > li.product .added_to_cart,
html body .asshal-home-products .product-grid > .product .add{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:calc(100% - 24px) !important;
  height:42px !important;
  min-height:42px !important;
  margin:auto 12px 12px !important;
  padding:0 12px !important;
  border-radius:10px !important;
  background:var(--primary) !important;
  color:#fff !important;
  font-size:13px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  text-align:center !important;
  white-space:normal !important;
}
@media (max-width:1024px){
  html body .asshal-home-products ul.products,
  html body .asshal-home-products .woocommerce ul.products,
  html body .asshal-home-products .product-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:16px !important}
}
@media (max-width:767px){
  html body .asshal-home-products > .container{padding-right:12px !important;padding-left:12px !important}
  html body .asshal-home-products ul.products,
  html body .asshal-home-products .woocommerce ul.products,
  html body .asshal-home-products .product-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
  html body .asshal-home-products ul.products > li.product img,
  html body .asshal-home-products .product-grid > .product .thumb,
  html body .asshal-home-products .product-grid > .product .thumb img{height:150px !important;min-height:150px !important;max-height:150px !important;padding:18px 10px !important}
  html body .asshal-home-products ul.products > li.product .woocommerce-loop-product__title,
  html body .asshal-home-products ul.products > li.product h2.woocommerce-loop-product__title,
  html body .asshal-home-products ul.products > li.product h3,
  html body .asshal-home-products .product-grid > .product h3{font-size:13px !important;line-height:19px !important;min-height:38px !important;max-height:38px !important;margin:10px 10px 8px !important}
  html body .asshal-home-products ul.products > li.product .price,
  html body .asshal-home-products .product-grid > .product .price{margin:0 10px 10px !important;gap:6px !important;min-height:24px !important}
  html body .asshal-home-products ul.products > li.product .price ins,
  html body .asshal-home-products ul.products > li.product .price > .amount,
  html body .asshal-home-products ul.products > li.product .price > span:not(del):not(ins),
  html body .asshal-home-products .product-grid > .product .price .new{font-size:15px !important}
  html body .asshal-home-products ul.products > li.product .price del,
  html body .asshal-home-products .product-grid > .product .price .old{font-size:12px !important}
  html body .asshal-home-products ul.products > li.product .button,
  html body .asshal-home-products ul.products > li.product a.add_to_cart_button,
  html body .asshal-home-products ul.products > li.product .added_to_cart,
  html body .asshal-home-products .product-grid > .product .add{width:calc(100% - 20px) !important;height:38px !important;min-height:38px !important;margin:auto 10px 10px !important;font-size:12px !important;padding:0 8px !important}
}

/* ===== v1.7.0 — Saudi tone home additions ===== */

/* Force 4 cols desktop / 2 cols mobile (overrides all earlier rules) */
@media (min-width: 768px){
  html body .asshal-home-products ul.products,
  html body .asshal-home-products .product-grid{
    display:grid !important;
    grid-template-columns:repeat(4,1fr) !important;
    gap:20px !important;
  }
}
@media (max-width: 767px){
  html body .asshal-home-products ul.products,
  html body .asshal-home-products .product-grid,
  html body ul.products,
  html body .product-grid{
    display:grid !important;
    grid-template-columns:repeat(2,1fr) !important;
    gap:10px !important;
  }
}

/* Animated marquee */
.asshal-marquee{overflow:hidden;position:relative;padding:10px 0 20px;mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.asshal-marquee-track{display:flex;gap:16px;width:max-content;animation:asshal-marquee 40s linear infinite;animation-play-state:running !important;will-change:transform}
.asshal-marquee:hover .asshal-marquee-track,
.asshal-marquee:focus-within .asshal-marquee-track,
.asshal-marquee .mq-item:hover{animation-play-state:running !important}
@keyframes asshal-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.mq-item{flex:0 0 240px;background:#fff;border:1px solid #eef0f4;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit;box-shadow:0 4px 14px rgba(20,30,60,.05);transition:transform .25s ease, box-shadow .25s ease}
.mq-item:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(20,30,60,.10)}
.mq-thumb{height:140px;display:flex;align-items:center;justify-content:center;background:#f7f8fb;border-radius:10px;overflow:hidden}
.mq-thumb img{max-height:100%;width:auto;object-fit:contain}
.mq-info h4{font-size:15px;margin:0;line-height:1.4;color:#0e1430;font-weight:700}
.mq-price{font-size:14px;color:#0a7c4a;font-weight:800;margin-top:4px}
.mq-price del{color:#9aa0b4;font-weight:500;margin-inline-end:6px}

/* Testimonials */
.asshal-testimonials .tst-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
@media (max-width:900px){.asshal-testimonials .tst-grid{grid-template-columns:1fr}}
.tst{background:#fff;border:1px solid #eef0f4;border-radius:16px;padding:20px;box-shadow:0 6px 20px rgba(20,30,60,.05)}
.tst p{font-size:16px;line-height:1.7;color:#1a2347;margin:0 0 12px}
.tst-by{font-size:13px;color:#6b7390;font-weight:600}

/* FAQ */
.asshal-faq .faq-list{display:flex;flex-direction:column;gap:10px;max-width:900px;margin:0 auto}
.faq-item{background:#fff;border:1px solid #eef0f4;border-radius:12px;padding:14px 18px;cursor:pointer}
.faq-item summary{font-weight:800;font-size:16px;color:#0e1430;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-item summary::after{content:"＋";font-size:20px;color:#3a5cf0;transition:transform .2s}
.faq-item[open] summary::after{content:"−"}
.faq-item p{margin:10px 0 0;color:#4a5275;line-height:1.7;font-size:15px}

/* CTA band */
.asshal-cta-band{background:linear-gradient(135deg,#3a5cf0,#7a3df0);color:#fff;padding:60px 0;margin-top:30px;text-align:center}
.asshal-cta-band h2{font-size:32px;margin:0 0 10px;color:#fff}
.asshal-cta-band p{font-size:17px;opacity:.95;margin:0 0 22px}
.asshal-cta-band .btn-lg{padding:14px 36px;font-size:17px;background:#fff;color:#3a5cf0;border-radius:12px;font-weight:800}
.asshal-cta-band .btn-lg:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.2)}

/* Single product polish */
.single-product div.product{display:grid;grid-template-columns:1fr 1fr;gap:40px;background:#fff;padding:30px;border-radius:18px;box-shadow:0 10px 30px rgba(20,30,60,.06);margin-top:20px}
@media (max-width:820px){.single-product div.product{grid-template-columns:1fr;gap:20px;padding:18px}}
.single-product .product_title{font-size:28px;color:#0e1430;font-weight:800;margin:0 0 10px}
.single-product .price{font-size:24px;color:#0a7c4a;font-weight:800}
.single-product .price del{color:#9aa0b4;font-weight:500;margin-inline-end:8px;font-size:18px}
.single-product form.cart{margin-top:20px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.single-product .single_add_to_cart_button{background:linear-gradient(135deg,#3a5cf0,#7a3df0) !important;color:#fff !important;border:none !important;padding:14px 30px !important;border-radius:12px !important;font-weight:800 !important;font-size:16px !important;cursor:pointer;transition:transform .2s}
.single-product .single_add_to_cart_button:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(58,92,240,.3)}
.single-product .quantity input{height:50px;width:80px;border:1px solid #e3e6ef;border-radius:10px;text-align:center;font-weight:700;font-size:16px}
.woocommerce-tabs{margin-top:30px;background:#fff;padding:24px;border-radius:16px;box-shadow:0 6px 20px rgba(20,30,60,.05)}
.woocommerce-tabs ul.tabs{display:flex;gap:6px;border-bottom:2px solid #eef0f4;margin-bottom:18px;padding:0;list-style:none}
.woocommerce-tabs ul.tabs li{padding:10px 18px;border-radius:10px 10px 0 0;background:transparent}
.woocommerce-tabs ul.tabs li.active{background:linear-gradient(135deg,#3a5cf0,#7a3df0);color:#fff}
.woocommerce-tabs ul.tabs li.active a{color:#fff !important}

/* Checkout polish */
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;align-items:start}
@media (max-width:900px){.woocommerce-checkout form.checkout{grid-template-columns:1fr}}
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review{background:#fff;border-radius:16px;padding:22px;box-shadow:0 6px 20px rgba(20,30,60,.05);border:1px solid #eef0f4}
.woocommerce-checkout #order_review_heading{margin-bottom:0;border-radius:16px 16px 0 0;border-bottom:none;padding-bottom:0}
.woocommerce-checkout #order_review{border-radius:0 0 16px 16px;margin-top:0}
.woocommerce-checkout h3{font-size:20px;color:#0e1430;font-weight:800;margin:0 0 14px}
.woocommerce-checkout .form-row label{font-weight:700;color:#1a2347;font-size:14px;margin-bottom:6px;display:block}
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-selection{height:48px !important;border:1px solid #e3e6ef !important;border-radius:10px !important;padding:0 14px !important;font-size:15px !important;background:#fafbff !important;width:100% !important}
.woocommerce-checkout .form-row textarea{height:auto !important;padding:12px 14px !important;min-height:90px}
.woocommerce-checkout .form-row input:focus{border-color:#3a5cf0 !important;background:#fff !important;outline:none !important;box-shadow:0 0 0 3px rgba(58,92,240,.15) !important}
.woocommerce-checkout #place_order{background:linear-gradient(135deg,#3a5cf0,#7a3df0) !important;color:#fff !important;border:none !important;padding:16px 30px !important;border-radius:12px !important;font-weight:800 !important;font-size:17px !important;width:100%;margin-top:14px;cursor:pointer;transition:transform .2s}
.woocommerce-checkout #place_order:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(58,92,240,.3)}
.woocommerce-checkout table.shop_table{border:none !important;border-radius:12px;overflow:hidden}
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td{padding:14px !important;border-bottom:1px solid #eef0f4 !important}
.woocommerce-checkout .wc_payment_methods{list-style:none;padding:0}
.woocommerce-checkout .wc_payment_method{background:#fafbff;border:1px solid #e3e6ef;border-radius:12px;padding:14px;margin-bottom:10px}
.woocommerce-checkout .wc_payment_method label{font-weight:700;color:#0e1430}

/* Cart polish */
.woocommerce-cart table.cart{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(20,30,60,.05)}
.woocommerce-cart table.cart th{background:#f7f8fb;padding:16px !important;font-weight:800}
.woocommerce-cart table.cart td{padding:16px !important;border-bottom:1px solid #eef0f4}
.woocommerce-cart .cart-collaterals{margin-top:24px}
.woocommerce-cart .checkout-button{background:linear-gradient(135deg,#3a5cf0,#7a3df0) !important;color:#fff !important;border-radius:12px !important;padding:14px 30px !important;font-weight:800 !important;font-size:16px !important;border:none !important}

/* ===== v1.7.1 — compact 4-col cards + cart polish ===== */

/* Tighter product cards everywhere (web) */
@media (min-width: 768px){
  html body ul.products > li.product,
  html body .product-grid > .product{
    min-height: 420px !important;
    border-radius: 14px !important;
  }
  html body ul.products > li.product img,
  html body .product-grid > .product .thumb img{
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    padding: 22px 18px !important;
  }
  html body ul.products > li.product .woocommerce-loop-product__title,
  html body ul.products > li.product h3,
  html body .product-grid > .product h3{
    font-size: 16px !important;
    line-height: 22px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 14px 14px 8px !important;
  }
  html body ul.products > li.product .product-category{
    margin: 14px 14px 4px !important;
    font-size: 12px !important;
  }
  html body ul.products > li.product .price,
  html body .product-grid > .product .price{
    font-size: 18px !important;
    margin: 0 14px 12px !important;
  }
  html body ul.products > li.product .price ins,
  html body ul.products > li.product .price > .amount{
    font-size: 18px !important;
  }
  html body ul.products > li.product .price del{
    font-size: 14px !important;
  }
  html body ul.products > li.product .button,
  html body ul.products > li.product .add_to_cart_button{
    margin: 10px 14px 14px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
    min-height: 40px !important;
  }
  html body ul.products > li.product .star-rating{
    font-size: 12px !important;
    margin: 0 auto 8px !important;
  }
}

/* Force 4 cols on all product grids on web (lowered breakpoint to fit 997+ viewports) */
@media (min-width: 900px){
  html body ul.products,
  html body .product-grid,
  html body .woocommerce ul.products,
  html body .woocommerce-page ul.products,
  html body .asshal-home-products ul.products,
  html body .asshal-home-products .product-grid{
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 18px !important;
  }
}
@media (min-width: 768px) and (max-width: 899px){
  html body ul.products,
  html body .product-grid{
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 767px){
  html body ul.products,
  html body .product-grid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
  }
}

/* Single product — slimmer gallery */
.single-product .woocommerce-product-gallery{max-width:480px}
.single-product .woocommerce-product-gallery img{border-radius:14px;background:#f7f8fb}
.single-product .product_meta{margin-top:18px;font-size:13px;color:#64748b}
.single-product .product_meta > span{display:block;margin-bottom:6px}

/* Cart — more polish */
.woocommerce-cart .container,
.woocommerce-checkout .container{padding-top:20px;padding-bottom:40px}
.woocommerce-cart h1,
.woocommerce-checkout h1{font-size:26px;color:#0e1430;font-weight:900;margin:0 0 18px}
.woocommerce-cart table.cart img{width:64px;height:64px;object-fit:contain;background:#f7f8fb;border-radius:10px;padding:6px}
.woocommerce-cart table.cart .product-name a{font-weight:800;color:#0e1430;text-decoration:none}
.woocommerce-cart table.cart .product-name a:hover{color:#3a5cf0}
.woocommerce-cart table.cart .quantity input{height:42px;width:70px;border:1px solid #e3e6ef;border-radius:8px;text-align:center;font-weight:700}
.woocommerce-cart table.cart .product-remove a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#fee2e2;color:#dc2626 !important;font-size:18px;text-decoration:none;font-weight:900}
.woocommerce-cart table.cart .product-remove a:hover{background:#dc2626;color:#fff !important}
.woocommerce-cart .cart_totals{background:#fff;border:1px solid #eef0f4;border-radius:16px;padding:24px;box-shadow:0 6px 20px rgba(20,30,60,.05);max-width:420px;margin-inline-start:auto}
.woocommerce-cart .cart_totals h2{font-size:20px;color:#0e1430;font-weight:900;margin:0 0 16px;padding-bottom:14px;border-bottom:2px solid #eef0f4}
.woocommerce-cart .cart_totals table{width:100%;border:none}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td{padding:10px 0 !important;border:none !important;font-size:15px}
.woocommerce-cart .cart_totals .order-total{font-size:18px !important;font-weight:900 !important;color:#0a7c4a !important}
.woocommerce-cart .actions{padding-top:12px}
.woocommerce-cart .coupon{display:flex;gap:8px}
.woocommerce-cart .coupon input{height:44px;border:1px solid #e3e6ef;border-radius:10px;padding:0 14px;flex:1;background:#fafbff}
.woocommerce-cart .coupon button{background:#0e1430;color:#fff;border:none;border-radius:10px;padding:0 20px;font-weight:800;cursor:pointer}

/* Empty cart */
.cart-empty.woocommerce-info{background:#fff;border:2px dashed #e3e6ef;border-radius:16px;padding:40px;text-align:center;font-size:18px;color:#64748b}
.return-to-shop a.button{display:inline-block;margin-top:14px;background:linear-gradient(135deg,#3a5cf0,#7a3df0);color:#fff !important;padding:12px 28px;border-radius:12px;font-weight:800;text-decoration:none}

/* ============================================================
 * v1.7.3 — Single product page polish (matches Asshal preview)
 * ============================================================ */
.single-product div.product{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:48px !important;
  background:#fff !important;
  padding:36px !important;
  border-radius:22px !important;
  box-shadow:0 14px 40px -20px rgba(15,23,42,.18) !important;
  margin-top:24px !important;
  direction:rtl !important;
}
@media (max-width:900px){
  .single-product div.product{grid-template-columns:1fr !important;gap:24px !important;padding:20px !important}
}
/* Gallery (left in RTL = visual left because direction:rtl flips order) */
.single-product .woocommerce-product-gallery{
  max-width:100% !important;width:100% !important;margin:0 !important;
  background:#f7f8fb;border-radius:18px;padding:24px;
}
.single-product .woocommerce-product-gallery img{
  border-radius:12px !important;background:transparent !important;object-fit:contain !important;
}
.single-product .flex-control-thumbs{display:flex !important;gap:10px;margin-top:14px;padding:0;list-style:none}
.single-product .flex-control-thumbs li{width:72px !important;height:72px;background:#fff;border:1px solid #e3e6ef;border-radius:10px;padding:6px;cursor:pointer}
.single-product .flex-control-thumbs li img{width:100% !important;height:100% !important;object-fit:contain;border-radius:6px;opacity:.85}
.single-product .flex-control-thumbs li img.flex-active,
.single-product .flex-control-thumbs li img:hover{opacity:1;border-color:#3a5cf0}

/* Summary side */
.single-product .summary{padding:8px 4px}
.asshal-cat-label{
  font-size:14px;color:#64748b;font-weight:700;margin-bottom:8px;
}
.single-product .product_title{
  font-size:30px !important;color:#0e1430 !important;font-weight:900 !important;
  margin:0 0 12px !important;line-height:1.35 !important;
}
.single-product .woocommerce-product-rating{
  display:flex;align-items:center;gap:6px;margin:0 0 18px !important;font-size:13px;color:#64748b;
}
.single-product .star-rating{font-size:14px;color:#fbbf24}
.asshal-sales-count{font-size:13px;color:#64748b}

/* Price card */
.asshal-price-card{
  background:#eef3ff;border-radius:14px;padding:18px 20px;margin:0 0 20px;
  display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;position:relative;
}
.single-product .asshal-price-card .price{
  font-size:30px !important;color:#0e1430 !important;font-weight:900 !important;
  display:flex;align-items:center;gap:10px;margin:0 !important;
}
.single-product .asshal-price-card .price ins,
.single-product .asshal-price-card .price > .amount{font-size:30px !important;color:#0e1430 !important;font-weight:900 !important;text-decoration:none !important}
.single-product .asshal-price-card .price del{font-size:18px !important;color:#94a3b8 !important;font-weight:600 !important}
.asshal-discount-badge{
  background:#ef4444;color:#fff;font-weight:800;font-size:13px;
  padding:6px 12px;border-radius:999px;
}

/* Description bullets */
.single-product .woocommerce-product-details__short-description{
  font-size:15px;color:#334155;line-height:1.9;margin:0 0 22px;
}
.single-product .woocommerce-product-details__short-description ul{list-style:none;padding:0;margin:10px 0}
.single-product .woocommerce-product-details__short-description ul li{position:relative;padding-inline-start:0;margin:6px 0}

/* Cart form: qty + add-to-cart + buy-now */
.single-product form.cart{
  display:flex !important;gap:12px !important;align-items:stretch !important;flex-wrap:wrap !important;
  margin:0 0 20px !important;
}
.single-product form.cart .quantity{
  display:flex;align-items:center;border:1px solid #e3e6ef;border-radius:12px;background:#fff;overflow:hidden;
}
.single-product form.cart .quantity input.qty{
  height:50px !important;width:60px !important;border:none !important;text-align:center !important;
  font-weight:800 !important;font-size:16px !important;background:transparent !important;
}
.single-product .single_add_to_cart_button{
  background:#3a5cf0 !important;color:#fff !important;border:none !important;
  padding:0 28px !important;height:50px !important;border-radius:12px !important;
  font-weight:800 !important;font-size:15px !important;cursor:pointer;
  display:inline-flex !important;align-items:center;justify-content:center;
  box-shadow:0 8px 20px -8px rgba(58,92,240,.5) !important;transition:all .2s;
}
.single-product .single_add_to_cart_button:hover{background:#2d4dd6 !important;transform:translateY(-1px)}
.asshal-buy-now{
  background:#fff !important;color:#0e1430 !important;border:1.5px solid #cbd5e1 !important;
  padding:0 26px !important;height:50px !important;border-radius:12px !important;
  font-weight:800 !important;font-size:15px !important;text-decoration:none !important;
  display:inline-flex !important;align-items:center;justify-content:center;transition:all .2s;
}
.asshal-buy-now:hover{border-color:#3a5cf0 !important;color:#3a5cf0 !important}

/* Trust badges row */
.asshal-trust-row{
  display:flex;gap:18px;flex-wrap:wrap;padding:14px 0 4px;margin-top:6px;
  border-top:1px solid #eef0f4;
}
.asshal-trust{
  display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#475569;font-weight:700;
}
.asshal-trust i{
  font-style:normal;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;
  background:#eef3ff;border-radius:50%;font-size:15px;
}

/* Hide default product meta clutter */
.single-product .product_meta{display:none}

/* Tabs polish */
.woocommerce-tabs{
  margin-top:32px !important;background:#fff !important;padding:28px !important;
  border-radius:18px !important;box-shadow:0 10px 30px -20px rgba(15,23,42,.18) !important;
}
.woocommerce-tabs ul.tabs{
  display:flex !important;gap:0 !important;border-bottom:1px solid #e3e6ef !important;
  margin:0 0 22px !important;padding:0 !important;list-style:none !important;
}
.woocommerce-tabs ul.tabs li{
  padding:0 !important;background:transparent !important;border:none !important;
  border-radius:0 !important;
}
.woocommerce-tabs ul.tabs li a{
  display:block;padding:14px 22px;color:#64748b;font-weight:800;text-decoration:none;
  border-bottom:3px solid transparent;transition:all .2s;font-size:15px;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li:hover a{color:#3a5cf0;border-bottom-color:#3a5cf0}
.woocommerce-tabs ul.tabs li.active{background:transparent !important}
.woocommerce-tabs ul.tabs li.active a{color:#3a5cf0 !important;background:transparent !important}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after{display:none !important;border:none !important}

/* ============================================================
 * v1.7.4 — Match preview: category label + payment strip
 * ============================================================ */

/* Category label above product title in loop */
.asshal-loop-cat{
  font-size:11px !important;
  color:#94a3b8 !important;
  font-weight:800 !important;
  letter-spacing:.6px;
  text-transform:uppercase;
  text-align:center;
  margin:10px 12px 2px !important;
  line-height:1.2;
}

/* Payment methods strip (above footer) */
.asshal-paystrip{
  background:#0e1430;
  padding:30px 0;
  border-top:1px solid rgba(255,255,255,.06);
}
.asshal-paystrip .container{
  display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;
}
.asshal-paystrip .ps-label{
  color:#94a3b8;font-size:14px;font-weight:700;
}
.asshal-paystrip .ps-chips{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.asshal-paystrip .pc{
  background:rgba(255,255,255,.06);
  color:#fff;
  border:1px solid rgba(255,255,255,.1);
  padding:8px 16px;
  border-radius:10px;
  font-weight:700;
  font-size:13px;
  letter-spacing:.3px;
}
.asshal-paystrip .pc-tamara{background:#3a1c4a;border-color:transparent;color:#ffd5b3}
.asshal-paystrip .pc-tabby{background:#0e2a4d;border-color:transparent;color:#7ed4ff}

/* Hero stats — make numbers blue like preview */
.hero-trust strong{color:#3a5cf0 !important}

/* Newsletter polish (already exists, just ensure visible) */
.footer-newsletter input[type=email]{
  height:48px;border-radius:12px 0 0 12px;border:none;padding:0 18px;
  background:rgba(255,255,255,.06);color:#fff;flex:1;min-width:240px;font-size:14px;
}
.footer-newsletter form{display:flex;max-width:520px;margin:0 auto}
.footer-newsletter button{
  height:48px;border:none;background:#3a5cf0;color:#fff;font-weight:800;
  padding:0 26px;border-radius:0 12px 12px 0;cursor:pointer;
}

/* ============================================================
 * v1.7.5 — Fixes for live site
 * ============================================================ */

/* Marquee thumbnail placeholder + ensure visibility */
.asshal-marquee{min-height:230px}
.mq-item{min-width:240px;max-width:240px}
.mq-thumb img{display:block !important;max-width:100% !important;max-height:100% !important;width:auto !important;height:auto !important;background:#fff}
.mq-thumb:empty::before,
.mq-thumb img[src=""]{
  content:"📦";font-size:48px;opacity:.5;width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;background:#f7f8fb;
}

/* If marquee falls back to ul.products, render horizontally */
.asshal-marquee-track ul.products{
  display:flex !important;gap:16px !important;width:max-content !important;
  grid-template-columns:none !important;background:transparent !important;padding:0 !important;
}
.asshal-marquee-track ul.products > li.product{
  flex:0 0 240px !important;width:240px !important;min-width:240px !important;max-width:240px !important;
}

/* Stretch product grid items so 3 items still fill the row nicely */
@media (min-width: 900px){
  html body .asshal-home-products ul.products,
  html body .asshal-home-products .product-grid{
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    justify-content: stretch !important;
  }
}

/* Cap card height so they don't stretch tall when row has fewer items */
html body ul.products > li.product{
  max-height:480px !important;
}
html body ul.products > li.product img{
  height:170px !important;max-height:170px !important;min-height:170px !important;
}

/* Single product: only collapse to 1 col on real mobile (< 768) */
@media (max-width:899px) and (min-width:768px){
  .single-product div.product{grid-template-columns:1fr 1fr !important;gap:24px !important;padding:22px !important}
}
.single-product .summary{display:flex !important;flex-direction:column !important;width:100% !important}
.single-product div.product > .woocommerce-product-gallery{width:100% !important;float:none !important}
.single-product div.product > .summary{width:100% !important;float:none !important;margin:0 !important}

/* Force "related products" section to actually render its grid */
.related.products,
.up-sells.products{
  background:#fff;padding:28px;border-radius:18px;margin-top:30px;
  box-shadow:0 6px 20px rgba(20,30,60,.05);
}
.related.products > h2,
.up-sells.products > h2{
  font-size:22px;font-weight:900;color:#0e1430;margin:0 0 18px;
}
