:root{--bg:#f5f7fb;--surface:#fff;--surface-2:#f8fafc;--text:#172033;--muted:#6b7280;--primary:#2563eb;--primary-dark:#1d4ed8;--danger:#c62828;--ok:#14804a;--border:#e3e8ef;--shadow:0 12px 30px rgba(23,32,51,.07);--radius:16px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tahoma,Arial,sans-serif;background:var(--bg);color:var(--text);direction:rtl;line-height:1.75}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.container{width:min(1240px,92%);margin:auto}.topbar{background:#0f172a;color:#fff;position:sticky;top:0;z-index:50;box-shadow:0 5px 20px rgba(0,0,0,.12)}.nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-size:22px;font-weight:800}.navlinks{display:flex;align-items:center;gap:18px;font-size:16px}.navlinks a{opacity:.9}.navlinks a:hover{opacity:1}.nav-toggle{display:none;border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;border-radius:10px;padding:7px 10px}.badge-dark{background:#fff;color:#0f172a;border-radius:999px;padding:2px 7px;font-size:13px}.hero{padding:48px 0 28px}.hero-home{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:34px;min-height:300px}.hero h1,.page-head h1{margin:5px 0 10px;font-size:40px;line-height:1.35}.hero p{font-size:19px;color:var(--muted)}.eyebrow{font-size:15px;font-weight:800;color:var(--primary);background:#eaf1ff;border-radius:999px;padding:6px 10px}.search-box{display:flex;background:#fff;border:1px solid var(--border);padding:8px;border-radius:14px;box-shadow:var(--shadow)}.search-box input{border:0}.page-head{padding:38px 0 20px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:0 7px 18px rgba(23,32,51,.04);transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.product-img{width:100%;height:230px;object-fit:cover;background:#eef2f7}.product-img.tall{height:470px}.product-body{padding:17px}.product-body h3{font-size:18px;margin:0 0 8px}.clamp{height:52px;overflow:hidden}.price-row{display:flex;align-items:center;gap:10px;margin:12px 0}.price-row.big{margin:18px 0}.price{font-weight:800;font-size:22px;color:#111827}.big .price{font-size:30px}.price-row del{color:#9ca3af;font-size:15px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:10px 15px;background:var(--primary);color:#fff;cursor:pointer;font-weight:700;transition:.15s}.btn:hover{background:var(--primary-dark)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.secondary{background:#e8efff;color:#1746a2}.btn.light{background:#fff;color:#111827;border:1px solid var(--border)}.btn.danger{background:var(--danger)}.block{width:100%;display:flex}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:0 6px 20px rgba(23,32,51,.035)}.muted{color:var(--muted)}.placeholder{display:flex;align-items:center;justify-content:center;color:#9ca3af}.flash{padding:13px 15px;border-radius:10px;margin:16px 0}.flash.success{background:#e8f7ef;color:#0f6b3d}.flash.error{background:#fdeced;color:#a32121}input,textarea,select{width:100%;padding:11px 12px;border:1px solid #ccd4df;border-radius:10px;background:#fff;color:var(--text);outline:none}input:focus,textarea:focus,select:focus{border-color:#8db0ff;box-shadow:0 0 0 3px #eaf1ff}textarea{min-height:130px;resize:vertical}.short-area{min-height:80px}.long-area{min-height:230px}label{display:block;margin:0 0 7px;font-weight:700}.form-row{margin-bottom:15px}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.check{display:flex;gap:8px;align-items:center;font-weight:700}.check input{width:auto}.product-view{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;padding:42px 0 24px}.main-image img{width:100%;height:470px;object-fit:cover;border-radius:var(--radius);background:#eef2f7}.gallery-row{display:flex;gap:9px;margin-top:10px;overflow:auto;padding-bottom:4px}.thumb{width:74px;height:74px;padding:3px;border:2px solid transparent;border-radius:10px;background:#fff;cursor:pointer;flex:0 0 auto}.thumb.active{border-color:var(--primary)}.thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}.product-info h1{font-size:34px;line-height:1.45}.badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef4ff;color:#2455b8;font-size:14px}.buy-box{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}.inline-buy{display:flex;gap:10px}.qty{max-width:90px}.details-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:20px;margin:10px 0 35px}.prose{white-space:normal}.specs{margin:0}.specs div{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}.specs dt{font-weight:700}.specs dd{margin:0;color:var(--muted)}.cart-layout,.checkout-layout{display:grid;grid-template-columns:1fr 340px;gap:20px;align-items:start}.cart-row{display:grid;grid-template-columns:76px 1fr 90px 130px;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--border)}.cart-row img,.cart-img{width:72px;height:72px;object-fit:cover;border-radius:10px;background:#eef2f7}.summary{position:sticky;top:92px}.summary>div{display:flex;justify-content:space-between;padding:7px 0}.coupon-form{display:flex;gap:7px;margin:12px 0}.link-btn{border:0;background:transparent;color:var(--primary);cursor:pointer;padding:4px}.danger-text{color:var(--danger)}.shipping-list{display:grid;gap:9px}.shipping-option{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid var(--border);padding:12px;border-radius:12px;cursor:pointer}.shipping-option input{width:auto}.shipping-option span small{display:block;color:var(--muted);font-weight:400}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:980px;margin:50px auto}.success-box{text-align:center;max-width:650px;margin:60px auto}.success-icon{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#e8f7ef;color:var(--ok);font-size:34px;font-weight:900;margin:auto}.failed .success-icon{background:#fdeced;color:var(--danger)}.empty-state{text-align:center;padding:50px}.table-wrap{overflow:auto;background:#fff;border-radius:14px;border:1px solid var(--border)}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:12px 13px;border-bottom:1px solid var(--border);text-align:right;vertical-align:middle}th{background:#f8fafc;font-size:15px}.footer{display:flex;justify-content:space-between;gap:20px;padding:42px 0 28px;margin-top:40px;border-top:1px solid var(--border)}.inline-form{display:inline}.block-text{display:block}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.login-shell,.install-shell{max-width:820px;padding:55px 0}.login-shell{max-width:480px}.admin-layout{display:grid;grid-template-columns:245px 1fr;min-height:100vh}.sidebar{background:#0f172a;color:#fff;padding:24px 16px;position:sticky;top:0;height:100vh}.admin-brand{font-size:20px;font-weight:800;padding:0 10px 17px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:12px}.admin-nav a{display:block;padding:9px 11px;border-radius:9px;margin:3px 0;font-size:16px}.admin-nav a:hover{background:#1e293b}.admin-menu-toggle{display:none}.content{padding:28px;min-width:0}.admin-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.admin-top h1{font-size:27px;margin:0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.stat-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:19px}.stat-card span{display:block;color:var(--muted);font-size:15px}.stat-card b{display:block;font-size:26px;margin-top:8px}.admin-thumb{width:58px;height:58px;border-radius:9px;object-fit:cover}.preview-image{width:120px;height:120px;object-fit:cover;border-radius:10px;margin-top:10px}.admin-sections{display:grid;gap:18px;margin-top:18px}.gallery-admin{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.gallery-admin img{width:110px;height:90px;object-fit:cover;border-radius:9px}.gallery-admin>div{text-align:center}.mini-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--border);padding:9px 0}.variant-form{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr auto auto;gap:10px;align-items:end;margin-bottom:14px}.report-filter{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-bottom:18px}.api-key-box{background:#f1f5f9;border:1px solid var(--border);padding:12px;border-radius:10px;word-break:break-all;margin:8px 0 12px}.admin-two{align-items:start}
/* Tablet: roughly 10-inch devices, 768px–1100px */
@media (min-width:768px) and (max-width:1100px){.container{width:min(94%,980px)}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-img{height:210px}.hero-home{grid-template-columns:1fr 1fr}.product-view{grid-template-columns:1fr 1fr}.cart-layout,.checkout-layout{grid-template-columns:1fr 300px}.admin-layout{grid-template-columns:205px 1fr}.content{padding:20px}.stats-grid{grid-template-columns:repeat(2,1fr)}.variant-form{grid-template-columns:1fr 1fr 1fr}.variant-form .check{align-self:center}.three{grid-template-columns:repeat(2,1fr)}}
/* Mobile: up to 767px */
@media (max-width:767px){.container{width:92%}.nav{min-height:62px;position:relative}.nav-toggle{display:block}.navlinks{display:none;position:absolute;top:62px;right:0;left:0;background:#0f172a;padding:12px 4%;flex-direction:column;align-items:stretch;border-top:1px solid rgba(255,255,255,.1)}.navlinks.open{display:flex}.hero{padding:30px 0 18px}.hero-home{grid-template-columns:1fr;min-height:auto}.hero h1,.page-head h1{font-size:30px}.search-box{display:grid;grid-template-columns:1fr auto}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-img{height:160px}.product-body{padding:12px}.product-body h3{font-size:16px}.price{font-size:18px}.product-view,.details-grid,.auth-grid,.cart-layout,.checkout-layout,.two,.three{grid-template-columns:1fr}.product-view{padding-top:24px}.main-image img,.product-img.tall{height:330px}.product-info h1{font-size:27px}.summary{position:static}.cart-row{grid-template-columns:58px 1fr 70px}.cart-row>strong{grid-column:2/4}.cart-row img,.cart-img{width:56px;height:56px}.footer{flex-direction:column;text-align:center}.admin-layout{display:block}.sidebar{position:static;height:auto;padding:12px}.admin-brand{display:inline-block;border:0;margin:0;padding:8px}.admin-menu-toggle{display:inline-block;float:left;border:1px solid rgba(255,255,255,.2);background:#1e293b;color:#fff;border-radius:8px;padding:7px 12px}.admin-nav{display:none;clear:both;padding-top:8px}.admin-nav.open{display:block}.content{padding:16px}.admin-top h1{font-size:23px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:14px}.stat-card b{font-size:20px}.admin-two{grid-template-columns:1fr}.variant-form,.report-filter{grid-template-columns:1fr}.shipping-option{grid-template-columns:auto 1fr}.shipping-option b{grid-column:2}.coupon-form{flex-direction:column}}
/* Desktop/Laptop: 1101px and above uses the default four-column storefront and full admin sidebar. */

/* === Storefront identity + theme system (v2.1.0) === */
.brand{display:inline-flex;align-items:center;gap:10px;min-width:0}.brand-logo{width:42px;height:42px;object-fit:contain;border-radius:10px;background:rgba(255,255,255,.96);padding:4px;box-shadow:0 4px 14px rgba(0,0,0,.12)}.footer-copy{font-weight:700}.footer-version{display:inline-block;margin-right:8px;padding:2px 9px;border:1px solid var(--border);border-radius:999px;font-size:14px;font-weight:700;color:var(--muted);background:var(--surface)}.store-contact-line{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:15px}.store-contact-line span+span:before{content:'•';margin-left:14px;color:var(--border)}

/* Theme 1 — Azure Modern */
.storefront.theme-azure{--bg:#f4f7ff;--surface:#fff;--surface-2:#eef4ff;--text:#17213c;--muted:#65708a;--primary:#3157d5;--primary-dark:#2445b3;--border:#dfe6f4;--shadow:0 18px 45px rgba(47,74,150,.10);--radius:18px;background:radial-gradient(circle at 85% 0,#e7edff 0,transparent 34%),var(--bg)}
.storefront.theme-azure .topbar{background:linear-gradient(110deg,#101b3e,#263f86)}.storefront.theme-azure .hero-home{margin-top:24px;padding:38px;border:1px solid #dde5f6;border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(239,244,255,.90));box-shadow:0 24px 60px rgba(44,67,128,.10)}.storefront.theme-azure .product-card{border-color:#dfe6f3}.storefront.theme-azure .product-card:hover{transform:translateY(-5px)}

/* Theme 2 — Emerald Luxe */
.storefront.theme-emerald{--bg:#f6f3eb;--surface:#fffdf8;--surface-2:#f0ece2;--text:#183229;--muted:#6f786f;--primary:#0d7658;--primary-dark:#075942;--border:#ded8c8;--shadow:0 18px 44px rgba(25,64,50,.10);--radius:20px;background:linear-gradient(180deg,#faf8f1,var(--bg))}
.storefront.theme-emerald .topbar{background:#0b3b30;border-bottom:3px solid #c6a35b}.storefront.theme-emerald .brand{letter-spacing:.1px}.storefront.theme-emerald .hero-home{position:relative;margin-top:24px;padding:42px;border-radius:26px;background:linear-gradient(115deg,#0c4939 0,#12664d 58%,#d0ae66 150%);color:#fff;overflow:hidden;box-shadow:0 26px 60px rgba(12,73,57,.18)}.storefront.theme-emerald .hero-home:after{content:'';position:absolute;width:240px;height:240px;border:1px solid rgba(255,255,255,.16);border-radius:50%;left:-60px;top:-80px}.storefront.theme-emerald .hero-home h1,.storefront.theme-emerald .hero-home p{color:#fff}.storefront.theme-emerald .eyebrow{background:rgba(255,255,255,.14);color:#f6ddb0}.storefront.theme-emerald .search-box{box-shadow:none}.storefront.theme-emerald .product-card{box-shadow:0 10px 28px rgba(28,67,54,.07)}.storefront.theme-emerald .price{color:#0b5e45}.storefront.theme-emerald .btn{border-radius:999px}

/* Theme 3 — Sunset Market */
.storefront.theme-sunset{--bg:#fff5ed;--surface:#fffdfb;--surface-2:#fff0e3;--text:#432a27;--muted:#806b66;--primary:#e25d3f;--primary-dark:#bd432a;--border:#f0d9cc;--shadow:0 16px 42px rgba(156,70,48,.11);--radius:22px;background:radial-gradient(circle at 12% 8%,#ffe0ca 0,transparent 28%),var(--bg)}
.storefront.theme-sunset .topbar{background:linear-gradient(105deg,#4f2637,#7b3946)}.storefront.theme-sunset .hero-home{margin-top:24px;padding:38px;border-radius:30px;background:linear-gradient(120deg,#fff0e5,#ffd9c4);border:1px solid #f4cdb8}.storefront.theme-sunset .eyebrow{color:#a43f2c;background:#ffe2d2}.storefront.theme-sunset .product-card{box-shadow:0 12px 30px rgba(119,55,41,.08)}.storefront.theme-sunset .product-card:hover{transform:translateY(-4px) rotate(.15deg)}.storefront.theme-sunset .btn{border-radius:13px}.storefront.theme-sunset .badge{background:#ffe4d5;color:#ae402c}

/* Theme 4 — Professional Minimal */
.storefront.theme-minimal{--bg:#fff;--surface:#fff;--surface-2:#f7f7f7;--text:#171717;--muted:#717171;--primary:#171717;--primary-dark:#000;--border:#e6e6e6;--shadow:none;--radius:8px;background:#fff}
.storefront.theme-minimal .topbar{background:rgba(255,255,255,.96);color:#171717;border-bottom:1px solid #e9e9e9;box-shadow:none;backdrop-filter:blur(12px)}.storefront.theme-minimal .nav-toggle{color:#171717;border-color:#cfcfcf}.storefront.theme-minimal .badge-dark{background:#171717;color:#fff}.storefront.theme-minimal .hero-home{padding:64px 0 48px;min-height:340px;border-bottom:1px solid #ececec}.storefront.theme-minimal .hero h1{font-size:46px;letter-spacing:-1px}.storefront.theme-minimal .eyebrow{padding:0;background:transparent;color:#171717;border-radius:0}.storefront.theme-minimal .search-box{border-radius:0;border-width:0 0 1px;box-shadow:none;padding:4px 0}.storefront.theme-minimal .product-card{border-width:0 0 1px;border-radius:0;box-shadow:none}.storefront.theme-minimal .product-card:hover{transform:none}.storefront.theme-minimal .product-img{border-radius:8px}.storefront.theme-minimal .btn{border-radius:4px}.storefront.theme-minimal .card{box-shadow:none}.storefront.theme-minimal .footer-version{border-radius:4px}

/* Theme 5 — Noir Premium */
.storefront.theme-noir{--bg:#090c12;--surface:#111620;--surface-2:#171d29;--text:#f5f3ed;--muted:#9ba3b2;--primary:#c9a45d;--primary-dark:#a98545;--border:#252d3b;--shadow:0 20px 55px rgba(0,0,0,.34);--radius:18px;background:radial-gradient(circle at 80% 0,#1d2330 0,transparent 34%),#090c12;color:var(--text)}
.storefront.theme-noir .topbar{background:rgba(7,10,16,.96);border-bottom:1px solid #242b38;box-shadow:0 8px 25px rgba(0,0,0,.35);backdrop-filter:blur(14px)}.storefront.theme-noir .brand-logo{background:#fff}.storefront.theme-noir .hero-home{margin-top:24px;padding:42px;border-radius:26px;background:linear-gradient(130deg,#151b26,#0e1118);border:1px solid #2b3341;box-shadow:0 25px 70px rgba(0,0,0,.26)}.storefront.theme-noir .hero h1,.storefront.theme-noir .page-head h1,.storefront.theme-noir .price{color:#f6f3eb}.storefront.theme-noir .eyebrow{background:#242a34;color:#e2c27e}.storefront.theme-noir .search-box,.storefront.theme-noir input,.storefront.theme-noir textarea,.storefront.theme-noir select{background:#0e131c;color:#f3f4f6;border-color:#303847}.storefront.theme-noir input:focus,.storefront.theme-noir textarea:focus,.storefront.theme-noir select:focus{border-color:#c9a45d;box-shadow:0 0 0 3px rgba(201,164,93,.12)}.storefront.theme-noir .product-card,.storefront.theme-noir .card,.storefront.theme-noir .table-wrap{background:#111620;border-color:#252d3b;box-shadow:0 12px 34px rgba(0,0,0,.2)}.storefront.theme-noir th{background:#171d29}.storefront.theme-noir th,.storefront.theme-noir td{border-color:#252d3b}.storefront.theme-noir .product-img,.storefront.theme-noir .main-image img,.storefront.theme-noir .cart-row img{background:#171d29}.storefront.theme-noir .btn.light{background:#171d29;color:#f5f3ed;border-color:#343d4d}.storefront.theme-noir .btn.secondary{background:#242b36;color:#e8d3a4}.storefront.theme-noir .badge{background:#252b34;color:#e5c47e}.storefront.theme-noir .shipping-option{border-color:#303847}.storefront.theme-noir .footer-version{background:#111620;color:#c6cbd5}.storefront.theme-noir hr{border-color:#252d3b}.storefront.theme-noir .success-icon{background:#153224}.storefront.theme-noir .failed .success-icon{background:#35191d}

/* Admin store settings */
.admin-menu-group{margin:5px 0;border:1px solid rgba(255,255,255,.08);border-radius:10px;overflow:hidden}.admin-menu-group summary{cursor:pointer;list-style:none;padding:10px 11px;font-size:16px;font-weight:800;background:rgba(255,255,255,.045)}.admin-menu-group summary::-webkit-details-marker{display:none}.admin-menu-group summary:after{content:'⌄';float:left;opacity:.65}.admin-menu-group[open] summary:after{transform:rotate(180deg)}.admin-menu-group a{margin:2px 7px!important;padding:8px 10px!important;border-right:2px solid rgba(255,255,255,.14);border-radius:6px!important}.admin-version{position:absolute;right:16px;left:16px;bottom:18px;padding:12px 10px;border-top:1px solid rgba(255,255,255,.1);font-size:14px;line-height:1.9;color:#cbd5e1}.admin-version span{color:#94a3b8}.sidebar{position:sticky}.login-meta{text-align:center;margin-top:20px;padding-top:16px;border-top:1px solid var(--border);font-size:14px;color:var(--muted)}.store-logo-preview{display:flex;align-items:center;gap:16px;margin-top:12px;padding:12px;border:1px solid var(--border);border-radius:12px}.store-logo-preview img{width:90px;height:90px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid var(--border);padding:5px}.store-info-preview{min-height:320px;text-align:center}.store-info-preview>img{width:120px;height:120px;object-fit:contain;margin:14px auto;border:1px solid var(--border);border-radius:20px;padding:8px;background:#fff}.preview-label{display:inline-block;padding:4px 9px;border-radius:999px;background:#eef4ff;color:#3157d5;font-size:14px;font-weight:800}.store-info-preview h2{margin:6px 0}.store-tagline{font-weight:800;color:var(--primary)}
.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.theme-choice{position:relative;display:block;border:2px solid var(--border);border-radius:16px;padding:12px;cursor:pointer;background:#fff;transition:.2s}.theme-choice:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(23,32,51,.08)}.theme-choice.selected{border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.08)}.theme-choice>input{position:absolute;opacity:0;pointer-events:none}.theme-choice strong{display:block;font-size:17px;margin-top:10px}.theme-choice small{display:block;color:var(--muted);line-height:1.7;margin-top:3px;min-height:48px}.active-theme-badge{position:absolute;top:20px;right:20px;background:#14804a;color:#fff;border-radius:999px;padding:3px 9px;font-size:13px;font-weight:800}.theme-preview{display:block;height:142px;border-radius:11px;overflow:hidden;border:1px solid rgba(0,0,0,.08);padding:0 12px 12px}.theme-preview .tp-nav{display:block;height:25px;margin:0 -12px 12px}.theme-preview .tp-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:8px;height:42px;margin-bottom:10px}.theme-preview .tp-hero i,.theme-preview .tp-products i{display:block;border-radius:6px}.theme-preview .tp-products{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;height:40px}.preview-azure{background:#f4f7ff}.preview-azure .tp-nav{background:linear-gradient(90deg,#101b3e,#263f86)}.preview-azure .tp-hero i{background:#dfe7ff}.preview-azure .tp-products i{background:#fff;border:1px solid #dfe6f4}.preview-emerald{background:#f6f3eb}.preview-emerald .tp-nav{background:#0b3b30;border-bottom:2px solid #c6a35b}.preview-emerald .tp-hero i{background:#d8e6df}.preview-emerald .tp-products i{background:#fffdf8;border:1px solid #ded8c8}.preview-sunset{background:#fff5ed}.preview-sunset .tp-nav{background:#5e2c3a}.preview-sunset .tp-hero i{background:#ffd9c4}.preview-sunset .tp-products i{background:#fff;border:1px solid #f0d9cc}.preview-minimal{background:#fff}.preview-minimal .tp-nav{background:#fff;border-bottom:1px solid #ddd}.preview-minimal .tp-hero i{background:#f0f0f0;border-radius:1px}.preview-minimal .tp-products i{background:#f9f9f9;border-bottom:1px solid #ddd;border-radius:1px}.preview-noir{background:#090c12}.preview-noir .tp-nav{background:#060910;border-bottom:1px solid #29303c}.preview-noir .tp-hero i{background:#1e2531}.preview-noir .tp-products i{background:#111620;border:1px solid #2d3543}

/* Theme-specific responsive refinements — tablet 10-inch */
@media (min-width:768px) and (max-width:1100px){.storefront .brand-logo{width:38px;height:38px}.storefront.theme-azure .hero-home,.storefront.theme-emerald .hero-home,.storefront.theme-sunset .hero-home,.storefront.theme-noir .hero-home{padding:30px}.storefront.theme-minimal .hero-home{padding:48px 0 38px}.theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-version{position:static;margin-top:20px}.sidebar{height:auto;min-height:100vh}}
/* Theme-specific responsive refinements — mobile */
@media (max-width:767px){.brand{font-size:18px;max-width:70%}.brand-logo{width:36px;height:36px;border-radius:8px}.storefront.theme-azure .hero-home,.storefront.theme-emerald .hero-home,.storefront.theme-sunset .hero-home,.storefront.theme-noir .hero-home{margin-top:14px;padding:24px 18px;border-radius:20px}.storefront.theme-minimal .hero-home{padding:38px 0 28px}.storefront.theme-minimal .hero h1{font-size:33px}.storefront.theme-minimal .navlinks{background:#fff;color:#171717;border-color:#e8e8e8}.storefront.theme-noir .navlinks{background:#080b11}.footer-copy{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}.footer-version{margin-right:0}.store-contact-line{justify-content:center}.store-contact-line span+span:before{display:none}.theme-grid{grid-template-columns:1fr}.theme-choice small{min-height:0}.admin-version{position:static;clear:both;margin-top:16px}.store-logo-preview{align-items:flex-start;flex-direction:column}}
.storefront.theme-noir .btn:not(.light):not(.secondary):not(.danger){color:#15120c}.storefront.theme-noir .btn:not(.light):not(.secondary):not(.danger):hover{color:#fff}.storefront.theme-azure .navlinks.open{background:#142451}.storefront.theme-emerald .navlinks.open{background:#0b3b30}.storefront.theme-sunset .navlinks.open{background:#5e2c3a}
@media (max-width:767px){.sidebar{position:static;height:auto}.admin-version{border-top-color:rgba(255,255,255,.1)}}

/* ===== v2.2.0: product gallery / lightbox ===== */
.product-media{min-width:0}.main-image{width:100%}.main-image-button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.main-image-button img,.main-image>img{display:block;width:100%!important;height:auto!important;max-width:100%;object-fit:contain;border-radius:var(--radius);background:var(--surface-2)}
.product-lightbox[hidden]{display:none!important}.product-lightbox{position:fixed;inset:0;z-index:1000;background:rgba(4,8,15,.94);display:grid;place-items:center;padding:32px 82px;direction:ltr}.lightbox-stage{position:relative;width:min(1120px,100%);height:min(86vh,900px);display:grid;place-items:center}.lightbox-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 25px 80px rgba(0,0,0,.35)}.lightbox-close,.lightbox-arrow{position:fixed;border:0;background:rgba(255,255,255,.12);color:#fff;backdrop-filter:blur(8px);cursor:pointer;z-index:2;display:grid;place-items:center}.lightbox-close{top:20px;right:20px;width:46px;height:46px;border-radius:50%;font-size:33px}.lightbox-arrow{top:50%;transform:translateY(-50%);width:54px;height:76px;border-radius:16px;font-size:52px;line-height:1}.lightbox-prev{left:20px}.lightbox-next{right:20px}.lightbox-arrow:hover,.lightbox-close:hover{background:rgba(255,255,255,.22)}.lightbox-counter{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);background:rgba(0,0,0,.55);color:#fff;padding:6px 12px;border-radius:999px;font-size:15px;direction:rtl}.lightbox-open{overflow:hidden}

/* ===== v2.2.0: homepage advertisements ===== */
.home-ads{display:grid;grid-template-columns:1fr;gap:16px;margin:24px 0}.home-ads-top{margin-top:4px;margin-bottom:28px}.home-ads-bottom{margin-top:30px}.home-ad{overflow:hidden;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}.home-ad a,.home-ad img{display:block;width:100%}.home-ad img{height:auto;object-fit:contain;max-height:420px;background:var(--surface-2)}

/* ===== v2.2.0: professional product media manager ===== */
.product-media-manager{margin-top:18px;padding:0;overflow:hidden}.media-manager-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 16px}.media-manager-head h3{margin:6px 0 2px;font-size:22px}.media-dropzone{margin:0 24px 20px;border:2px dashed #b8c4d5;border-radius:16px;min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#526071;background:linear-gradient(180deg,#fbfdff,#f5f8fc);transition:.2s;position:relative}.media-dropzone.over{border-color:var(--primary);background:#edf4ff;transform:scale(1.005)}.media-dropzone b{color:#243042}.media-progress{position:absolute;inset:0;background:rgba(255,255,255,.88);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-radius:14px}.media-progress i{width:34px;height:34px;border-radius:50%;border:3px solid #dce6f5;border-top-color:var(--primary);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.media-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:0 24px 24px}.media-card{border:1px solid var(--border);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 5px 15px rgba(20,35,58,.04);transition:.16s}.media-card:not(.main){cursor:grab}.media-card.dragging{opacity:.42;transform:scale(.96)}.media-card.main{border:2px solid #2b6eea;box-shadow:0 0 0 3px rgba(43,110,234,.08)}.media-image-wrap{aspect-ratio:1/1;position:relative;background:#f4f7fb}.media-image-wrap img{width:100%;height:100%;object-fit:cover;display:block}.media-order{position:absolute;top:8px;left:8px;width:26px;height:26px;display:grid;place-items:center;background:rgba(15,23,42,.82);color:#fff;border-radius:8px;font-size:13px}.main-image-badge{position:absolute;right:8px;bottom:8px;background:#2563eb;color:#fff;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}.drag-handle{position:absolute;right:8px;top:8px;background:rgba(255,255,255,.9);border-radius:8px;padding:2px 7px;font-weight:900;color:#64748b}.media-card-actions{display:grid;gap:5px;padding:8px}.media-action{width:100%;border:0;border-radius:8px;padding:7px 5px;font-size:13px;font-weight:800;cursor:pointer}.media-action.primary{background:#edf4ff;color:#2056b7}.media-action.danger{background:#fff0f0;color:#b32323}.media-empty,.media-loading{grid-column:1/-1;text-align:center;padding:38px;border:1px dashed var(--border);border-radius:14px;color:var(--muted)}.media-empty.error{color:var(--danger)}.media-toast{position:absolute;top:12px;left:24px;background:#15804a;color:#fff;padding:9px 13px;border-radius:9px;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s;z-index:3}.product-media-manager{position:relative}.media-toast.show{opacity:1;transform:none}.media-toast.error{background:#b3261e}.media-save-first{margin-top:18px;border-style:dashed}

/* ===== v2.2.0: theme studio ===== */
.theme-studio-hero{display:grid;grid-template-columns:1fr 300px;gap:20px;background:linear-gradient(135deg,#10233f,#1c4c89);color:#fff;border-radius:22px;padding:28px;margin-bottom:18px;box-shadow:0 18px 50px rgba(16,35,63,.18)}.theme-studio-hero h2{margin:7px 0;font-size:30px}.theme-studio-hero p{color:#dce9fb;max-width:780px}.active-theme-panel{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}.active-theme-panel small{color:#bed4f2}.active-theme-panel strong{font-size:23px}.palette-row{display:flex;gap:6px;margin-top:7px}.palette-row i{display:block;width:24px;height:24px;border-radius:50%;background:var(--swatch);border:2px solid rgba(255,255,255,.8);box-shadow:0 0 0 1px rgba(0,0,0,.1)}.theme-form{padding:20px}.theme-grid.professional{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.theme-grid.professional .theme-choice{display:grid;grid-template-columns:1.1fr .9fr;gap:14px;padding:14px;min-height:205px;align-items:center}.theme-grid.professional .theme-choice.selected,.theme-grid.professional .theme-choice.chosen{border-color:#2563eb;box-shadow:0 0 0 4px rgba(37,99,235,.09),0 15px 35px rgba(26,50,88,.08)}.theme-grid.professional .theme-preview{height:174px;margin:0}.theme-card-meta{display:block}.theme-card-meta strong{font-size:20px}.theme-card-meta small{min-height:0}.theme-card-meta .palette-row i{border-color:#fff}.choose-theme-badge{position:absolute;top:18px;right:18px;background:#eef4ff;color:#2455b8;border-radius:999px;padding:3px 9px;font-size:13px;font-weight:800}.theme-choice.chosen .choose-theme-badge{background:#2563eb;color:#fff}.theme-actions{display:flex;align-items:center;gap:14px;border-top:1px solid var(--border);padding-top:18px}.theme-preview .tp-nav{position:relative}.theme-preview .tp-nav i{display:inline-block;width:22px;height:4px;border-radius:3px;background:rgba(255,255,255,.55);margin:10px 2px 0}

/* ===== v2.2.0: Persian/Jalali calendar ===== */
.jalali-input{cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#64748b 50%),linear-gradient(135deg,#64748b 50%,transparent 50%);background-position:18px 50%,13px 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-left:32px}.jalali-picker{position:absolute;z-index:1200;width:310px;background:#fff;border:1px solid #dbe2ec;border-radius:16px;box-shadow:0 18px 55px rgba(15,23,42,.2);padding:12px;direction:rtl;color:#172033}.jp-head{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;text-align:center;margin-bottom:8px}.jp-head button{border:0;background:#f1f5f9;border-radius:9px;height:34px;cursor:pointer;font-size:25px}.jp-week,.jp-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.jp-week span{text-align:center;color:#7a8596;font-size:13px;padding:4px}.jp-days button,.jp-days .empty{height:36px;border-radius:9px}.jp-days button{border:0;background:transparent;cursor:pointer;font-size:14px;color:#263244}.jp-days button:hover{background:#edf4ff}.jp-days button.today{background:#fff3c4;color:#7a5100;font-weight:900;box-shadow:inset 0 0 0 2px #e0ad19}.jp-days button.selected{background:#2563eb!important;color:#fff!important;box-shadow:none}.jp-time{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #edf0f5}.jp-time label{font-size:13px;color:#667085}.jp-time input{padding:7px 8px;margin-top:4px}.jp-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f5;margin-top:10px;padding-top:9px}.jp-foot button{border:0;background:transparent;cursor:pointer;color:#2563eb;font-size:14px}.jp-today b{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff3c4;color:#7a5100;border:1px solid #e0ad19;margin-right:3px}

/* ===== v2.2.0: advertisements admin ===== */
.ads-admin-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:start}.ad-edit-preview{display:block;width:100%;max-width:520px;max-height:210px;object-fit:contain;margin-top:10px;border:1px solid var(--border);border-radius:12px;background:#f8fafc}.ad-position-demo{display:grid;gap:7px}.ad-position-demo span,.ad-position-demo b{text-align:center;padding:10px;border-radius:9px}.ad-position-demo span{background:#f1f5f9;color:#64748b}.ad-position-demo b{background:#eaf1ff;color:#2455b8;border:1px dashed #8fb0f0}.ads-list{display:grid;gap:12px;margin-top:18px}.ad-admin-card{display:grid;grid-template-columns:190px 1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:14px;padding:10px 14px}.ad-admin-card>img{width:190px;height:82px;object-fit:cover;border-radius:10px;background:#f1f5f9}.ad-admin-card h4{margin:5px 0}.ad-admin-actions{display:flex;gap:7px;align-items:center}.ad-admin-actions form{margin:0}

/* v2.2.0 responsive: tablet 10-inch */
@media (min-width:768px) and (max-width:1100px){.product-view{grid-template-columns:1fr 1fr}.media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-grid.professional{grid-template-columns:1fr}.theme-studio-hero{grid-template-columns:1fr 260px}.ads-admin-layout{grid-template-columns:1fr}.ad-admin-card{grid-template-columns:160px 1fr auto}.ad-admin-card>img{width:160px}.home-ad img{max-height:360px}}
/* v2.2.0 responsive: mobile */
@media (max-width:767px){.main-image-button img,.main-image>img{border-radius:12px}.product-lightbox{padding:70px 12px 30px}.lightbox-arrow{width:44px;height:58px;font-size:42px}.lightbox-prev{left:7px}.lightbox-next{right:7px}.lightbox-close{top:12px;right:12px}.gallery-row{gap:7px}.thumb{width:66px;height:66px}.media-manager-head{padding:18px;flex-direction:column}.media-manager-head .btn{width:100%}.media-dropzone{margin:0 18px 16px;padding:18px;text-align:center}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 18px 18px;gap:10px}.media-action{font-size:12px}.theme-studio-hero{grid-template-columns:1fr;padding:20px}.theme-grid.professional{grid-template-columns:1fr}.theme-grid.professional .theme-choice{grid-template-columns:1fr}.theme-grid.professional .theme-preview{height:160px}.theme-actions{align-items:stretch;flex-direction:column}.theme-actions .btn{width:100%}.jalali-picker{width:min(310px,calc(100vw - 20px))}.ads-admin-layout{grid-template-columns:1fr}.ad-admin-card{grid-template-columns:1fr}.ad-admin-card>img{width:100%;height:auto;max-height:180px;object-fit:contain}.ad-admin-actions{justify-content:flex-start}.home-ads{gap:10px;margin:18px 0}.home-ad img{max-height:none}}

/* ===== v2.3.0: logo thumbnails ===== */
.brand-logo{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;min-width:44px;min-height:44px;object-fit:contain!important;display:block;flex:0 0 44px;border-radius:10px;overflow:hidden}.store-logo-preview img{width:80px!important;height:80px!important;max-width:80px!important;max-height:80px!important;object-fit:contain!important}.store-info-preview>img{width:96px!important;height:96px!important;max-width:96px!important;max-height:96px!important;object-fit:contain!important}

/* ===== v2.3.0: checkout identity flow ===== */
.checkout-step-head{padding-bottom:14px}.checkout-step{display:inline-flex;background:#eaf1ff;color:#2157b8;border-radius:999px;padding:5px 10px;font-size:14px;font-weight:900}.checkout-guest-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);gap:20px;align-items:start}.existing-customer-box{position:sticky;top:94px}.auth-single{width:min(560px,100%);margin:0 auto 34px}.password-language-warning{margin-top:8px;padding:9px 11px;border-radius:9px;background:#fff0f0;color:#a32626;font-weight:800;font-size:14px}.readonly-field{background:#f2f5f8!important;color:#586474}.product-flags{display:flex;gap:22px;align-items:center;flex-wrap:wrap}.featured-check{padding:9px 12px;border-radius:10px;background:#fff7dc;color:#7b5400;border:1px solid #f1d878}

/* ===== v2.3.0: slideshow ===== */
.home-slideshow{position:relative;margin:8px 0 26px;border-radius:22px;overflow:hidden;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);isolation:isolate}.slideshow-track{position:relative;aspect-ratio:16/5;min-height:190px}.slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .55s ease,visibility .55s ease}.slide.active{opacity:1;visibility:visible;z-index:1}.slide a,.slide img{display:block;width:100%;height:100%}.slide img{object-fit:cover;background:var(--surface-2)}.slideshow-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:46px;height:64px;border:0;border-radius:14px;background:rgba(15,23,42,.55);color:#fff;font-size:40px;line-height:1;cursor:pointer;backdrop-filter:blur(8px)}.slideshow-arrow.prev{right:14px}.slideshow-arrow.next{left:14px}.slideshow-dots{position:absolute;z-index:4;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:7px;background:rgba(15,23,42,.34);padding:7px 9px;border-radius:999px}.slideshow-dots button{width:9px;height:9px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.55);cursor:pointer}.slideshow-dots button.active{width:24px;border-radius:999px;background:#fff}

/* ===== v2.3.0: featured products ===== */
.featured-products{margin:0 0 28px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 12px}.section-heading h2{margin:5px 0 0;font-size:27px}.featured-scroll-actions{display:flex;gap:7px}.featured-scroll-actions button{width:38px;height:38px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:26px;cursor:pointer}.featured-scroller{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 64px)/5);gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:3px 2px 12px;scrollbar-width:thin}.featured-card{scroll-snap-align:start;background:var(--surface);border:1px solid var(--border);border-radius:15px;overflow:hidden;box-shadow:0 5px 16px rgba(23,32,51,.05);min-width:0}.featured-card img,.featured-placeholder{width:100%;height:150px;object-fit:cover;background:var(--surface-2)}.featured-placeholder{display:grid;place-items:center;color:var(--muted)}.featured-card h3{font-size:16px;margin:10px 12px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.featured-card .price{font-size:17px;margin:0 12px 12px}.theme-noir .featured-scroll-actions button{background:#171d29;border-color:#2b3341;color:#fff}

/* ===== v2.3.0: ad controls ===== */
.ad-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.ad-section-head h2{margin:4px 0}.ad-enable-form{display:flex;align-items:center;gap:12px}.switch-check{display:flex!important;align-items:center;gap:9px;margin:0;cursor:pointer}.switch-check input{position:absolute;opacity:0;pointer-events:none}.switch-check span{width:48px;height:27px;border-radius:999px;background:#cbd5e1;position:relative;transition:.2s}.switch-check span:after{content:'';position:absolute;width:21px;height:21px;border-radius:50%;background:#fff;top:3px;right:3px;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.2s}.switch-check input:checked+span{background:#1f6ed4}.switch-check input:checked+span:after{transform:translateX(-21px)}

/* ===== v2.3.0 responsive ===== */
@media (min-width:768px) and (max-width:1100px){.brand-logo{width:40px!important;height:40px!important;max-width:40px!important;max-height:40px!important;min-width:40px;min-height:40px}.checkout-guest-grid{grid-template-columns:1fr 300px}.featured-scroller{grid-auto-columns:calc((100% - 32px)/3)}.slideshow-track{aspect-ratio:16/6;min-height:230px}.ad-section-head{align-items:flex-start}}
@media (max-width:767px){.brand-logo{width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important;min-width:36px;min-height:36px}.checkout-guest-grid{grid-template-columns:1fr}.existing-customer-box{position:static}.checkout-step-head h1{font-size:32px}.featured-scroller{grid-auto-columns:min(72vw,230px);gap:11px}.featured-card img,.featured-placeholder{height:135px}.featured-scroll-actions{display:none}.section-heading h2{font-size:23px}.home-slideshow{border-radius:15px;margin:4px 0 20px}.slideshow-track{aspect-ratio:4/2.25;min-height:170px}.slideshow-arrow{width:38px;height:52px;font-size:32px}.slideshow-arrow.prev{right:7px}.slideshow-arrow.next{left:7px}.slideshow-dots{bottom:8px}.ad-section-head{align-items:stretch;flex-direction:column}.ad-enable-form{justify-content:space-between}.product-flags{align-items:flex-start;flex-direction:column;gap:10px}}

/* 2.3.1 - حالت امن مدیریت آگهی‌ها */
.ad-admin-placeholder{width:190px;height:82px;display:grid;place-items:center;border-radius:10px;background:#f1f5f9;color:#94a3b8;font-size:14px;border:1px dashed #cbd5e1}
@media (max-width:767px){.ad-admin-placeholder{width:100%;height:140px}}

/* ===== v2.4.0: compact storefront identity header ===== */
.storefront .hero-home{height:150px!important;min-height:150px!important;padding:16px 24px!important;gap:24px!important;overflow:hidden;align-items:center}.hero-identity{display:flex;align-items:center;gap:15px;min-width:0}.hero-store-logo{width:72px;height:72px;min-width:72px;max-width:72px;object-fit:contain;border-radius:14px;background:#fff;padding:6px;border:1px solid var(--border);box-shadow:0 7px 20px rgba(15,23,42,.09)}.hero-copy{min-width:0}.hero-copy h1{font-size:30px!important;margin:3px 0 3px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-copy p{font-size:15px!important;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-copy .eyebrow{font-size:13px;padding:4px 8px}.hero-home .search-box{min-height:50px;align-items:center}.hero-home .search-box input{min-width:0}.storefront.theme-minimal .hero-home{border-bottom:1px solid #ececec!important}.storefront.theme-noir .hero-store-logo{border-color:#343d4d}

/* ===== v2.4.0: amazing offers ===== */
.amazing-offers{display:grid;grid-template-columns:190px minmax(0,1fr);direction:rtl;margin:24px 0 30px;border-radius:18px;overflow:hidden;border:1px solid #b62843;background:#fff;box-shadow:0 14px 36px rgba(93,25,39,.10);min-height:350px}.amazing-offers-title{background:linear-gradient(150deg,#2b2022 0,#4a252d 58%,#791f35 100%);color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:26px 18px;position:relative}.amazing-offers-title:before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.05),transparent 44%);pointer-events:none}.amazing-offers-title span{font-size:19px;font-weight:900}.amazing-offers-title strong{font-size:33px;line-height:1.38;margin-top:3px}.amazing-offers-title b{font-size:56px;line-height:1;margin-top:30px;font-weight:900}.amazing-products-shell{position:relative;min-width:0;background:#fff}.amazing-scroller{height:100%;display:grid;grid-auto-flow:column;grid-auto-columns:20%;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;direction:rtl}.amazing-scroller::-webkit-scrollbar{display:none}.amazing-card{min-width:0;background:#fff;border-left:1px solid #d9a3ad;scroll-snap-align:start;padding:12px 12px 18px;position:relative}.amazing-card>a{display:flex;height:100%;flex-direction:column;color:#161616}.amazing-image-wrap{height:205px;display:grid;place-items:center;margin-bottom:5px;background:#fff}.amazing-image-wrap img{display:block;width:100%;height:100%;object-fit:contain}.amazing-placeholder{height:100%;width:100%;display:grid;place-items:center;background:#f8fafc;color:#94a3b8}.amazing-card h3{font-size:16px;line-height:1.9;margin:4px 0 14px;min-height:54px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.amazing-price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.amazing-price{font-size:18px;font-weight:900;color:#25304f;white-space:nowrap}.amazing-discount{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:29px;padding:0 8px;border-radius:999px;background:#e8232f;color:#fff;font-size:15px;font-weight:900}.amazing-card del{display:block;margin-top:5px;color:#b7bdc8;font-size:14px;text-decoration-thickness:1.5px}.amazing-arrow{position:absolute;top:50%;z-index:4;width:46px;height:58px;margin-top:-29px;border:1px solid #e4e7ec;background:rgba(255,255,255,.96);color:#14171c;border-radius:50%;font-size:37px;line-height:1;display:grid;place-items:center;box-shadow:0 7px 22px rgba(0,0,0,.11);cursor:pointer}.amazing-prev{right:8px}.amazing-next{left:8px}.theme-noir .amazing-offers{border-color:#8b3345}.theme-noir .amazing-card,.theme-noir .amazing-products-shell{background:#fff}.theme-noir .amazing-card h3,.theme-noir .amazing-price{color:#181b21}

/* ===== v2.4.0: product form numbers and inventory ===== */
.label-with-balloon{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.price-words-bubble{display:inline-flex;align-items:center;min-height:25px;padding:3px 9px;border-radius:999px;background:#eef4ff;color:#2455b8;border:1px solid #d9e5ff;font-size:13px;font-weight:800;line-height:1.6}.price-words-bubble[hidden]{display:none}.stock-field-group{position:relative}.no-subtract-check{margin-top:10px;padding:8px 10px;border-radius:9px;background:#fff7e7;color:#725214;border:1px solid #f2dfb4;width:max-content;max-width:100%}.customer-stock{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:9px;background:var(--surface-2);border:1px solid var(--border);font-size:15px}

/* ===== v2.4.0: products admin search / controls ===== */
.products-admin-toolbar{margin-bottom:16px}.products-toolbar-actions{display:flex;align-items:center;justify-content:flex-start;gap:14px;flex-wrap:wrap}.add-product-btn{order:0}.stock-display-form{margin:0}.stock-customer-switch{padding:8px 11px;border:1px solid var(--border);border-radius:11px;background:#f8fafc}.product-admin-filters{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,320px) auto;gap:12px;align-items:end;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}.product-admin-filters .form-row{margin:0}.product-filter-status{height:46px;display:flex;align-items:center;gap:6px;padding:0 11px;border:1px solid var(--border);border-radius:10px;background:#f8fafc;white-space:nowrap}.ajax-search-state{font-size:13px;color:#2563eb;margin-right:5px}.product-admin-filters.searching input{background-image:linear-gradient(90deg,transparent,#eef4ff,transparent);background-size:200% 100%;animation:ajaxPulse 1.1s linear infinite}.ajax-empty-products{text-align:center;padding:28px;color:var(--muted)}@keyframes ajaxPulse{to{background-position:-200% 0}}.discount-pill{display:inline-flex;padding:4px 9px;border-radius:999px;background:#e8232f;color:#fff;font-weight:900}.amazing-admin-preview .section-heading{align-items:center}.amazing-admin-preview h3{margin:5px 0 0}

/* Tablet 10-inch — v2.4.0 */
@media (min-width:768px) and (max-width:1100px){.storefront .hero-home{height:150px!important;min-height:150px!important;padding:14px 18px!important;gap:16px!important}.hero-store-logo{width:62px;height:62px;min-width:62px;max-width:62px}.hero-copy h1{font-size:25px!important}.hero-copy p{font-size:14px!important}.amazing-offers{grid-template-columns:165px minmax(0,1fr);min-height:330px}.amazing-offers-title strong{font-size:29px}.amazing-scroller{grid-auto-columns:33.333333%}.amazing-image-wrap{height:190px}.product-admin-filters{grid-template-columns:1fr 250px}.product-filter-status{grid-column:1/-1;width:max-content}.product-number-grid{grid-template-columns:1fr 1fr}.stock-field-group{grid-column:1/-1}}

/* Mobile — v2.4.0 */
@media (max-width:767px){.storefront .hero-home{height:150px!important;min-height:150px!important;padding:10px 12px!important;gap:7px!important;grid-template-columns:1fr!important;align-content:center}.hero-identity{gap:9px}.hero-store-logo{width:50px;height:50px;min-width:50px;max-width:50px;border-radius:10px;padding:4px}.hero-copy h1{font-size:21px!important;margin:1px 0!important}.hero-copy p{display:none}.hero-copy .eyebrow{font-size:12px;padding:2px 6px}.hero-home .search-box{min-height:41px;padding:5px}.hero-home .search-box .btn{padding:7px 11px}.amazing-offers{display:block;min-height:0;border-radius:15px;margin:18px 0 24px}.amazing-offers-title{height:88px;flex-direction:row;gap:8px;padding:10px 16px;justify-content:flex-start}.amazing-offers-title span{font-size:17px}.amazing-offers-title strong{font-size:24px;line-height:1.1}.amazing-offers-title strong br{display:none}.amazing-offers-title b{font-size:38px;margin:0 0 0 auto}.amazing-products-shell{height:315px}.amazing-scroller{grid-auto-columns:min(76vw,235px)}.amazing-image-wrap{height:175px}.amazing-card{padding:9px 10px 15px}.amazing-card h3{min-height:48px;font-size:15px;margin-bottom:10px}.amazing-arrow{width:38px;height:48px;margin-top:-24px;font-size:31px}.products-toolbar-actions{align-items:stretch;flex-direction:column}.products-toolbar-actions .add-product-btn{width:100%}.stock-customer-switch{width:100%;justify-content:flex-start}.product-admin-filters{grid-template-columns:1fr}.product-filter-status{grid-column:auto;width:100%}.product-number-grid{grid-template-columns:1fr!important}.no-subtract-check{width:100%}.label-with-balloon{align-items:flex-start;flex-direction:column;gap:5px}.price-words-bubble{max-width:100%}.amazing-admin-preview .section-heading{align-items:stretch;flex-direction:column}.amazing-admin-preview .section-heading .btn{width:100%}}

/* ===== v2.4.1: storefront navigation / customer quick actions ===== */
.storefront-topbar .storefront-nav{min-height:72px;justify-content:space-between;gap:18px}.storefront-primary-nav{justify-content:flex-start;gap:20px;min-width:0}.storefront-primary-nav a{white-space:nowrap}.storefront-primary-nav .home-nav-link{font-weight:900}.customer-quick-actions{direction:rtl;display:flex;align-items:center;gap:14px;background:#fff;color:#111;border-radius:16px;padding:5px 10px 5px 12px;box-shadow:0 5px 18px rgba(0,0,0,.08);flex:0 0 auto}.customer-auth-box{display:flex;align-items:center;gap:7px;min-height:48px;padding:0 12px;border:1px solid #d9dde3;border-radius:12px;font-weight:900;color:#191919;background:#fff}.customer-auth-box a{display:inline-flex;align-items:center;color:inherit;opacity:1}.customer-auth-box a:hover{color:var(--primary)}.auth-icon-link{width:31px;height:31px;justify-content:center;margin-left:2px}.auth-icon-link svg,.cart-icon-link svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}.auth-separator{color:#7d828b;font-weight:400}.quick-action-divider{width:1px;height:38px;background:#d9dde3;display:block}.cart-icon-link{position:relative;width:42px;height:42px;display:grid!important;place-items:center;color:#111!important;opacity:1!important}.cart-icon-link:hover{color:var(--primary)!important}.cart-count-badge{position:absolute;top:-3px;left:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#e8232f;color:#fff;display:grid;place-items:center;font-size:12px;line-height:1;font-weight:900;border:2px solid #fff}.storefront-nav-toggle{margin-left:0}
.storefront.theme-minimal .customer-quick-actions,.storefront.theme-minimal .customer-auth-box{box-shadow:none}.storefront.theme-noir .customer-quick-actions,.storefront.theme-noir .customer-auth-box{background:#fff;color:#111;border-color:#d9dde3}.storefront.theme-noir .cart-icon-link{color:#111!important}

/* Tablet 10-inch — v2.4.1 */
@media (min-width:768px) and (max-width:1100px){.storefront-topbar .storefront-nav{gap:12px}.storefront-primary-nav{gap:13px;font-size:14px;overflow-x:auto;scrollbar-width:none}.storefront-primary-nav::-webkit-scrollbar{display:none}.customer-quick-actions{gap:9px;padding-left:9px}.customer-auth-box{padding:0 9px;gap:5px;font-size:14px}.auth-icon-link{width:27px;height:27px}.auth-icon-link svg,.cart-icon-link svg{width:26px;height:26px}.quick-action-divider{height:34px}}

/* Mobile — v2.4.1 */
@media (max-width:767px){.storefront-topbar .storefront-nav{min-height:66px;gap:8px;justify-content:flex-start}.storefront-nav-toggle{display:block;order:0;flex:0 0 auto}.storefront-primary-nav{position:absolute;top:66px;right:0;left:0;z-index:20;padding:12px 4%;gap:6px;max-height:70vh;overflow:auto}.customer-quick-actions{margin-right:auto;gap:7px;padding:4px 7px;border-radius:13px;min-width:0}.customer-auth-box{min-height:42px;padding:0 7px;gap:4px;border-radius:10px;font-size:13px;white-space:nowrap}.auth-icon-link{width:25px;height:25px;margin-left:0}.auth-icon-link svg,.cart-icon-link svg{width:24px;height:24px}.quick-action-divider{height:30px}.cart-icon-link{width:34px;height:34px}.cart-count-badge{min-width:17px;height:17px;font-size:11px}.storefront-primary-nav a{padding:7px 5px}}


/* ===== v2.4.3: responsive storefront polish ===== */
/* کارت‌های معمولی: توضیح خالی نباید فضای رزرو ایجاد کند. */
.product-card .clamp:empty{display:none!important;margin:0!important;height:0!important;min-height:0!important}
.product-card .btn.block{white-space:nowrap;line-height:1.4}

/* اکشن‌های حساب/سبد: رنگ و سطح از خود قالب گرفته می‌شود، نه سفید/مشکی ثابت. */
.storefront .customer-quick-actions{background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--border);border-radius:13px;padding:4px 7px;gap:7px;box-shadow:0 4px 14px rgba(15,23,42,.08)}
.storefront .customer-auth-box{min-height:38px;padding:0 4px;gap:5px;border:0!important;border-radius:0;background:transparent!important;color:inherit!important;font-size:15px;font-weight:800;box-shadow:none!important}
.storefront .customer-auth-box a{color:inherit!important}
.storefront .customer-auth-box a:hover,.storefront .auth-icon-link:hover,.storefront .cart-icon-link:hover{color:var(--primary)!important}
.storefront .auth-icon-link{width:26px;height:26px;margin:0}
.storefront .auth-icon-link svg,.storefront .cart-icon-link svg{width:22px;height:22px;stroke:currentColor}
.storefront .quick-action-divider{height:27px;background:var(--border)}
.storefront .cart-icon-link{width:30px;height:30px;color:inherit!important}
.storefront .cart-count-badge{top:-5px;left:-5px;min-width:17px;height:17px;padding:0 4px;background:var(--primary);color:#fff;border-color:var(--surface);font-size:11px}
.storefront .auth-separator{color:var(--muted)}

/* Desktop / Laptop >= 1101 */
@media (min-width:1101px){
  .storefront .product-img{height:230px}
  .storefront .product-body{padding:17px}
  .storefront .product-body h3{font-size:18px;line-height:1.75}
  .storefront .product-card .price{font-size:22px}
  .storefront .product-card .btn.block{font-size:16px;padding:10px 14px}
  .home-slideshow{width:100%}
  .slideshow-track{aspect-ratio:16/5}
}

/* Tablet 10-inch: 768–1100 */
@media (min-width:768px) and (max-width:1100px){
  .storefront .product-img{height:200px}
  .storefront .product-body{padding:14px}
  .storefront .product-body h3{font-size:17px;line-height:1.7;margin-bottom:7px}
  .storefront .product-card .price{font-size:20px}
  .storefront .product-card .btn.block{font-size:15px;padding:9px 10px}
  .home-slideshow{width:100%}
  .slideshow-track{aspect-ratio:16/6;min-height:220px}
  .storefront .customer-quick-actions{padding:3px 6px;gap:6px;border-radius:12px}
  .storefront .customer-auth-box{min-height:35px;font-size:13.5px;padding:0 2px;gap:4px}
  .storefront .auth-icon-link{width:24px;height:24px}
  .storefront .auth-icon-link svg,.storefront .cart-icon-link svg{width:20px;height:20px}
  .storefront .quick-action-divider{height:24px}
  .storefront .cart-icon-link{width:28px;height:28px}
}

/* Mobile <= 767: اسلاید تمام عرض viewport + مقیاس مستقل فونت/تصویر */
@media (max-width:767px){
  .home-slideshow{width:100vw;max-width:100vw;margin:4px calc(50% - 50vw) 18px;border-radius:0;border-right:0;border-left:0}
  .slideshow-track{aspect-ratio:auto!important;min-height:0!important;height:auto!important;background:var(--surface-2)}
  .home-slideshow .slide{display:none;position:relative;inset:auto;opacity:1;visibility:visible;transition:none}
  .home-slideshow .slide.active{display:block}
  .home-slideshow .slide a,.home-slideshow .slide img{display:block;width:100%;height:auto!important;max-width:100%}
  .home-slideshow .slide img{object-fit:contain!important}
  .slideshow-arrow{width:34px;height:46px;font-size:29px;border-radius:11px}
  .slideshow-arrow.prev{right:6px}.slideshow-arrow.next{left:6px}
  .slideshow-dots{bottom:6px;padding:5px 7px;gap:5px}
  .slideshow-dots button{width:7px;height:7px}.slideshow-dots button.active{width:20px}

  .storefront .product-grid{gap:9px}
  .storefront .product-img{height:148px;object-fit:contain;background:var(--surface)}
  .storefront .product-body{padding:10px 9px 11px}
  .storefront .product-body h3{font-size:14.5px;line-height:1.75;margin:0 0 6px;min-height:0}
  .storefront .product-body .clamp{height:auto;max-height:40px;margin:0 0 6px;font-size:12.5px;line-height:1.8}
  .storefront .product-body .price-row{margin:6px 0 8px;gap:5px;flex-wrap:wrap}
  .storefront .product-card .price{font-size:16px;line-height:1.5}
  .storefront .product-card .price-row del{font-size:12px}
  .storefront .product-card .btn.block{font-size:13px!important;padding:8px 4px!important;min-height:36px;border-radius:9px;letter-spacing:-.15px;white-space:nowrap!important;overflow:hidden;text-overflow:clip}

  .storefront-topbar .storefront-nav{min-height:58px;gap:6px}
  .storefront-primary-nav{top:58px}
  .storefront .customer-quick-actions{margin-right:auto;padding:2px 5px;gap:4px;border-radius:10px;box-shadow:0 2px 8px rgba(15,23,42,.06)}
  .storefront .customer-auth-box{min-height:31px;font-size:12px;gap:3px;padding:0 1px;white-space:nowrap}
  .storefront .auth-icon-link{width:20px;height:20px}
  .storefront .auth-icon-link svg,.storefront .cart-icon-link svg{width:17px;height:17px;stroke-width:2}
  .storefront .quick-action-divider{height:21px}
  .storefront .cart-icon-link{width:24px;height:24px}
  .storefront .cart-count-badge{top:-4px;left:-5px;min-width:15px;height:15px;font-size:10px;border-width:1px}
  .storefront-nav-toggle{padding:5px 8px;font-size:17px}
}

/* نمایش‌های خیلی باریک: حفظ یک‌خطی بودن دکمه و اکشن‌های بالایی */
@media (max-width:380px){
  .storefront .product-img{height:132px}
  .storefront .product-body{padding:8px 7px 9px}
  .storefront .product-body h3{font-size:13.5px}
  .storefront .product-card .price{font-size:15px}
  .storefront .product-card .btn.block{font-size:12px!important;padding-inline:2px!important}
  .storefront .customer-auth-box{font-size:11px}
  .storefront .auth-icon-link{display:none!important}
}

/* ===== v2.4.5: 15 professional storefront themes ===== */
.storefront.theme-royal{--bg:#f8f4ff;--surface:#fff;--surface-2:#f1eafd;--text:#2c1847;--muted:#746582;--primary:#6d36b4;--primary-dark:#502387;--border:#e4d8f3;--shadow:0 18px 45px rgba(70,35,120,.12);--radius:20px;background:radial-gradient(circle at 85% 0,#eadcff,transparent 34%),var(--bg)}
.storefront.theme-royal .topbar{background:linear-gradient(105deg,#2c154c,#5b2b91);border-bottom:2px solid #d8b45b}.storefront.theme-royal .hero-home{background:linear-gradient(135deg,#fff,#efe3ff);border:1px solid #dfcdf4;border-radius:30px}.storefront.theme-royal .btn{border-radius:999px}
.storefront.theme-ocean{--bg:#ecfeff;--surface:#fff;--surface-2:#dff8fb;--text:#10384a;--muted:#5c7781;--primary:#0891b2;--primary-dark:#0e7490;--border:#cceef2;--shadow:0 18px 45px rgba(8,145,178,.10);--radius:18px;background:linear-gradient(180deg,#effeff,#e9fbfd)}
.storefront.theme-ocean .topbar{background:linear-gradient(100deg,#064e6d,#0891b2)}.storefront.theme-ocean .hero-home{background:linear-gradient(120deg,#fff,#dff8fb);border-radius:26px;border:1px solid #c4eaf0}
.storefront.theme-rose{--bg:#fff1f6;--surface:#fff;--surface-2:#fde7f0;--text:#4d1d35;--muted:#8b6276;--primary:#d81b60;--primary-dark:#ad1457;--border:#f0cadc;--shadow:0 18px 42px rgba(181,35,93,.10);--radius:24px;background:radial-gradient(circle at 12% 0,#ffd6e6,transparent 32%),var(--bg)}
.storefront.theme-rose .topbar{background:linear-gradient(110deg,#651334,#a41650)}.storefront.theme-rose .hero-home{background:linear-gradient(135deg,#fff8fb,#ffdfea);border:1px solid #efc2d6;border-radius:34px}.storefront.theme-rose .product-card{border-radius:24px}
.storefront.theme-forest{--bg:#f3f6ed;--surface:#fffdf7;--surface-2:#e8efdf;--text:#273b2f;--muted:#6a756d;--primary:#557a46;--primary-dark:#3f6034;--border:#d8dfcf;--shadow:0 18px 42px rgba(48,76,57,.10);--radius:16px;background:linear-gradient(180deg,#f8faf3,#eef3e7)}
.storefront.theme-forest .topbar{background:linear-gradient(100deg,#213b2d,#456b50)}.storefront.theme-forest .hero-home{background:linear-gradient(125deg,#fffdf8,#dfe9d7);border-radius:18px;border-left:5px solid #6c8b51}
.storefront.theme-cobalt{--bg:#f2f7ff;--surface:#fff;--surface-2:#e7f0ff;--text:#122746;--muted:#66758b;--primary:#1f6feb;--primary-dark:#1558bd;--border:#d3e2f7;--shadow:0 18px 48px rgba(31,111,235,.10);--radius:14px;background:linear-gradient(180deg,#f8fbff,#eef5ff)}
.storefront.theme-cobalt .topbar{background:#102a56}.storefront.theme-cobalt .hero-home{background:linear-gradient(120deg,#102a56,#1f6feb);color:#fff;border-radius:22px}.storefront.theme-cobalt .hero-home h1,.storefront.theme-cobalt .hero-home p{color:#fff}.storefront.theme-cobalt .eyebrow{background:rgba(255,255,255,.15);color:#fff}
.storefront.theme-saffron{--bg:#fff8e7;--surface:#fffdf7;--surface-2:#ffedbf;--text:#4d2d17;--muted:#826851;--primary:#d88900;--primary-dark:#a85c00;--border:#ead7ad;--shadow:0 18px 42px rgba(174,105,0,.12);--radius:18px;background:radial-gradient(circle at 88% 4%,#ffe29a,transparent 30%),var(--bg)}
.storefront.theme-saffron .topbar{background:linear-gradient(100deg,#6f2715,#9e3b16);border-bottom:3px solid #e6a100}.storefront.theme-saffron .hero-home{background:#fff4d3;border:1px solid #e9c978;border-radius:22px}.storefront.theme-saffron .btn{box-shadow:0 5px 14px rgba(216,137,0,.18)}
.storefront.theme-graphite{--bg:#f4f5f7;--surface:#fff;--surface-2:#e8ebef;--text:#222a33;--muted:#68717c;--primary:#f26a21;--primary-dark:#c94f13;--border:#d9dde3;--shadow:0 16px 40px rgba(32,37,45,.10);--radius:10px;background:#f2f4f6}
.storefront.theme-graphite .topbar{background:linear-gradient(100deg,#171b20,#303740)}.storefront.theme-graphite .hero-home{background:linear-gradient(115deg,#252b32,#3e4650);color:#fff;border-radius:12px}.storefront.theme-graphite .hero-home h1,.storefront.theme-graphite .hero-home p{color:#fff}.storefront.theme-graphite .product-card{border-top:3px solid #f26a21}
.storefront.theme-mint{--bg:#f0fdfa;--surface:#fff;--surface-2:#dcf9f2;--text:#153f3a;--muted:#64817d;--primary:#0d9488;--primary-dark:#0f766e;--border:#c8eee7;--shadow:0 16px 42px rgba(13,148,136,.09);--radius:22px;background:linear-gradient(180deg,#f6fffd,#eafbf7)}
.storefront.theme-mint .topbar{background:linear-gradient(100deg,#134e4a,#0f766e)}.storefront.theme-mint .hero-home{background:linear-gradient(135deg,#fff,#dffaf4);border-radius:32px;border:1px solid #bfe9df}.storefront.theme-mint .btn{border-radius:14px}
.storefront.theme-plum{--bg:#fff5fb;--surface:#fff;--surface-2:#f8e6f2;--text:#3e2038;--muted:#80667b;--primary:#a33a78;--primary-dark:#7d285c;--border:#ead1e1;--shadow:0 18px 46px rgba(89,35,77,.11);--radius:20px;background:radial-gradient(circle at 10% 0,#f8dcef,transparent 32%),var(--bg)}
.storefront.theme-plum .topbar{background:linear-gradient(100deg,#391331,#64234f)}.storefront.theme-plum .hero-home{background:linear-gradient(135deg,#fff,#f4dceb);border-radius:26px}.storefront.theme-plum .product-card:hover{transform:translateY(-4px) scale(1.005)}
.storefront.theme-sand{--bg:#faf6ef;--surface:#fffdf9;--surface-2:#f0e7db;--text:#4b382c;--muted:#7e7066;--primary:#8d6848;--primary-dark:#6f4f36;--border:#e3d8ca;--shadow:0 18px 42px rgba(91,70,54,.10);--radius:16px;background:linear-gradient(180deg,#fdfaf5,#f6efe5)}
.storefront.theme-sand .topbar{background:linear-gradient(100deg,#49362c,#6f5442)}.storefront.theme-sand .hero-home{background:#f4eadc;border-radius:18px;border:1px solid #dfcdb7}.storefront.theme-sand .btn{border-radius:7px}
.storefront.theme-coral{--bg:#fff5f5;--surface:#fff;--surface-2:#ffe7e9;--text:#20384f;--muted:#71808e;--primary:#ef5b70;--primary-dark:#d64058;--border:#f0d5d8;--shadow:0 18px 44px rgba(239,91,112,.10);--radius:22px;background:linear-gradient(180deg,#fffafa,#fff0f1)}
.storefront.theme-coral .topbar{background:#17324d}.storefront.theme-coral .hero-home{background:linear-gradient(125deg,#fff,#ffe1e5);border-radius:30px;border-right:5px solid #fb7185}.storefront.theme-coral .btn{border-radius:12px}
.storefront.theme-steel{--bg:#f1f5f9;--surface:#fff;--surface-2:#e5ebf1;--text:#27394c;--muted:#6d7b88;--primary:#4f7cac;--primary-dark:#365f8b;--border:#d4dde6;--shadow:0 16px 42px rgba(58,82,109,.10);--radius:12px;background:linear-gradient(180deg,#f8fafc,#edf2f7)}
.storefront.theme-steel .topbar{background:linear-gradient(100deg,#26384b,#405a73)}.storefront.theme-steel .hero-home{background:linear-gradient(135deg,#e9eef4,#fff);border:1px solid #cfd9e3;border-radius:14px}.storefront.theme-steel .product-card{box-shadow:0 8px 20px rgba(50,70,90,.06)}
.storefront.theme-coffee{--bg:#fff9f2;--surface:#fffdf9;--surface-2:#f3e8dc;--text:#473329;--muted:#7d6d64;--primary:#8b5e3c;--primary-dark:#67442d;--border:#e4d6c9;--shadow:0 18px 42px rgba(80,53,38,.11);--radius:20px;background:radial-gradient(circle at 10% 5%,#f3dfca,transparent 30%),var(--bg)}
.storefront.theme-coffee .topbar{background:linear-gradient(105deg,#34241e,#5c4033)}.storefront.theme-coffee .hero-home{background:linear-gradient(125deg,#fffaf4,#ecdbc9);border-radius:24px;border:1px solid #dcc5b0}.storefront.theme-coffee .btn{border-radius:999px}
.storefront.theme-turquoise{--bg:#edfdfc;--surface:#fff;--surface-2:#dff8f6;--text:#153d43;--muted:#638086;--primary:#139b9b;--primary-dark:#0f7478;--border:#c7ece9;--shadow:0 17px 44px rgba(19,155,155,.10);--radius:18px;background:linear-gradient(180deg,#f5ffff,#e8faf8)}
.storefront.theme-turquoise .topbar{background:linear-gradient(100deg,#0d4652,#10727a)}.storefront.theme-turquoise .hero-home{background:linear-gradient(135deg,#fff,#d9f5f2);border-radius:28px;border-bottom:4px solid #18a6a6}
.storefront.theme-crimson{--bg:#fff4f5;--surface:#fff;--surface-2:#fde5e8;--text:#3c2026;--muted:#83686d;--primary:#c6283d;--primary-dark:#981f31;--border:#edcdd2;--shadow:0 18px 44px rgba(198,40,61,.12);--radius:17px;background:linear-gradient(180deg,#fff9fa,#fff0f2)}
.storefront.theme-crimson .topbar{background:linear-gradient(105deg,#271319,#541c28)}.storefront.theme-crimson .hero-home{background:linear-gradient(125deg,#fff,#f9dfe4);border-radius:20px;border:1px solid #e6bdc6}.storefront.theme-crimson .btn{box-shadow:0 6px 16px rgba(198,40,61,.18)}

/* Theme studio previews for the additional themes */
.preview-royal{background:#f8f4ff}.preview-royal .tp-nav{background:#3b1d67}.preview-royal .tp-hero i{background:#e9dcfa}.preview-royal .tp-products i{background:#fff;border:1px solid #e4d8f3}
.preview-ocean{background:#ecfeff}.preview-ocean .tp-nav{background:#075985}.preview-ocean .tp-hero i{background:#ccf3f7}.preview-ocean .tp-products i{background:#fff;border:1px solid #cceef2}
.preview-rose{background:#fff1f6}.preview-rose .tp-nav{background:#7f1d4e}.preview-rose .tp-hero i{background:#ffdce9}.preview-rose .tp-products i{background:#fff;border:1px solid #f0cadc}
.preview-forest{background:#f3f6ed}.preview-forest .tp-nav{background:#264c3a}.preview-forest .tp-hero i{background:#dde8d3}.preview-forest .tp-products i{background:#fffdf7;border:1px solid #d8dfcf}
.preview-cobalt{background:#f2f7ff}.preview-cobalt .tp-nav{background:#102a56}.preview-cobalt .tp-hero i{background:#d9e8ff}.preview-cobalt .tp-products i{background:#fff;border:1px solid #d3e2f7}
.preview-saffron{background:#fff8e7}.preview-saffron .tp-nav{background:#7c2d12}.preview-saffron .tp-hero i{background:#ffe6a8}.preview-saffron .tp-products i{background:#fffdf7;border:1px solid #ead7ad}
.preview-graphite{background:#f4f5f7}.preview-graphite .tp-nav{background:#20252d}.preview-graphite .tp-hero i{background:#d8dde3}.preview-graphite .tp-products i{background:#fff;border:1px solid #d9dde3}
.preview-mint{background:#f0fdfa}.preview-mint .tp-nav{background:#155e55}.preview-mint .tp-hero i{background:#c9f4eb}.preview-mint .tp-products i{background:#fff;border:1px solid #c8eee7}
.preview-plum{background:#fff5fb}.preview-plum .tp-nav{background:#4a1942}.preview-plum .tp-hero i{background:#f2d9e9}.preview-plum .tp-products i{background:#fff;border:1px solid #ead1e1}
.preview-sand{background:#faf6ef}.preview-sand .tp-nav{background:#5b4636}.preview-sand .tp-hero i{background:#e9ddce}.preview-sand .tp-products i{background:#fffdf9;border:1px solid #e3d8ca}
.preview-coral{background:#fff5f5}.preview-coral .tp-nav{background:#17324d}.preview-coral .tp-hero i{background:#ffdde2}.preview-coral .tp-products i{background:#fff;border:1px solid #f0d5d8}
.preview-steel{background:#f1f5f9}.preview-steel .tp-nav{background:#25364a}.preview-steel .tp-hero i{background:#dbe3eb}.preview-steel .tp-products i{background:#fff;border:1px solid #d4dde6}
.preview-coffee{background:#fff9f2}.preview-coffee .tp-nav{background:#3f2d25}.preview-coffee .tp-hero i{background:#ead8c7}.preview-coffee .tp-products i{background:#fffdf9;border:1px solid #e4d6c9}
.preview-turquoise{background:#edfdfc}.preview-turquoise .tp-nav{background:#0f4c5c}.preview-turquoise .tp-hero i{background:#d0f2ef}.preview-turquoise .tp-products i{background:#fff;border:1px solid #c7ece9}
.preview-crimson{background:#fff4f5}.preview-crimson .tp-nav{background:#3a1720}.preview-crimson .tp-hero i{background:#f7dce1}.preview-crimson .tp-products i{background:#fff;border:1px solid #edcdd2}

/* ===== v2.4.5: product admin, inline editing, orders, partners ===== */
html,body{max-width:100%;overflow-x:hidden}.content,.card,.form-row,.product-form-layout>*{min-width:0}
.product-form-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 18px;align-items:start}.product-form-layout .form-row{margin:0}.product-form-layout .full-span{grid-column:1/-1}.product-edit-form{overflow:hidden}.save-product-btn{margin-top:18px}.product-flags-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-flags-three .check{margin:0;min-height:48px;padding:10px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface-2)}
.price-words-bubble.under-input{display:block;margin-top:6px;min-height:25px;width:100%;max-width:100%;padding:4px 8px;font-size:13px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:clip;border-radius:8px;background:#eef4ff;color:#244b91}.price-words-bubble.under-input:empty{visibility:hidden}
.rich-description-row{margin-top:4px!important}.rich-editor{border:1px solid #ccd4df;border-radius:12px;background:#fff;overflow:hidden}.rich-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px;background:#f6f8fb;border-bottom:1px solid #dfe5ec}.rich-toolbar select{width:auto;min-width:118px;padding:6px 8px;border-radius:7px;font-size:14px}.rich-toolbar button{width:auto;border:1px solid #d5dce5;background:#fff;color:#253247;border-radius:7px;min-height:32px;padding:5px 9px;cursor:pointer;font-size:14px}.rich-toolbar button:hover{border-color:#8db0ff;background:#eef4ff}.rich-editor-area{min-height:290px;max-height:600px;overflow:auto;padding:18px;outline:none;direction:rtl;line-height:1.95;font-size:18px;color:#172033;background:#fff}.rich-editor-area:focus{box-shadow:inset 0 0 0 2px #dce8ff}.rich-editor-area p{margin:.5em 0}.rich-editor-area a{color:#2563eb;text-decoration:underline}
.product-media-manager .media-manager-head p{display:none}.media-progress{height:8px!important;min-height:8px;border-radius:999px;background:#e5eaf0;overflow:hidden;margin-top:12px}.media-progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,#2563eb,#38bdf8);transition:width .15s ease}.product-media-manager.busy .media-dropzone{border-color:#8db0ff;background:#f7fbff}.product-variants-table table{min-width:0}.variant-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.inline-edit-cell{position:relative;min-width:120px}.inline-value{display:inline-block;max-width:100%;border:1px dashed transparent;background:transparent;color:inherit;padding:5px 7px;border-radius:7px;cursor:text;text-align:right;font-weight:inherit}.inline-value:hover{border-color:#9eb7d5;background:#f6f9fd}.inline-editor-input{min-width:110px;padding:7px 8px!important}.inline-select{min-width:120px;padding:7px 8px!important}.inline-save-note{display:block;min-height:18px;font-size:12px;font-weight:700;color:#14804a;line-height:1.5}.inline-save-note.error{color:#b42318}.inline-edit-cell.saving{opacity:.75}.products-inline-table table{min-width:880px}
.orders-filters{margin-bottom:15px}.orders-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px}.orders-filter-grid label{font-size:14px;margin-bottom:4px}.orders-filter-grid input,.orders-filter-grid select{padding:8px 9px}.orders-filter-actions{display:flex;gap:8px;margin-top:13px}.orders-bulk-bar{display:flex;align-items:center;gap:12px;margin:0 0 10px}.orders-table table{min-width:1120px}.orders-table input[type=checkbox]{width:auto}.confirm-modal[hidden]{display:none!important}.confirm-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}.confirm-modal-backdrop{position:absolute;inset:0;background:rgba(9,16,28,.55);backdrop-filter:blur(3px)}.confirm-modal-box{position:relative;width:min(480px,100%);background:#fff;border-radius:18px;padding:24px;box-shadow:0 25px 80px rgba(0,0,0,.28)}.confirm-modal-box h3{margin-top:0}.confirm-actions{display:flex;gap:9px;justify-content:flex-start;margin-top:20px}.modal-open{overflow:hidden}
.partners-admin-grid{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr);gap:18px}.partner-admin-preview{display:block;width:110px;height:70px;object-fit:contain;border:1px solid var(--border);border-radius:10px;margin-top:10px;background:#fff}.partner-admin-list{display:grid;gap:10px}.partner-admin-row{display:grid;grid-template-columns:76px 1fr auto;gap:12px;align-items:center;border:1px solid var(--border);border-radius:12px;padding:9px}.partner-admin-row img{width:76px;height:54px;object-fit:contain;background:#fff;border-radius:8px}.partner-admin-row small{display:block;color:var(--muted);margin-top:2px}.partner-row-actions{display:flex;gap:6px}.partner-row-actions form{margin:0}
.home-partners{margin:28px 0}.partners-scroller{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);grid-template-rows:1fr;gap:12px;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x proximity}.partner-logo-card{scroll-snap-align:start;min-width:150px;background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:12px;text-align:center;box-shadow:0 5px 16px rgba(23,32,51,.04)}.partner-logo-card a{display:block}.partner-logo-card img{display:block;width:100%;height:80px;object-fit:contain;margin:auto;background:#fff;border-radius:8px}.partner-logo-card span{display:block;font-size:14px;font-weight:800;margin-top:7px;color:var(--text)}.product-rich-description{overflow-wrap:anywhere}.product-rich-description img{max-width:100%;height:auto}

@media (min-width:1101px){.product-edit-form{font-size:16px}.product-edit-form input,.product-edit-form select{font-size:16px}.product-form-layout{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.variant-form{grid-template-columns:repeat(3,minmax(0,1fr))!important}.theme-grid.professional{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:768px) and (max-width:1100px){.product-form-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.product-flags-three{grid-template-columns:repeat(3,minmax(0,1fr))}.orders-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.partners-admin-grid{grid-template-columns:1fr}.variant-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.theme-grid.professional{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.product-form-layout{grid-template-columns:1fr}.product-form-layout .full-span{grid-column:auto}.product-flags-three{grid-template-columns:1fr}.rich-toolbar{gap:4px;padding:6px}.rich-toolbar select{min-width:0;max-width:48%;font-size:13px}.rich-toolbar button{font-size:12px;padding:4px 6px}.rich-editor-area{min-height:230px;padding:12px;font-size:16px}.variant-form{grid-template-columns:1fr!important}.product-variants-table table{font-size:13px;min-width:560px}.orders-filter-grid{grid-template-columns:1fr}.orders-filter-actions{flex-direction:column}.orders-filter-actions .btn{width:100%}.orders-bulk-bar{align-items:stretch;flex-direction:column}.partners-admin-grid{grid-template-columns:1fr}.partner-admin-row{grid-template-columns:60px 1fr}.partner-admin-row img{width:60px;height:48px}.partner-row-actions{grid-column:1/-1}.partners-scroller{grid-auto-columns:42vw}.partner-logo-card{min-width:42vw}.partner-logo-card img{height:62px}.theme-grid.professional{grid-template-columns:1fr}}
.rich-color-control{display:inline-flex!important;align-items:center;gap:5px;margin:0!important;padding:4px 6px;border:1px solid #d5dce5;border-radius:7px;background:#fff;font-size:13px;font-weight:700}.rich-color-control input{width:28px!important;height:24px;padding:0!important;border:0!important;background:transparent;cursor:pointer}.rich-color-control span{white-space:nowrap}

/* 2.4.5 — keep mobile navigation palette-aware for every storefront theme. */
@media (max-width:767px){
  .storefront .navlinks.open{background:var(--text);color:var(--surface);}
}

/* 2.4.6 — dashboard, customers, reports, sticky sidebar and compact product forms */
.sidebar{align-self:start;overflow-y:auto}
.orders-filter-grid.four-col{grid-template-columns:repeat(4,minmax(0,1fr))}
.customers-admin-grid{display:grid;grid-template-columns:360px 1fr;gap:18px;align-items:start}.customer-filter-bar{display:grid;grid-template-columns:2fr 1fr auto;gap:12px;align-items:end;margin-bottom:16px}.customer-filter-actions,.row-actions{display:flex;gap:8px;flex-wrap:wrap}.status-chip{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:14px;font-weight:800}.status-chip.ok{background:#e8f7ef;color:#0f6b3d}.status-chip.off{background:#fdeced;color:#a32121}.customer-edit-card,.customer-list-card{min-height:100%}
.feature-line-form{display:grid;grid-template-columns:1.2fr 1.2fr 110px auto auto;gap:10px;align-items:end;margin-bottom:14px}.compact-check{padding-bottom:10px}.feature-list{display:grid;gap:10px}.line-item-row{display:grid;grid-template-columns:1.3fr .5fr auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:#fbfcff}.line-item-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.line-item-main{font-weight:700}.line-item-side{font-size:15px}
.report-filter-rich{grid-template-columns:1fr 1fr auto;display:grid}.reports-top-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.report-card.wide{grid-column:1/-1}.bar-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:14px;align-items:end;min-height:250px;padding-top:12px}.bar-item{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:flex-end;text-align:center}.bar-item i{display:block;width:100%;max-width:64px;border-radius:14px 14px 8px 8px;background:linear-gradient(180deg,#818cf8,#4f46e5)}.bar-item span{font-size:14px;color:var(--muted)}.bar-item b{font-size:14px}.status-list{display:grid;gap:10px}.status-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--border);border-radius:12px;background:#fbfcff}.status-row small{color:var(--muted)}
.amazing-card img,.featured-card img{aspect-ratio:1/1;object-fit:cover}
@media (max-width:1100px){.customers-admin-grid,.reports-grid{grid-template-columns:1fr}.reports-top-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-filter-grid.four-col{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-line-form{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-line-form .btn,.feature-line-form .check{grid-column:auto}.line-item-row{grid-template-columns:1fr}}
@media (max-width:767px){.customer-filter-bar,.report-filter-rich,.orders-filter-grid.four-col,.feature-line-form{grid-template-columns:1fr}.reports-top-stats{grid-template-columns:1fr}.customers-admin-grid{grid-template-columns:1fr}.status-row{grid-template-columns:1fr auto}.line-item-actions{justify-content:flex-start}}

/* 2.4.7 — Professional analytics dashboard */
.reports-pro{--report-ink:#283055;--report-soft:#75809b;--report-line:#e7ebf2;display:grid;gap:18px}.reports-command{display:flex;justify-content:space-between;gap:22px;align-items:flex-end;padding:22px 24px;background:linear-gradient(135deg,#fff 0%,#f7f9ff 100%)}.reports-title h2{margin:4px 0 3px;font-size:27px;color:var(--report-ink)}.reports-title p{margin:0;color:var(--report-soft)}.report-kicker{font-size:13px;font-weight:900;letter-spacing:.04em;color:#6267d8}.reports-period-form{display:grid;grid-template-columns:180px 150px 150px auto;gap:9px;align-items:end;min-width:min(100%,660px)}.reports-period-form label{font-size:13px;color:var(--report-soft);margin-bottom:4px}.reports-period-form input,.reports-period-form select{height:42px;padding:8px 10px;font-size:14px}.reports-period-form .btn{height:42px;white-space:nowrap}
.reports-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.report-kpi{position:relative;display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;min-height:128px;padding:18px;border:1px solid #e5e9f1;border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(38,48,79,.06);overflow:hidden}.report-kpi:after{content:"";position:absolute;right:0;left:0;bottom:0;height:3px;background:var(--tone)}.report-kpi-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:color-mix(in srgb,var(--tone) 12%,#fff);color:var(--tone)}.report-kpi-icon svg{width:25px;height:25px}.report-kpi-main span{display:block;color:#69748d;font-size:14px}.report-kpi-main strong{display:block;color:#252d50;font-size:21px;margin-top:5px;line-height:1.45}.report-trend{grid-column:1/-1;display:flex;gap:6px;align-items:center;color:#159a64;font-size:13px;font-weight:800}.report-trend.down{color:#d74e59}.report-trend small{color:#9aa2b3;font-weight:400}.tone-green{--tone:#36c98f}.tone-red{--tone:#f05d64}.tone-violet{--tone:#6d72e8}.tone-blue{--tone:#3c9ee8}.tone-orange{--tone:#f39b5e}.tone-cyan{--tone:#22b7c9}.tone-indigo{--tone:#5668d8}.tone-pink{--tone:#e65c9c}
.report-main-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.report-chart-card{padding:20px;min-width:0}.report-chart-card.wide{grid-column:1/-1}.report-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--report-line)}.report-card-head h3{margin:2px 0 0;font-size:19px;color:var(--report-ink)}.report-card-head>b{font-size:15px;color:#59627d}.report-chart-legend{display:flex;gap:14px;align-items:center;color:#68728c;font-size:13px}.report-chart-legend span{display:flex;gap:6px;align-items:center}.report-chart-legend span:before{content:"";width:10px;height:10px;border-radius:50%}.legend-revenue:before{background:#5d67e8}.legend-orders:before{background:#ff6670}.report-line-wrap{position:relative;height:340px}.report-line-wrap canvas{width:100%;height:100%;display:block}.report-chart-tooltip{position:absolute;z-index:5;min-width:150px;padding:9px 11px;border-radius:10px;background:#242942;color:#fff;font-size:13px;box-shadow:0 10px 25px rgba(0,0,0,.18);pointer-events:none;line-height:1.8}.report-chart-tooltip b{display:block;font-size:14px}
.donut-layout{display:grid;grid-template-columns:180px 1fr;gap:22px;align-items:center;min-height:240px}.css-donut{--donut:#eef2f7 0 100%;width:172px;height:172px;border-radius:50%;background:var(--donut);display:grid;place-items:center;position:relative;margin:auto}.css-donut:after{content:"";position:absolute;inset:33px;background:#fff;border-radius:50%;box-shadow:inset 0 0 0 1px #eef1f6}.css-donut.small{width:164px;height:164px}.css-donut span{position:relative;z-index:1;text-align:center;font-weight:900;font-size:22px;color:#2b3357}.css-donut span small{display:block;font-size:12px;font-weight:500;color:#8991a5}.donut-legend{display:grid;gap:10px}.donut-legend>div{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;font-size:14px}.donut-legend i{width:9px;height:9px;border-radius:3px;background:var(--c)}.donut-legend b{color:#38405f}
.report-horizontal-bars{display:grid;gap:13px}.hbar-row{display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:center}.hbar-row .rank{font-size:14px;color:#9aa2b3;font-weight:900}.hbar-meta{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center}.hbar-meta strong{font-size:14px;color:#39415f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hbar-meta small{font-size:12px;color:#8b94a9;white-space:nowrap}.hbar-meta i{grid-column:1/-1;height:7px;border-radius:999px;background:#edf0f6;overflow:hidden}.hbar-meta i b{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#6d72e8,#9a78ef)}.report-mini-bars{display:grid;gap:13px}.report-mini-bars>div{display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center}.report-mini-bars span{font-size:14px;color:#454e6c}.report-mini-bars strong{font-size:13px;color:#66708b}.report-mini-bars i{grid-column:1/-1;height:6px;border-radius:999px;background:#edf0f5;overflow:hidden}.report-mini-bars i b{display:block;height:100%;background:linear-gradient(90deg,#38c99a,#65a6e9);border-radius:999px}.report-data-list{display:grid;gap:1px}.report-data-list>div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 4px;border-bottom:1px dashed #e6eaf1}.report-data-list>div:last-child{border-bottom:0}.report-data-list span{font-size:14px;color:#404965;min-width:0}.report-data-list span small{display:block;font-size:12px;color:#929aac;margin-top:2px}.report-data-list b{font-size:14px;color:#2f385a;white-space:nowrap}.report-data-list.ranked span{position:relative;padding-right:28px}.report-data-list.ranked em{position:absolute;right:0;top:0;width:20px;height:20px;border-radius:6px;display:grid;place-items:center;background:#eef0ff;color:#5b63d8;font-style:normal;font-size:11px}.inventory-badges{display:flex;gap:6px}.inventory-badges span{font-size:11px;font-weight:800;padding:4px 7px;border-radius:999px}.inventory-badges .danger{background:#fff0f1;color:#d84d59}.inventory-badges .warn{background:#fff7e8;color:#d48a1e}.stock-number{min-width:32px;text-align:center}.report-footnote{font-size:13px;color:#6f7890;background:#fbfcff}.report-footnote strong{color:#424b68}
@media (min-width:1101px){.reports-pro{font-size:16px}.report-main-grid:has(.report-chart-card.wide){grid-template-columns:repeat(2,minmax(0,1fr))}.report-main-grid:nth-of-type(4){grid-template-columns:2fr 1fr 1fr}.report-main-grid:nth-of-type(5),.report-main-grid:nth-of-type(6){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:768px) and (max-width:1100px){.reports-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-command{align-items:stretch;flex-direction:column}.reports-period-form{grid-template-columns:repeat(4,minmax(0,1fr));min-width:0}.report-main-grid{grid-template-columns:1fr 1fr}.donut-layout{grid-template-columns:150px 1fr}.css-donut{width:145px;height:145px}.report-line-wrap{height:300px}}
@media (max-width:767px){.reports-pro{gap:12px}.reports-command{padding:16px;align-items:stretch;flex-direction:column}.reports-title h2{font-size:22px}.reports-title p{font-size:13px}.reports-period-form{grid-template-columns:1fr 1fr;min-width:0}.reports-period-form>div:first-child{grid-column:1/-1}.reports-period-form .btn{width:100%}.reports-kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.report-kpi{grid-template-columns:36px 1fr;min-height:112px;padding:12px;gap:8px;border-radius:13px}.report-kpi-icon{width:36px;height:36px;border-radius:10px}.report-kpi-icon svg{width:20px;height:20px}.report-kpi-main strong{font-size:16px}.report-kpi-main span{font-size:12px}.report-trend{font-size:11px}.report-trend small{display:none}.report-main-grid{grid-template-columns:1fr;gap:12px}.report-chart-card.wide{grid-column:auto}.report-chart-card{padding:14px}.report-line-wrap{height:270px;margin:0 -4px}.report-chart-legend{font-size:11px}.donut-layout{grid-template-columns:128px 1fr;gap:12px;min-height:190px}.css-donut,.css-donut.small{width:122px;height:122px}.css-donut:after{inset:25px}.css-donut span{font-size:17px}.donut-legend>div{font-size:12px}.hbar-meta strong{font-size:13px}.hbar-meta small{font-size:11px}.report-card-head h3{font-size:17px}.report-card-head{gap:8px}.report-data-list span,.report-data-list b{font-size:13px}.report-footnote{font-size:12px}}
@media (max-width:420px){.reports-kpi-grid{grid-template-columns:1fr}.reports-period-form{grid-template-columns:1fr}.reports-period-form>div:first-child{grid-column:auto}.donut-layout{grid-template-columns:1fr}.donut-legend{width:100%}.report-line-wrap{height:240px}}


/* 2.4.8 — customer modal, product tiles, contact widget, management settings */
.customer-list-full{width:100%}.customer-page-heading{align-items:flex-start}.customer-count-badge{padding:8px 13px;border-radius:999px;background:#eef4ff;color:#2455b8;font-weight:800;font-size:14px}.modal-open{overflow:hidden}.customer-modal[hidden]{display:none}.customer-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:22px}.customer-modal-backdrop{position:absolute;inset:0;background:rgba(12,20,34,.56);backdrop-filter:blur(4px)}.customer-modal-dialog{position:relative;width:min(980px,96vw);max-height:90vh;overflow:hidden;background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 28px 80px rgba(15,23,42,.25);display:flex;flex-direction:column}.customer-modal-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--border)}.customer-modal-dialog h3{margin:3px 0 0}.customer-modal-close{width:38px;height:38px;border:0;border-radius:10px;background:#f1f5f9;font-size:27px;cursor:pointer}.customer-modal-tabs{display:flex;gap:5px;padding:10px 18px;border-bottom:1px solid var(--border);background:#fbfcfe}.customer-modal-tabs button{border:0;background:transparent;padding:9px 14px;border-radius:9px;cursor:pointer;font-weight:800;color:var(--muted)}.customer-modal-tabs button.active{background:#eaf1ff;color:var(--primary)}.customer-tab-panel{display:none;overflow:auto;padding:20px 22px}.customer-tab-panel.active{display:block}.customer-modal-loading{padding:12px 22px;color:var(--muted)}.customer-status-check{height:44px;border:1px solid var(--border);border-radius:10px;padding:0 12px}.customer-order-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.customer-order-summary>div{background:#f8fafc;border:1px solid var(--border);border-radius:13px;padding:14px}.customer-order-summary span{display:block;color:var(--muted);font-size:14px}.customer-order-summary b{display:block;font-size:21px;margin-top:5px}.customer-order-history{display:grid;gap:13px}.customer-order-card{border:1px solid var(--border);border-radius:15px;padding:14px 16px;background:#fff}.customer-order-card header,.customer-order-card footer,.customer-order-meta,.customer-order-items>div{display:flex;justify-content:space-between;gap:12px;align-items:center}.customer-order-card header{padding-bottom:10px;border-bottom:1px solid var(--border)}.customer-order-card header small{display:block;color:var(--muted)}.customer-order-meta{flex-wrap:wrap;padding:10px 0;color:var(--muted);font-size:14px}.customer-order-items{background:#f8fafc;border-radius:10px;padding:5px 10px}.customer-order-items>div{padding:6px 0;border-bottom:1px dashed #dbe3ec;font-size:14px}.customer-order-items>div:last-child{border-bottom:0}.customer-order-card footer{padding-top:10px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.management-settings-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:18px;align-items:start}.settings-divider{border:0;border-top:1px solid var(--border);margin:22px 0}.code-input{font-family:Consolas,monospace;font-size:14px;direction:ltr;text-align:left}.management-preview{position:sticky;top:24px}.contact-preview-buttons{display:flex;gap:8px;margin-top:14px}.contact-preview{padding:8px 12px;border-radius:999px;font-size:14px;font-weight:800}.contact-preview.wa{background:#dcfce7;color:#15803d}.contact-preview.bale{background:#e0f2fe;color:#0369a1}.enamad-admin-preview{margin-top:18px;padding:11px;border:1px dashed #86b59b;border-radius:12px;color:#17683d;background:#f0fdf4}
.home-product-grid{align-items:stretch}.home-product-card{display:flex;flex-direction:column;height:410px;overflow:hidden;background:var(--surface);box-shadow:none;transition:box-shadow .2s,transform .2s}.home-product-card:hover{box-shadow:0 13px 32px rgba(20,30,50,.09);transform:translateY(-2px)}.home-product-image-link{position:relative;display:block;overflow:hidden;background:#fff}.home-product-card .product-img{height:300px;object-fit:contain;background:#fff;transition:transform .28s ease}.home-product-card:hover .product-img{transform:scale(1.018)}.product-hover-plus{position:absolute;top:14px;left:14px;width:34px;height:34px;border-radius:999px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:23px;line-height:1;opacity:0;transform:translateY(-6px);transition:.2s;box-shadow:0 6px 18px rgba(0,0,0,.13)}.home-product-card:hover .product-hover-plus,.home-product-card:focus-within .product-hover-plus{opacity:1;transform:none}.home-product-body{height:110px;padding:14px 16px 15px;display:flex;flex-direction:column;justify-content:space-between}.home-product-body h3{margin:0;line-height:1.65;font-size:16px;font-weight:750;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:46px}.home-product-body h3.compact-text{font-size:14.5px;line-height:1.7}.home-product-body .compact-price{margin:4px 0 0;min-height:28px;white-space:nowrap;overflow:hidden}.home-product-body .compact-price .price{font-size:17px}.home-product-body .compact-price del{font-size:13px}.home-product-body .compact-price.compact-text .price{font-size:15px}.enamad-home{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0;padding:20px 24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.enamad-home h3{margin:6px 0}.enamad-badge{flex:0 0 auto;max-width:150px}.enamad-badge img{display:block;max-width:120px;max-height:130px;object-fit:contain}
.floating-contact{position:fixed;left:20px;bottom:20px;z-index:800;direction:rtl}.floating-contact-main{height:48px;border:0;border-radius:999px;padding:0 16px;background:var(--primary);color:#fff;display:flex;align-items:center;gap:8px;font-weight:800;cursor:pointer;box-shadow:0 12px 30px rgba(15,23,42,.22)}.floating-contact-main svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.floating-contact-menu{position:absolute;left:0;bottom:58px;width:225px;padding:8px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:15px;box-shadow:0 18px 50px rgba(15,23,42,.17)}.floating-contact-menu[hidden]{display:none}.contact-channel{display:flex;flex-direction:column;padding:10px 12px;border-radius:10px}.contact-channel:hover{background:var(--surface-2)}.contact-channel b{font-size:15px}.contact-channel small{font-size:13px;color:var(--muted)}.contact-channel.whatsapp b{color:#159447}.contact-channel.bale b{color:#1686b8}
@media (min-width:768px) and (max-width:1100px){.home-product-card{height:370px}.home-product-card .product-img{height:265px}.home-product-body{height:105px}.home-product-body h3{font-size:15px}.management-settings-grid{grid-template-columns:1fr}.management-preview{position:static}}
@media (max-width:767px){.customer-modal{padding:8px}.customer-modal-dialog{width:100%;max-height:94vh;border-radius:16px}.customer-modal-dialog>header,.customer-tab-panel{padding:14px}.customer-modal-tabs{padding:8px}.customer-order-summary{grid-template-columns:1fr 1fr}.customer-order-card header,.customer-order-items>div{align-items:flex-start}.customer-order-card footer{display:grid;grid-template-columns:1fr 1fr}.management-settings-grid{grid-template-columns:1fr}.management-preview{position:static}.home-product-card{height:300px}.home-product-card .product-img{height:210px}.home-product-body{height:90px;padding:10px 11px 11px}.home-product-body h3{font-size:13.5px;line-height:1.7;max-height:39px}.home-product-body h3.compact-text{font-size:12.5px}.home-product-body .compact-price .price{font-size:14.5px}.home-product-body .compact-price del{font-size:11.5px}.product-hover-plus{width:28px;height:28px;font-size:20px;top:9px;left:9px;opacity:1;background:color-mix(in srgb,var(--primary) 90%,transparent)}.floating-contact{left:12px;bottom:12px}.floating-contact-main{width:44px;height:44px;padding:0;justify-content:center}.floating-contact-main span{display:none}.floating-contact-menu{width:205px;bottom:52px}.enamad-home{padding:16px;align-items:flex-start}.enamad-badge img{max-width:90px;max-height:100px}}

/* 2.4.9 — product card polish, customer order rows and invoice designer */
.home-product-card{height:440px;border:1px solid var(--border);position:relative;isolation:isolate;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}.home-product-card::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 1px transparent;transition:.28s;z-index:3}.home-product-card:hover,.home-product-card.touch-hold{transform:translateY(-7px);box-shadow:0 22px 48px rgba(15,23,42,.16);border-color:var(--primary)}.home-product-card:hover::after,.home-product-card.touch-hold::after{box-shadow:inset 0 0 0 1px var(--primary)}.home-product-card .product-img{height:300px;transition:transform .38s cubic-bezier(.2,.75,.25,1),filter .3s ease}.home-product-card:hover .product-img,.home-product-card.touch-hold .product-img{transform:scale(1.045);filter:saturate(1.04)}.home-product-body{height:140px;padding:15px 16px 16px;justify-content:flex-start;gap:12px}.home-product-body h3{font-size:16px;line-height:1.85;min-height:52px;max-height:52px;margin:0;font-weight:760;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-product-body h3.compact-text{font-size:14.6px;line-height:2.02}.home-product-body h3.tiny-text{font-size:13.5px;line-height:2.15}.home-product-body .compact-price{margin-top:auto;min-height:28px}.home-product-card:hover .product-hover-plus,.home-product-card:focus-within .product-hover-plus,.home-product-card.touch-hold .product-hover-plus{opacity:1;transform:translateY(0) rotate(90deg) scale(1.04)}.product-hover-plus{z-index:4;transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease}.home-product-card:hover .product-hover-plus,.home-product-card.touch-hold .product-hover-plus{box-shadow:0 8px 22px rgba(15,23,42,.2)}
.order-detail-actions{display:flex;gap:9px;align-items:center;margin-top:12px}.order-detail-actions .btn{min-width:120px}
.customer-order-history{gap:0;border:1px solid var(--border);border-radius:13px;overflow:hidden}.customer-order-table-head,.customer-order-line{display:grid;grid-template-columns:.7fr 1fr 1fr .75fr;gap:12px;align-items:center;padding:12px 14px}.customer-order-table-head{background:#f7f9fc;color:var(--muted);font-size:13px;font-weight:800;border-bottom:1px solid var(--border)}.customer-order-line{background:#fff;border-bottom:1px solid var(--border);transition:background .16s ease,transform .16s ease}.customer-order-line:last-child{border-bottom:0}.customer-order-line:hover{background:#f6f9ff}.customer-order-line strong{font-size:14px}.customer-order-line>span{font-size:14px}.purchase-state{justify-self:start;display:inline-flex;padding:4px 9px;border-radius:999px;font-size:12px!important;font-weight:900}.purchase-state.success{background:#e7f8ee;color:#08713f}.purchase-state.failed{background:#fff0f0;color:#ad2626}.customer-order-hint{font-size:13px;margin:10px 2px 0}
.invoice-designer-shell{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;align-items:start}.invoice-designer-controls{position:sticky;top:20px}.invoice-designer-buttons{display:flex;gap:9px;flex-wrap:wrap}.invoice-designer-help{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px;padding-top:15px;border-top:1px solid var(--border)}.invoice-designer-help b{width:100%;font-size:14px}.invoice-designer-help span{font-size:12px;padding:4px 8px;border-radius:999px;background:#eef2f7;color:#5d6677}.invoice-designer-stage-wrap{overflow:auto;padding:16px;background:#dfe4eb;border-radius:18px;border:1px solid #cfd6e0;min-height:75vh}.invoice-designer-stage{position:relative;margin:auto;background:#fff;box-shadow:0 14px 44px rgba(15,23,42,.15);transition:width .25s,height .25s;touch-action:none}.invoice-designer-stage.paper-A4{width:760px;height:1075px}.invoice-designer-stage.paper-A5{width:540px;height:766px}.invoice-design-block{position:absolute;min-height:64px;border:1px dashed #8190a8;border-radius:9px;background:rgba(248,250,252,.96);padding:10px 12px;cursor:grab;user-select:none;touch-action:none;box-shadow:0 4px 13px rgba(15,23,42,.05);display:flex;flex-direction:column;gap:4px}.invoice-design-block strong{font-size:14px}.invoice-design-block small{font-size:12px;color:#7b8494}.invoice-design-block.dragging{cursor:grabbing;border-style:solid;border-color:var(--primary);box-shadow:0 10px 28px rgba(37,99,235,.16);z-index:10}.invoice-drag-handle{position:absolute;left:7px;top:6px;color:#8b94a4;font-style:normal;font-size:15px}.invoice-design-block.block-items{min-height:155px}.invoice-design-block.block-totals{min-height:115px}.invoice-design-block.block-footer{min-height:45px;text-align:center}.invoice-designer-stage.paper-A5 .invoice-design-block{min-height:48px;padding:7px 9px}.invoice-designer-stage.paper-A5 .invoice-design-block.block-items{min-height:112px}.invoice-designer-stage.paper-A5 .invoice-design-block.block-totals{min-height:86px}
@media (min-width:768px) and (max-width:1100px){.home-product-card{height:400px}.home-product-card .product-img{height:270px}.home-product-body{height:130px;padding:14px 14px 15px;gap:10px}.home-product-body h3{font-size:15px;line-height:1.9;min-height:50px;max-height:50px}.home-product-body h3.compact-text{font-size:13.8px}.home-product-body h3.tiny-text{font-size:12.8px}.invoice-designer-shell{grid-template-columns:1fr}.invoice-designer-controls{position:static}}
@media (max-width:767px){.home-product-card{height:325px}.home-product-card .product-img{height:210px}.home-product-body{height:115px;padding:10px 11px 12px;gap:7px}.home-product-body h3{font-size:13.6px;line-height:1.95;min-height:46px;max-height:46px}.home-product-body h3.compact-text{font-size:12.7px;line-height:2.05}.home-product-body h3.tiny-text{font-size:11.8px;line-height:2.15}.product-hover-plus{opacity:0;width:28px;height:28px;font-size:20px;top:9px;left:9px}.home-product-card:active,.home-product-card.touch-hold{transform:translateY(-4px) scale(.995);box-shadow:0 16px 36px rgba(15,23,42,.17);border-color:var(--primary)}.home-product-card:active .product-hover-plus,.home-product-card.touch-hold .product-hover-plus{opacity:1;transform:rotate(90deg)}.customer-order-table-head{display:none}.customer-order-line{grid-template-columns:1fr 1fr;gap:7px 10px;padding:12px}.customer-order-line b,.customer-order-line strong{font-size:13px}.customer-order-line>span{font-size:12px}.purchase-state{justify-self:end}.order-detail-actions{flex-direction:column;align-items:stretch}.order-detail-actions .btn{width:100%}.invoice-designer-shell{grid-template-columns:1fr}.invoice-designer-controls{position:static}.invoice-designer-stage-wrap{padding:10px;min-height:55vh}.invoice-designer-stage{transform-origin:top right}.invoice-designer-stage.paper-A4{width:600px;height:848px}.invoice-designer-stage.paper-A5{width:450px;height:638px}}

/* 2.4.12 — isolated location section; no global layout selectors */
.gb-map-contact{position:relative;width:100%;height:430px;overflow:hidden;background:#40464d;color:#fff;isolation:isolate;margin-top:44px}
.gb-map-contact__map{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:0;filter:grayscale(.18) saturate(.82) brightness(.88)}
.gb-map-contact__overlay{position:absolute;inset:0;background:rgba(28,33,38,.62);z-index:1;pointer-events:none}
.gb-map-contact__inner{position:relative;z-index:2;width:min(1240px,92%);height:100%;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr auto;padding:26px 0 24px;box-sizing:border-box}
.gb-map-contact__inner h2{grid-column:1/-1;margin:0;text-align:center;color:#fff;font-size:27px;line-height:1.6}
.gb-map-contact__details{grid-column:1/2;align-self:center;max-width:670px;color:#fff}
.gb-map-contact__details p{display:flex;gap:8px;align-items:flex-start;margin:0 0 16px;font-size:18px;font-weight:700;line-height:2;color:#fff;text-shadow:0 2px 7px rgba(0,0,0,.2)}
.gb-map-contact__details b{white-space:nowrap;color:#fff}.gb-map-contact__details b:after{content:':'}.gb-map-contact__details span{color:#fff}
.gb-map-contact__intro{font-size:19px!important}.gb-map-contact__directions{grid-column:1/-1;justify-self:center;align-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:124px;height:52px;padding:0 22px;border-radius:10px;background:var(--primary);color:#fff;font-size:16px;font-weight:900;box-shadow:0 12px 26px rgba(0,0,0,.22);transition:transform .18s ease,filter .18s ease}
.gb-map-contact__directions:hover{transform:translateY(-2px);filter:brightness(1.06)}
.store-map-settings{margin:18px 0;padding:16px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}.store-map-settings h3{margin-top:0}.map-setting-preview{margin-top:16px;padding:10px 12px;border-radius:10px;background:var(--surface-2);border:1px solid var(--border)}
.floating-contact{z-index:1200}
@media (min-width:768px) and (max-width:1100px){.gb-map-contact{height:390px}.gb-map-contact__inner{padding:22px 0}.gb-map-contact__inner h2{font-size:24px}.gb-map-contact__details p{font-size:16.5px}.gb-map-contact__intro{font-size:17.5px!important}.gb-map-contact__directions{height:48px}}
@media (max-width:767px){.gb-map-contact{height:380px;margin-top:30px}.gb-map-contact__inner{width:88%;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;padding:20px 0}.gb-map-contact__inner h2{grid-column:1;font-size:22px}.gb-map-contact__details{grid-column:1;text-align:center;max-width:none;align-self:center}.gb-map-contact__details p{display:block;font-size:15px;line-height:1.95;margin-bottom:11px}.gb-map-contact__details b{display:block;margin-bottom:2px}.gb-map-contact__details b:after{content:''}.gb-map-contact__intro{font-size:16px!important}.gb-map-contact__directions{grid-column:1;height:44px;min-width:108px;padding:0 18px;font-size:14.5px}.floating-contact{z-index:1200}}

/* 2.4.14 — Persian typography, refined navigation, compact settings and stable support widget */
body,button,input,select,textarea{font-family:'B Koodak','BKoodak',Tahoma,Arial,sans-serif}

/* top navigation polish without increasing dimensions */
.storefront-topbar{box-shadow:0 7px 22px rgba(15,23,42,.08);border-bottom:1px solid color-mix(in srgb,var(--border) 72%,transparent);position:relative;z-index:60}
.storefront-topbar:after{content:'';position:absolute;right:0;left:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--primary) 65%,transparent),transparent);opacity:.7;pointer-events:none}
.storefront-primary-nav a{position:relative;transition:color .18s ease,opacity .18s ease,transform .18s ease;text-shadow:0 1px 0 rgba(255,255,255,.04)}
.storefront-primary-nav a:after{content:'';position:absolute;right:12%;left:12%;bottom:-7px;height:2px;border-radius:999px;background:currentColor;transform:scaleX(0);transform-origin:center;opacity:.75;transition:transform .18s ease}
.storefront-primary-nav a:hover{opacity:1;transform:translateY(-1px)}
.storefront-primary-nav a:hover:after,.storefront-primary-nav .home-nav-link:after{transform:scaleX(1)}
.storefront .customer-quick-actions{box-shadow:0 5px 16px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.35)!important}

/* Amazing offers images must stay fully inside their existing frame */
.amazing-image-wrap{overflow:hidden;padding:7px}
.amazing-image-wrap img,.amazing-card img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;aspect-ratio:auto!important;transform:none}

/* floating support: icons remain inside current menu dimensions */
.floating-contact{bottom:var(--floating-contact-bottom,20px);transition:bottom .18s ease}
.contact-channel{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;min-height:54px;padding:8px 11px!important}
.contact-channel-copy{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;text-align:right}
.contact-channel-icon{width:28px;height:28px;min-width:28px;display:grid;place-items:center;border-radius:9px;overflow:hidden}
.contact-channel-icon svg{width:20px;height:20px;display:block}
.contact-channel-icon.whatsapp-icon{background:#e9fbf0;color:#159447}.contact-channel-icon.whatsapp-icon svg{fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.contact-channel-icon.bale-icon{background:#e7f6fc;color:#1686b8}.contact-channel-icon.bale-icon svg{fill:currentColor;stroke:none}

/* location panel reduced to roughly two-thirds of previous height */
.gb-map-contact{height:290px;margin-top:34px}
.gb-map-contact__inner{padding:15px 0 14px;grid-template-rows:auto 1fr auto}
.gb-map-contact__inner h2{font-size:23px;line-height:1.35}
.gb-map-contact__details p{margin-bottom:8px;font-size:15.5px;line-height:1.65}
.gb-map-contact__intro{font-size:16.5px!important}
.gb-map-contact__directions{height:42px;min-width:110px;padding:0 17px;font-size:14.5px}

/* Store information / management compact card layout */
.store-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:15px;align-items:start}
.store-settings-main,.management-compact-form{min-width:0}
.store-info-card-grid,.management-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.settings-mini-card{padding:16px!important;margin:0!important;min-width:0}
.settings-card-title{margin-bottom:11px;padding-bottom:8px;border-bottom:1px solid var(--border)}
.settings-card-title h3{margin:3px 0 0;font-size:18px}.settings-card-title .eyebrow{font-size:12px}
.settings-mini-card .form-row{margin-bottom:10px}.settings-mini-card .form-row:last-child{margin-bottom:0}
.settings-mini-card .short-area{min-height:76px}.compact-two{gap:10px}
.compact-setting-check{margin:3px 0 11px}.compact-logo-preview{display:flex!important;align-items:center;gap:12px;margin-top:10px}.compact-logo-preview img{width:64px!important;height:64px!important;object-fit:contain}
.settings-save-bar{display:flex;justify-content:flex-end;padding-top:12px}.settings-save-bar .btn{min-width:160px}
.compact-store-preview{position:sticky;top:84px;padding:16px!important;text-align:center}.compact-store-preview>img{width:72px!important;height:72px!important;object-fit:contain;margin-bottom:8px}.compact-store-preview h2{font-size:20px;margin:4px 0}.store-preview-lines{display:grid;gap:7px;text-align:right;margin-top:12px}.store-preview-lines span{display:grid;grid-template-columns:56px 1fr;gap:7px;font-size:14px;padding:7px 8px;border-radius:9px;background:var(--surface-2)}.store-preview-lines b{font-size:13px}
.database-backup-card{margin-top:15px}.database-backup-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.database-action-box{display:grid;gap:9px;padding:13px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2)}.database-action-box>strong{font-size:16px}.database-action-box>span{font-size:13.5px;color:var(--muted);line-height:1.8}.database-action-box input[type=file]{max-width:100%}.database-action-box .btn{justify-self:start}.database-action-box.restore{border-style:dashed}
.management-compact-layout{max-width:1220px}.management-card-grid{align-items:start}.compact-management-preview{position:static!important;min-height:100%}.enamad-settings-card .code-input{min-height:92px}
.stacked-admin-sections{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.stacked-admin-sections>.card{width:100%;min-width:0}.stacked-admin-sections>.table-wrap{margin:0}

@media (min-width:768px) and (max-width:1100px){
  .gb-map-contact{height:260px}.gb-map-contact__inner{padding:13px 0}.gb-map-contact__inner h2{font-size:21px}.gb-map-contact__details p{font-size:14.5px}.gb-map-contact__intro{font-size:15.5px!important}.gb-map-contact__directions{height:40px}
  .store-settings-layout{grid-template-columns:1fr}.compact-store-preview{position:static}.store-info-card-grid,.management-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .storefront-primary-nav a:after{bottom:0;right:5%;left:5%}
  .floating-contact{bottom:var(--floating-contact-bottom,12px)}
  .contact-channel-icon{width:26px;height:26px;min-width:26px}.contact-channel-icon svg{width:18px;height:18px}
  .gb-map-contact{height:255px;margin-top:24px}.gb-map-contact__inner{padding:13px 0 12px}.gb-map-contact__inner h2{font-size:20px}.gb-map-contact__details p{font-size:13.5px;line-height:1.65;margin-bottom:6px}.gb-map-contact__intro{font-size:14.5px!important}.gb-map-contact__directions{height:38px;min-width:98px;font-size:13.5px}
  .store-settings-layout,.store-info-card-grid,.management-card-grid,.database-backup-grid{grid-template-columns:1fr}.compact-store-preview{position:static}.settings-mini-card{padding:14px!important}.settings-save-bar .btn{width:100%}.database-action-box .btn{width:100%}
}

/* 2.4.15 — larger typography and compact 2x3 admin entry forms */
body{font-size:18px}
.admin-six-grid-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;align-items:stretch}
.admin-six-grid-form>.form-row{margin:0;min-width:0;display:flex;flex-direction:column}
.admin-six-grid-form>.form-row>input,.admin-six-grid-form>.form-row>textarea{min-width:0}
.admin-six-grid-form .compact-grid-textarea{min-height:72px;height:72px}
.admin-six-grid-form .admin-grid-action{justify-content:flex-end}
.admin-six-grid-form .admin-grid-action>label:not(.check){min-height:30px}
.admin-six-grid-form .admin-grid-action .btn{width:100%;margin-top:auto;min-height:46px}
.admin-six-grid-form .admin-grid-status{margin:0 0 8px;min-height:30px}
.store-settings-layout{grid-template-columns:minmax(0,1fr)}
@media (min-width:768px) and (max-width:1100px){.admin-six-grid-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.admin-six-grid-form{grid-template-columns:1fr}.admin-six-grid-form .compact-grid-textarea{height:auto;min-height:82px}}


/* 2.4.16 — storefront amazing-offer reference layout, compact hero and larger top links */
/* Remove the old selected-products title only; the selected-product content remains unchanged. */
.featured-products .section-heading>div:first-child{display:flex;align-items:center;min-height:38px}

/* Top link texts: +2px without enlarging the navigation bar itself. */
.storefront-primary-nav{font-size:18px}
.storefront .customer-auth-box{font-size:17px}

/* Home identity/search panel: one-third shorter than the former 150px height. */
.storefront .hero-home{height:100px!important;min-height:100px!important;padding:8px 18px!important;gap:16px!important}
.storefront .hero-store-logo{width:56px;height:56px;min-width:56px;max-width:56px;border-radius:11px;padding:4px}
.storefront .hero-copy h1{font-size:24px!important;margin:1px 0!important;line-height:1.35}
.storefront .hero-copy p{font-size:13px!important;margin:0;line-height:1.45}
.storefront .hero-copy .eyebrow{font-size:12px;padding:2px 7px}
.storefront .hero-home .search-box{min-height:40px;padding:5px;border-radius:12px}
.storefront .hero-home .search-box input{padding-block:5px}
.storefront .hero-home .search-box .btn{min-height:32px;padding:5px 12px}

/* Amazing offers — framed strip modeled on the supplied reference image. */
.amazing-offers{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  direction:rtl;
  margin:24px 0 32px;
  padding:20px 0 20px 20px;
  min-height:420px;
  border:0;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(105deg,#b42c4b 0%,#7e2738 38%,#4c242b 67%,#2c2022 100%);
  box-shadow:0 14px 34px rgba(75,28,39,.13)
}
.amazing-offers-title{
  background:transparent;
  color:#fff;
  min-width:0;
  padding:24px 20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center
}
.amazing-offers-title:before{display:none}
.amazing-offers-title span{font-size:24px;font-weight:900;line-height:1.2}
.amazing-offers-title strong{font-size:34px;line-height:1.35;margin-top:4px;font-weight:900}
.amazing-offers-title b{font-size:58px;line-height:1;margin-top:28px;font-weight:900}
.amazing-products-shell{position:relative;min-width:0;height:100%;overflow:hidden;background:transparent}
.amazing-scroller{
  height:100%;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:20%;
  gap:8px;
  padding:0;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  direction:rtl;
  background:#7e2738
}
.amazing-scroller::-webkit-scrollbar{display:none}
.amazing-card{
  min-width:0;
  height:100%;
  padding:14px 15px 18px;
  border:0;
  border-radius:0;
  background:#fff;
  box-shadow:none;
  scroll-snap-align:start;
  position:relative
}
.amazing-card>a{display:flex;height:100%;min-height:0;flex-direction:column;color:#111}
.amazing-image-wrap{height:245px;margin:0 0 10px;padding:8px;display:grid;place-items:center;overflow:hidden;background:#fff}
.amazing-image-wrap img,.amazing-card img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain!important;aspect-ratio:auto!important;transform:none!important}
.amazing-card h3{font-size:17px;line-height:1.75;margin:4px 0 14px;min-height:60px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:900}
.amazing-price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.amazing-price{font-size:19px;font-weight:900;color:#25304f;white-space:nowrap}
.amazing-discount{display:inline-flex;align-items:center;justify-content:center;min-width:45px;height:30px;padding:0 9px;border-radius:999px;background:#e52532;color:#fff;font-size:15px;font-weight:900}
.amazing-card del{display:block;margin-top:5px;color:#b7bdc8;font-size:14px;text-decoration-thickness:1.5px}
.amazing-arrow{width:48px;height:58px;margin-top:-29px;border:1px solid #e0e4e9;background:#fff;color:#161616;border-radius:50%;font-size:37px;box-shadow:0 7px 18px rgba(0,0,0,.13)}
.amazing-prev{right:8px}.amazing-next{left:8px}
.theme-noir .amazing-offers{border:0}.theme-noir .amazing-products-shell{background:transparent}

@media (min-width:768px) and (max-width:1100px){
  .storefront-primary-nav{font-size:16px}
  .storefront .customer-auth-box{font-size:15.5px}
  .storefront .hero-home{height:100px!important;min-height:100px!important;padding:7px 13px!important;gap:12px!important}
  .storefront .hero-store-logo{width:50px;height:50px;min-width:50px;max-width:50px}
  .storefront .hero-copy h1{font-size:21px!important}
  .storefront .hero-copy p{font-size:12px!important}
  .storefront .hero-home .search-box{min-height:38px}
  .amazing-offers{grid-template-columns:185px minmax(0,1fr);padding:16px 0 16px 16px;min-height:375px}
  .amazing-offers-title span{font-size:20px}.amazing-offers-title strong{font-size:29px}.amazing-offers-title b{font-size:50px;margin-top:22px}
  .amazing-scroller{grid-auto-columns:33.333333%;gap:7px}
  .amazing-image-wrap{height:210px}
  .amazing-card h3{font-size:16px;min-height:56px}
}

@media (max-width:767px){
  .storefront-primary-nav a{font-size:18px}
  .storefront .customer-auth-box{font-size:14px}
  .storefront .hero-home{height:100px!important;min-height:100px!important;padding:6px 9px!important;gap:4px!important;grid-template-columns:1fr!important;align-content:center}
  .storefront .hero-identity{gap:7px;min-height:42px}
  .storefront .hero-store-logo{width:38px;height:38px;min-width:38px;max-width:38px;border-radius:8px;padding:3px}
  .storefront .hero-copy h1{font-size:17px!important;line-height:1.25!important}
  .storefront .hero-copy p{display:none}
  .storefront .hero-copy .eyebrow{font-size:10.5px;padding:1px 5px;line-height:1.5}
  .storefront .hero-home .search-box{min-height:34px;padding:3px;border-radius:9px}
  .storefront .hero-home .search-box input{padding:3px 6px;font-size:14px}
  .storefront .hero-home .search-box .btn{min-height:28px;padding:3px 9px;font-size:13px}
  .amazing-offers{display:grid;grid-template-columns:1fr;margin:18px 0 25px;padding:0 10px 10px;min-height:0;border-radius:13px;background:linear-gradient(135deg,#aa2948,#5d2632 62%,#2e2022)}
  .amazing-offers-title{height:80px;min-height:80px;flex-direction:row;gap:7px;padding:8px 12px;justify-content:center}
  .amazing-offers-title span{font-size:18px}.amazing-offers-title strong{font-size:23px;line-height:1.1;margin:0}.amazing-offers-title strong br{display:none}.amazing-offers-title b{font-size:36px;margin:0 10px 0 0}
  .amazing-products-shell{height:315px}
  .amazing-scroller{grid-auto-columns:min(76vw,238px);gap:7px}
  .amazing-card{padding:9px 10px 14px}
  .amazing-image-wrap{height:178px;padding:5px;margin-bottom:6px}
  .amazing-card h3{font-size:15px;min-height:50px;margin-bottom:9px}
  .amazing-price{font-size:16px}.amazing-discount{min-width:40px;height:27px;font-size:13px}.amazing-card del{font-size:12px}
  .amazing-arrow{width:38px;height:48px;margin-top:-24px;font-size:31px}
}

/* 2.4.17 — professional grouped admin sidebar */
.admin-layout{grid-template-columns:268px minmax(0,1fr)}
.sidebar{
  padding:0;
  height:100vh;
  min-height:100vh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg,#111827 0%,#0b1220 58%,#080e19 100%);
  border-left:1px solid rgba(148,163,184,.11);
  box-shadow:-10px 0 28px rgba(15,23,42,.08)
}
.admin-sidebar-head{
  min-height:86px;
  padding:17px 15px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  border-bottom:1px solid rgba(255,255,255,.075);
  background:rgba(255,255,255,.018)
}
.admin-brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:linear-gradient(145deg,rgba(59,130,246,.26),rgba(99,102,241,.13));
  color:#dbeafe;
  border:1px solid rgba(147,197,253,.18);
  box-shadow:0 8px 18px rgba(0,0,0,.16)
}
.admin-brand-mark .admin-nav-icon{width:23px;height:23px}
.admin-brand-mark .admin-nav-icon svg{width:23px;height:23px}
.admin-brand-copy{min-width:0;display:grid;gap:1px}
.admin-brand-copy strong{font-size:17px;line-height:1.5;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-brand-copy small{font-size:12.5px;color:#94a3b8;line-height:1.5}
.admin-nav{
  flex:1;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding:13px 11px 18px;
  scrollbar-width:thin;
  scrollbar-color:rgba(148,163,184,.28) transparent
}
.admin-nav::-webkit-scrollbar{width:5px}.admin-nav::-webkit-scrollbar-track{background:transparent}.admin-nav::-webkit-scrollbar-thumb{background:rgba(148,163,184,.26);border-radius:999px}
.admin-nav-caption{
  margin:14px 11px 7px;
  color:#64748b;
  font-size:11.5px;
  font-weight:900;
  letter-spacing:.02em
}
.admin-nav-caption-bottom{margin-top:18px;padding-top:13px;border-top:1px solid rgba(255,255,255,.065)}
.admin-nav .admin-nav-link{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  margin:3px 0;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:11px;
  color:#cbd5e1;
  font-size:15.5px;
  font-weight:700;
  line-height:1.45;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease
}
.admin-nav .admin-nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.06);
  transform:translateX(-1px)
}
.admin-nav .admin-nav-link.active{
  color:#fff;
  background:linear-gradient(90deg,rgba(37,99,235,.34),rgba(59,130,246,.17));
  border-color:rgba(96,165,250,.22);
  box-shadow:inset -3px 0 0 #60a5fa,0 7px 16px rgba(2,6,23,.14)
}
.admin-nav-icon{
  width:30px;
  height:30px;
  min-width:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  color:#94a3b8;
  background:rgba(148,163,184,.07);
  transition:color .16s ease,background-color .16s ease
}
.admin-nav-icon svg{width:18px;height:18px;display:block}
.admin-nav-link:hover .admin-nav-icon,.admin-nav-link.active .admin-nav-icon{color:#dbeafe;background:rgba(96,165,250,.12)}
.admin-nav-label{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-nav-primary{margin-bottom:4px}
.admin-nav-standalone{margin-top:5px!important}
.admin-menu-group{
  margin:5px 0;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.075);
  border-radius:12px;
  background:rgba(255,255,255,.018)
}
.admin-menu-group.active-group{border-color:rgba(96,165,250,.15);background:rgba(37,99,235,.045)}
.admin-menu-group summary{
  min-height:45px;
  padding:7px 9px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  list-style:none;
  color:#d9e1ec;
  background:transparent;
  font-size:15.5px;
  font-weight:850;
  user-select:none;
  transition:background-color .16s ease,color .16s ease
}
.admin-menu-group summary::-webkit-details-marker{display:none}
.admin-menu-group summary:after{content:none!important;display:none!important}
.admin-menu-group summary:hover{background:rgba(255,255,255,.04);color:#fff}
.admin-menu-group.active-group>summary{color:#fff}
.admin-menu-group.active-group>summary .admin-nav-icon{color:#bfdbfe;background:rgba(96,165,250,.11)}
.admin-nav-chevron{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  margin-right:auto;
  color:#64748b;
  font-size:17px;
  line-height:1;
  transition:transform .18s ease,color .18s ease
}
.admin-menu-group[open] .admin-nav-chevron{transform:rotate(180deg);color:#94a3b8}
.admin-subnav{
  padding:3px 7px 8px;
  border-top:1px solid rgba(255,255,255,.055);
  background:rgba(2,6,23,.14)
}
.admin-subnav .admin-nav-link{
  min-height:39px;
  margin:2px 0!important;
  padding:6px 8px!important;
  border-right:0!important;
  border-radius:9px!important;
  font-size:14.5px
}
.admin-subnav .admin-nav-icon{width:27px;height:27px;min-width:27px;border-radius:8px;background:transparent}
.admin-subnav .admin-nav-icon svg{width:16px;height:16px}
.admin-subnav .admin-nav-link.active{box-shadow:inset -3px 0 0 #60a5fa}
.admin-quick-links{display:grid;grid-template-columns:1fr;gap:3px}
.admin-quick-links .quick-store{color:#bfdbfe;background:rgba(59,130,246,.055)}
.admin-quick-links .quick-logout{color:#fecaca}
.admin-quick-links .quick-logout .admin-nav-icon{color:#fca5a5;background:rgba(239,68,68,.07)}
.admin-quick-links .quick-logout:hover{background:rgba(239,68,68,.09);border-color:rgba(248,113,113,.12)}
.admin-version{
  position:static;
  right:auto;
  left:auto;
  bottom:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  flex-wrap:wrap;
  margin:0;
  padding:11px 16px 13px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#64748b;
  background:rgba(2,6,23,.18);
  font-size:11.5px;
  line-height:1.6
}
.admin-version span{color:#94a3b8;white-space:nowrap}
.admin-menu-toggle{
  width:auto;
  min-width:58px;
  border:1px solid rgba(148,163,184,.17);
  background:rgba(255,255,255,.055);
  color:#e2e8f0;
  border-radius:9px;
  padding:6px 9px
}

@media (min-width:768px) and (max-width:1100px){
  .admin-layout{grid-template-columns:220px minmax(0,1fr)}
  .admin-sidebar-head{grid-template-columns:36px minmax(0,1fr);padding:14px 11px;min-height:78px}
  .admin-brand-mark{width:36px;height:36px;border-radius:11px}.admin-brand-mark .admin-nav-icon,.admin-brand-mark .admin-nav-icon svg{width:20px;height:20px}
  .admin-brand-copy strong{font-size:15px}.admin-brand-copy small{font-size:11.5px}
  .admin-nav{padding:10px 8px 15px}.admin-nav-caption{margin-right:9px;margin-left:9px}
  .admin-nav .admin-nav-link,.admin-menu-group summary{font-size:14px}.admin-subnav .admin-nav-link{font-size:13.5px}
  .admin-nav-icon{width:28px;height:28px;min-width:28px}.admin-nav-icon svg{width:16px;height:16px}
  .admin-version{padding-inline:11px;font-size:11px}
}

@media (max-width:767px){
  .admin-layout{display:block}
  .sidebar{position:static;height:auto;min-height:0;overflow:visible;box-shadow:none}
  .admin-sidebar-head{min-height:68px;padding:10px 12px;grid-template-columns:36px minmax(0,1fr) auto}
  .admin-brand-mark{width:36px;height:36px;border-radius:10px}.admin-brand-mark .admin-nav-icon,.admin-brand-mark .admin-nav-icon svg{width:20px;height:20px}
  .admin-brand-copy strong{font-size:15px}.admin-brand-copy small{font-size:11.5px}
  .admin-menu-toggle{display:inline-flex;float:none;align-items:center;justify-content:center;margin:0}
  .admin-nav{display:none;clear:none;max-height:none;overflow:visible;padding:9px 10px 14px;border-top:1px solid rgba(255,255,255,.055)}
  .admin-nav.open{display:block}
  .admin-nav-caption{margin-top:11px}
  .admin-nav .admin-nav-link,.admin-menu-group summary{font-size:15px;min-height:43px}
  .admin-subnav .admin-nav-link{font-size:14px}
  .admin-version{padding:9px 12px 11px;font-size:11px}
}

/* 2.4.18 — professional category manager + removable invoice blocks */
.category-admin-shell{display:grid;gap:16px}
.category-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(135deg,#fff 0%,#f7f9fd 100%);overflow:hidden;position:relative}
.category-admin-hero:after{content:"";position:absolute;inset:auto -70px -90px auto;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.12),transparent 70%);pointer-events:none}
.category-admin-hero h2{margin:2px 0 5px;font-size:24px}.category-admin-hero p{margin:0}
.category-kpis{display:grid;grid-template-columns:repeat(4,minmax(92px,1fr));gap:9px;min-width:min(520px,54%);position:relative;z-index:1}
.category-kpis>div{background:#fff;border:1px solid #e3e9f2;border-radius:13px;padding:10px 12px;text-align:center;box-shadow:0 5px 18px rgba(15,23,42,.04)}
.category-kpis b{display:block;font-size:23px;line-height:1.2;color:#1d4ed8}.category-kpis span{display:block;margin-top:3px;font-size:12.5px;color:#667085}
.category-editor-card .section-heading{margin-bottom:12px}.category-modern-form{align-items:end}.category-status-cell .check{min-height:44px;display:flex;align-items:center;padding:0 11px;border:1px solid #e1e7ef;border-radius:10px;background:#f9fbfd}
.category-form-note{min-height:70px;border:1px dashed #cdd8e7;border-radius:11px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center;background:#f8fbff}.category-form-note b{color:#245edb}.category-form-note span{font-size:12px;color:#667085;margin-top:2px}
.category-tree-card{overflow:hidden}.category-tree-level{display:grid;gap:8px}.category-tree-level.depth-0{gap:12px}.category-tree-level:not(.depth-0){margin:9px 40px 0 0;padding-right:14px;border-right:2px solid #dce6f4}
.category-tree-item{border:1px solid #e2e8f0;border-radius:14px;background:#fff;padding:11px 12px;transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}.category-tree-item:hover{border-color:#c8d8ef;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.category-tree-item.is-root{background:linear-gradient(180deg,#fff,#fbfcff);border-color:#d7e0ed}.category-tree-item.is-child{border-radius:11px;background:#fbfdff;padding:9px 10px}
.category-tree-item>.category-tree-level{grid-column:1/-1}
.category-tree-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
.category-tree-main{display:flex;align-items:center;gap:10px;min-width:0}.category-tree-icon{width:37px;height:37px;min-width:37px;border-radius:11px;display:grid;place-items:center;background:#edf4ff;color:#2563eb;font-size:18px;font-weight:900}.is-child>.category-tree-main .category-tree-icon{width:30px;height:30px;min-width:30px;border-radius:9px;background:#f0f4f9;color:#64748b;font-size:15px}
.category-tree-copy{min-width:0}.category-tree-name{font-weight:900;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.category-tree-meta{display:flex;flex-wrap:wrap;gap:5px 9px;margin-top:3px;color:#667085;font-size:11.5px}.category-tree-meta span{white-space:nowrap}
.category-tree-side{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.category-tree-side .btn{padding:6px 10px;font-size:12.5px}
.invoice-design-block{position:absolute}.invoice-block-remove{position:absolute;top:5px;left:5px;width:24px;height:24px;border-radius:50%;border:1px solid #f1b4b4;background:#fff5f5;color:#b42318;font:900 17px/1 'B Koodak','BKoodak',Tahoma,sans-serif;display:grid;place-items:center;padding:0;cursor:pointer;z-index:3;box-shadow:0 2px 7px rgba(180,35,24,.08)}.invoice-block-remove:hover{background:#fee4e2;border-color:#ee9d98}.invoice-design-block[hidden]{display:none!important}
.invoice-designer-help button{border:1px solid #d8e0ea;background:#f7f9fc;color:#334155;border-radius:999px;padding:5px 10px;font:inherit;cursor:pointer}.invoice-designer-help button:hover{border-color:#a9bdd8;background:#fff}.invoice-designer-help button.is-disabled{border-style:dashed;background:#fff5f5;color:#b42318}.invoice-designer-help button.is-disabled:before{content:"+ ";font-weight:900}
@media (max-width:1100px) and (min-width:768px){.category-admin-hero{align-items:flex-start}.category-kpis{grid-template-columns:repeat(2,1fr);min-width:42%}.category-tree-level:not(.depth-0){margin-right:24px}}
@media (max-width:767px){.category-admin-hero{display:grid}.category-kpis{grid-template-columns:repeat(2,1fr);min-width:0;width:100%}.category-tree-item{grid-template-columns:1fr}.category-tree-side{justify-content:flex-start}.category-tree-level:not(.depth-0){margin-right:12px;padding-right:9px}.category-tree-meta{gap:4px 7px}.category-admin-hero h2{font-size:21px}}

/* 2.4.19 — stabilization, hierarchy, pagination, RBAC and operations */
.pagination{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;margin:22px 0 8px}.pagination a{min-width:38px;height:38px;display:grid;place-items:center;padding:0 10px;border:1px solid var(--border,#dbe2ea);border-radius:10px;background:var(--surface,#fff);color:var(--text,#172033);text-decoration:none;font-weight:700}.pagination a:hover,.pagination a.active{border-color:var(--primary,#2563eb);box-shadow:0 5px 15px rgba(15,23,42,.08)}.pagination a.active{background:var(--primary,#2563eb);color:#fff}
.storefront-nav .nav-category-item{position:relative;display:inline-flex;align-items:center}.storefront-nav .nav-category-item>.nav-submenu{position:absolute;top:calc(100% + 7px);right:0;min-width:190px;padding:8px;background:var(--surface,#fff);border:1px solid var(--border,#e2e8f0);border-radius:13px;box-shadow:0 18px 40px rgba(15,23,42,.13);display:none;z-index:40}.storefront-nav .nav-category-item:hover>.nav-submenu,.storefront-nav .nav-category-item:focus-within>.nav-submenu{display:grid;gap:3px}.storefront-nav .nav-submenu a{display:block;padding:8px 10px;border-radius:8px;white-space:nowrap}.storefront-nav .nav-submenu a:hover{background:rgba(100,116,139,.08)}
.breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 18px;color:var(--muted,#64748b)}.breadcrumb a{text-decoration:none;color:inherit}.breadcrumb a:hover{color:var(--primary,#2563eb)}.subcategory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.subcategory-grid a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:8px 12px;text-decoration:none;border:1px solid var(--border,#e2e8f0);border-radius:12px;background:var(--surface,#fff);color:var(--text,#172033);font-weight:700}.subcategory-grid a:hover{transform:translateY(-1px);border-color:var(--primary,#2563eb);box-shadow:0 8px 20px rgba(15,23,42,.07)}
.settings-system-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:18px}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:12px 0 18px}.api-create-form{margin-bottom:18px}.audit-json{max-width:420px;max-height:180px;overflow:auto;white-space:pre-wrap;direction:ltr;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:8px;font-size:12px}.text-danger{color:#b42318}.text-success{color:#067647}.card hr{border:0;border-top:1px solid var(--border,#e5e7eb);margin:20px 0}.mini-list{display:grid;gap:6px}
@media (max-width:1100px) and (min-width:768px){.subcategory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-system-grid{grid-template-columns:1fr}.permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.storefront-nav .nav-category-item{display:flex;width:100%}.storefront-nav .nav-category-item>.nav-submenu{position:static;display:grid;box-shadow:none;border:0;border-right:2px solid var(--border,#e2e8f0);border-radius:0;background:transparent;margin-right:10px;padding:4px 10px 4px 0;min-width:0}.subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-system-grid,.permission-grid{grid-template-columns:1fr}.audit-json{max-width:260px}}
/* 2.4.19 — recursive storefront category navigation */
.storefront-nav .nav-submenu>.nav-category-item{display:block;width:100%}.storefront-nav .nav-submenu>.nav-category-item>a{display:block;width:100%}.storefront-nav .nav-submenu .nav-category-item>.nav-submenu{top:0;right:calc(100% + 7px)}
@media (max-width:767px){.storefront-nav .nav-submenu .nav-category-item>.nav-submenu{position:static;right:auto;top:auto;margin-right:10px}.storefront-nav .nav-submenu>.nav-category-item{display:grid}}


/* ===== v2.4.20: professional slideshow manager ===== */
.slideshow-admin{display:grid;gap:18px}.slideshow-admin-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:22px;padding:26px;border:1px solid #dbe5f0;border-radius:22px;background:linear-gradient(135deg,#101a2f 0%,#172a4a 58%,#1c4774 100%);color:#fff;box-shadow:0 20px 45px rgba(16,26,47,.18)}.slideshow-admin-hero:after{content:'';position:absolute;width:270px;height:270px;border-radius:50%;left:-90px;top:-130px;background:rgba(255,255,255,.08);pointer-events:none}.slideshow-hero-copy,.slideshow-status-panel{position:relative;z-index:1}.slideshow-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);font-size:13px;font-weight:800}.slideshow-hero-copy h2{margin:10px 0 7px;font-size:31px}.slideshow-hero-copy p{max-width:690px;margin:0;color:#d7e4f4;line-height:1.9}.slideshow-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.slideshow-hero-actions .btn{box-shadow:none}.slideshow-status-panel{align-self:center;padding:16px;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(8px)}.slideshow-status-line{display:flex;align-items:center;gap:11px;padding-bottom:13px;border-bottom:1px solid rgba(255,255,255,.12)}.slideshow-status-line div{display:grid;gap:3px}.slideshow-status-line small{color:#d7e4f4;font-size:12px}.slideshow-live-dot{width:12px;height:12px;border-radius:50%;flex:0 0 auto;box-shadow:0 0 0 5px rgba(255,255,255,.08)}.slideshow-live-dot.is-on{background:#4ade80}.slideshow-live-dot.is-off{background:#f87171}.slideshow-master-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.slideshow-master-switch .switch-check b{color:#fff}.slideshow-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.slideshow-kpi{min-height:92px;display:flex;align-items:center;gap:13px;padding:16px 18px;border:1px solid var(--border);border-radius:17px;background:var(--surface);box-shadow:0 9px 24px rgba(15,23,42,.055)}.slideshow-kpi-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#edf5ff;color:#1e63b7;font-weight:900;font-size:19px}.slideshow-kpi div{display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:8px}.slideshow-kpi small{grid-column:1/-1;color:var(--muted);font-size:13px}.slideshow-kpi strong{font-size:25px;line-height:1.1}.slideshow-kpi em{font-style:normal;color:#64748b;font-size:11px}.slideshow-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(285px,.65fr);gap:18px;align-items:start}.slideshow-editor,.slideshow-placement{margin:0}.slideshow-placement{position:sticky;top:18px}.slideshow-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.slideshow-card-head h3{margin:4px 0 0}.slideshow-edit-form{display:grid;gap:16px}.slide-upload-zone{position:relative;display:grid;place-items:center;min-height:245px;border:2px dashed #b9c9dc;border-radius:18px;background:linear-gradient(180deg,#f8fbff,#f2f7fc);overflow:hidden;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}.slide-upload-zone:hover,.slide-upload-zone.is-dragging{border-color:#367bd1;box-shadow:0 10px 28px rgba(54,123,209,.12)}.slide-upload-zone input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;z-index:4}.slide-upload-zone img{display:block;width:100%;height:245px;object-fit:contain;background:#eef3f8}.slide-upload-placeholder{display:grid;place-items:center;gap:5px;text-align:center;padding:25px;color:#334155}.slide-upload-placeholder b{font-size:17px}.slide-upload-placeholder small{color:#64748b}.slide-upload-placeholder em{font-style:normal;font-size:11px;color:#8a9aaf}.slide-upload-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#e5f0ff;color:#2269bf;font-size:31px;margin-bottom:4px}.slide-upload-change{position:absolute;left:12px;bottom:12px;z-index:3;padding:7px 10px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;font-size:12px;opacity:0;transition:.2s}.slide-upload-zone.has-image .slide-upload-change{opacity:1}.slideshow-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.slideshow-form-grid .form-row{margin:0}.slideshow-form-grid .form-row small{display:block;margin-top:5px;color:#8090a4;font-size:11px}.slideshow-title-field,.slideshow-link-field{grid-column:auto}.slideshow-form-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:4px}.slideshow-active-check{padding:9px 12px;border-radius:12px;background:#f6f9fc;border:1px solid #e4ebf3}.slideshow-save-btn{min-width:145px}.slideshow-page-map{display:grid;gap:8px;padding:13px;border-radius:16px;background:#edf2f7;border:1px solid #dbe4ee}.page-map-nav{display:flex;align-items:center;gap:4px;height:25px;padding:0 8px;background:#fff;border-radius:8px}.page-map-nav i{width:5px;height:5px;border-radius:50%;background:#9db0c6}.page-map-search{height:28px;border-radius:8px;background:#dbe7f4}.page-map-slide{min-height:62px;border-radius:10px;display:grid;place-items:center;align-content:center;gap:2px;border:1px dashed currentColor}.page-map-slide b{font-size:12px}.page-map-slide small{font-size:10px;opacity:.72}.page-map-slide.top{color:#1661b6;background:#e6f1ff}.page-map-slide.bottom{color:#7c3aed;background:#f2ebff}.page-map-products{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.page-map-products span{height:45px;border-radius:7px;background:#fff;border:1px solid #dfe7f0}.page-map-footer{height:24px;border-radius:8px;background:#cfd9e4}.slideshow-placement-note{display:flex;gap:9px;margin-top:13px;padding:10px 12px;border-radius:12px;background:#f4faf7;color:#315e43}.slideshow-placement-note>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#daf2e2;color:#16703b;flex:0 0 auto}.slideshow-placement-note p{margin:0;font-size:12px;line-height:1.75}.slideshow-library-section{display:grid;gap:12px;padding-top:3px}.slideshow-library-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.slideshow-library-head>div{display:flex;align-items:center;gap:10px}.slideshow-library-head h3{margin:0;font-size:20px}.slideshow-library-head p{margin:2px 0 0;color:var(--muted);font-size:12px}.slideshow-position-mark{width:9px;height:42px;border-radius:999px;background:#2d72c7}.slideshow-position-mark.bottom{background:#7c3aed}.slideshow-add-shortcut{font-size:13px;font-weight:800;color:#2769b8;text-decoration:none}.slideshow-library-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.slideshow-item{overflow:hidden;border:1px solid var(--border);border-radius:17px;background:var(--surface);box-shadow:0 8px 24px rgba(15,23,42,.055);transition:transform .2s,box-shadow .2s,border-color .2s}.slideshow-item:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(15,23,42,.09);border-color:#bfd1e5}.slideshow-item.is-inactive{opacity:.76}.slideshow-item-media{position:relative;aspect-ratio:16/5;background:#edf2f7;border-bottom:1px solid var(--border);overflow:hidden}.slideshow-item-media img{display:block;width:100%;height:100%;object-fit:contain;background:#eef3f8}.slideshow-item-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#94a3b8}.slideshow-item-status,.slideshow-item-order{position:absolute;top:9px;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;backdrop-filter:blur(7px)}.slideshow-item-status{right:9px}.slideshow-item-status.on{background:rgba(220,252,231,.92);color:#166534}.slideshow-item-status.off{background:rgba(254,226,226,.92);color:#991b1b}.slideshow-item-order{left:9px;background:rgba(15,23,42,.72);color:#fff}.slideshow-item-body{padding:13px 14px 10px}.slideshow-item-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.slideshow-item-title h4{margin:0;font-size:16px;line-height:1.55}.slideshow-position-chip{white-space:nowrap;padding:4px 7px;border-radius:999px;background:#e6f1ff;color:#185fae;font-size:10px;font-weight:800}.slideshow-position-chip.bottom{background:#f2ebff;color:#6d28d9}.slideshow-item-link{display:flex;align-items:center;gap:6px;margin-top:8px;color:#94a3b8}.slideshow-item-link.has-link{color:#45709f}.slideshow-item-link small{direction:ltr;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.slideshow-item-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:10px 14px 13px;border-top:1px solid #edf1f5}.slideshow-item-actions form{margin:0}.slideshow-item-actions .btn{padding:7px 10px;font-size:12px}.slideshow-toggle-btn{min-width:84px}.slideshow-empty{min-height:125px;display:grid;place-items:center;align-content:center;gap:4px;text-align:center;padding:22px;border:1px dashed #c6d3e2;border-radius:16px;background:#f8fafc;color:#66778b}.slideshow-empty>span{font-size:28px;color:#9aabc0}.slideshow-empty b{color:#3b4a5d}.slideshow-empty small{font-size:11px}.content:has(.slideshow-admin){max-width:none}
@media (min-width:768px) and (max-width:1100px){.slideshow-admin-hero{grid-template-columns:1fr;padding:22px}.slideshow-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slideshow-workspace{grid-template-columns:1fr}.slideshow-placement{position:static}.slideshow-page-map{max-width:560px;margin:auto}.slideshow-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.slideshow-admin{gap:14px}.slideshow-admin-hero{grid-template-columns:1fr;padding:18px;border-radius:17px}.slideshow-hero-copy h2{font-size:26px}.slideshow-hero-actions{display:grid;grid-template-columns:1fr}.slideshow-hero-actions .btn{text-align:center}.slideshow-status-panel{padding:13px}.slideshow-master-switch{align-items:flex-start;flex-direction:column}.slideshow-master-switch .btn{width:100%}.slideshow-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.slideshow-kpi{min-height:82px;padding:12px;gap:9px}.slideshow-kpi-icon{width:34px;height:34px;border-radius:10px}.slideshow-kpi strong{font-size:21px}.slideshow-workspace{grid-template-columns:1fr}.slideshow-placement{position:static}.slide-upload-zone,.slide-upload-zone img{min-height:170px;height:170px}.slideshow-form-grid{grid-template-columns:1fr}.slideshow-form-footer{align-items:stretch;flex-direction:column}.slideshow-save-btn{width:100%}.slideshow-library-head{align-items:flex-end}.slideshow-library-head h3{font-size:17px}.slideshow-library-grid{grid-template-columns:1fr}.slideshow-item-media{aspect-ratio:16/6}.slideshow-item-actions{display:grid;grid-template-columns:repeat(3,1fr)}.slideshow-item-actions form,.slideshow-item-actions .btn{width:100%}.slideshow-item-actions .btn{text-align:center}.slideshow-add-shortcut{font-size:11px}}

/* 2.4.21 — use the exact user-provided Bale and WhatsApp brand images */
.contact-channel-icon{background:transparent!important}
.contact-channel-icon img{display:block;width:24px;height:24px;max-width:24px;max-height:24px;object-fit:contain;border:0;border-radius:0;box-shadow:none}
.contact-channel-icon.whatsapp-icon,.contact-channel-icon.bale-icon{color:inherit}

/* 2.4.22 — staff cards stacked + larger/equal contact channel icons */
.admin-two{grid-template-columns:1fr!important}
.contact-channel{gap:6px!important}
.contact-channel-icon{width:30px!important;height:30px!important;min-width:30px!important}
.contact-channel-icon img{width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;object-fit:contain}
@media (max-width:767px){
  .contact-channel{gap:6px!important}
  .contact-channel-icon{width:30px!important;height:30px!important;min-width:30px!important}
  .contact-channel-icon img{width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important}
}

/* 2.4.23 — graphical staff/roles workspace + double-size WhatsApp icon */
.contact-channel-icon.whatsapp-icon{width:58px!important;height:58px!important;min-width:58px!important;border-radius:14px!important}
.contact-channel-icon.whatsapp-icon img{width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important}
.contact-channel.whatsapp{min-height:66px!important}

.staff-admin-page{display:grid;gap:18px}
.staff-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-radius:20px;background:linear-gradient(135deg,#0f172a 0%,#172554 58%,#1d4ed8 130%);color:#fff;box-shadow:0 18px 44px rgba(15,23,42,.16);overflow:hidden;position:relative}
.staff-hero:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;left:-70px;top:-120px;background:rgba(255,255,255,.07)}
.staff-hero-copy{display:flex;align-items:center;gap:16px;position:relative;z-index:1}.staff-hero-copy .eyebrow{color:#bfdbfe}.staff-hero-copy h2{margin:3px 0 4px;font-size:28px}.staff-hero-copy p{margin:0;color:#dbeafe;font-size:15px}
.staff-hero-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);flex:0 0 auto}.staff-hero-icon svg,.staff-section-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.staff-hero-current{position:relative;z-index:1;min-width:170px;padding:12px 16px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.09);border-radius:14px}.staff-hero-current span{display:block;color:#bfdbfe;font-size:13px}.staff-hero-current b{display:block;margin-top:2px;font-size:17px}
.staff-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.staff-stat{display:flex;align-items:center;gap:12px;padding:16px 18px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 7px 20px rgba(15,23,42,.045)}.staff-stat-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eff6ff;color:#1d4ed8;font-size:20px}.staff-stat small{display:block;color:var(--muted);font-size:13px}.staff-stat b{display:block;font-size:23px;margin-top:1px}
.staff-workspace{padding:0;overflow:hidden}.staff-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 21px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#fff,#fbfdff)}.staff-section-head>div:first-child{display:flex;align-items:center;gap:13px}.staff-section-head h3{margin:2px 0 2px}.staff-section-head p{margin:0;font-size:14px}.staff-section-icon{width:45px;height:45px;display:grid;place-items:center;border-radius:13px;background:#eef2ff;color:#4338ca}.staff-section-icon.account{background:#ecfdf3;color:#067647}.staff-section-icon svg{width:24px;height:24px}
.staff-workspace-grid{display:grid;grid-template-columns:minmax(310px,.72fr) minmax(0,1.28fr);gap:0;align-items:stretch}.staff-editor-card{padding:20px;border-left:1px solid var(--border);background:#fbfdff}.staff-editor-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding-bottom:11px;border-bottom:1px dashed #dbe3ee}.staff-editor-title span{color:var(--muted);font-size:13px}.staff-editor-title b{font-size:17px}.staff-permission-head{display:flex;justify-content:space-between;align-items:center;margin:14px 0 9px}.staff-permission-head small{color:var(--muted)}
.staff-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}.staff-permission{display:flex;align-items:center;gap:8px;min-height:48px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:11px;background:#fff;cursor:pointer;transition:.18s ease}.staff-permission:hover{border-color:#a5b4fc;box-shadow:0 5px 16px rgba(79,70,229,.08);transform:translateY(-1px)}.staff-permission:has(input:checked){border-color:#a5b4fc;background:#f5f7ff}.staff-permission input{width:auto;margin:0}.staff-permission-mark{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#eef2ff;color:#4338ca;font-weight:900}.staff-owner-note{padding:11px 12px;border-radius:10px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.staff-primary-action{width:100%;margin-top:2px}
.staff-library{padding:20px;min-width:0}.staff-library-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.staff-library-head b{display:block;font-size:17px}.staff-library-head small{display:block;color:var(--muted);margin-top:2px}.staff-role-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.staff-role-card{border:1px solid #e2e8f0;border-radius:15px;padding:14px;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.035);transition:.18s ease}.staff-role-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.075);border-color:#c7d2fe}.staff-role-card.is-owner{background:linear-gradient(145deg,#fffaf0,#fff);border-color:#fde68a}.staff-role-card-top{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center}.staff-role-symbol{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#eef2ff;color:#4338ca;font-size:18px}.staff-role-card.is-owner .staff-role-symbol{background:#fff3c4;color:#a16207}.staff-role-card-top b{display:block}.staff-role-card-top small{color:var(--muted);font-size:12px}.staff-role-count{font-size:12px;color:#475569;background:#f1f5f9;border-radius:999px;padding:4px 8px;white-space:nowrap}.staff-role-perms{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0;min-height:27px}.staff-role-perms span{font-size:11px;padding:4px 7px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569}.staff-card-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #eef2f7;padding-top:10px}.staff-card-actions code{font-size:11px;color:#64748b;background:#f8fafc;padding:4px 6px;border-radius:6px}
.staff-admin-cards{display:grid;gap:9px}.staff-admin-card{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 13px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;transition:.18s ease}.staff-admin-card:hover{border-color:#bbf7d0;box-shadow:0 7px 20px rgba(6,118,71,.07)}.staff-admin-card.is-current{border-color:#86efac;background:#f7fff9}.staff-avatar{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#dbeafe,#e0e7ff);color:#1e40af;font-size:19px;font-weight:900}.staff-admin-info>div{display:flex;align-items:center;gap:7px}.staff-admin-info b{font-size:16px}.staff-admin-info small{display:block;color:var(--muted);margin-top:2px}.staff-current-badge{font-size:11px;color:#067647;background:#dcfce7;border-radius:999px;padding:3px 7px}.staff-admin-actions{display:flex;align-items:center;gap:6px}.staff-admin-actions .btn{padding:7px 10px}
@media (max-width:1100px) and (min-width:768px){.staff-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-workspace-grid{grid-template-columns:1fr}.staff-editor-card{border-left:0;border-bottom:1px solid var(--border)}.staff-role-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.contact-channel-icon.whatsapp-icon{width:58px!important;height:58px!important;min-width:58px!important}.contact-channel-icon.whatsapp-icon img{width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important}.staff-hero{align-items:flex-start;padding:17px;flex-direction:column}.staff-hero-copy{align-items:flex-start}.staff-hero-icon{width:48px;height:48px;border-radius:14px}.staff-hero-copy h2{font-size:23px}.staff-hero-current{width:100%;min-width:0}.staff-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.staff-stat{padding:12px}.staff-stat-icon{width:36px;height:36px}.staff-stat b{font-size:20px}.staff-section-head{align-items:flex-start;padding:15px;flex-direction:column}.staff-workspace-grid{grid-template-columns:1fr}.staff-editor-card{padding:15px;border-left:0;border-bottom:1px solid var(--border)}.staff-library{padding:15px}.staff-permission-grid,.staff-role-cards{grid-template-columns:1fr}.staff-admin-card{grid-template-columns:auto 1fr}.staff-admin-actions{grid-column:1/-1;justify-content:flex-end;padding-top:8px;border-top:1px solid #eef2f7}.staff-role-card-top{grid-template-columns:auto 1fr}.staff-role-count{grid-column:1/-1;width:max-content}.staff-section-head>div:first-child{align-items:flex-start}}

/* 2.4.24 — fixed admin sidebar + single-open accordion navigation */
@media (min-width:1101px){
  .admin-layout{display:block;min-height:100vh}
  .sidebar{
    position:fixed!important;
    top:0;
    right:0;
    bottom:0;
    left:auto;
    width:268px;
    height:100vh;
    height:100dvh;
    min-height:0;
    z-index:80;
  }
  .content{margin-right:268px;min-height:100vh}
}
@media (min-width:768px) and (max-width:1100px){
  .admin-layout{display:block;min-height:100vh}
  .sidebar{
    position:fixed!important;
    top:0;
    right:0;
    bottom:0;
    left:auto;
    width:220px;
    height:100vh;
    height:100dvh;
    min-height:0;
    z-index:80;
  }
  .content{margin-right:220px;min-height:100vh}
}
@media (max-width:767px){
  .admin-layout{display:block}
  .sidebar{position:static!important;inset:auto;width:auto;height:auto;min-height:0}
  .content{margin-right:0}
}


/* 2.4.25 — larger admin navigation typography + larger Bale contact icon */
.admin-nav-caption{font-size:13.5px}
.admin-nav .admin-nav-link,.admin-menu-group summary{font-size:17.5px}
.admin-subnav .admin-nav-link{font-size:16.5px}
.contact-channel-icon.bale-icon{width:39px!important;height:39px!important;min-width:39px!important;border-radius:11px!important}
.contact-channel-icon.bale-icon img{width:37px!important;height:37px!important;max-width:37px!important;max-height:37px!important;object-fit:contain}
@media (min-width:768px) and (max-width:1100px){
  .admin-nav-caption{font-size:13.5px}
  .admin-nav .admin-nav-link,.admin-menu-group summary{font-size:16px}
  .admin-subnav .admin-nav-link{font-size:15.5px}
}
@media (max-width:767px){
  .admin-nav-caption{font-size:13.5px}
  .admin-nav .admin-nav-link,.admin-menu-group summary{font-size:17px}
  .admin-subnav .admin-nav-link{font-size:16px}
  .contact-channel-icon.bale-icon{width:39px!important;height:39px!important;min-width:39px!important}
  .contact-channel-icon.bale-icon img{width:37px!important;height:37px!important;max-width:37px!important;max-height:37px!important}
}


/* 2.4.26 — compact catalog/shipping, partner gallery, display settings and invoice preview repair */
.product-display-settings{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.home-product-count-setting{display:flex;align-items:center;gap:7px;padding:5px 8px;border:1px solid var(--border);border-radius:10px;background:#fff;white-space:nowrap}.home-product-count-setting span{font-weight:800;font-size:14px}.home-product-count-setting input{width:76px;height:38px;margin:0;padding:5px 8px;text-align:center}.compact-save-setting{min-height:38px;padding:6px 13px}
.compact-category-admin{gap:12px}.compact-category-editor{padding:12px 14px}.compact-category-heading{margin-bottom:8px!important;min-height:0}.compact-category-heading h3{margin:2px 0 0}.category-compact-form{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(190px,1.25fr) minmax(110px,.55fr) auto auto;gap:10px;align-items:end}.category-compact-form .form-row{margin:0}.category-inline-status{min-height:44px;margin:0;padding:0 10px;border:1px solid #e1e7ef;border-radius:10px;background:#f9fbfd;display:flex;align-items:center}.category-inline-save{min-height:44px;white-space:nowrap}
.shipping-editor-card{padding:13px 14px}.compact-edit-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.shipping-one-row-form{display:grid;grid-template-columns:minmax(170px,1.3fr) minmax(130px,.85fr) minmax(130px,.9fr) minmax(90px,.5fr) auto auto;gap:10px;align-items:end}.shipping-one-row-form .form-row{margin:0}.shipping-inline-status{min-height:44px;margin:0;padding:0 10px;border:1px solid #e1e7ef;border-radius:10px;background:#f9fbfd;display:flex;align-items:center}.shipping-inline-save{min-height:44px;white-space:nowrap}
.partners-pro-shell{display:grid;gap:16px}.partners-pro-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#fff,#f4f8ff);overflow:hidden;position:relative}.partners-pro-hero:after{content:"";position:absolute;width:190px;height:190px;left:-70px;bottom:-110px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.13),transparent 70%)}.partners-pro-hero h2{margin:3px 0 4px}.partners-pro-hero p{margin:0}.partners-pro-stats{display:flex;gap:10px;position:relative;z-index:1}.partners-pro-stats>div{min-width:110px;text-align:center;padding:10px 14px;border:1px solid #dfe7f3;border-radius:14px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.05)}.partners-pro-stats b{display:block;font-size:24px;color:#2563eb}.partners-pro-stats span{display:block;font-size:12px;color:#667085}.partners-editor-card{padding:14px}.partners-one-row-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.3fr) minmax(230px,1.15fr) auto;gap:12px;align-items:end}.partners-one-row-form .form-row{margin:0}.partner-file-row{position:relative}.partner-admin-preview.compact{position:absolute;left:4px;bottom:4px;width:52px;height:36px;margin:0;border-radius:8px}.partners-editor-actions{display:flex;gap:7px;align-items:center;min-height:44px}.partners-editor-actions .btn{white-space:nowrap}.partners-gallery-card{padding:18px}.partners-count-badge{padding:5px 10px;border-radius:999px;background:#eef4ff;color:#2455b8;font-weight:900}.partner-pro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.partner-pro-card{border:1px solid #e1e8f1;border-radius:16px;background:linear-gradient(180deg,#fff,#fbfdff);padding:12px;display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;align-items:center;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.partner-pro-card:hover{transform:translateY(-2px);border-color:#bfd1ea;box-shadow:0 12px 28px rgba(15,23,42,.07)}.partner-pro-logo{width:86px;height:68px;border:1px solid #e5eaf1;border-radius:12px;background:#fff;display:grid;place-items:center;overflow:hidden}.partner-pro-logo img{max-width:76px;max-height:58px;object-fit:contain}.partner-pro-copy{min-width:0}.partner-pro-copy strong{display:block;font-size:16px}.partner-pro-copy small{display:block;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:ltr;text-align:right}.partner-pro-actions{grid-column:1/-1;display:flex;align-items:center;gap:7px;padding-top:9px;border-top:1px solid #edf1f6}.partner-pro-actions form{margin:0}.partner-site-link{margin-left:auto;text-decoration:none;color:#2563eb;font-weight:800;font-size:13px}
.report-empty-friendly{min-height:120px;display:grid;place-items:center;border:1px dashed #dce4ef;border-radius:13px;background:#fbfcfe;color:#7a8498}
.database-backup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-studio-hero{padding:14px 18px;gap:14px;min-height:0;align-items:center}.theme-studio-hero h2{font-size:25px;margin:2px 0}.theme-studio-hero .active-theme-panel{padding:10px 13px;gap:6px}.theme-studio-hero .active-theme-panel strong{font-size:20px}.theme-studio-hero .palette-row{margin-top:2px}.theme-studio-hero .palette-row i{width:20px;height:20px}
/* Repair: 2.4.18 accidentally changed invoice blocks to relative, collapsing saved coordinates. */
.invoice-designer-stage .invoice-design-block{position:absolute!important;padding-left:40px}.invoice-designer-stage .invoice-drag-handle{left:auto;right:8px;top:7px}.invoice-designer-stage .invoice-block-remove{left:7px;top:7px}.invoice-designer-stage.paper-A5 .invoice-design-block{padding-left:36px}
@media (min-width:768px) and (max-width:1100px){.category-compact-form{grid-template-columns:repeat(2,minmax(0,1fr))}.category-inline-status,.category-inline-save{min-height:44px}.shipping-one-row-form{grid-template-columns:repeat(2,minmax(0,1fr))}.partners-one-row-form{grid-template-columns:repeat(2,minmax(0,1fr))}.partner-pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-studio-hero{grid-template-columns:1fr 230px}.product-display-settings{gap:8px}}
@media (max-width:767px){.product-display-settings{align-items:stretch}.stock-display-form.product-display-settings{width:100%}.home-product-count-setting{justify-content:space-between;width:100%}.compact-save-setting{width:100%}.category-compact-form,.shipping-one-row-form,.partners-one-row-form{grid-template-columns:1fr}.category-inline-status,.shipping-inline-status{min-height:44px}.category-inline-save,.shipping-inline-save,.partners-editor-actions .btn{width:100%}.partners-pro-hero{display:grid}.partners-pro-stats{width:100%}.partners-pro-stats>div{flex:1}.partner-pro-grid{grid-template-columns:1fr}.partners-editor-actions{align-items:stretch;flex-direction:column}.theme-studio-hero{padding:13px;gap:10px}.database-backup-grid{grid-template-columns:1fr}}

/* 2.4.27 — invoice designer paper-bound coordinate repair */
.invoice-designer-stage-wrap{
  direction:ltr;
  overflow:auto;
  overscroll-behavior:contain;
}
.invoice-designer-stage{
  position:relative!important;
  direction:ltr;
  flex:0 0 auto;
  overflow:hidden!important;
  isolation:isolate;
  box-sizing:border-box;
  border:1px solid #cfd7e3;
}
.invoice-designer-stage .invoice-design-block{
  position:absolute!important;
  right:auto!important;
  margin:0!important;
  max-width:95%;
  box-sizing:border-box;
  direction:rtl;
  transform:none;
  z-index:2;
}
.invoice-designer-stage .invoice-design-block.dragging{z-index:20}
.invoice-designer-stage::before{
  content:"";
  position:absolute;
  inset:12px;
  border:1px dashed rgba(100,116,139,.18);
  border-radius:3px;
  pointer-events:none;
  z-index:1;
}
@media (max-width:767px){
  .invoice-designer-stage-wrap{direction:ltr}
  .invoice-designer-stage{transform:none!important;transform-origin:center top!important}
}

/* 2.4.28 — professional responsive admin dashboard (approved concept #1) */
.dashboard-pro{display:grid;gap:16px;max-width:1500px;margin:0 auto}.dashboard-top-grid{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,2.28fr);gap:14px;align-items:stretch}.dashboard-action-card{border:1px solid #f4caca;border-radius:18px;background:linear-gradient(180deg,#fffafa,#fff5f5);padding:16px;box-shadow:0 8px 24px rgba(180,40,40,.05)}.dashboard-action-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.dashboard-action-head h2{margin:2px 0 0;font-size:20px;color:#c33434}.dashboard-kicker{display:block;color:#7a8799;font-size:11px;font-weight:900;letter-spacing:.01em}.dashboard-warning-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#fff0f0;color:#d93636;font-weight:900;font-size:20px;border:1px solid #ffd5d5}.dashboard-action-list{display:grid;gap:5px}.dashboard-action-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:6px 8px;border-radius:9px;color:#5c6575;transition:.15s}.dashboard-action-row:hover{background:#fff}.dashboard-action-row span{font-size:12px;font-weight:800}.dashboard-action-row b{min-width:27px;height:25px;padding:0 6px;border-radius:8px;display:grid;place-items:center;background:#fff;border:1px solid #f0d8d8;font-size:13px}.dashboard-action-row.tone-red b{color:#c52c2c}.dashboard-action-row.tone-orange b{color:#d97706}.dashboard-action-row.tone-violet b{color:#7c3aed}.dashboard-action-row.tone-blue b{color:#2563eb}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-kpi{position:relative;overflow:hidden;min-height:150px;padding:17px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.05);display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto 1fr auto;gap:8px 11px}.dashboard-kpi:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;left:-35px;bottom:-45px;background:var(--kpi-soft,#eef7ff);opacity:.65}.dashboard-kpi-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:var(--kpi-soft,#eef7ff);color:var(--kpi,#1e73be);grid-row:1/3;position:relative;z-index:1}.dashboard-kpi-icon svg{width:23px;height:23px}.dashboard-kpi-copy{display:grid;align-content:start;gap:4px;position:relative;z-index:1}.dashboard-kpi-copy span{font-size:13px;color:#697386;font-weight:800}.dashboard-kpi-copy strong{font-size:23px;line-height:1.4;color:#172033;white-space:nowrap}.dashboard-kpi-change{grid-column:1/-1;display:flex;align-items:center;gap:6px;position:relative;z-index:1;font-size:11px}.dashboard-kpi-change b{font-size:12px}.dashboard-kpi-change small{color:#8b95a7}.dashboard-kpi-change.up b{color:#168b55}.dashboard-kpi-change.down b{color:#c63a3a}.dashboard-kpi-change.flat b{color:#738095}.dashboard-kpi.tone-cyan{--kpi:#0891b2;--kpi-soft:#e7f9fc}.dashboard-kpi.tone-blue{--kpi:#2563eb;--kpi-soft:#eef4ff}.dashboard-kpi.tone-violet{--kpi:#7c3aed;--kpi-soft:#f3edff}.dashboard-kpi.tone-green{--kpi:#15935c;--kpi-soft:#eaf8f1}.dashboard-status-card{padding:15px 17px}.dashboard-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.dashboard-section-head h3{margin:2px 0 0;font-size:18px}.dashboard-section-head>a{color:#0d87aa;font-size:12px;font-weight:900}.dashboard-status-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.dashboard-status-item{min-height:70px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e6ebf2;border-radius:13px;background:#fbfcfe}.dashboard-status-item .status-dot{width:10px;height:10px;border-radius:50%;background:var(--st,#64748b);box-shadow:0 0 0 5px var(--st-soft,#eef2f7)}.dashboard-status-item div{display:grid;gap:2px}.dashboard-status-item small{font-size:11px;color:#768196;font-weight:800}.dashboard-status-item b{font-size:19px}.dashboard-status-item.tone-orange{--st:#f59e0b;--st-soft:#fff5dc}.dashboard-status-item.tone-blue{--st:#3b82f6;--st-soft:#eaf2ff}.dashboard-status-item.tone-violet{--st:#8b5cf6;--st-soft:#f1ebff}.dashboard-status-item.tone-purple{--st:#a855f7;--st-soft:#f7ecff}.dashboard-status-item.tone-green{--st:#22a867;--st-soft:#e7f8ef}.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(380px,.96fr);gap:14px}.dashboard-chart-card,.dashboard-orders-card{min-height:400px}.dashboard-chart-card{padding:17px}.dashboard-chart-legend{display:flex;gap:16px;margin:-4px 0 5px;color:#697386;font-size:11px;font-weight:800}.dashboard-chart-legend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-left:5px}.dashboard-chart-legend .sales:before{background:#6168e8}.dashboard-chart-legend .orders:before{background:#ff6670}.dashboard-line-wrap{min-height:310px}.dashboard-line-wrap canvas{width:100%;height:310px;display:block}.dashboard-orders-card{padding:17px}.dashboard-order-list{display:grid}.dashboard-order-row{display:grid;grid-template-columns:72px minmax(120px,1fr) auto auto;gap:10px;align-items:center;min-height:57px;padding:9px 3px;border-bottom:1px solid #edf1f5}.dashboard-order-row:last-child{border-bottom:0}.dashboard-order-id{font-weight:900;color:#526077;font-size:12px}.dashboard-order-customer{display:grid;font-weight:800;font-size:13px;line-height:1.45}.dashboard-order-customer small{color:#929bad;font-size:10px;font-weight:500}.dashboard-order-state{padding:4px 7px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.dashboard-order-state.ok{background:#e8f8ef;color:#127142}.dashboard-order-state.info{background:#eef2ff;color:#4f46b8}.dashboard-order-state.processing{background:#e9f4ff;color:#1d6fa9}.dashboard-order-state.warn{background:#fff3dd;color:#a85d00}.dashboard-order-state.danger{background:#ffebec;color:#b52834}.dashboard-order-state.neutral{background:#f1f4f8;color:#657083}.dashboard-order-row>b{font-size:12px;white-space:nowrap}.dashboard-empty{padding:28px 12px;text-align:center;color:#8c96a8;border:1px dashed #dbe2ec;border-radius:12px;background:#fbfcfe}.dashboard-empty.ok{color:#31835b;background:#f5fbf7}.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,.88fr);gap:14px}.dashboard-stock-card,.dashboard-health-card,.dashboard-quick-card{min-height:310px;padding:17px}.dashboard-stock-list{display:grid}.dashboard-stock-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #edf1f5}.dashboard-stock-row:last-child{border-bottom:0}.dashboard-stock-image{width:44px;height:44px;border-radius:10px;background:#f1f4f8;border:1px solid #e2e8f0;display:grid;place-items:center;overflow:hidden;color:#8c98aa}.dashboard-stock-image img{width:100%;height:100%;object-fit:contain}.dashboard-stock-row>span:nth-child(2){display:grid;min-width:0}.dashboard-stock-row>span:nth-child(2) b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-stock-row>span:nth-child(2) small{font-size:10px;color:#98a1b0}.dashboard-stock-row em{font-style:normal;color:#d04747;font-size:11px;font-weight:900;white-space:nowrap}.dashboard-stock-row em.out{color:#b91c1c}.dashboard-health-body{display:grid;grid-template-columns:130px 1fr;gap:16px;align-items:center}.dashboard-health-score{--score:80;width:120px;height:120px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#20b8b8 calc(var(--score)*1%),#e5eef2 0);position:relative}.dashboard-health-score:after{content:"";position:absolute;inset:10px;background:#fff;border-radius:50%}.dashboard-health-score div{position:relative;z-index:1;display:grid;text-align:center;line-height:1.2}.dashboard-health-score b{font-size:31px;color:#128a91}.dashboard-health-score small{font-size:10px;color:#8792a5}.dashboard-health-list{display:grid;gap:7px}.dashboard-health-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}.dashboard-health-list>div span:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-left:6px;background:#23a66a}.dashboard-health-list>div.warn span:before{background:#e29b20}.dashboard-health-list>div b{font-size:11px;color:#31845c}.dashboard-health-list>div.warn b{color:#b67514}.dashboard-backup-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;padding-top:12px;border-top:1px solid #edf1f5;font-size:10px;color:#7d8799}.dashboard-backup-note b{color:#3b475a;font-size:10px}.dashboard-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-quick-item{min-height:84px;border:1px solid #e4eaf1;border-radius:14px;background:#fbfcfe;display:grid;place-items:center;align-content:center;gap:5px;text-align:center;transition:.15s}.dashboard-quick-item:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,23,42,.06)}.dashboard-quick-item>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--q-soft,#eef4ff);color:var(--q,#2563eb)}.dashboard-quick-item svg{width:18px;height:18px}.dashboard-quick-item b{font-size:11px}.dashboard-quick-item.tone-cyan{--q:#0891b2;--q-soft:#e7f9fc}.dashboard-quick-item.tone-blue{--q:#2563eb;--q-soft:#edf3ff}.dashboard-quick-item.tone-violet{--q:#7c3aed;--q-soft:#f2ecff}.dashboard-quick-item.tone-green{--q:#15935c;--q-soft:#eaf8f1}.dashboard-quick-item.tone-sky{--q:#0284c7;--q-soft:#e9f6fc}.dashboard-quick-item.tone-slate{--q:#475569;--q-soft:#eef1f5}
@media (min-width:768px) and (max-width:1100px){.dashboard-pro{gap:13px}.dashboard-top-grid{grid-template-columns:1fr}.dashboard-action-card{display:grid;grid-template-columns:190px 1fr;gap:12px;align-items:center}.dashboard-action-head{margin:0}.dashboard-action-list{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-kpi{min-height:132px}.dashboard-main-grid{grid-template-columns:1fr}.dashboard-chart-card,.dashboard-orders-card{min-height:auto}.dashboard-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-quick-card{grid-column:1/-1;min-height:auto}.dashboard-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-status-grid{grid-template-columns:repeat(5,minmax(120px,1fr));overflow-x:auto;padding-bottom:4px}.dashboard-status-item{min-width:120px}.dashboard-line-wrap,.dashboard-line-wrap canvas{height:300px;min-height:300px}}

@media (max-width:767px){.dashboard-pro{margin-inline:0}.admin-top{margin-bottom:12px}.admin-top h1{font-size:24px}.dashboard-pro{gap:12px}.dashboard-top-grid{grid-template-columns:1fr;gap:12px}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;order:-1}.dashboard-kpi{min-height:126px;padding:12px;border-radius:14px;grid-template-columns:auto 1fr;gap:6px 8px}.dashboard-kpi-icon{width:35px;height:35px;border-radius:10px}.dashboard-kpi-icon svg{width:19px;height:19px}.dashboard-kpi-copy span{font-size:11px}.dashboard-kpi-copy strong{font-size:17px;white-space:normal}.dashboard-kpi-change{gap:4px}.dashboard-kpi-change b{font-size:10px}.dashboard-kpi-change small{font-size:9px}.dashboard-action-card{padding:13px;border-radius:14px}.dashboard-action-head h2{font-size:17px}.dashboard-action-row{min-height:31px}.dashboard-action-row span{font-size:11px}.dashboard-status-card,.dashboard-chart-card,.dashboard-orders-card,.dashboard-stock-card,.dashboard-health-card,.dashboard-quick-card{padding:13px;border-radius:14px}.dashboard-section-head{margin-bottom:9px}.dashboard-section-head h3{font-size:16px}.dashboard-status-grid{grid-template-columns:repeat(5,minmax(105px,1fr));overflow-x:auto;padding-bottom:5px;scroll-snap-type:x proximity}.dashboard-status-item{min-width:105px;min-height:62px;padding:8px;scroll-snap-align:start}.dashboard-status-item small{font-size:9px}.dashboard-status-item b{font-size:17px}.dashboard-main-grid,.dashboard-bottom-grid{grid-template-columns:1fr;gap:12px}.dashboard-chart-card,.dashboard-orders-card,.dashboard-stock-card,.dashboard-health-card,.dashboard-quick-card{min-height:0}.dashboard-chart-legend{margin-bottom:2px}.dashboard-line-wrap,.dashboard-line-wrap canvas{height:245px;min-height:245px}.dashboard-order-row{grid-template-columns:60px minmax(90px,1fr) auto;gap:7px;min-height:55px}.dashboard-order-row>b{grid-column:2/4;text-align:left;color:#4d586b;font-size:10px;margin-top:-7px}.dashboard-order-id{font-size:11px}.dashboard-order-customer{font-size:11px}.dashboard-order-state{font-size:9px}.dashboard-stock-row{grid-template-columns:42px minmax(0,1fr) auto}.dashboard-stock-image{width:38px;height:38px}.dashboard-health-body{grid-template-columns:105px 1fr;gap:12px}.dashboard-health-score{width:98px;height:98px}.dashboard-health-score b{font-size:26px}.dashboard-health-list>div,.dashboard-health-list>div b{font-size:10px}.dashboard-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dashboard-quick-item{min-height:72px}.dashboard-quick-item b{font-size:10px}.dashboard-backup-note{align-items:flex-start;flex-direction:column}.dashboard-pro:after{content:none!important}}

/* === 2.4.30 Homepage storefront & builder === */
.homepage-search-hero{position:relative;overflow:visible;z-index:6}.homepage-smart-search{position:relative;z-index:8}.homepage-search-input-wrap{position:relative;flex:1;min-width:0}.homepage-search-input-wrap>input{width:100%;padding-right:46px}.homepage-search-icon{position:absolute;right:15px;top:50%;transform:translateY(-50%);font-size:25px;color:var(--muted);pointer-events:none}.homepage-search-suggestions{position:absolute;right:0;left:0;top:calc(100% + 7px);z-index:50;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:0 18px 45px rgba(15,23,42,.16);overflow:hidden;text-align:right}.homepage-search-suggestion{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:11px;padding:9px 11px;border-bottom:1px solid #edf1f5;color:inherit;text-decoration:none}.homepage-search-suggestion:last-child{border-bottom:0}.homepage-search-suggestion:hover{background:#f7fafc}.homepage-search-suggestion img,.homepage-search-suggestion .suggestion-placeholder{width:52px;height:52px;object-fit:contain;border-radius:10px;background:#f3f6f9}.homepage-search-suggestion strong{display:block;font-size:14px;line-height:1.55}.homepage-search-suggestion small{color:var(--muted)}.homepage-search-suggestion .suggestion-price{font-weight:900;white-space:nowrap}.homepage-search-suggestion del{display:block;color:#94a3b8;font-size:10px}.homepage-block{position:relative;margin:0 0 24px}.homepage-spacing-compact{margin-bottom:14px}.homepage-spacing-normal{margin-bottom:26px}.homepage-spacing-large{margin-bottom:42px}.homepage-bg-soft{padding:20px;border-radius:24px;background:linear-gradient(145deg,rgba(242,247,252,.85),rgba(249,251,253,.96));border:1px solid rgba(220,229,239,.9)}.homepage-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.homepage-section-head h2{margin:0;font-size:23px}.homepage-section-head small{display:block;margin-top:3px;color:var(--muted)}.homepage-section-head>a{font-weight:800;text-decoration:none}.homepage-section-line{height:1px;flex:1;background:linear-gradient(90deg,transparent,var(--border));margin-right:14px}.home-visual-grid{display:grid;grid-template-columns:1fr;gap:12px}.home-visual-grid.has-side{grid-template-columns:minmax(0,2.15fr) minmax(220px,.85fr)}.home-main-slider,.home-main-slider .home-slideshow{min-width:0;margin:0}.home-side-promos{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.home-side-promos a{display:block;overflow:hidden;border-radius:18px;border:1px solid var(--border);background:#f5f7fa;box-shadow:0 8px 24px rgba(15,23,42,.06)}.home-side-promos img{display:block;width:100%;height:100%;min-height:0;object-fit:cover}.home-category-tiles{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.home-category-tile{display:grid;gap:8px;place-items:center;text-decoration:none;color:inherit;padding:9px 5px;border-radius:15px;transition:.2s}.home-category-tile:hover{background:var(--surface);box-shadow:0 8px 22px rgba(15,23,42,.07);transform:translateY(-2px)}.home-category-image{width:82px;height:82px;border-radius:24px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#edf5ff,#f7f2ff);border:1px solid #e2eaf4}.home-category-image img{width:100%;height:100%;object-fit:contain}.home-category-image>span{font-size:28px;font-weight:900;color:#52719a}.home-category-tile strong{font-size:13px;text-align:center;line-height:1.5}.homepage-product-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(185px,1fr);grid-template-rows:1fr;gap:12px;overflow-x:auto;overscroll-behavior-inline:contain;padding:3px 2px 10px;scrollbar-width:thin}.homepage-product-strip .home-product-card{height:100%;min-width:0}.home-card-badges{position:absolute;right:8px;top:8px;z-index:4;display:grid;justify-items:start;gap:4px}.home-badge{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:900;box-shadow:0 4px 12px rgba(15,23,42,.12)}.home-badge.discount{background:#a51f36;color:#fff}.home-badge.out{background:#475569;color:#fff}.home-badge.new{background:#0f766e;color:#fff}.home-badge.best{background:#fff1c7;color:#7c4a00}.homepage-banners{display:grid;grid-template-columns:1fr;gap:12px}.homepage-banners.two{grid-template-columns:repeat(2,minmax(0,1fr))}.homepage-banners a{overflow:hidden;display:block;border-radius:20px;border:1px solid var(--border);background:#f5f7fa}.homepage-banners img{width:100%;height:auto;max-height:230px;object-fit:cover;display:block}.homepage-benefits{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:16px 0}.home-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.home-benefit-grid article{display:flex;align-items:center;justify-content:center;gap:10px;padding:12px;border-radius:15px;background:var(--surface)}.home-benefit-grid article>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#edf6ff;color:#2367b3;flex:0 0 auto}.home-benefit-grid svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.home-benefit-grid div{display:grid;gap:2px}.home-benefit-grid strong{font-size:14px}.home-benefit-grid small{font-size:11px;color:var(--muted);line-height:1.5}.partners-logo-carousel{scroll-behavior:smooth}.partners-logo-carousel .partner-logo-card{min-width:150px}.amazing-countdown{margin-top:14px;padding:9px 8px;border-radius:12px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16);text-align:center}.amazing-countdown small{display:block;font-size:10px;opacity:.82}.amazing-countdown strong{display:block;margin-top:4px;font-size:13px;direction:ltr}.homepage-search-results{padding-top:8px}.store-rich-footer{margin-top:0;background:#101827;color:#dce6f2}.store-rich-footer-grid{display:grid;grid-template-columns:1.35fr repeat(4,minmax(0,1fr));gap:26px;padding-top:34px;padding-bottom:28px}.footer-brand-col,.footer-address-col{display:grid;align-content:start;gap:8px}.footer-brand-col>strong,.footer-address-col>strong{font-size:18px;color:#fff}.footer-brand-col p,.footer-address-col p{margin:0;color:#9fb0c3;line-height:1.9}.footer-store-address{margin-top:4px!important;font-size:12px}.footer-brand-col a{color:#cdd9e6;text-decoration:none;direction:ltr;text-align:right}.footer-link-col{border:0}.footer-link-col summary{list-style:none;font-weight:900;color:#fff;cursor:pointer;margin-bottom:12px}.footer-link-col summary::-webkit-details-marker{display:none}.footer-link-col>div{display:grid;gap:8px}.footer-link-col a{color:#afbfce;text-decoration:none;font-size:13px}.footer-link-col a:hover{color:#fff}.footer-bottom-line{display:flex;justify-content:space-between;gap:12px;padding-top:14px;padding-bottom:14px;border-top:1px solid rgba(255,255,255,.1);font-size:12px;color:#8ea1b5}.store-rich-footer+.floating-contact{z-index:50}

/* homepage builder admin */
.content:has(.homepage-builder),.content:has(.footer-admin-shell){max-width:none}.homepage-builder{display:grid;gap:16px}.homepage-builder-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;background:linear-gradient(135deg,#0f2340,#173b62);color:#fff}.homepage-builder-hero h2{margin:5px 0;font-size:27px}.homepage-builder-hero p{margin:0;color:#ccdaea;max-width:760px}.homepage-builder-actions{display:grid;justify-items:end;gap:8px}.homepage-builder-actions .btn{background:#fff}.homepage-publish-state{font-size:11px;color:#c8d8e8}.homepage-builder-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px;align-items:start}.homepage-layout-form{min-width:0}.drag-help{font-size:12px;color:var(--muted)}.homepage-block-list{display:grid;gap:9px}.homepage-builder-block{display:grid;grid-template-columns:34px minmax(155px,.65fr) minmax(0,2fr);gap:12px;align-items:center;padding:12px;border:1px solid #dfe7f0;border-radius:15px;background:#fbfcfe;cursor:default}.homepage-builder-block.is-dragging{opacity:.48;border-color:#4b88c8}.homepage-block-handle{font-size:20px;color:#8b9aad;cursor:grab;text-align:center}.homepage-block-order-buttons{display:none}.homepage-block-order-buttons button{width:30px;height:28px;padding:0;border:1px solid #dce5ee;border-radius:8px;background:#fff;color:#496177;font-weight:900}.homepage-block-main{display:grid;gap:7px}.homepage-block-main strong{font-size:14px}.switch-check.mini{font-size:11px}.homepage-block-options{display:flex;align-items:end;gap:7px;flex-wrap:wrap}.homepage-block-options label{display:grid;gap:4px;color:#6b7c90;font-size:10px;min-width:90px;flex:1}.homepage-block-options input,.homepage-block-options select{height:34px;padding:5px 7px;font-size:11px}.homepage-device-toggles{grid-column:2/4;display:flex;align-items:center;gap:13px;padding-top:7px;border-top:1px dashed #dfe6ee;color:#67788c;font-size:11px}.homepage-device-toggles label{display:flex;align-items:center;gap:4px}.homepage-search-settings{display:grid;grid-template-columns:minmax(0,1fr) auto 130px;align-items:center;gap:14px;margin-top:18px;padding:13px;border:1px solid #e0e8f0;border-radius:15px;background:#f7fafc}.homepage-search-settings div{display:grid}.homepage-search-settings small{color:var(--muted);font-size:11px}.homepage-search-settings>label:last-child{display:grid;gap:4px;font-size:11px}.homepage-search-settings input[type=number]{height:35px}.homepage-benefit-editor{margin-top:20px;border-top:1px solid var(--border);padding-top:17px}.homepage-benefit-admin-grid{display:grid;gap:7px}.homepage-benefit-admin-row{display:grid;grid-template-columns:130px 1fr 1.5fr;gap:8px}.homepage-benefit-admin-row>*{height:38px}.homepage-builder-save{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.homepage-builder-side{display:grid;gap:14px;position:sticky;top:16px}.homepage-device-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.homepage-device-cards div{display:grid;place-items:center;gap:3px;text-align:center;padding:10px 5px;border-radius:13px;background:#f5f8fb}.homepage-device-cards b{font-size:11px}.homepage-device-cards small{font-size:9px;color:var(--muted)}.homepage-banner-form{display:grid;gap:8px}.homepage-banner-list{display:grid;gap:7px;margin-top:12px}.homepage-banner-list article{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:8px;padding:7px;border:1px solid #e5ebf2;border-radius:11px}.homepage-banner-list img{width:64px;height:44px;object-fit:contain;border-radius:8px;background:#f3f6f9}.homepage-banner-list div{display:grid;gap:2px;min-width:0}.homepage-banner-list small{color:var(--muted);font-size:9px}.homepage-banner-list .btn{padding:6px 8px;font-size:10px}.footer-admin-shell{display:grid;gap:16px}.footer-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px}.footer-admin-hero h2{margin:4px 0}.footer-column-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.footer-column-admin-grid>section{padding:13px;border-radius:15px;border:1px solid #e0e7ef;background:#f9fbfd}.footer-column-admin-grid>section>span{font-size:11px;color:#60758d;font-weight:900}.footer-column-admin-grid textarea{min-height:190px;line-height:1.8}.footer-admin-note{margin:14px 0;padding:10px;border-radius:10px;background:#eef7f3;color:#35604c;font-size:12px}.category-home-form{display:grid;grid-template-columns:1.2fr 1fr .55fr 1.2fr auto auto .65fr auto;align-items:end;gap:8px}.category-home-form .form-row{margin:0}.category-image-field input{font-size:11px}.category-image-preview{display:flex;align-items:center;gap:5px;margin-top:4px}.category-image-preview img{width:36px;height:36px;object-fit:contain;border-radius:8px}.category-image-preview .check{font-size:9px}.category-home-form>.check{min-height:38px;align-items:center;white-space:nowrap}.category-home-order input{height:38px}.partners-home-form{display:grid;grid-template-columns:1fr 1.3fr .5fr auto 1fr auto;gap:9px;align-items:end}.partners-home-form .form-row{margin:0}.partner-status-check{min-height:40px;align-items:center}.partner-pro-card.is-inactive{opacity:.58;filter:grayscale(.25)}.amazing-schedule-form{display:grid;grid-template-columns:auto 180px 180px auto;gap:9px;align-items:end}.amazing-schedule-form .form-row{margin:0}.amazing-schedule-form .switch-check{align-self:center}


/* 2.4.30 — lighter contact/map treatment */
.storefront .gb-map-contact__overlay{background:linear-gradient(90deg,rgba(17,24,39,.55),rgba(17,24,39,.36))}.storefront .gb-map-contact__map{filter:grayscale(.08) saturate(.92) brightness(.94)}
@media (min-width:1101px){.homepage-hide-desktop{display:none!important}.footer-link-col[open]>div{display:grid}.footer-link-col:not([open])>div{display:grid}.footer-link-col summary{pointer-events:none}}
@media (min-width:768px) and (max-width:1100px){.homepage-hide-tablet{display:none!important}.home-visual-grid.has-side{grid-template-columns:1fr}.home-side-promos{display:none}.home-category-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.homepage-product-strip{grid-auto-columns:minmax(180px,31%)}.home-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-rich-footer-grid{grid-template-columns:1.3fr repeat(2,1fr);gap:20px}.footer-category-col,.footer-address-col{grid-column:auto}.homepage-builder-grid{grid-template-columns:1fr}.homepage-builder-side{position:static;grid-template-columns:1fr 1fr}.homepage-builder-block{grid-template-columns:30px 150px minmax(0,1fr)}.category-home-form{grid-template-columns:repeat(4,minmax(0,1fr))}.category-home-form .category-inline-save{height:39px}.partners-home-form{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-column-admin-grid{grid-template-columns:1fr 1fr}.amazing-schedule-form{grid-template-columns:1fr 1fr}.amazing-schedule-form .switch-check,.amazing-schedule-form .btn{align-self:end}}
@media (max-width:767px){.homepage-hide-mobile{display:none!important}.homepage-search-hero{overflow:visible}.homepage-smart-search{display:grid;grid-template-columns:1fr auto;gap:6px;width:100%}.homepage-search-hero .hero-identity{min-width:0}.homepage-search-suggestion{grid-template-columns:44px 1fr}.homepage-search-suggestion img,.homepage-search-suggestion .suggestion-placeholder{width:44px;height:44px}.homepage-search-suggestion .suggestion-price{grid-column:2}.homepage-block{margin-bottom:18px}.homepage-spacing-compact{margin-bottom:10px}.homepage-spacing-large{margin-bottom:26px}.homepage-bg-soft{padding:12px;border-radius:18px}.homepage-section-head h2{font-size:18px}.home-visual-grid.has-side{grid-template-columns:1fr}.home-side-promos{display:none}.home-category-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.home-category-image{width:58px;height:58px;border-radius:17px}.home-category-tile{padding:5px 2px}.home-category-tile strong{font-size:10px}.homepage-product-strip{grid-auto-columns:46%;gap:8px}.homepage-banners.two{grid-template-columns:1fr}.homepage-banners img{max-height:180px}.home-benefit-grid{grid-template-columns:1fr 1fr;gap:6px}.home-benefit-grid article{justify-content:flex-start;padding:9px 7px}.home-benefit-grid article>span{width:34px;height:34px;border-radius:10px}.home-benefit-grid svg{width:20px;height:20px}.home-benefit-grid strong{font-size:11px}.home-benefit-grid small{font-size:9px}.amazing-countdown{margin-top:8px}.store-rich-footer-grid{grid-template-columns:1fr;gap:0;padding-top:24px;padding-bottom:15px}.footer-brand-col{padding-bottom:15px}.footer-link-col{border-top:1px solid rgba(255,255,255,.1);padding:0}.footer-link-col summary{display:flex;justify-content:space-between;align-items:center;margin:0;padding:13px 0}.footer-link-col summary:after{content:'+';color:#7f93a8}.footer-link-col[open] summary:after{content:'−'}.footer-link-col>div{padding:0 0 14px}.footer-address-col{padding-top:15px;border-top:1px solid rgba(255,255,255,.1)}.footer-bottom-line{flex-direction:column;align-items:center;text-align:center}.homepage-builder-hero,.footer-admin-hero{align-items:flex-start;flex-direction:column;padding:16px}.homepage-builder-hero h2{font-size:23px}.homepage-builder-actions{justify-items:stretch;width:100%}.homepage-builder-actions .btn{text-align:center}.homepage-builder-grid{grid-template-columns:1fr}.homepage-builder-side{position:static}.homepage-builder-block{grid-template-columns:68px 1fr;padding:10px}.homepage-block-handle{display:none}.homepage-block-order-buttons{display:flex;gap:5px;grid-column:1}.homepage-block-main{grid-column:2}.homepage-block-options{grid-column:1/3;display:grid;grid-template-columns:1fr 1fr;width:100%}.homepage-device-toggles{grid-column:1/3;flex-wrap:wrap}.homepage-search-settings{grid-template-columns:1fr}.homepage-benefit-admin-row{grid-template-columns:1fr}.homepage-benefit-admin-row>*{height:38px}.homepage-builder-save{display:grid;grid-template-columns:1fr}.homepage-device-cards{grid-template-columns:repeat(3,1fr)}.homepage-banner-list article{grid-template-columns:56px 1fr}.homepage-banner-list form{grid-column:1/3}.footer-column-admin-grid{grid-template-columns:1fr}.category-home-form{grid-template-columns:1fr 1fr}.category-image-field{grid-column:1/3}.category-home-form>.check{min-height:auto}.category-inline-save{grid-column:1/3}.partners-home-form{grid-template-columns:1fr}.amazing-schedule-form{grid-template-columns:1fr}.amazing-schedule-form .btn{width:100%}}

/* 2.4.31 — requested storefront/admin refinements */
.storefront{padding-top:72px}
.storefront .storefront-topbar{position:fixed!important;top:0;right:0;left:0;width:100%;z-index:1000}
.store-rich-footer-grid{grid-template-columns:1.35fr repeat(3,minmax(0,1fr))}

.admin-sidebar-head{grid-template-columns:minmax(0,1fr) auto}
.admin-brand-home-link{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:0;border-radius:12px;text-decoration:none}
.admin-brand-home-link:hover .admin-brand-mark{border-color:rgba(147,197,253,.38);box-shadow:0 9px 22px rgba(0,0,0,.22)}
.admin-brand-home-link:hover .admin-brand-copy small{color:#d7e5f4}
.admin-brand-home-link .admin-brand-mark{transition:.18s ease}
.admin-brand-home-link .admin-brand-copy small{transition:.18s ease}

.admin-modal[hidden]{display:none!important}
.admin-modal{position:fixed;inset:0;z-index:2300;display:grid;place-items:center;padding:24px}
.admin-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;background:rgba(15,23,42,.56);backdrop-filter:blur(3px);cursor:default}
.admin-modal-dialog{position:relative;z-index:1;width:min(930px,96vw);max-height:90vh;overflow:auto;border-radius:20px;border:1px solid #dfe7f0;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.28);padding:20px}
.admin-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid #edf1f5}
.admin-modal-head h3{margin:6px 0 0;font-size:22px}
.admin-modal-close{width:36px;height:36px;border:1px solid #dfe5ec;border-radius:11px;background:#f8fafc;color:#526173;font-size:24px;line-height:1;cursor:pointer}
.admin-modal-open{overflow:hidden}
.category-list-heading{align-items:center}.category-list-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.category-popup-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}
.category-popup-form .form-row{margin:0}.category-popup-form .category-image-field{grid-column:span 2}
.category-popup-form>.check{min-height:44px;margin:0;padding:0 10px;border:1px solid #e1e7ef;border-radius:10px;background:#f9fbfd;display:flex;align-items:center}
.category-popup-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:4px}
.category-modal-image{min-height:42px}.category-modal-image img{width:48px;height:48px}

.homepage-benefit-admin-row{display:grid;grid-template-columns:46px minmax(120px,1fr) minmax(180px,1.55fr) 36px;gap:8px;align-items:center}
.homepage-benefit-admin-row>*{height:40px}
.benefit-icon-control{height:40px}.benefit-icon-control input{display:none}
.benefit-icon-trigger{width:40px;height:40px;padding:0;border:1px solid #d9e3ee;border-radius:11px;background:#f8fbff;color:#275f9a;display:grid;place-items:center;cursor:pointer}
.benefit-icon-trigger:hover{border-color:#98b9dd;background:#f1f7ff}.benefit-icon-trigger svg,.benefit-icon-grid svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.benefit-remove-btn{width:36px!important;height:36px!important;border:1px solid #f0caca;border-radius:10px;background:#fff7f7;color:#b63535;font-size:20px;cursor:pointer}
.benefit-add-btn:disabled{opacity:.45;cursor:not-allowed}
.benefit-icon-picker[hidden]{display:none!important}.benefit-icon-picker{position:fixed;z-index:2600;top:50%;left:50%;transform:translate(-50%,-50%);width:min(410px,92vw);padding:12px;border:1px solid #dbe4ee;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(15,23,42,.3)}
.benefit-icon-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.benefit-icon-picker-head strong{font-size:14px}.benefit-icon-picker-head button{width:30px;height:30px;border:1px solid #dde5ed;border-radius:9px;background:#f8fafc;font-size:19px;cursor:pointer}
.benefit-icon-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}
.benefit-icon-grid button{aspect-ratio:1;padding:0;border:1px solid #e1e8f0;border-radius:8px;background:#fbfdff;color:#3b628a;display:grid;place-items:center;cursor:pointer;transition:.12s ease}
.benefit-icon-grid button:hover{background:#eaf4ff;border-color:#87add4;transform:translateY(-1px)}
.homepage-builder-side{grid-template-columns:1fr!important}.homepage-banner-admin{min-width:0}

.partners-pro-v231 .partners-pro-hero{padding:18px 20px;background:linear-gradient(135deg,#f9fcff,#f1f7ff);border-color:#dbe7f4}
.partners-pro-title{display:flex;align-items:center;gap:13px;position:relative;z-index:1}.partners-pro-title h2{margin:0!important}.partners-pro-title small{display:block;margin-top:3px;color:#738196}
.partners-pro-mark{width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#e4f0ff,#eef2ff);border:1px solid #d1e1f5;color:#2769ad;display:grid;place-items:center}.partners-pro-mark .admin-nav-icon,.partners-pro-mark svg{width:25px;height:25px}
.partners-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.partners-card-head h3{margin:0;font-size:18px}.partners-card-head small{display:block;color:#8691a2;margin-top:2px;font-size:11px}
.partners-pro-form{grid-template-columns:minmax(170px,1.05fr) minmax(220px,1.35fr) 90px 90px minmax(180px,1fr) auto}
.partner-pro-switch{height:42px;margin:0;padding:0 8px;border:1px solid #dfe6ef;border-radius:11px;background:#f9fbfd;display:flex;align-items:center;gap:7px;white-space:nowrap}.partner-pro-switch input{width:auto}.partner-pro-switch span{width:9px;height:9px;border-radius:50%;background:#22a867}.partner-upload-field{position:relative;display:flex;align-items:center;gap:8px}.partner-upload-field input{min-width:0}.partners-pro-v231 .partner-admin-preview.compact{position:static;width:56px;height:40px;object-fit:contain;flex:0 0 auto}
.partners-pro-v231 .partner-pro-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.partners-pro-v231 .partner-pro-card{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;padding:13px;border-radius:18px;background:linear-gradient(180deg,#fff,#f9fcff)}
.partner-pro-card-top{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}.partner-status-badge,.partner-order-badge{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:900}.partner-status-badge.on{background:#e7f8ef;color:#177247}.partner-status-badge.off{background:#eef1f5;color:#6b7280}.partner-order-badge{background:#eef4ff;color:#47668c}
.partners-pro-v231 .partner-pro-logo{width:104px;height:82px;border-radius:14px}.partners-pro-v231 .partner-pro-logo img{max-width:92px;max-height:70px}.partners-pro-v231 .partner-pro-copy{align-self:center}.partners-pro-v231 .partner-pro-copy strong{font-size:16px}.partners-pro-v231 .partner-pro-actions{grid-column:1/-1}

.inventory-filter-bar{margin-top:0}

@media (min-width:768px) and (max-width:1100px){
  .storefront{padding-top:72px}
  .admin-sidebar-head{grid-template-columns:minmax(0,1fr) auto}
  .admin-brand-home-link{grid-template-columns:36px minmax(0,1fr);gap:8px}
  .category-popup-form{grid-template-columns:repeat(2,minmax(0,1fr))}.category-popup-form .category-image-field{grid-column:1/-1}
  .partners-pro-form{grid-template-columns:repeat(3,minmax(0,1fr))}.partners-pro-v231 .partner-pro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .store-rich-footer-grid{grid-template-columns:1.3fr repeat(2,1fr)}
}
@media (max-width:767px){
  .storefront{padding-top:58px}
  .admin-sidebar-head{grid-template-columns:minmax(0,1fr) auto}
  .admin-brand-home-link{grid-template-columns:36px minmax(0,1fr);gap:8px}
  .admin-modal{padding:10px}.admin-modal-dialog{width:100%;max-height:94vh;padding:14px;border-radius:16px}
  .category-popup-form{grid-template-columns:1fr}.category-popup-form .category-image-field,.category-popup-actions{grid-column:1}.category-popup-actions{display:grid;grid-template-columns:1fr 1fr}
  .homepage-benefit-admin-row{grid-template-columns:44px 1fr 36px}.homepage-benefit-admin-row>input[name="benefit_text[]"]{grid-column:1/-1}.benefit-icon-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:3px}.benefit-icon-grid button{border-radius:6px}.benefit-icon-grid svg{width:19px;height:19px}
  .partners-pro-v231 .partners-pro-hero{padding:14px}.partners-pro-title{align-items:flex-start}.partners-pro-mark{width:42px;height:42px;border-radius:13px}.partners-pro-v231 .partners-pro-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.partners-pro-v231 .partners-pro-stats>div{min-width:0;padding:8px 5px}.partners-pro-v231 .partners-pro-stats b{font-size:19px}.partners-pro-v231 .partners-pro-stats span{font-size:9px}.partners-card-head{align-items:flex-start;flex-direction:column}.partners-pro-form{grid-template-columns:1fr}.partners-pro-v231 .partner-pro-grid{grid-template-columns:1fr}.partners-pro-v231 .partner-pro-card{grid-template-columns:88px minmax(0,1fr)}.partners-pro-v231 .partner-pro-logo{width:88px;height:72px}.partner-pro-switch{width:100%}
  .store-rich-footer-grid{grid-template-columns:1fr}
}

/* 2.4.32 — web-font editor and dedicated marketing banner manager */
.homepage-builder-grid{grid-template-columns:1fr}
.rich-toolbar [data-rich-font]{min-width:165px;font-family:Estedad,Vazirmatn,Tahoma,sans-serif}
.marketing-banner-shell{display:grid;gap:16px}
.marketing-banner-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;background:linear-gradient(135deg,#0f2c46,#15576a);color:#fff;overflow:hidden;position:relative}
.marketing-banner-hero:after{content:"";position:absolute;width:220px;height:220px;left:-70px;top:-110px;border-radius:50%;border:1px solid rgba(255,255,255,.13);box-shadow:0 0 0 34px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.02)}
.marketing-banner-hero h2{margin:5px 0;font-size:27px}.marketing-banner-hero p{margin:0;color:#d7e8ed;max-width:760px}.marketing-banner-hero-mark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16);font-size:28px;position:relative;z-index:1}
.marketing-banner-grid{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:16px;align-items:start}.marketing-banner-form-card,.marketing-banner-list-card{min-width:0}.marketing-banner-form{display:grid;grid-template-columns:1fr;gap:10px}.marketing-banner-form .form-row{margin:0}.marketing-banner-form .btn{justify-self:start}.marketing-banner-list{margin-top:4px}.marketing-banner-list article{grid-template-columns:92px minmax(0,1fr) auto;padding:10px}.marketing-banner-list img{width:92px;height:58px}.marketing-banner-list div a{font-size:10px;color:#15798e;text-decoration:none;font-weight:800;margin-top:3px}
@media (min-width:768px) and (max-width:1100px){.marketing-banner-grid{grid-template-columns:1fr}.marketing-banner-form{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-banner-form .btn{align-self:end;min-height:39px}}
@media (max-width:767px){.marketing-banner-hero{align-items:flex-start;padding:16px}.marketing-banner-hero h2{font-size:23px}.marketing-banner-hero p{font-size:12px}.marketing-banner-hero-mark{width:48px;height:48px;border-radius:15px}.marketing-banner-grid{grid-template-columns:1fr}.marketing-banner-form{grid-template-columns:1fr}.marketing-banner-form .btn{width:100%}.marketing-banner-list article{grid-template-columns:66px minmax(0,1fr)}.marketing-banner-list img{width:66px;height:48px}.marketing-banner-list form{grid-column:1/3}.marketing-banner-list form .btn{width:100%}}
