/*
Theme Name: تکنوا (Technova)
Description: قالب فروشگاهی فارسی برای موبایل و کالای دیجیتال؛ سازگار با ووکامرس، راست‌چین، ریسپانسیو با نوار پایین موبایل، فیلتر محصولات، سبد خرید کشویی و صفحات کامل پرداخت.
Author: Claude
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: technova
Tags: e-commerce, rtl-language-support, custom-logo, woocommerce
*/

:root{
  --ink:#0b1230; --ink-2:#18214a; --accent:#ff5a1f; --accent-d:#e04a12;
  --bg:#f2f4fa; --card:#fff; --line:#e2e6f1; --text:#161b36; --muted:#6a7192;
  --sky:#e9efff; --ok:#12a37a; --bad:#e5384f; --star:#ffb400;
  --r:20px; --r-sm:12px; --wrap:1320px; --font:"Vazirmatn",Tahoma,system-ui,sans-serif;
  --shadow:0 10px 30px rgba(11,18,48,.08);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:15.5px;line-height:1.8;-webkit-font-smoothing:antialiased}
body.lock{overflow:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--accent)}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.4;font-weight:800}
p{margin:0 0 1em}
ul{margin:0;padding:0}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
.wrap{width:min(var(--wrap),100% - 2rem);margin-inline:auto}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.screen-reader-text:focus{position:fixed;top:8px;inset-inline-start:8px;width:auto;height:auto;clip:auto;background:#fff;padding:.6rem 1rem;z-index:999;border-radius:8px}
.icon{width:1.25em;height:1.25em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.only-mobile{display:none}

/* ---------- Buttons & forms ---------- */
.button,button.button,a.button,input.button,.btn,.wp-element-button,.comment-form .submit{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.7rem 1.4rem;border-radius:999px;border:1px solid var(--line);
  background:var(--ink);color:#fff;font-family:inherit;font-size:.95rem;font-weight:700;cursor:pointer;transition:background .2s,transform .15s;line-height:1.5}
.button:hover,.btn:hover{background:var(--ink-2);color:#fff;transform:translateY(-1px)}
.button.alt,.btn-primary,.single_add_to_cart_button,#place_order,.checkout-button,.comment-form .submit{background:var(--accent);border-color:var(--accent);color:#fff}
.button.alt:hover,.btn-primary:hover,.single_add_to_cart_button:hover,#place_order:hover,.checkout-button:hover{background:var(--accent-d);color:#fff}
.btn-lg{padding:.9rem 2rem;font-size:1.05rem}
.btn-light{background:#fff;color:var(--ink);border-color:#fff}.btn-light:hover{background:var(--sky);color:var(--ink)}
.button.disabled,.button:disabled{opacity:.5;cursor:not-allowed}
.icon-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--text);display:grid;place-items:center;cursor:pointer;padding:0;font-family:inherit}
input[type=text],input[type=search],input[type=email],input[type=tel],input[type=url],input[type=password],input[type=number],textarea,select,.select2-selection{
  width:100%;padding:.7rem 1rem;border:1px solid var(--line);border-radius:var(--r-sm);background:#fff;color:var(--text);font-family:inherit;font-size:1rem}
input:focus,textarea:focus,select:focus{border-color:var(--accent);outline:3px solid rgba(255,90,31,.18)}
textarea{min-height:120px}
label{font-weight:600;font-size:.92rem}
.required{color:var(--bad);text-decoration:none}

/* ---------- Top bar & header ---------- */
.topbar{background:var(--ink);color:#c9d0f2;font-size:.82rem}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:38px}
.topbar a{display:inline-flex;gap:.4rem;align-items:center;color:#fff}
.site-header{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--line)}
.site-header.scrolled{box-shadow:0 6px 24px rgba(11,18,48,.08)}
.hdr{display:flex;align-items:center;gap:1.2rem;min-height:76px}
.brand{display:block;flex:none}
.custom-logo{max-height:48px;width:auto}
.logo-ph{display:grid;place-items:center;min-width:150px;height:46px;padding:0 1rem;border:2px dashed #b9c0df;border-radius:12px;color:#8991b8;font-weight:700;font-size:.9rem}
.logo-ph.light{border-color:#38427a;color:#8d97d1;margin-bottom:1rem;width:fit-content}
.hsearch{flex:1;display:flex;background:var(--bg);border:1px solid transparent;border-radius:999px;overflow:hidden;max-width:620px}
.hsearch:focus-within{background:#fff;border-color:var(--accent)}
.hsearch input[type=search]{border:0;background:transparent;border-radius:0;outline:0;padding:.75rem 1.2rem}
.hsearch button{border:0;background:transparent;padding:0 1.1rem;cursor:pointer;color:var(--muted)}
.hactions{display:flex;gap:.5rem;margin-inline-start:auto;align-items:center}
.hbtn{position:relative;display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1rem;border:1px solid var(--line);border-radius:999px;font-weight:700;font-size:.9rem;background:#fff}
.hbtn:hover{border-color:var(--accent)}
.cart-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:var(--accent);color:#fff;font-size:.75rem;font-weight:800;line-height:1}
.hcart{position:relative}
.mini{position:absolute;inset-inline-end:0;top:100%;width:360px;padding-top:.6rem;opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s;z-index:70}
.hcart:hover .mini,.hcart:focus-within .mini{opacity:1;visibility:visible;transform:none}
.mini .widget_shopping_cart_content{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:1rem}

.catbar{border-top:1px solid var(--line);background:#fff}
.catbar .wrap{display:flex;align-items:center;gap:1.5rem;min-height:50px}
.allcats{position:relative}
.allcats-btn{display:inline-flex;align-items:center;gap:.6rem;border:0;background:var(--accent);color:#fff;font-family:inherit;font-weight:800;font-size:.95rem;padding:.55rem 1.2rem;border-radius:999px;cursor:pointer}
.allcats-panel{position:absolute;top:100%;inset-inline-start:0;width:270px;padding-top:.6rem;opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s;z-index:70}
.allcats:hover .allcats-panel,.allcats:focus-within .allcats-panel{opacity:1;visibility:visible;transform:none}
.allcats-panel>.cats{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:.5rem;list-style:none}
.cats li{position:relative;list-style:none}
.cats a{display:block;padding:.55rem .9rem;border-radius:10px;font-weight:600}
.cats a:hover{background:var(--sky);color:var(--ink)}
.cats .sub{position:absolute;inset-inline-start:100%;top:-.5rem;width:250px;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:.5rem;list-style:none;opacity:0;visibility:hidden;transition:.15s;margin-inline-start:.4rem}
.cats li:hover>.sub{opacity:1;visibility:visible}
.cats .has-kids>a::after{content:"‹";float:left;color:var(--muted)}
.mainmenu,.drawer-menu{display:flex;gap:.3rem;list-style:none}
.mainmenu a{display:block;padding:.4rem .9rem;border-radius:999px;font-weight:600;color:var(--muted)}
.mainmenu a:hover,.mainmenu .current-menu-item>a{background:var(--sky);color:var(--ink)}

/* Drawer (mobile menu) */
.drawer{position:fixed;inset:0;z-index:200;visibility:hidden}
.drawer-bg{position:absolute;inset:0;background:rgba(11,18,48,.55);opacity:0;transition:.2s}
.drawer-box{position:absolute;inset-block:0;inset-inline-start:0;width:min(86vw,360px);background:#fff;transform:translateX(100%);transition:.25s;overflow:auto;padding:1rem}
.drawer.open{visibility:visible}.drawer.open .drawer-bg{opacity:1}.drawer.open .drawer-box{transform:none}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
.drawer h4{margin:1.2rem 0 .4rem;color:var(--muted);font-size:.85rem}
.drawer .cats .sub{position:static;opacity:1;visibility:visible;box-shadow:none;border:0;border-inline-start:2px solid var(--line);border-radius:0;width:auto;margin:0 .8rem .3rem 0;padding:0 .3rem}
.drawer .cats .has-kids>a::after{content:""}
.drawer-menu{flex-direction:column}.drawer-menu a{display:block;padding:.55rem .9rem;font-weight:600}

/* Bottom nav (mobile) */
.bottom-nav{display:none}

/* ---------- Home ---------- */
.hero-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:1rem;margin-top:1.2rem}
.hero{position:relative;overflow:hidden;border-radius:28px;color:#fff;padding:clamp(1.5rem,4vw,3.4rem);display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:1rem;min-height:400px;
  background:radial-gradient(520px 320px at 12% 95%,rgba(255,90,31,.55),transparent 70%),radial-gradient(420px 300px at 85% 0%,rgba(122,60,255,.5),transparent 70%),linear-gradient(135deg,var(--ink),#16205a)}
.hero-badge{display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);padding:.25rem .9rem;border-radius:999px;font-size:.85rem;font-weight:700;margin-bottom:1rem}
.hero h1{font-size:clamp(1.8rem,3.6vw,3.1rem);font-weight:900;line-height:1.35;margin-bottom:.6rem}
.hero p{color:#cfd6f7;font-size:1.05rem;max-width:42ch;margin-bottom:1.6rem}
.hero-visual{display:grid;place-items:center}
.hero-art,.hero-visual img{width:min(100%,400px);max-height:400px;object-fit:contain;filter:drop-shadow(0 30px 40px rgba(0,0,0,.35));animation:float 6s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-12px)}}
.promos{display:grid;gap:1rem}
.promo{position:relative;overflow:hidden;border-radius:24px;padding:1.4rem 1.6rem;min-height:190px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;background-size:cover;background-position:center}
.promo strong{font-size:1.3rem;font-weight:900}.promo span{color:#e6e9fb;font-size:.92rem}
.promo-1{background:linear-gradient(135deg,#ff5a1f,#ff9248)}
.promo-2{background:linear-gradient(135deg,#2c3bd1,#7a3cff)}
.promo:hover{color:#fff;filter:brightness(1.05)}

.features{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1rem}
.features>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:.9rem;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1rem 1.2rem}
.features .icon{grid-row:span 2;width:2.4rem;height:2.4rem;padding:.55rem;border-radius:14px;background:var(--sky);color:var(--ink)}
.features b{line-height:1.3}.features small{color:var(--muted)}

.section{margin-top:2.6rem}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.1rem}
.section-head h2{margin:0;font-size:1.45rem;display:flex;align-items:center;gap:.6rem}
.section-head h2::before{content:"";width:6px;height:26px;border-radius:4px;background:var(--accent)}
.more{display:inline-flex;align-items:center;gap:.2rem;font-weight:700;color:var(--accent)}
.cat-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:1rem}
.cat-tile{display:flex;flex-direction:column;align-items:center;gap:.6rem;text-align:center;font-weight:700;font-size:.9rem}
.cat-ic{width:84px;height:84px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;overflow:hidden;color:var(--ink);transition:.2s}
.cat-ic .icon{width:34px;height:34px}.cat-ic img{width:100%;height:100%;object-fit:cover}
a.cat-tile:hover .cat-ic{border-color:var(--accent);transform:translateY(-3px);box-shadow:var(--shadow)}

.flash-wrap{margin-top:2.6rem}
.flash{border-radius:28px;padding:1.4rem;background:radial-gradient(500px 260px at 100% 0%,rgba(255,90,31,.45),transparent 70%),linear-gradient(135deg,var(--ink),#1a2566)}
.flash-head{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;margin-bottom:1.1rem;color:#fff}
.flash-head h2{margin:0;font-size:1.45rem;display:flex;gap:.5rem;align-items:center}
.flash-head .btn{margin-inline-start:auto}
.countdown{display:flex;align-items:center;gap:.35rem;font-weight:900;font-size:1.15rem;direction:ltr}
.countdown span{display:grid;place-items:center;min-width:44px;height:40px;border-radius:10px;background:#fff;color:var(--ink)}
.notice-box{background:#fff;border:1px dashed #b9c0df;border-radius:var(--r);padding:2rem;text-align:center;color:var(--muted);margin:2rem 0}

.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.post-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.post-thumb{display:block;aspect-ratio:16/10;background:linear-gradient(135deg,var(--sky),#fff)}
.post-thumb img{width:100%;height:100%;object-fit:cover}
.post-body{padding:1.1rem 1.3rem 1.3rem}.post-body h3{font-size:1.08rem}.post-body p{color:var(--muted);font-size:.92rem}.post-body small{color:var(--muted)}

/* ---------- Product grid & card ---------- */
ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}
.shop-main ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
.pcard{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;transition:.2s}
.pcard:hover{box-shadow:var(--shadow);border-color:#cfd5ec;transform:translateY(-3px)}
.pcard-media{position:relative;display:block;aspect-ratio:1/1;background:#fff;padding:1rem}
.pcard-media img{width:100%;height:100%;object-fit:contain}
.onsale{position:absolute;top:.8rem;inset-inline-start:.8rem;z-index:2;background:var(--accent);color:#fff;font-weight:900;font-size:.82rem;padding:.15rem .7rem;border-radius:999px;line-height:1.6}
.pcard-body{padding:0 1rem 1rem;display:flex;flex-direction:column;flex:1}
.pcard-cat{font-size:.78rem;color:var(--muted)}
.woocommerce-loop-product__title{font-size:.95rem;font-weight:700;line-height:1.6;margin:.1rem 0 .4rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.2em}
.pcard-foot{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:.5rem;padding-top:.6rem}
.price{display:flex;flex-direction:column;font-weight:900;font-size:1.05rem;color:var(--ink);line-height:1.5}
.price del{order:-1;font-weight:500;font-size:.82rem;color:var(--muted);opacity:1}
.price ins{text-decoration:none}
.woocommerce-Price-currencySymbol{font-size:.78em;font-weight:600;color:var(--muted);margin-inline-start:.2em}
.oos{color:var(--bad);font-weight:700;font-size:.9rem}
.pcard .button{width:42px;height:42px;padding:0;font-size:0;position:relative;flex:none;border-radius:50%;background:var(--accent);border-color:var(--accent)}
.pcard .button::before{content:"";position:absolute;inset:0;margin:auto;width:20px;height:20px;background:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center/contain no-repeat}
.pcard .button:hover{background:var(--accent-d)}
.pcard .button.loading{opacity:.55}
.pcard .button.added{background:var(--ok);border-color:var(--ok)}
.pcard .button.added::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
.added_to_cart{display:none}
.flash .pcard:hover{transform:translateY(-3px)}

/* Stars */
.star-rating{position:relative;display:block;overflow:hidden;width:5.6em;height:1.1em;line-height:1.1;font-size:.9rem;letter-spacing:.1em}
.star-rating::before{content:"★★★★★";color:#d3d8e8;position:absolute;inset-inline-start:0;top:0}
.star-rating span{position:absolute;inset-inline-start:0;top:0;height:100%;overflow:hidden;padding-top:2em;font-size:0}
.star-rating span::before{content:"★★★★★";color:var(--star);font-size:.9rem;position:absolute;inset-inline-start:0;top:0;letter-spacing:.1em}
.pcard .star-rating{margin-bottom:.2rem}

/* ---------- Shop layout ---------- */
.page-wrap{padding-top:1.4rem;padding-bottom:2rem}
.page-title{margin:.6rem 0 1.4rem}.page-title h1{font-size:clamp(1.5rem,3vw,2.1rem);margin:0}.page-title small{color:var(--muted)}
.woocommerce-breadcrumb{font-size:.86rem;color:var(--muted);margin-bottom:1rem}
.woocommerce-breadcrumb a{color:var(--text)}
.shop-grid{display:grid;grid-template-columns:1fr;gap:1.4rem;align-items:start}
.has-side .shop-grid{grid-template-columns:270px minmax(0,1fr)}
.shop-main .page-title,.shop-main>h1,.woocommerce-products-header__title{font-size:1.6rem;margin:0 0 1rem}
.shop-side{position:sticky;top:140px}
.side-head{display:none}
.widget{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.1rem 1.2rem;margin-bottom:1rem}
.widget-title{font-size:1rem;margin-bottom:.7rem;padding-bottom:.6rem;border-bottom:1px solid var(--line)}
.widget ul{list-style:none}.widget li{padding:.25rem 0}
.product-categories .count,.widget .count{color:var(--muted);font-size:.8rem;margin-inline-start:.3rem}
.product-categories .children{padding-inline-start:1rem}
.widget .current-cat>a,.widget .chosen a{color:var(--accent);font-weight:800}
.price_slider{direction:ltr;position:relative;height:6px;background:var(--line);border-radius:6px;margin:1.2rem 9px}
.price_slider .ui-slider-range{position:absolute;height:100%;background:var(--accent);border-radius:6px}
.price_slider .ui-slider-handle{position:absolute;top:-7px;width:20px;height:20px;margin-left:-10px;border-radius:50%;background:#fff;border:3px solid var(--accent);cursor:pointer;z-index:2}
.price_slider_amount{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-size:.85rem}
.price_slider_amount .button{padding:.4rem 1rem}
.shop-toolbar{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:.7rem 1rem;margin-bottom:1rem}
.filter-btn{display:none}
.woocommerce-result-count{margin:0;color:var(--muted);font-size:.9rem}
.woocommerce-ordering{margin-inline-start:auto}.woocommerce-ordering select{padding:.45rem 1rem;border-radius:999px;width:auto}
.woocommerce-pagination{margin:2rem 0;text-align:center}
.page-numbers{list-style:none;display:inline-flex;gap:.4rem;flex-wrap:wrap;justify-content:center}
.woocommerce-pagination .page-numbers li{list-style:none}
a.page-numbers,span.page-numbers{display:grid;place-items:center;min-width:42px;height:42px;padding:0 .8rem;border-radius:12px;background:#fff;border:1px solid var(--line);font-weight:700}
.page-numbers.current{background:var(--ink);border-color:var(--ink);color:#fff}
.navigation.pagination{margin:2rem 0;text-align:center}.navigation .nav-links{display:inline-flex;gap:.4rem}

/* ---------- Single product ---------- */
.single-product div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:1.4rem;align-items:start}
.woocommerce-product-gallery{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.2rem}
.woocommerce-product-gallery__wrapper{margin:0}
.woocommerce-product-gallery__image img{width:100%;object-fit:contain;border-radius:var(--r-sm)}
.woocommerce-product-gallery__trigger{position:absolute;top:1rem;inset-inline-end:1rem;z-index:5;width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:0}
.woocommerce-product-gallery__trigger::before{content:"⤢";font-size:1.2rem;color:var(--ink)}
.flex-control-thumbs{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:.6rem;margin:1rem 0 0;padding:0}
.flex-control-thumbs img{border:2px solid var(--line);border-radius:12px;opacity:.7;cursor:pointer;padding:.2rem;background:#fff}
.flex-control-thumbs img.flex-active,.flex-control-thumbs img:hover{border-color:var(--accent);opacity:1}
.summary.entry-summary{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.6rem}
.product_title{font-size:clamp(1.3rem,2.4vw,1.8rem);line-height:1.5}
.summary .woocommerce-product-rating{display:flex;align-items:center;gap:.6rem;margin-bottom:.8rem}
.woocommerce-review-link{color:var(--muted);font-size:.88rem}
.summary>.price{font-size:1.8rem;margin:.6rem 0 1rem;flex-direction:row;align-items:baseline;gap:.8rem;flex-wrap:wrap}
.summary>.price del{order:0;font-size:1.05rem}
.summary>.price ins{order:-1}
.woocommerce-product-details__short-description{color:var(--muted);margin-bottom:1rem}
.woocommerce-product-details__short-description ul{padding-inline-start:1.2rem}
form.cart{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center;margin:1.2rem 0;padding:1.2rem 0;border-block:1px dashed var(--line)}
form.cart .single_add_to_cart_button{flex:1;min-width:200px;padding:.95rem 1.5rem;font-size:1.05rem}
.quantity{display:inline-flex}
.quantity .qty{width:84px;text-align:center;padding:.8rem .4rem;font-weight:800;border-radius:999px}
.variations{width:100%;border-collapse:collapse;margin-bottom:1rem}
.variations th,.variations td{display:block;text-align:start;padding:.2rem 0}
.variations select{margin-bottom:.6rem}
.reset_variations{font-size:.85rem;color:var(--accent)}
.woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:.8rem;width:100%}
.woocommerce-variation-price .price{flex-direction:row;font-size:1.4rem}
.stock{font-weight:800}.stock.in-stock{color:var(--ok)}.stock.out-of-stock{color:var(--bad)}
.product_meta{display:grid;gap:.2rem;color:var(--muted);font-size:.9rem}
.product_meta a{color:var(--text);font-weight:600}
.trust{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:1.2rem}
.trust li{display:flex;gap:.5rem;align-items:center;font-size:.85rem;background:var(--bg);border-radius:12px;padding:.6rem .8rem}
.trust .icon{color:var(--accent)}
.woocommerce-tabs,.related,.upsells{grid-column:1/-1}
.wc-tabs{list-style:none;display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:1rem}
.wc-tabs li a{display:block;padding:.6rem 1.3rem;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:700}
.wc-tabs li.active a{background:var(--ink);border-color:var(--ink);color:#fff}
.woocommerce-Tabs-panel{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.6rem}
.woocommerce-Tabs-panel h2{font-size:1.2rem}
.shop_attributes{width:100%;border-collapse:collapse}
.shop_attributes th,.shop_attributes td{padding:.8rem 1rem;text-align:start;border-bottom:1px solid var(--line)}
.shop_attributes th{width:30%;color:var(--muted);font-weight:600;background:var(--bg)}
.shop_attributes p{margin:0}
.related>h2,.upsells>h2{font-size:1.4rem}
#reviews #comments ol,.commentlist{list-style:none}
.commentlist li,.comment-list li{background:var(--bg);border-radius:var(--r-sm);padding:1rem 1.2rem;margin-bottom:.8rem;list-style:none}
.commentlist img.avatar,.comment-list img.avatar{float:inline-start;margin-inline-end:.8rem;border-radius:50%}
.comment-form p{margin-bottom:1rem}
.comment-form-rating select{width:auto}
.stars a{color:var(--star);font-size:1.4rem}
p.stars a{display:inline-block;margin-inline-end:.2rem;text-indent:-9999px;width:1.2em;height:1.2em;position:relative}
p.stars a::before{content:"★";text-indent:0;position:absolute;inset:0;color:#d3d8e8;font-size:1.4rem}
p.stars:hover a::before,p.stars.selected a::before{color:var(--star)}
p.stars a:hover~a::before{color:#d3d8e8}
p.stars.selected a.active~a::before{color:#d3d8e8}

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper{margin-bottom:1rem}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:.8rem;background:#fff;border:1px solid var(--line);border-inline-start:5px solid var(--ok);border-radius:var(--r-sm);padding:.9rem 1.2rem;margin:0 0 1rem}
.woocommerce-info{border-inline-start-color:#2c6bff}.woocommerce-error{border-inline-start-color:var(--bad)}
.woocommerce-message .button{order:2;margin-inline-start:auto;padding:.45rem 1.1rem}
.woocommerce-error li{list-style:none}

/* ---------- Cart / checkout / account ---------- */
.shop-content{font-size:1rem}
.shop_table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.shop_table th{background:var(--bg);text-align:start;font-weight:800;padding:.9rem 1rem;font-size:.9rem}
.shop_table td{padding:1rem;border-top:1px solid var(--line);vertical-align:middle}
.shop_table .product-thumbnail img{width:76px;border-radius:12px;border:1px solid var(--line);background:#fff}
.shop_table .product-name a{font-weight:700}
.shop_table .product-remove a{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--bg);color:var(--bad);font-weight:900;font-size:1.2rem;line-height:1}
.shop_table .product-remove a:hover{background:var(--bad);color:#fff}
.shop_table td.actions{background:var(--bg)}
.coupon{display:flex;gap:.6rem;float:inline-start}.coupon input{width:200px}
td.actions>.button{float:inline-end}
.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:1.4rem;align-items:start}
.woocommerce-cart .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-cart .cart-collaterals{display:block}
.cart_totals,#order_review,.col2-set .col-1,.col2-set .col-2,.woocommerce-MyAccount-content,.woocommerce-form-login,.woocommerce-form-register,.woocommerce-form-coupon,.woocommerce-order-details,.woocommerce-customer-details{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.4rem}
.cart_totals h2,#order_review_heading{font-size:1.2rem}
.cart_totals table,.woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse;border:0;background:transparent}
.cart_totals th,.cart_totals td{padding:.7rem 0;border-top:1px solid var(--line);text-align:start;background:transparent}
.order-total th,.order-total td{font-size:1.15rem;font-weight:900}
.wc-proceed-to-checkout .button{width:100%;padding:1rem;font-size:1.05rem;margin-top:.6rem}
.woocommerce-shipping-methods{list-style:none}
.cart-empty,.woocommerce-info.cart-empty{text-align:center}
.return-to-shop{text-align:center}
form.checkout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:1.4rem;align-items:start}
#customer_details{grid-column:1;grid-row:1/span 2}
#order_review_heading{grid-column:2;grid-row:1;margin:0}
#order_review{grid-column:2;grid-row:2}
.col2-set .col-1,.col2-set .col-2{margin-bottom:1rem;float:none;width:auto}
.col2-set h3{font-size:1.15rem}
.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper,.woocommerce-address-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
.form-row{margin:0 0 1rem}.form-row-wide,.form-row-first:only-child{grid-column:1/-1}
.form-row-first,.form-row-last{grid-column:auto}
.form-row label{display:block;margin-bottom:.3rem}
.woocommerce-checkout-payment{margin-top:1rem}
.wc_payment_methods{list-style:none;display:grid;gap:.6rem;margin-bottom:1rem}
.wc_payment_method{background:var(--bg);border-radius:var(--r-sm);padding:.8rem 1rem}
.wc_payment_method label{display:inline;cursor:pointer}
.payment_box{margin-top:.6rem;color:var(--muted);font-size:.9rem}
#place_order{width:100%;padding:1rem;font-size:1.1rem}
.woocommerce-privacy-policy-text{font-size:.82rem;color:var(--muted);margin-bottom:1rem}
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation){display:grid;grid-template-columns:270px minmax(0,1fr);gap:1.4rem;align-items:start}
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-MyAccount-navigation ul{list-style:none;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:.6rem}
.woocommerce-MyAccount-navigation a{display:block;padding:.7rem 1rem;border-radius:12px;font-weight:700}
.woocommerce-MyAccount-navigation .is-active a{background:var(--ink);color:#fff}
.woocommerce-MyAccount-navigation a:hover{background:var(--sky);color:var(--ink)}
.u-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem}
.woocommerce-form-login__rememberme{margin:.5rem 0 1rem;display:flex;gap:.5rem;align-items:center}
.woocommerce-order-overview{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.8rem;margin:1rem 0}
.woocommerce-order-overview li{background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);padding:.8rem 1rem;font-size:.85rem;color:var(--muted)}
.woocommerce-order-overview strong{display:block;color:var(--text);font-size:1rem}
.woocommerce-thankyou-order-received{background:#e8f8f2;color:#0a7a5b;padding:1rem 1.2rem;border-radius:var(--r-sm);font-weight:800}

/* Mini cart */
.woocommerce-mini-cart{list-style:none;max-height:340px;overflow:auto}
.woocommerce-mini-cart-item{display:grid;grid-template-columns:56px 1fr 24px;gap:.7rem;align-items:center;padding:.6rem 0;border-bottom:1px solid var(--line);position:relative}
.woocommerce-mini-cart-item a:not(.remove){font-weight:700;font-size:.88rem;line-height:1.5}
.woocommerce-mini-cart-item img{width:56px;border-radius:10px;grid-column:1;grid-row:1}
.woocommerce-mini-cart-item .remove{grid-column:3;grid-row:1;color:var(--bad);font-weight:900;text-align:center}
.woocommerce-mini-cart-item .quantity{grid-column:2;font-size:.82rem;color:var(--muted);display:block}
.woocommerce-mini-cart__total{display:flex;justify-content:space-between;font-weight:800;padding:.8rem 0}
.woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:0}
.woocommerce-mini-cart__buttons .button{padding:.6rem}
.woocommerce-mini-cart__empty-message{text-align:center;color:var(--muted);margin:1rem 0}

/* ---------- Posts / pages ---------- */
.card-box{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:clamp(1.2rem,3vw,2.2rem)}
.entry-content{font-size:1.05rem;line-height:2.05}
.entry-content a{color:var(--accent)}.entry-content img{border-radius:var(--r-sm)}
.entry-thumb{margin-bottom:1.4rem;border-radius:var(--r);overflow:hidden}
.comments-area{margin-top:1.4rem}.comment-list{list-style:none}
.alignleft{float:left;margin:0 1.5rem 1rem 0}.alignright{float:right;margin:0 0 1rem 1.5rem}.aligncenter{margin-inline:auto}
.notfound{text-align:center;padding:4rem 0}.notfound .big{font-size:clamp(4rem,14vw,9rem);font-weight:900;color:var(--accent);line-height:1}
.notfound .hsearch{margin:1.5rem auto;max-width:480px}

/* ---------- Footer ---------- */
.site-footer{margin-top:3rem;background:var(--ink);color:#aeb6dd;padding:3rem 0 1.4rem}
.fgrid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:2rem}
.site-footer h4{color:#fff;font-size:1.05rem}
.site-footer ul{list-style:none}.site-footer li{padding:.2rem 0}
.site-footer a:hover{color:#fff}
.fcontact li{display:flex;gap:.6rem;align-items:center}
.badge-ph{display:inline-grid;place-items:center;width:104px;height:104px;margin:0 0 .6rem .6rem;border:2px dashed #38427a;border-radius:16px;color:#8d97d1;font-size:.8rem;text-align:center}
.fbadges .widget{background:transparent;border:0;padding:0;margin:0}.fbadges .widget-title{display:none}
.social{display:flex;gap:.8rem;margin-top:.6rem}
.copy{margin-top:2rem;padding-top:1.2rem;border-top:1px solid #222c63;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.88rem}

/* ---------- Responsive ---------- */
@media (max-width:1280px){ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}.shop-main ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1100px){ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero-grid{grid-template-columns:1fr}.promos{grid-template-columns:1fr 1fr}.promo{min-height:150px}
  .features{grid-template-columns:1fr 1fr}.fgrid{grid-template-columns:1fr 1fr}
  .hide-sm{display:none}
}
@media (max-width:900px){
  .only-mobile{display:grid}.catbar,.mini{display:none}
  .hdr{flex-wrap:wrap;gap:.8rem;padding:.7rem 0}
  .hsearch{order:5;flex:1 1 100%;max-width:none}
  .brand{margin-inline-end:auto}
  .hactions .hcart{display:none}
  .post-grid{grid-template-columns:1fr 1fr}
  .has-side .shop-grid{grid-template-columns:1fr}
  .filter-btn{display:inline-flex}
  .shop-side{position:fixed;inset:0;top:0;z-index:210;background:var(--bg);padding:1rem;overflow:auto;transform:translateX(100%);transition:.25s;visibility:hidden}
  .shop-side.open{transform:none;visibility:visible}
  .side-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
  .single-product div.product{grid-template-columns:1fr}
  .woocommerce-cart .woocommerce,form.checkout,.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation){grid-template-columns:1fr}
  #customer_details,#order_review_heading,#order_review{grid-column:1;grid-row:auto}
  body{padding-bottom:72px}
  .bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;inset-inline:0;bottom:0;z-index:100;background:#fff;border-top:1px solid var(--line);padding:.35rem .5rem calc(.35rem + env(safe-area-inset-bottom,0px));box-shadow:0 -6px 20px rgba(11,18,48,.06)}
  .bottom-nav a,.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:.1rem;border:0;background:none;font-family:inherit;font-size:.72rem;font-weight:700;color:var(--muted);padding:.3rem 0;position:relative;cursor:pointer}
  .bottom-nav .icon{width:1.5rem;height:1.5rem}
  .bn-cart .cart-count{position:absolute;top:-2px;inset-inline-start:calc(50% + 4px);min-width:18px;height:18px;font-size:.68rem}
}
@media (max-width:640px){
  body{font-size:15px}
  .topbar .wrap{justify-content:center}.topbar span{display:none}.topbar a{font-size:.85rem}
  .hero{grid-template-columns:1fr;min-height:0;text-align:start}.hero-visual{order:-1}.hero-art,.hero-visual img{width:min(70%,260px)}
  .promos{grid-template-columns:1fr}
  .section-head h2{font-size:1.2rem}
  ul.products,.shop-main ul.products{grid-template-columns:1fr 1fr;gap:.7rem}
  .pcard-media{padding:.6rem}.pcard-body{padding:0 .7rem .8rem}
  .price{font-size:.95rem}.pcard .button{width:38px;height:38px}
  .post-grid{grid-template-columns:1fr}.fgrid{grid-template-columns:1fr}
  .flash{padding:1rem;border-radius:22px}.flash-head .btn{margin-inline-start:0}
  .u-columns,.woocommerce-billing-fields__field-wrapper,.woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}
  .trust{grid-template-columns:1fr}
  .summary.entry-summary{padding:1.1rem}
  .shop_table_responsive thead{display:none}
  .shop_table_responsive tr{display:block;padding:.6rem 1rem;border-top:1px solid var(--line)}
  .shop_table_responsive td{display:flex;justify-content:space-between;align-items:center;gap:1rem;border:0;padding:.5rem 0;text-align:end}
  .shop_table_responsive td::before{content:attr(data-title);font-weight:700;color:var(--muted)}
  .shop_table_responsive td.product-remove::before,.shop_table_responsive td.product-thumbnail::before,.shop_table_responsive td.actions::before{display:none}
  .coupon{float:none;flex-direction:column}.coupon input{width:100%}td.actions>.button{float:none;width:100%;margin-top:.6rem}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
