/* SHIVAN PHONE — blue edition */
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:400 900;font-display:swap;src:url("/assets/fonts/noto-arabic.woff2") format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Noto Kufi Arabic";font-style:normal;font-weight:400 900;font-display:swap;src:url("/assets/fonts/noto-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Outfit;font-style:normal;font-weight:400 900;font-display:swap;src:url("/assets/fonts/outfit-latin.woff2") format("woff2")}

:root{
  --bg:#f4f3ef;
  --surface:#ffffff;
  --surface-2:#fefdfc;
  --surface-3:#f8f6f1;
  --ink:#0e0d0a;
  --ink-2:#171611;
  --muted:#6b6961;
  --line:#e6e3dc;
  --line-strong:#d8d4ca;
  --dark:#0b0a08;
  --dark-2:#0e0d0a;
  --blue:#2563eb;
  --blue-2:#1d4ed8;
  --blue-3:#3b82f6;
  --blue-soft:#e9f0ff;
  --blue-ink:#14357e;
  --green:#32a155;
  --gold:#f5ce0d;
  --gold-soft:#f8d00d26;
  --gold-ink:#1a1602;
  --radius:14px;
  --radius-lg:24px;
  --shadow:0 1px 2px rgba(20,20,10,.05),0 12px 32px -18px rgba(20,20,10,.3);
  --shadow-lg:0 2px 4px rgba(20,20,10,.05),0 26px 50px -26px rgba(20,20,10,.35);
  --container:1280px;
  --gutter:32px;
  --ease:cubic-bezier(.22,.7,.25,1);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  direction:rtl;
  font-family:"Noto Kufi Arabic",Outfit,ui-sans-serif,sans-serif;
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.menu-open{overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit;color:inherit}
button{background:none;border:0;padding:0;cursor:pointer}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,p{margin:0}
[hidden]{display:none!important}
::selection{background:var(--blue);color:#fff}
:focus-visible{outline:3px solid rgba(37,99,235,.45);outline-offset:2px}

.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:32px}
.i{width:1em;height:1em;display:inline-block;vertical-align:-.14em;flex:none}
.i--16{width:16px;height:16px}
.i--20{width:20px;height:20px}
.i--24{width:24px;height:24px}
.i--28{width:28px;height:28px}
.i--40{width:40px;height:40px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:120;height:64px;
  background:linear-gradient(180deg,#0c0b09 0%,#0b0a08 100%);
  color:#f9f8f5;border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{max-width:var(--container);height:64px;margin-inline:auto;padding-inline:32px;display:flex;align-items:center;gap:12px}
.brand{display:inline-flex;align-items:center;gap:10px;flex:none;min-width:0}
.brand-mark{
  width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex:none;
  background:linear-gradient(145deg,var(--blue-3),var(--blue-2));
  color:#fff;font-family:Outfit,sans-serif;font-weight:900;font-size:20px;line-height:1;
  box-shadow:0 0 0 1px rgba(255,255,255,.14),0 8px 20px -10px rgba(37,99,235,.9);
}
.brand-copy{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.brand-copy strong{font-family:Outfit,"Noto Kufi Arabic",sans-serif;font-size:15px;font-weight:800;letter-spacing:.7px;white-space:nowrap}
.brand-copy small{font-family:Outfit,sans-serif;font-size:8px;font-weight:600;letter-spacing:1.55px;color:rgba(255,255,255,.5);white-space:nowrap;margin-top:2px}
.main-nav{display:flex;align-items:center;gap:4px;margin-inline-start:12px}
.main-nav a{display:inline-flex;align-items:center;height:36px;padding:0 12px;border-radius:999px;font-size:14px;font-weight:600;color:rgba(255,255,255,.8);transition:background .2s,color .2s}
.main-nav a:hover{color:#fff;background:rgba(255,255,255,.08)}
.main-nav a.is-active{color:#fff;background:rgba(255,255,255,.12)}
.header-actions{display:flex;align-items:center;gap:8px;margin-inline-start:auto;flex:none}
.lang-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:40px;min-width:68px;border-radius:10px;color:#fff;font-size:14px;font-weight:600;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04)}
.lang-btn:hover{background:rgba(255,255,255,.1)}
.icon-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.07);transition:background .2s}
.icon-btn:hover{background:rgba(255,255,255,.14)}
.pill{height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 14px;border-radius:999px;font-size:12px;font-weight:600;transition:transform .2s,box-shadow .2s,background .2s}
.pill--brand{background:linear-gradient(135deg,var(--blue-3),var(--blue));color:#fff;box-shadow:0 8px 20px -12px rgba(37,99,235,.9)}
.pill--brand:hover{transform:translateY(-1px);box-shadow:0 12px 24px -12px rgba(37,99,235,.95)}
.pill--phone{background:linear-gradient(135deg,var(--blue),var(--blue-2));color:#fff;box-shadow:0 8px 20px -12px rgba(37,99,235,.9)}
.pill--phone .num{font-family:Outfit,sans-serif;font-size:13px;font-weight:700;letter-spacing:.2px;direction:ltr}
.menu-btn{display:none;width:40px;height:40px;border-radius:10px;place-items:center;color:#fff;background:rgba(255,255,255,.08)}
.menu-btn:hover{background:rgba(255,255,255,.15)}
.mobile-menu{display:none;position:fixed;inset:64px 0 0;background:rgba(11,10,8,.98);backdrop-filter:blur(10px);padding:20px 20px 32px;overflow:auto;z-index:110}
.mobile-menu.is-open{display:block}
.mobile-menu nav{display:flex;flex-direction:column;gap:4px;max-width:520px;margin-inline:auto}
.mobile-menu a{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-radius:12px;color:rgba(255,255,255,.86);font-size:16px;font-weight:600;border:1px solid rgba(255,255,255,.06)}
.mobile-menu a:hover,.mobile-menu a.is-active{background:rgba(37,99,235,.2);color:#fff;border-color:rgba(37,99,235,.4)}
.mobile-menu .mobile-links{display:flex;gap:10px;margin-top:18px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1)}
.mobile-menu .mobile-links a{flex:1;justify-content:center;background:var(--blue);border-color:var(--blue);font-size:14px}
.mobile-menu .mobile-links a.secondary{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}

/* ---------- buttons and shared ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;border-radius:999px;transition:transform .2s var(--ease),background .2s,box-shadow .2s,color .2s;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn--primary{height:56px;padding:0 28px;background:linear-gradient(135deg,var(--blue-3),var(--blue));color:#fff;font-size:16px;box-shadow:0 16px 32px -20px rgba(37,99,235,.95)}
.btn--primary:hover{background:linear-gradient(135deg,#4b90ff,var(--blue-2))}
.btn--ghost{height:56px;padding:0 28px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);color:#fff;font-size:16px;backdrop-filter:blur(6px)}
.btn--ghost:hover{background:rgba(255,255,255,.13)}
.btn--soft{height:48px;padding:0 20px;background:var(--blue-soft);color:var(--blue-ink);font-size:14px}
.btn--soft:hover{background:#dce8ff}
.btn--white{height:48px;padding:0 20px;background:#fff;color:var(--ink);font-size:14px;box-shadow:var(--shadow)}
.btn--outline{height:48px;padding:0 20px;background:var(--surface-2);border:1px solid var(--line);color:var(--ink);font-size:14px}
.btn--block{width:100%}

.section{max-width:var(--container);margin-inline:auto;padding:40px var(--gutter)}
.section--lg{max-width:var(--container);margin-inline:auto;padding:56px var(--gutter)}
.section--tight{max-width:var(--container);margin-inline:auto;padding:24px var(--gutter)}
.section--flush{max-width:var(--container);margin-inline:auto;padding-top:0;padding-bottom:56px}
.section > .container{max-width:none;padding-inline:0}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:36px}
.section-head h2{font-size:30px;line-height:1.2;font-weight:900;letter-spacing:-.3px}
.section-link{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--ink);padding:8px 12px;border-radius:999px;transition:background .2s,color .2s}
.section-link:hover{background:#fff;color:var(--blue)}
.section-link .i{transition:transform .2s}
.section-link:hover .i{transform:translateX(-3px)}
.muted{color:var(--muted)}

/* ---------- hero ---------- */
.hero{position:relative;min-height:789px;background:#0b0a08;color:#f9f8f5;overflow:hidden;isolation:isolate}
.hero-bg{position:absolute;inset:0;background:url("/assets/hero-bg.jpg") center/cover no-repeat;z-index:-2;transform:scale(1.02)}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,rgba(11,10,8,.93) 0%,rgba(11,10,8,.82) 34%,rgba(11,10,8,.48) 67%,rgba(11,10,8,.22) 100%)}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 82% 38%,rgba(37,99,235,.22),transparent 42%),linear-gradient(180deg,rgba(11,10,8,.12),rgba(11,10,8,.18))}
.hero-inner{max-width:1280px;margin-inline:auto;min-height:789px;padding:62px 32px 46px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:right}
.hero-copy{width:100%;max-width:768px}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;background:rgba(37,99,235,.16);border:1px solid rgba(59,130,246,.34);color:#dbe8ff;font-size:12px;font-weight:600;margin-bottom:20px}
.hero-eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--blue-3);box-shadow:0 0 0 4px rgba(59,130,246,.15)}
.hero h1{font-size:60px;line-height:1.15;font-weight:900;letter-spacing:-1px;max-width:800px;text-wrap:balance}
.hero p{max-width:576px;margin-top:23px;font-size:18px;line-height:1.65;color:rgba(255,255,255,.7);font-weight:400}
.hero-actions{display:flex;align-items:center;gap:12px;margin-top:34px;flex-wrap:wrap}
.hero-trust{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:52px;color:rgba(255,255,255,.74);font-size:13px;font-weight:500}
.hero-trust span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.hero-trust .i{color:#7db0ff;width:18px;height:18px}
.hero-glow{position:absolute;inset-inline-start:8%;bottom:-24%;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.32),transparent 65%);filter:blur(10px);pointer-events:none;z-index:-1}

/* ---------- categories ---------- */
.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:25px}
.category-pill{height:54px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid rgba(14,13,10,.045);border-radius:999px;font-size:16px;color:var(--ink);box-shadow:0 1px 2px rgba(20,20,10,.035);transition:background .2s,color .2s,transform .2s,box-shadow .2s}
.category-pill:hover{background:var(--blue);color:#fff;transform:translateY(-2px);box-shadow:0 12px 24px -16px rgba(37,99,235,.9)}
.category-pill--accent{background:var(--blue-soft);color:var(--blue-ink);font-weight:600}

/* ---------- product cards ---------- */
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}
.product-card{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:28px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);transition:transform .3s var(--ease),box-shadow .3s var(--ease);min-height:575px}
.product-grid--selected > .product-card:last-child{min-height:550px}
.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.thumb{position:relative;display:block;aspect-ratio:1/1;background:linear-gradient(145deg,#faf9f6,#f3f1eb);overflow:hidden;isolation:isolate}
.thumb img{width:100%;height:100%;object-fit:contain;transition:transform .45s var(--ease)}
.product-card:hover .thumb img{transform:scale(1.04)}
.thumb-fallback{display:none;position:absolute;inset:0;place-items:center;flex-direction:column;gap:2px;background:linear-gradient(145deg,#eef3ff,#e3ecff);color:var(--blue-2);text-align:center;padding:16px}
.thumb.missing .thumb-fallback{display:flex}
.thumb-fallback b{font-family:Outfit,sans-serif;font-size:22px;letter-spacing:1px}
.thumb-fallback span{font-size:11px;color:var(--blue-ink);opacity:.75}
.product-body{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1;min-width:0}
.brand-tag{font-family:Outfit,"Noto Kufi Arabic",sans-serif;font-size:10px;font-weight:800;line-height:1.4;letter-spacing:1px;color:var(--blue);text-transform:uppercase}
.product-name{display:block;margin-top:3px;font-size:16px;font-weight:700;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .2s}
.product-name:hover{color:var(--blue)}
.product-spec{margin-top:3px;font-size:12px;line-height:1.45;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:17px;direction:ltr;text-align:right}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:14px}
.price{font-family:Outfit,"Noto Kufi Arabic",sans-serif;font-size:17px;font-weight:800;color:var(--ink);direction:ltr;letter-spacing:-.2px;white-space:nowrap}
.stock{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:var(--green);white-space:nowrap}
.stock::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(50,161,85,.13)}
.card-actions{display:grid;gap:8px;margin-top:12px}
.btn-card{width:100%;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:700;transition:background .2s,transform .2s}
.btn-card--wa{background:linear-gradient(135deg,#fce14a,var(--gold));color:var(--gold-ink);box-shadow:0 10px 20px -15px rgba(160,130,0,.9)}
.btn-card--wa:hover{background:linear-gradient(135deg,#ffdc2b,#eec505)}
.btn-card--detail{background:var(--surface-2);border:1px solid var(--line);color:var(--ink);font-size:12px;font-weight:600;height:44px}
.btn-card--detail:hover{background:var(--blue-soft);border-color:#c9dbff;color:var(--blue-ink)}
.btn-card .i{width:16px;height:16px}

/* ---------- brands ---------- */
.brand-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:24px}
.brand-tile{height:80px;border-radius:var(--radius);background:#fff;border:1px solid rgba(14,13,10,.045);display:flex;align-items:center;justify-content:center;gap:8px;font-family:Outfit,sans-serif;font-size:18px;font-weight:900;letter-spacing:.2px;color:var(--ink);transition:background .2s,color .2s,transform .2s,box-shadow .2s}
.brand-tile::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--blue);opacity:.8;transition:background .2s}
.brand-tile:hover{background:var(--blue);color:#fff;transform:translateY(-2px);box-shadow:0 14px 24px -18px rgba(37,99,235,.9)}
.brand-tile:hover::before{background:#fff}

/* ---------- why us ---------- */
.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}
.feature-card{background:linear-gradient(180deg,#fff,#fdfcf9);border:1px solid rgba(14,13,10,.05);border-radius:24px;padding:24px;box-shadow:var(--shadow);min-height:186px;display:block;transition:transform .25s var(--ease),border-color .25s}
.feature-card:hover{transform:translateY(-3px);border-color:#c9dbff}
.feature-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--blue-soft);color:var(--blue)}
.feature-icon .i{width:24px;height:24px}
.feature-card h3{margin-top:16px;font-size:18px;font-weight:700;line-height:28px}
.feature-card p{margin-top:4px;font-size:14px;line-height:20px;color:var(--muted)}

/* ---------- testimonials ---------- */
.testimonials{max-width:var(--container);margin-inline:auto;background:linear-gradient(180deg,rgba(245,242,240,.42),rgba(245,242,240,.42)),var(--bg);border-block:1px solid rgba(14,13,10,.045);padding:56px var(--gutter)}
.testimonials > .container{padding-inline:0}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.testimonial{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:24px;padding:24px;box-shadow:var(--shadow);display:block;min-height:184px}
.quote-mark{color:var(--blue);font-family:Outfit,sans-serif;font-size:24px;line-height:24px;height:24px;font-weight:900;display:block}
.testimonial p{margin-top:12px;font-size:14px;line-height:22.75px;color:#3b3933}
.testimonial-person{display:flex;align-items:center;gap:8px;margin-top:16px;padding-top:0;border-top:0}
.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--blue-soft),#d9e6ff);color:var(--blue-ink);font-size:15px;font-weight:800;flex:none}
.testimonial-person strong{display:block;font-size:14px;font-weight:600;line-height:20px}
.testimonial-person small{display:block;font-size:11px;color:var(--muted);margin-top:0;line-height:16px}

/* ---------- instagram ---------- */
.instagram{position:relative;overflow:hidden;text-align:center;max-width:var(--container);margin-inline:auto;padding:56px var(--gutter)}
.instagram > .container{padding-inline:0}
.instagram::before{content:"";position:absolute;inset-inline:0;top:0;height:100%;background:radial-gradient(circle at 50% 20%,rgba(37,99,235,.1),transparent 52%);pointer-events:none}
.instagram-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px;background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:28px;padding:32px;box-shadow:var(--shadow)}
.instagram-icon{width:40px;height:40px;display:grid;place-items:center;background:none;color:var(--blue);box-shadow:none}
.instagram-icon .i{width:40px;height:40px}
.instagram h2{font-size:24px;font-weight:900;line-height:32px}
.instagram .handle{margin-top:0;color:var(--muted);font-family:Outfit,sans-serif;font-size:16px;line-height:24px;letter-spacing:.3px;direction:ltr}
.instagram .btn{margin-top:0}

/* ---------- location ---------- */
.location-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:16px;margin-top:24px;align-items:stretch}
.location-info{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:24px;padding:24px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:center}
.location-label{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--blue);margin-bottom:9px}
.location-info h3{font-size:22px;font-weight:800}
.location-info .addr{font-size:14px;color:var(--muted);line-height:1.8;margin-top:5px;max-width:450px}
.location-info .btn{align-self:flex-start;margin-top:18px}
.map-card{background:#e7e4dc;border-radius:24px;overflow:hidden;min-height:288px;position:relative;border:1px solid rgba(14,13,10,.06)}
.map-card iframe{width:100%;height:288px;min-height:288px;border:0;display:block;filter:saturate(.85)}
.map-fallback{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#eef3ff,#e3e9f5);color:var(--blue-ink);font-size:14px;font-weight:600;padding:20px;text-align:center;z-index:-1}

/* ---------- amada cta ---------- */
.amada-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(120deg,#eef3ff,#e3edff 55%,#f1f5ff);border:1px solid #d9e5ff;border-radius:28px;padding:32px;position:relative;overflow:hidden}
.amada-wrap::after{content:"";position:absolute;inset-inline-start:-70px;top:-90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.16),transparent 68%);pointer-events:none}
.amada-copy{display:flex;align-items:center;gap:16px;min-width:0;position:relative;z-index:1}
.amada-icon{width:56px;height:56px;border-radius:16px;background:#fff;color:var(--blue);display:grid;place-items:center;flex:none;box-shadow:0 12px 24px -18px rgba(37,99,235,.7)}
.amada-icon .i{width:26px;height:26px}
.amada-copy h2{font-size:24px;font-weight:900;line-height:1.35}
.amada-copy p{font-size:14px;color:var(--muted);margin-top:3px}
.amada-wrap .btn{position:relative;z-index:1;flex:none}

/* ---------- contact cta ---------- */
.contact-cta{background:radial-gradient(circle at 86% 16%,rgba(37,99,235,.35),transparent 42%),linear-gradient(120deg,#0b0a08,#111a31 58%,#0b0a08);color:#f9f8f5;padding:64px 0;position:relative;overflow:hidden}
.contact-cta::after{content:"";position:absolute;inset-inline-end:-100px;bottom:-150px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(37,99,235,.28),transparent 66%);pointer-events:none}
.contact-cta-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center}
.contact-cta h2{font-size:36px;font-weight:900;line-height:40px}
.contact-cta p{max-width:576px;margin-top:20px;font-size:16px;line-height:24px;color:rgba(255,255,255,.65)}
.contact-cta-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:20px}
.contact-cta .btn{height:56px;padding:0 24px;font-size:15px}
.contact-cta .btn--phone{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.17);color:#fff}
.contact-cta .btn--phone .num{font-family:Outfit,sans-serif;direction:ltr;letter-spacing:.3px}
.contact-cta .btn--amada{background:rgba(37,99,235,.18);border:1px solid rgba(59,130,246,.45);color:#dbe8ff}

/* ---------- footer ---------- */
.site-footer{background:var(--dark);color:#f9f8f5;padding:0}
.footer-inner{padding:56px 0 24px}
.footer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.footer-about{display:flex;flex-direction:column;align-items:flex-start}
.footer-brand{margin-bottom:16px}
.footer-about p{max-width:379px;font-size:14px;line-height:1.65;color:rgba(255,255,255,.6)}
.footer-socials{display:flex;align-items:center;gap:10px;margin-top:19px}
.footer-socials a{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.06);color:#fff;border:1px solid rgba(255,255,255,.08);transition:background .2s,transform .2s}
.footer-socials a:hover{background:var(--blue);transform:translateY(-2px)}
.footer-about .btn{margin-top:19px;height:48px;padding:0 18px;background:linear-gradient(135deg,var(--blue-3),var(--blue));color:#fff;font-size:14px;font-weight:600}
.footer-col h3{font-size:14px;line-height:20px;font-weight:700;color:#8ab4ff;margin-bottom:16px}
.footer-col ul{display:flex;flex-direction:column;gap:12px}
.footer-col li{margin-bottom:0;line-height:0}
.footer-col a{display:inline-flex;align-items:center;gap:8px;padding:0;line-height:20px;font-size:14px;color:rgba(255,255,255,.7);transition:color .2s}
.footer-col a:hover{color:#fff}
.footer-col a .i{color:#8ab4ff;width:16px;height:16px;opacity:.9}
.footer-col a.is-featured{color:#8ab4ff;font-weight:600}
.footer-contact .addr{max-width:379px;line-height:20px}
.footer-cta-row{display:flex;gap:8px;margin-top:36px;height:44px}
.footer-cta-row a{height:44px;padding:0 16px;border-radius:10px;font-size:12px;font-weight:600;background:rgba(37,99,235,.95);color:#fff;display:inline-flex;align-items:center;gap:6px}
.footer-cta-row a.secondary{background:#f4f2ea;color:#171611}
.footer-hours{display:flex;align-items:center;gap:7px;font-size:13px;color:rgba(255,255,255,.62);margin-top:16px}
.footer-hours .i{color:#8ab4ff}
.footer-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border-top:1px solid rgba(255,255,255,.09);margin-top:59px;padding-top:22px}
.footer-bottom p{font-size:12px;line-height:16px;color:rgba(255,255,255,.42);max-width:520px}
.footer-bottom p:last-child{text-align:left;max-width:380px}

/* ---------- page hero / products ---------- */
.page-hero{background:radial-gradient(circle at 86% 18%,rgba(37,99,235,.3),transparent 42%),linear-gradient(120deg,#0b0a08,#111a31 58%,#0b0a08);color:#f9f8f5;position:relative;overflow:hidden}
.page-hero--sm{min-height:223px;display:flex;align-items:flex-end;padding:56px 0}
.page-hero--md{min-height:234px;display:flex;align-items:center;padding:56px 0}
.page-hero h1{font-size:48px;line-height:1;font-weight:900;letter-spacing:-.7px}
.page-hero p{max-width:576px;margin-top:10px;font-size:16px;line-height:1.5;color:rgba(255,255,255,.65)}
.page-hero .eyebrow{display:inline-flex;align-items:center;gap:7px;padding:4px 10px;border-radius:999px;background:rgba(37,99,235,.18);border:1px solid rgba(59,130,246,.38);color:#dbe8ff;font-size:12px;font-weight:600;line-height:1.4;margin-bottom:14px}
.page-main{padding:46px 0 64px;min-height:50vh}
.page-head{padding-top:48px}
.page-head h1{font-size:36px;line-height:40px;font-weight:900;letter-spacing:-.4px}
.page-count{margin-top:4px;font-size:14px;color:var(--muted)}
.products-toolbar{display:flex;align-items:center;gap:16px;margin-top:24px}
.search-box{flex:1;min-width:0;height:48px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:10px;padding:0 16px;box-shadow:0 1px 2px rgba(20,20,10,.03)}
.search-box .i{color:var(--muted);width:16px;height:16px}
.search-box input{width:100%;border:0;outline:0;background:transparent;font-size:14px;color:var(--ink)}
.search-box input::placeholder{color:#98958b}
.sort-wrap{position:relative;flex:none}
.sort-select{height:48px;min-width:192px;appearance:none;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 16px 0 40px;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer;outline:0;box-shadow:0 1px 2px rgba(20,20,10,.03)}
.sort-wrap .i{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);pointer-events:none;width:14px;height:14px;color:var(--muted)}
.filter-bar{width:100%;height:48px;margin-top:20px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;font-size:14px;font-weight:700;box-shadow:0 1px 2px rgba(20,20,10,.03);color:var(--ink)}
.filter-bar-label{display:inline-flex;align-items:center;gap:8px}
.filter-bar .i{color:var(--muted);width:16px;height:16px}
.filter-bar .chev{transition:transform .2s}
.filter-bar[aria-expanded="true"] .chev{transform:rotate(180deg)}
.filter-chips{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;margin-top:20px;scrollbar-width:none}
.filter-chips::-webkit-scrollbar{display:none}
.filter-chips.is-collapsed{display:none}
.chip{height:44px;padding:0 18px;border-radius:999px;background:#fff;border:1px solid rgba(14,13,10,.05);font-size:14px;font-weight:600;color:var(--ink);box-shadow:0 1px 2px rgba(20,20,10,.03);transition:background .2s,color .2s,transform .2s,box-shadow .2s;white-space:nowrap}
.chip:hover{transform:translateY(-1px);box-shadow:0 8px 18px -14px rgba(37,99,235,.8)}
.chip.is-active{background:linear-gradient(135deg,var(--blue-3),var(--blue));color:#fff;border-color:transparent;box-shadow:0 10px 22px -14px rgba(37,99,235,.9)}
.products-grid{margin-top:40px}
.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:56px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);margin-top:24px}
.empty-state .i{width:40px;height:40px;color:var(--blue);opacity:.7}
.empty-state h2{font-size:20px;font-weight:800}
.empty-state p{font-size:14px;color:var(--muted);max-width:460px}

/* ---------- offers ---------- */
.offers-main{padding:40px 0;min-height:max(0px,calc(100vh - 64px - 500px - 234px))}
.offer-empty{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 24px;text-align:center;box-shadow:var(--shadow)}
.offer-empty strong{display:block;font-size:16px;font-weight:500;color:var(--muted)}
.offer-empty span{display:inline-flex;align-items:center;gap:7px;margin-top:14px;font-size:13px;color:var(--blue);font-weight:600}

/* ---------- advisor ---------- */
.advisor-main{padding:48px 0 88px}
.advisor-head{display:flex;flex-direction:column;align-items:flex-start}
.advisor-head h1{font-size:36px;font-weight:900;line-height:40px;display:flex;align-items:center;gap:10px}
.advisor-head h1 .i{color:var(--blue);width:28px;height:28px}
.advisor-head p{margin-top:8px;font-size:16px;line-height:1.5;color:var(--muted);max-width:672px}
.advisor-grid{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(0,1fr);gap:24px;margin-top:24px;align-items:stretch}
.advisor-form-card{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:var(--radius-lg);padding:26px 26px 19px;box-shadow:var(--shadow)}
.advisor-form-card h2{font-size:18px;line-height:20px;font-weight:800;margin-bottom:3px}
.advisor-form-card .hint{display:none}
.advisor-form-card .field{display:block;margin-bottom:0}
.advisor-form-card .field + .field{margin-top:44px}
.advisor-form-card .field label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.advisor-form-card .field textarea,.advisor-form-card .field input{display:block}
.advisor-form-card .btn{margin-top:16px}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.field label{font-size:13px;font-weight:700;color:#34322c}
.field textarea,.field input,.field select{width:100%;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);padding:13px 14px;font-size:14px;outline:0;transition:border-color .2s,box-shadow .2s;color:var(--ink)}
.field textarea{min-height:98px;resize:vertical}
.field input{height:48px}
.field select{height:48px;cursor:pointer}
.field textarea:focus,.field input:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.advisor-form-card .btn{width:100%;height:48px;border-radius:12px;background:linear-gradient(135deg,var(--blue-3),var(--blue));color:#fff;font-size:15px}
.advisor-aside{position:relative;overflow:hidden;border-radius:var(--radius-lg);background:radial-gradient(circle at 24% 16%,rgba(59,130,246,.36),transparent 48%),linear-gradient(150deg,#0f1b36,#132c60 52%,#0b1221);color:#fff;min-height:324px;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;isolation:isolate}
.advisor-aside::before{content:"G";position:absolute;inset-inline-end:-10px;top:-34px;font-family:Outfit,sans-serif;font-size:230px;line-height:1;font-weight:900;color:rgba(255,255,255,.055);z-index:-1}
.advisor-aside .advisor-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);font-size:11px;font-weight:600;color:#cfe0ff;width:max-content;margin-bottom:12px}
.advisor-aside h3{font-size:22px;font-weight:900;line-height:1.45;max-width:320px}
.advisor-aside p{font-size:13px;line-height:1.8;color:rgba(255,255,255,.62);margin-top:8px;max-width:330px}
.advisor-orbs{position:absolute;inset:0;z-index:-1;pointer-events:none}
.advisor-orbs span{position:absolute;border-radius:50%;border:1px solid rgba(120,165,255,.2)}
.advisor-orbs span:nth-child(1){width:220px;height:220px;inset-inline-start:-70px;top:-90px}
.advisor-orbs span:nth-child(2){width:130px;height:130px;inset-inline-end:40px;top:30px;background:rgba(37,99,235,.14)}
.advisor-results{margin-top:38px}
.advisor-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:26px;border-top:1px solid var(--line)}
.advisor-results-head h2{font-size:24px;font-weight:900}
.advisor-results-head p{font-size:13px;color:var(--muted)}
.advisor-results .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.advisor-results .btn-card--detail{display:none}

/* ---------- about ---------- */
.about-main{padding:48px 0 64px}
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) 511px;gap:34px;align-items:start}
.about-copy p{font-size:16px;line-height:1.9;color:var(--muted);max-width:665px}
.about-copy p + p{margin-top:14px}
.about-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:34px}
.about-feature{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:var(--radius-lg);padding:22px;box-shadow:var(--shadow);min-height:140px}
.about-feature .feature-icon{width:40px;height:40px;border-radius:12px;margin-bottom:12px}
.about-feature h2{font-size:16px;font-weight:800;line-height:1.4}
.about-feature p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:5px}
.about-aside{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:var(--radius-lg);padding:26px;box-shadow:var(--shadow);position:sticky;top:88px}
.about-aside .location-label{margin-bottom:6px}
.about-aside h3{font-size:18px;font-weight:800}
.about-aside .addr{font-size:14px;color:var(--muted);line-height:1.8;margin-top:4px}
.about-aside .mini-map{height:120px;border-radius:12px;margin-top:16px;background:linear-gradient(135deg,#eef3ff,#e2e9f5);display:grid;place-items:center;color:var(--blue);border:1px solid #dfe7f5}
.about-aside .mini-map .i{width:30px;height:30px}
.about-aside .about-photo{width:100%;height:120px;object-fit:cover;border-radius:12px;margin-top:16px;border:1px solid #dfe7f5}
.about-aside .btn{width:100%;border-radius:12px;margin-top:10px}
.about-aside .btn:first-of-type{margin-top:18px}

/* ---------- contact page ---------- */
.contact-main{padding:48px 0 64px}
.contact-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:start}
.contact-info-card{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:var(--radius-lg);padding:26px;box-shadow:var(--shadow)}
.contact-info-card h2{font-size:22px;font-weight:900}
.contact-info-card > p{font-size:14px;line-height:1.8;color:var(--muted);margin-top:6px}
.contact-list{display:grid;gap:6px;margin-top:20px}
.contact-list a,.contact-list div{display:flex;align-items:flex-start;gap:11px;padding:10px;border-radius:12px;font-size:14px;line-height:1.7;color:#35332d;transition:background .2s}
.contact-list a:hover{background:var(--blue-soft)}
.contact-list .ci{width:36px;height:36px;border-radius:10px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;flex:none}
.contact-list .ci .i{width:17px;height:17px}
.contact-list strong{display:block;font-size:11px;font-weight:700;color:var(--muted);margin-bottom:1px}
.contact-form-card{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:var(--radius-lg);padding:26px;box-shadow:var(--shadow)}
.contact-form-card h2{font-size:22px;font-weight:900}
.contact-form-card > p{font-size:13px;color:var(--muted);margin-top:5px;margin-bottom:20px;line-height:1.7}
.contact-form-card .btn{width:100%;height:48px;border-radius:12px;background:linear-gradient(135deg,var(--blue-3),var(--blue));color:#fff;font-size:15px}
.contact-form-card .btn:hover{background:linear-gradient(135deg,#4b90ff,var(--blue-2))}
.contact-map{margin-top:24px}
.contact-map .map-card{min-height:300px}

/* ---------- auth / admin ---------- */
.auth-main{min-height:calc(100vh - 64px - 420px);padding:64px 0;display:flex;align-items:flex-start;justify-content:center}
.auth-card{width:100%;max-width:448px;background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow-lg);text-align:center}
.auth-card .auth-icon{width:64px;height:64px;border-radius:20px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;margin:0 auto 14px}
.auth-card .auth-icon .i{width:30px;height:30px}
.auth-card h1{font-size:26px;font-weight:900}
.auth-card > p{font-size:14px;line-height:1.8;color:var(--muted);margin-top:8px}
.auth-card form{text-align:right;margin-top:22px}
.auth-card .btn{width:100%;height:48px;border-radius:12px;background:linear-gradient(135deg,var(--blue-3),var(--blue));color:#fff;font-size:15px}
.auth-note{font-size:12px;color:var(--muted);margin-top:16px;line-height:1.8}
.auth-links{display:flex;justify-content:center;gap:14px;margin-top:16px;font-size:12px;color:var(--blue);font-weight:600}

/* ---------- product detail ---------- */
.product-main{padding:32px 0 64px}
.breadcrumb{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:22px}
.breadcrumb a{color:var(--muted);transition:color .2s}
.breadcrumb a:hover{color:var(--blue)}
.breadcrumb .i{width:12px;height:12px;transform:rotate(180deg)}
.breadcrumb strong{color:var(--ink);font-weight:600}
.product-detail{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:38px;align-items:start}
.pd-media{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:1/1;position:relative}
.pd-media img{width:100%;height:100%;object-fit:contain}
.pd-info{background:#fff;border:1px solid rgba(14,13,10,.05);border-radius:var(--radius-lg);padding:30px;box-shadow:var(--shadow)}
.pd-brand{font-family:Outfit,sans-serif;font-size:12px;font-weight:800;letter-spacing:1.3px;color:var(--blue);text-transform:uppercase}
.pd-info h1{font-size:34px;line-height:1.35;font-weight:900;margin-top:5px;letter-spacing:-.5px}
.pd-spec{font-size:14px;color:var(--muted);margin-top:6px;direction:ltr;text-align:right}
.pd-price-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.pd-price{font-family:Outfit,"Noto Kufi Arabic",sans-serif;font-size:30px;font-weight:900;direction:ltr;color:var(--ink)}
.pd-info .stock{font-size:12px;padding:5px 10px;border-radius:999px;background:rgba(50,161,85,.09)}
.pd-desc{font-size:14px;line-height:1.9;color:var(--muted);margin-top:18px}
.pd-actions{display:grid;gap:10px;margin-top:24px}
.pd-actions .btn{height:52px;border-radius:12px;font-size:15px}
.pd-actions .btn--primary{background:linear-gradient(135deg,var(--blue-3),var(--blue));padding:0 20px}
.pd-actions .btn--outline{background:var(--surface-2)}
.pd-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
.pd-meta div{background:var(--surface-3);border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:11px;color:var(--muted)}
.pd-meta strong{display:block;font-size:12px;color:var(--ink);margin-top:2px;font-weight:700}
.related{margin-top:46px}

/* ---------- helper + toast ---------- */
.helper{position:fixed;inset-inline-end:24px;bottom:24px;z-index:140;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.helper-toggle{height:48px;padding:0 16px;border-radius:999px;background:var(--dark);color:#fefdfc;font-size:14px;font-weight:700;display:inline-flex;align-items:center;gap:7px;box-shadow:0 18px 36px -16px rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.1)}
.helper-toggle:hover{background:#15140f}
.helper-toggle .i{color:#8ab4ff}
.helper-card{width:360px;max-width:calc(100vw - 32px);background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 26px 60px -22px rgba(0,0,0,.4);display:none}
.helper-card.is-open{display:block;animation:pop .22s var(--ease)}
@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.helper-top{display:flex;align-items:flex-start;gap:11px}
.helper-icon{width:48px;height:48px;border-radius:14px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;flex:none}
.helper-icon .i{width:24px;height:24px}
.helper-top strong{display:block;font-size:14px;font-weight:800;line-height:1.5}
.helper-top p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:1px}
.helper-close{width:30px;height:30px;border-radius:50%;background:var(--surface-3);color:var(--muted);display:grid;place-items:center;margin-inline-start:auto;flex:none}
.helper-close .i{width:14px;height:14px}
.helper-actions{display:flex;gap:8px;margin-top:14px}
.helper-actions .btn{flex:1;height:42px;border-radius:10px;font-size:13px}
.toast{position:fixed;inset-inline-start:50%;bottom:28px;transform:translate(-50%,20px);z-index:200;background:#111a31;color:#fff;font-size:13px;font-weight:600;padding:12px 18px;border-radius:999px;box-shadow:0 18px 40px -18px rgba(0,0,0,.6);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;max-width:calc(100vw - 32px);text-align:center;border:1px solid rgba(255,255,255,.1)}
.toast.is-visible{opacity:1;transform:translate(-50%,0)}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .main-nav{display:none}
  .menu-btn{display:grid}
  .main-nav + .header-actions .icon-btn{display:none}
  .hero h1{font-size:54px}
  .hero-inner{min-height:720px}
  .hero{min-height:720px}
}
@media (max-width:1024px){
  :root{--gutter:24px}
  .container{padding-inline:24px}
  .header-inner{padding-inline:24px}
  .hero-inner{padding-inline:24px}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .product-card{min-height:0}
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .brand-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .about-grid{grid-template-columns:minmax(0,1fr) 400px;gap:24px}
  .about-aside{position:static}
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .footer-contact .addr{max-width:100%}
  .testimonial-grid{grid-template-columns:1fr;gap:12px}
  .testimonial{min-height:0}
  .advisor-grid{grid-template-columns:1fr}
  .advisor-aside{min-height:240px}
  .advisor-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero h1{font-size:48px}
}
@media (max-width:860px){
  .hero{min-height:698px}
  .hero-inner{min-height:698px;padding-block:54px 40px}
  .hero h1{font-size:46px;letter-spacing:-.7px}
  .hero p{font-size:17px}
  .hero-trust{gap:18px;margin-top:38px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
  .brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .location-grid{grid-template-columns:1fr}
  .map-card{min-height:240px}
  .amada-wrap{flex-direction:column;align-items:flex-start;gap:18px}
  .amada-wrap .btn{width:100%}
  .footer-bottom{flex-direction:column;gap:8px}
  .footer-bottom p:last-child{text-align:right}
  .about-grid{grid-template-columns:1fr}
  .about-aside{max-width:511px}
  .product-detail{grid-template-columns:1fr;gap:20px}
  .pd-info{padding:24px}
  .pd-info h1{font-size:28px}
  .products-toolbar{flex-direction:column;align-items:stretch}
  .sort-select{width:100%}
  .sort-wrap{width:100%}
  .sort-wrap .i{inset-inline-start:14px}
}
@media (max-width:620px){
  :root{--gutter:16px}
  .container{padding-inline:16px}
  .header-inner{padding-inline:16px;gap:8px}
  .site-header{height:60px}
  .header-inner{height:60px}
  .mobile-menu{inset-block-start:60px}
  .brand-mark{width:32px;height:32px;font-size:18px}
  .brand-copy strong{font-size:12.5px;letter-spacing:.4px}
  .brand-copy small{display:none}
  .icon-btn,.pill--brand{display:none}
  .lang-btn{min-width:52px;height:36px;padding:0 9px;font-size:13px}
  .pill--phone{display:none}
  .menu-btn{width:36px;height:36px}
  .header-actions{gap:6px}
  .hero{min-height:694px}
  .hero-inner{min-height:694px;padding:46px 16px 36px}
  .hero-bg{background-position:44% center}
  .hero::after{background:linear-gradient(270deg,rgba(11,10,8,.94) 0%,rgba(11,10,8,.8) 48%,rgba(11,10,8,.42) 100%)}
  .hero h1{font-size:30px;line-height:1.25;letter-spacing:-.4px}
  .hero p{font-size:15px;line-height:1.8;margin-top:16px}
  .hero-eyebrow{font-size:10px;padding:6px 10px;margin-bottom:14px}
  .hero-actions{gap:9px;margin-top:24px;width:100%}
  .hero-actions .btn{height:50px;font-size:14px;padding:0 18px;flex:1}
  .hero-trust{gap:12px 18px;margin-top:28px;font-size:11px}
  .hero-trust span:nth-child(2){display:none}
  .section-head h2{font-size:22px}
  .section-link{font-size:12px;padding:6px 8px}
  .category-grid{display:flex;overflow-x:auto;gap:8px;margin-top:18px;padding-bottom:5px;scrollbar-width:none}
  .category-grid::-webkit-scrollbar{display:none}
  .category-pill{height:44px;padding:0 18px;flex:none;font-size:14px}
  .product-grid{gap:10px 8px;margin-top:18px}
  .product-body{padding:11px 11px 12px}
  .brand-tag{font-size:9px;letter-spacing:.7px}
  .product-name{font-size:13px}
  .product-spec{font-size:10.5px}
  .price{font-size:14px}
  .stock{font-size:9.5px;gap:4px}
  .stock::before{width:5px;height:5px;box-shadow:none}
  .price-row{padding-top:10px}
  .card-actions{gap:6px;margin-top:9px}
  .btn-card{height:38px;font-size:11.5px;gap:4px}
  .btn-card--detail{height:36px;font-size:10.5px}
  .btn-card .i{width:13px;height:13px}
  .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
  .brand-tile{height:54px;font-size:15px}
  .feature-grid{grid-template-columns:1fr;gap:10px;margin-top:18px}
  .feature-card{padding:20px;min-height:0}
  .feature-card h3{font-size:16px}
  .feature-card p{font-size:13px}
  .testimonial{padding:20px}
  .instagram h2{font-size:22px}
  .instagram-icon{width:62px;height:62px;border-radius:18px}
  .instagram-icon .i{width:28px;height:28px}
  .location-info{padding:22px}
  .location-info h3{font-size:20px}
  .location-info .btn{width:100%}
  .amada-wrap{padding:22px}
  .amada-copy{align-items:flex-start;gap:12px}
  .amada-icon{width:44px;height:44px;border-radius:13px}
  .amada-copy h2{font-size:19px}
  .amada-copy p{font-size:12.5px;line-height:1.7}
  .contact-cta h2{font-size:28px}
  .contact-cta p{font-size:14px}
  .contact-cta-actions{width:100%;gap:8px;margin-top:20px}
  .contact-cta .btn{height:48px;font-size:13px;flex:1;min-width:140px;padding:0 14px}
  .footer-inner{padding:40px 0 20px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .footer-about{grid-column:1 / -1}
  .footer-about p{font-size:13px}
  .footer-col h3{margin-bottom:8px}
  .footer-col a{font-size:13px}
  .footer-cta-row{flex-wrap:wrap}
  .footer-bottom{margin-top:26px;padding-top:16px}
  .footer-bottom p{font-size:11px}
  .footer-bottom p:last-child{max-width:100%}
  .page-head{padding-top:34px}
  .page-head h1{font-size:28px}
  .page-main{padding:34px 0 50px}
  .products-toolbar{margin-top:18px;gap:10px}
  .filter-bar{margin-top:14px}
  .filter-chips{flex-wrap:nowrap;overflow-x:auto;gap:6px;margin-top:14px;padding-bottom:4px;scrollbar-width:none}
  .filter-chips::-webkit-scrollbar{display:none}
  .chip{height:38px;padding:0 14px;font-size:12px}
  .page-hero h1{font-size:30px}
  .page-hero p{font-size:14px}
  .offers-main{padding:20px 0 50px}
  .offer-empty{padding:32px 18px}
  .advisor-main{padding:34px 0 50px}
  .advisor-head h1{font-size:28px}
  .advisor-head h1 .i{width:24px;height:24px}
  .advisor-head p{font-size:14px}
  .advisor-grid{margin-top:22px}
  .advisor-form-card{padding:20px}
  .advisor-aside{min-height:210px;padding:22px}
  .advisor-aside h3{font-size:19px}
  .advisor-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .advisor-results-head h2{font-size:20px}
  .about-main{padding:34px 0 50px}
  .about-copy p{font-size:14px}
  .about-features{grid-template-columns:1fr;gap:10px;margin-top:22px}
  .about-feature{padding:18px;min-height:0}
  .about-aside{max-width:none;padding:22px}
  .contact-main{padding:32px 0 50px}
  .contact-info-card,.contact-form-card{padding:20px}
  .contact-list a{padding:8px}
  .product-main{padding:22px 0 50px}
  .pd-info{padding:20px}
  .pd-info h1{font-size:25px}
  .pd-price{font-size:26px}
  .pd-meta{grid-template-columns:1fr}
  .helper{inset-inline-end:14px;bottom:14px}
  .helper-toggle{height:44px;font-size:13px;padding:0 13px}
  .helper-card{width:calc(100vw - 28px)}
  .toast{bottom:18px;font-size:12px}
  .auth-main{padding:40px 0}
  .auth-card{padding:22px}
}
@media (max-width:380px){
  .brand-copy strong{font-size:11px}
  .pill--phone .num{font-size:10px}
  .hero h1{font-size:33px}
  .product-name{font-size:12px}
  .price{font-size:13px}
  .btn-card{font-size:10.5px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* ---------- language menu ---------- */
.lang-menu{position:relative;flex:none}
.lang-btn .i{transition:transform .2s}
.lang-menu.is-open .lang-btn .i{transform:rotate(180deg)}
.lang-list{
  display:none;position:absolute;top:calc(100% + 8px);inset-inline-start:0;z-index:140;min-width:150px;
  background:#14130f;border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:6px;
  box-shadow:0 20px 44px -18px rgba(0,0,0,.6);
}
.lang-menu.is-open .lang-list{display:block}
.lang-list button{
  display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;
  padding:10px 12px;border-radius:8px;color:rgba(255,255,255,.85);font-size:14px;font-weight:600;text-align:end;background:none;border:0;cursor:pointer
}
.lang-list button:hover,.lang-list button.is-active{background:rgba(37,99,235,.25);color:#fff}
.lang-list button.is-active::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--gold)}

/* ---------- menu button label ---------- */
.menu-btn .menu-btn-label{display:none}

/* ---------- WhatsApp request dialog ---------- */
.wa-dialog{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:18px}
.wa-dialog[hidden]{display:none !important}
.wa-dialog-backdrop{position:absolute;inset:0;background:rgba(11,10,8,.72);backdrop-filter:blur(4px)}
.wa-dialog-card{
  position:relative;width:100%;max-width:420px;max-height:calc(100vh - 36px);overflow:auto;
  background:#fff;border-radius:24px;padding:26px 22px 20px;box-shadow:var(--shadow-lg);
  animation:wa-pop .25s var(--ease)
}
@keyframes wa-pop{from{transform:translateY(14px);opacity:0}to{transform:translateY(0);opacity:1}}
.wa-dialog-close{position:absolute;top:14px;inset-inline-start:14px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--surface-3);color:var(--ink)}
.wa-dialog-close:hover{background:var(--line)}
.wa-dialog-card h2{font-size:21px;font-weight:900;padding-inline-end:40px}
.wa-dialog-note{margin-top:6px;font-size:13px;color:var(--muted);line-height:1.65}
.wa-product{
  margin-top:14px;padding:13px 16px;border-radius:14px;background:var(--surface-3);
  border:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-end;gap:3px
}
.wa-product strong{font-size:15px;font-weight:800}
.wa-product span{font-family:Outfit,"Noto Kufi Arabic",sans-serif;font-size:13px;color:var(--muted);direction:ltr}
.wa-dialog-card form{margin-top:14px;display:grid;gap:12px}
.wa-dialog-card .field input{
  width:100%;height:46px;padding:0 14px;border-radius:12px;border:1px solid var(--line);
  background:var(--surface-2);font-size:14px
}
.wa-dialog-card .field input:focus{outline:2px solid rgba(37,99,235,.4);outline-offset:1px}
.btn--gold{height:52px;padding:0 22px;background:linear-gradient(135deg,#fce14a,var(--gold));color:var(--gold-ink);font-size:15px;box-shadow:0 12px 24px -14px rgba(160,130,0,.8)}
.btn--gold:hover{background:linear-gradient(135deg,#ffdc2b,#eec505)}

/* ---------- offers accent ---------- */
.offer-empty strong{color:var(--gold-ink)}
.offer-empty span .i{color:var(--gold)}

/* ---------- mobile tab bar ---------- */
.tabbar{
  display:none;position:fixed;bottom:0;inset-inline:0;z-index:130;height:62px;
  background:#0b0a08;border-top:1px solid rgba(255,255,255,.08);
  padding-bottom:env(safe-area-inset-bottom);
}
.tabbar a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;
  color:rgba(255,255,255,.62);font-size:10.5px;font-weight:600
}
.tabbar a .i{width:21px;height:21px}
.tabbar a.is-active{color:var(--gold)}
.tabbar a:hover{color:#fff}

@media (max-width:768px){
  .menu-btn{width:auto;min-width:40px;height:40px;padding:0 10px;gap:6px;display:inline-flex;align-items:center;border-radius:10px}
  .menu-btn .menu-btn-label{display:inline;font-size:13px;font-weight:600}
  .tabbar{display:flex}
  body{padding-bottom:62px}
  .helper{bottom:74px}
  .toast{bottom:74px}
}

/* ---------- LTR / English Internationalization Styles ---------- */
html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
}
html[dir="ltr"] .product-spec,
html[dir="ltr"] .pd-spec,
html[dir="ltr"] .hero-copy,
html[dir="ltr"] .about-copy,
html[dir="ltr"] .contact-info-card,
html[dir="ltr"] .contact-form-card,
html[dir="ltr"] .advisor-form-card,
html[dir="ltr"] .footer-about p {
  text-align: left;
}
html[dir="ltr"] .hero-actions,
html[dir="ltr"] .hero-trust,
html[dir="ltr"] .pd-actions,
html[dir="ltr"] .contact-cta-actions {
  justify-content: flex-start;
}
html[dir="ltr"] .wa-product {
  align-items: flex-start;
}
html[dir="ltr"] .wa-dialog-close {
  inset-inline-start: auto;
  inset-inline-end: 14px;
}
html[dir="ltr"] .section-head {
  flex-direction: row;
}
html[dir="ltr"] .section-link svg,
html[dir="ltr"] .hero-actions .btn--primary svg,
html[dir="ltr"] .about-aside .btn--primary svg,
html[dir="ltr"] .advisor-form-card .btn svg {
  transform: rotate(180deg);
}
html[dir="ltr"] .breadcrumb ol,
html[dir="ltr"] .breadcrumb {
  direction: ltr;
}
html[dir="ltr"] .footer-col ul {
  padding-left: 0;
}



/* ==========================================================================
   BLUE BALL '+' BUTTON & SHOPPING CART & PROFESSIONAL RECEIPT MODAL
   ========================================================================== */

/* Thumbnail Container */
.card-thumb-wrap {
  position: relative;
  display: block;
}

/* Round Blue Ball '+' Button (Same Royal Blue as Logo) */
.btn-quick-add {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease;
}
.btn-quick-add * {
  pointer-events: none;
}
.btn-quick-add:hover {
  transform: scale(1.16);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.6);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}
.btn-quick-add:active {
  transform: scale(0.9);
}
.btn-quick-add .quick-add-ball-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.btn-quick-add svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  stroke-width: 2.8;
}
html[dir="ltr"] .btn-quick-add {
  left: auto;
  right: 10px;
}

/* Detail page add-to-cart button */
.btn--cart-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #2563eb;
  color: #1d4ed8;
  font-weight: 700;
  border-radius: 10px;
  padding: 0 16px;
  height: 44px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--cart-add:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
  transform: translateY(-1px);
}
.btn--cart-add .btn-ball-round {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}
.btn--cart-add .btn-ball-round svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

/* Header Cart Button */
.cart-trigger-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2, #f3f4f6);
  border: 1px solid var(--line, #e5e7eb);
  color: var(--ink, #1f2937);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-trigger-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.cart-trigger-btn svg {
  width: 18px;
  height: 18px;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}
html[dir="ltr"] .cart-badge {
  right: auto;
  left: -4px;
}

/* Mobile Tabbar Cart Link */
.tabbar-cart-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted, #64748b);
  font-size: 11px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  gap: 2px;
}
.tabbar-cart-link svg {
  width: 22px;
  height: 22px;
}
.tabbar-cart-dot {
  position: absolute;
  top: 2px;
  right: 18px;
  background: #2563eb;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Floating Bottom Checkout Bar */
.floating-cart-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 850;
  width: calc(100% - 32px);
  max-width: 540px;
  animation: slideUpFloat 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpFloat {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@media (max-width: 768px) {
  .floating-cart-bar {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
  }
}
.floating-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 10px 8px 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  color: #ffffff;
}
.floating-cart-info {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.floating-cart-ball {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
  flex-shrink: 0;
}
.floating-cart-ball svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
}
.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #0f172a;
}
.floating-cart-text {
  display: flex;
  flex-direction: column;
}
.floating-cart-title {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}
.floating-cart-price {
  font-size: 15px;
  font-weight: 700;
  color: #fde047;
  letter-spacing: 0.3px;
}
.btn-floating-checkout {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}
.btn-floating-checkout:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
}
.btn-floating-checkout svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   RECEIPT MODAL DESIGN
   ========================================================================== */
.wa-dialog-card--receipt {
  max-width: 540px;
  width: 94%;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #ffffff;
  max-height: 92vh;
  overflow-y: auto;
}
.receipt-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #cbd5e1;
  margin-bottom: 16px;
}
.receipt-badge-icon {
  flex-shrink: 0;
}
.receipt-badge-icon svg {
  display: block;
}
.receipt-header-text {
  flex: 1;
}
.receipt-pill-tag {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.receipt-store-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}
.receipt-store-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #64748b;
}

/* Items List Section */
.receipt-items-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 18px;
}
.receipt-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.receipt-items-heading {
  font-size: 13px;
  color: #334155;
  font-weight: 700;
}
.btn-clear-cart {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 11.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}
.btn-clear-cart:hover {
  background: #fee2e2;
}
.receipt-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 4px;
}
.receipt-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  gap: 10px;
}
.receipt-item-info {
  flex: 1;
  min-width: 0;
}
.receipt-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.receipt-item-price {
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
}
.receipt-qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.receipt-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.receipt-qty-btn:hover {
  background: #e2e8f0;
}
.receipt-qty-num {
  font-size: 13px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}
.receipt-remove-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.receipt-remove-btn:hover {
  color: #ef4444;
  background: #fee2e2;
}

/* Fields Grid */
.receipt-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 480px) {
  .receipt-fields-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Totals Panel */
.receipt-totals-panel {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #475569;
}
.totals-row strong {
  color: #0f172a;
}
.totals-row.totals-grand {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #cbd5e1;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
}
.grand-price-iqd {
  font-size: 16px;
  color: #1d4ed8;
  font-weight: 800;
}

/* Submit Receipt WhatsApp Button */
.btn-wa-submit-receipt {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.4);
  transition: all 0.2s ease;
  text-align: right;
}
.btn-wa-submit-receipt:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.5);
}
.wa-submit-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-submit-icon svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
}
.wa-submit-text {
  display: flex;
  flex-direction: column;
}
.wa-submit-text strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}
.wa-submit-text small {
  font-size: 11.5px;
  opacity: 0.92;
}

/* LTR adjustments */
html[dir="ltr"] .btn-wa-submit-receipt {
  text-align: left;
}
html[dir="ltr"] .receipt-items-list {
  padding-right: 0;
  padding-left: 4px;
}
html[dir="ltr"] .btn-floating-checkout svg {
  transform: rotate(180deg);
}

/* ==========================================================================
   SHVAN MOBILE OFFICIAL INVOICE / RECEIPT (EXACT MATCH TO UPLOADED IMAGE)
   ========================================================================== */
.wa-dialog-card--receipt {
  max-width: 580px;
  width: 96%;
  padding: 0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
}
.invoice-paper {
  background: #ffffff;
  padding: 0 0 16px 0;
  overflow-y: auto;
  flex: 1;
  font-family: inherit;
}

/* 1. Dark Navy Top Header */
.inv-header {
  background: linear-gradient(180deg, #0e1e38 0%, #172a4d 100%);
  color: #ffffff;
  text-align: center;
  padding: 24px 20px 20px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 4px 14px rgba(14, 30, 56, 0.25);
}
.inv-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}
.inv-phone-icon {
  font-size: 24px;
  line-height: 1;
}
.inv-header-title h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.inv-header-subtitle {
  color: #93c5fd;
  font-size: 13.5px;
  margin: 0 0 10px;
  font-weight: 600;
}
.inv-header-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #e2e8f0;
}
.inv-sep {
  color: #64748b;
  opacity: 0.7;
}

/* 2. Metadata Bar */
.inv-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 20px 10px;
  border-bottom: 1px dashed #cbd5e1;
  font-size: 12px;
  color: #475569;
  background: #f8fafc;
}
.inv-meta-seller div {
  margin-bottom: 4px;
}
.inv-meta-seller strong {
  color: #0f172a;
}
.badge-cash {
  color: #16a34a;
  font-weight: 700;
}
.inv-meta-invoice {
  text-align: left;
}
html[dir="rtl"] .inv-meta-invoice {
  text-align: left;
}
.inv-number {
  color: #2563eb;
  font-family: monospace, sans-serif;
  font-size: 13px;
}
.inv-date-wrap {
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
}

/* 3. Customer Box */
.inv-customer-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 14px 20px;
  background: #ffffff;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}
@media (max-width: 500px) {
  .inv-customer-box {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.inv-status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 10px 14px;
  color: #166534;
}
.inv-check {
  font-size: 20px;
}
.inv-status-pill strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.inv-status-pill small {
  display: block;
  font-size: 10.5px;
  color: #15803d;
}
.inv-customer-fields {
  display: flex;
  flex-direction: column;
}
.inv-cust-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}
.inv-input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 480px) {
  .inv-input-group {
    grid-template-columns: 1fr;
  }
}
.inv-input-group input,
.inv-address-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12.5px;
  background: #f8fafc;
  color: #0f172a;
}
.inv-input-group input:focus,
.inv-address-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

/* 4. Items Table (Matching exact image table) */
.inv-table-wrap {
  padding: 10px 20px;
  overflow-x: auto;
}
.inv-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12.5px;
}
.inv-table thead tr {
  background: #1e293b;
  color: #ffffff;
}
.inv-table th {
  padding: 8px 10px;
  font-weight: 700;
  font-size: 12px;
  border: none;
}
.inv-table th:first-child {
  border-radius: 8px 0 0 0;
}
.inv-table th:last-child {
  border-radius: 0 8px 0 0;
}
html[dir="rtl"] .inv-table th:first-child {
  border-radius: 0 8px 0 0;
}
html[dir="rtl"] .inv-table th:last-child {
  border-radius: 8px 0 0 0;
}
.inv-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.inv-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.inv-table td {
  padding: 10px;
  vertical-align: middle;
  color: #1e293b;
}
.inv-index-cell {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}
.inv-item-name {
  font-weight: 700;
  color: #0f172a;
  display: block;
}
.inv-item-brand {
  font-size: 10.5px;
  color: #64748b;
  display: block;
}
.inv-qty-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0369a1;
  font-weight: 700;
  font-size: 12px;
  border-radius: 99px;
  padding: 2px 8px;
  min-width: 32px;
}
.inv-qty-btn-inline {
  background: none;
  border: none;
  color: #0369a1;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  padding: 0 3px;
  line-height: 1;
}
.inv-price-cell {
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}
.inv-total-cell {
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}
.inv-del-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s;
}
.inv-del-btn:hover {
  color: #ef4444;
}

/* 5. Totals Section */
.inv-totals-section {
  padding: 8px 20px 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.inv-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #475569;
}
.inv-subtotal-row strong {
  color: #0f172a;
  font-size: 14px;
}

/* The iconic Dark Navy Grand Total Pill Bar */
.inv-grand-pill {
  background: #0f172a;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-radius: 12px;
  margin: 4px 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}
.inv-grand-pill span {
  font-size: 13.5px;
  font-weight: 700;
}
.inv-grand-pill strong {
  font-size: 18px;
  font-weight: 900;
  color: #60a5fa;
  letter-spacing: 0.5px;
}
.inv-usd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}
.inv-usd-row span:last-child {
  color: #0284c7;
  font-weight: 700;
  font-family: monospace;
}
.inv-received-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #16a34a;
  font-weight: 700;
}

/* 6. Barcode Section */
.inv-barcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 20px 8px;
  border-top: 1px dashed #e2e8f0;
  margin-top: 4px;
}
.inv-barcode-svg {
  width: 220px;
  height: 42px;
}
.inv-barcode-text {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* 7. Kurdish Terms & Notes */
.inv-footer-notes {
  text-align: center;
  padding: 8px 24px;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.6;
}
.inv-return-policy {
  margin: 0 0 6px;
  color: #475569;
  font-weight: 600;
}
.inv-smile {
  margin: 0 0 4px;
  color: #eab308;
  font-weight: 700;
}
.inv-pos-tag {
  margin: 0;
  font-size: 10.5px;
  color: #94a3b8;
}

/* 8. Action Buttons at Bottom of Dialog */
.inv-actions-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.inv-actions-footer .btn-wa-submit-receipt {
  flex: 1 1 100%;
}
.btn-secondary-receipt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-weight: 700;
  font-size: 12px;
  border-radius: 10px;
  padding: 0 12px;
  height: 42px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1 1 auto;
}
.btn-secondary-receipt:hover {
  background: #f1f5f9;
  border-color: #3b82f6;
  color: #1d4ed8;
}
.btn-print-receipt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  font-size: 12px;
  border-radius: 10px;
  padding: 0 14px;
  height: 42px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 0 0 auto;
}
.btn-print-receipt:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.inv-cust-static {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: #0f172a;
}

/* Print Mode for Clean Invoice Printing */
@media print {
  body * {
    visibility: hidden;
  }
  #waDialog, #waDialog * {
    visibility: visible;
  }
  #waDialog {
    position: absolute;
    inset: 0;
    background: #ffffff !important;
  }
  .wa-dialog-card--receipt {
    max-width: 100% !important;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .wa-dialog-close,
  .inv-actions-footer,
  .no-print {
    display: none !important;
  }
  .inv-header {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .inv-grand-pill {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
