:root{--primary:#b85b32;--secondary:#167a4a;--dark:#14100d;--bg:#fff7ed;--card:#fff;--text:#201913;--muted:#76685d;--line:#ead9c5;--shadow:0 16px 42px rgba(52,30,15,.10)}*{box-sizing:border-box}html{overflow-x:hidden;scroll-behavior:smooth}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;background:radial-gradient(circle at 10% 0,rgba(184,91,50,.13),transparent 34%),var(--bg);color:var(--text);overflow-x:hidden}body.ltr{direction:ltr}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}.wrap{width:min(1180px,calc(100% - 28px));margin-inline:auto}.topbar{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.topbar-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:14px}.brand{display:flex;align-items:center;gap:11px}.logo{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,var(--primary),#ffb36b);display:grid;place-items:center;color:#fff;font-size:25px;overflow:hidden}.logo img{width:100%;height:100%;object-fit:contain;background:var(--card);padding:5px}.brand strong{display:block;font-size:18px}.brand small{display:block;color:var(--muted);font-weight:800}.top-actions{display:flex;align-items:center;gap:8px}.language{display:flex;gap:3px;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--card)}.lang{border:0;background:transparent;padding:8px 11px;border-radius:99px;font-weight:900}.lang.active{background:var(--dark);color:#fff}.admin-link{background:var(--secondary);color:#fff;border-radius:14px;padding:10px 13px;font-weight:1000}.flash{margin-top:14px;padding:12px;border-radius:14px;font-weight:900}.flash.success{background:#e7f7ea;color:#166c2d}.flash.danger{background:#ffecec;color:#a01818}.hero-section{padding:42px 0 24px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:24px;align-items:center}.badge{display:inline-flex;background:var(--card);border:1px solid var(--line);color:var(--primary);border-radius:999px;padding:8px 12px;font-weight:1000}.hero-copy h1{font-size:clamp(34px,5vw,62px);line-height:1.08;margin:16px 0 12px}.hero-copy p{font-size:18px;line-height:1.8;color:var(--muted);max-width:650px}.hero-buttons{display:flex;gap:10px;flex-wrap:wrap}.btn{border:0;border-radius:15px;padding:12px 16px;font-weight:1000;display:inline-flex;justify-content:center;align-items:center;cursor:pointer}.btn.primary{background:var(--primary);color:#fff}.btn.ghost{background:var(--card);border:1px solid var(--line)}.btn.full{width:100%}.loyalty-card{background:linear-gradient(145deg,#fff,#ffe9d6);border:1px solid var(--line);border-radius:30px;padding:20px;box-shadow:var(--shadow);min-height:280px}.member-top{display:flex;justify-content:space-between;gap:10px}.member-top span{color:var(--muted);display:block}.member-top strong{font-size:22px}.points{margin:18px 0;padding:16px;background:var(--dark);color:#fff;border-radius:22px}.points b{font-size:46px;display:block}.qr{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:center}.qr img{width:120px;border-radius:16px;background:var(--card);padding:6px}.customer-form label{margin:8px 0}.customer-form input{width:100%;border:1px solid var(--line);border-radius:13px;padding:11px}.section-title{margin:25px 0 12px}.section-title h2{font-size:32px;margin:0 0 5px}.section-title p{margin:0;color:var(--muted)}.offers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.offer-card{background:var(--card);border:1px solid var(--line);border-radius:22px;padding:15px;box-shadow:0 10px 26px rgba(52,30,15,.06);display:grid;gap:10px}.offer-card.can{border-color:var(--secondary)}.offer-card strong{font-size:18px}.offer-card p{color:var(--muted);line-height:1.6;margin:6px 0}.offer-card span{font-weight:1000;color:var(--primary)}.offer-card button{border:0;border-radius:13px;padding:10px;background:var(--secondary);color:#fff;font-weight:1000}.offer-card button:disabled{opacity:.45}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.filter{border:1px solid var(--line);background:var(--card);border-radius:999px;padding:9px 13px;font-weight:1000;color:var(--muted)}.filter.active{background:var(--dark);color:#fff;border-color:var(--dark)}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:100px}.product{background:var(--card);border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 10px 24px rgba(52,30,15,.06);display:grid;grid-template-columns:96px 1fr;min-height:128px}.pic{height:100%;min-height:128px;background:color-mix(in srgb,var(--primary) 12%,var(--card));display:grid;place-items:center;font-size:34px;overflow:hidden}.pic img{width:100%;height:100%;object-fit:cover}.pbody{padding:11px;min-width:0}.pbody small{color:var(--primary);font-weight:900;font-size:12px}.pbody h3{font-size:17px;margin:3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pbody p{font-size:13px;color:var(--muted);line-height:1.45;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pbody div{display:flex;align-items:center;justify-content:space-between;gap:8px}.pbody strong{color:var(--primary);font-size:15px;white-space:nowrap}.add{width:34px;height:34px;border:0;border-radius:12px;background:var(--primary);color:#fff;font-size:20px;font-weight:1000}.cartbar{position:fixed;right:0;left:0;bottom:14px;z-index:60;width:min(760px,calc(100% - 24px));margin:auto;background:var(--dark);color:#fff;border-radius:22px;padding:11px 14px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 18px 38px rgba(0,0,0,.25)}.cartbar small{display:block;color:rgba(255,255,255,.72)}.cartbar button{border:0;background:var(--secondary);color:#fff;border-radius:14px;padding:11px 15px;font-weight:1000}.drawer{display:none;position:fixed;inset:0;z-index:100}.drawer.open{display:block}.overlay{position:absolute;inset:0;background:rgba(0,0,0,.5)}.drawer aside{position:absolute;top:0;bottom:0;left:0;width:min(520px,100%);background:var(--bg);padding:18px;overflow:auto}.drawer-head{display:flex;justify-content:space-between;gap:12px}.drawer-head h2{margin:0}.drawer-head p{margin:4px 0 0;color:var(--muted)}.drawer-head button{width:42px;height:42px;border:1px solid var(--line);border-radius:14px;background:var(--card);font-size:22px}.need-login,.empty{background:var(--card);border:1px dashed var(--line);border-radius:14px;padding:12px;text-align:center;color:var(--muted);font-weight:900}label{display:grid;gap:6px;margin:10px 0;font-weight:900}input,textarea,select{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--card)}textarea{min-height:80px}.cart-line{display:flex;justify-content:space-between;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:15px;padding:11px;margin:8px 0}.cart-line span{display:block;font-size:13px;color:var(--muted)}.qty{display:flex;gap:7px;align-items:center}.qty button{width:30px;height:30px;border:1px solid var(--line);background:var(--card);border-radius:10px}.summary{display:flex;justify-content:space-between;background:var(--card);border:1px solid var(--line);border-radius:15px;padding:13px;margin:12px 0;font-weight:1000}@media(max-width:1080px){.products{grid-template-columns:repeat(3,1fr)}.offers-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:820px){.hero-grid{grid-template-columns:1fr}.products{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.wrap{width:min(100% - 18px,1180px)}.topbar-inner{align-items:flex-start;flex-direction:column}.top-actions{width:100%;justify-content:space-between}.hero-section{padding:28px 0 12px}.hero-copy h1{font-size:34px}.loyalty-card{border-radius:22px;padding:15px}.qr{grid-template-columns:90px 1fr}.qr img{width:90px}.offers-grid{grid-template-columns:1fr}.products{grid-template-columns:1fr;gap:9px}.product{grid-template-columns:82px 1fr;min-height:108px;border-radius:17px}.pic{min-height:108px}.pbody{padding:9px}.pbody h3{font-size:16px}.pbody p{font-size:12px;-webkit-line-clamp:1}.cartbar{bottom:8px;width:calc(100% - 16px)}}

.summary-lines{display:grid;gap:8px}
.summary-lines>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hint{display:block;color:var(--muted);font-size:12px;margin-top:4px}

.auth-panel{display:grid;gap:14px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;background:color-mix(in srgb,var(--line) 45%,transparent);border-radius:16px}.auth-tab{border:0;border-radius:12px;padding:11px;background:transparent;color:var(--muted);font-weight:1000}.auth-tab.active{background:var(--card);color:var(--text);box-shadow:0 6px 18px rgba(0,0,0,.08)}.auth-form{display:none}.auth-form.active{display:block}.auth-note{display:block;color:var(--muted);line-height:1.5;margin:8px 0 12px}.member-number{display:inline-flex;margin-top:12px;padding:7px 11px;border-radius:999px;background:color-mix(in srgb,var(--primary) 14%,var(--card));color:var(--primary);font-weight:1000;letter-spacing:.06em}


/* V2.2 premium dark theme refinements */
body[data-theme="modern_dark"],
body[data-theme="black_gold_luxury"],
body[data-theme="black_red_premium"],
body[data-theme="black_emerald"],
body[data-theme="midnight_luxury"],
body[data-theme="carbon_silver"],
body[data-theme="obsidian_gold"],
body[data-theme="velvet_noir"],
body[data-theme="sapphire_black"],
body[data-theme="black_copper"]{
  background:
    radial-gradient(circle at 85% 8%, color-mix(in srgb,var(--primary) 13%,transparent), transparent 28%),
    radial-gradient(circle at 10% 100%, color-mix(in srgb,var(--secondary) 10%,transparent), transparent 32%),
    var(--bg);
  color:var(--text);
}

body[data-theme="modern_dark"] .hero-copy h1,
body[data-theme="black_gold_luxury"] .hero-copy h1,
body[data-theme="black_red_premium"] .hero-copy h1,
body[data-theme="black_emerald"] .hero-copy h1,
body[data-theme="midnight_luxury"] .hero-copy h1,
body[data-theme="carbon_silver"] .hero-copy h1,
body[data-theme="obsidian_gold"] .hero-copy h1,
body[data-theme="velvet_noir"] .hero-copy h1,
body[data-theme="sapphire_black"] .hero-copy h1,
body[data-theme="black_copper"] .hero-copy h1{
  color:var(--text);
  text-shadow:0 8px 30px color-mix(in srgb,var(--primary) 14%,transparent);
}

body[data-theme="modern_dark"] .hero-copy p,
body[data-theme="black_gold_luxury"] .hero-copy p,
body[data-theme="black_red_premium"] .hero-copy p,
body[data-theme="black_emerald"] .hero-copy p,
body[data-theme="midnight_luxury"] .hero-copy p,
body[data-theme="carbon_silver"] .hero-copy p,
body[data-theme="obsidian_gold"] .hero-copy p,
body[data-theme="velvet_noir"] .hero-copy p,
body[data-theme="sapphire_black"] .hero-copy p,
body[data-theme="black_copper"] .hero-copy p{
  color:var(--muted);
}

body[data-theme="modern_dark"] .loyalty-card,
body[data-theme="black_gold_luxury"] .loyalty-card,
body[data-theme="black_red_premium"] .loyalty-card,
body[data-theme="black_emerald"] .loyalty-card,
body[data-theme="midnight_luxury"] .loyalty-card,
body[data-theme="carbon_silver"] .loyalty-card,
body[data-theme="obsidian_gold"] .loyalty-card,
body[data-theme="velvet_noir"] .loyalty-card,
body[data-theme="sapphire_black"] .loyalty-card,
body[data-theme="black_copper"] .loyalty-card{
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--card) 92%,var(--primary) 8%),var(--card));
  border:1px solid color-mix(in srgb,var(--primary) 24%,var(--line));
  color:var(--text);
  box-shadow:
    0 18px 50px rgba(0,0,0,.34),
    inset 0 1px 0 color-mix(in srgb,var(--text) 7%,transparent);
}

body[data-theme="modern_dark"] .points,
body[data-theme="black_gold_luxury"] .points,
body[data-theme="black_red_premium"] .points,
body[data-theme="black_emerald"] .points,
body[data-theme="midnight_luxury"] .points,
body[data-theme="carbon_silver"] .points,
body[data-theme="obsidian_gold"] .points,
body[data-theme="velvet_noir"] .points,
body[data-theme="sapphire_black"] .points,
body[data-theme="black_copper"] .points{
  background:
    linear-gradient(135deg,color-mix(in srgb,var(--primary) 42%,#000),var(--dark));
  border:1px solid color-mix(in srgb,var(--primary) 38%,transparent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 30px rgba(0,0,0,.28);
}

body[data-theme="modern_dark"] .badge,
body[data-theme="black_gold_luxury"] .badge,
body[data-theme="black_red_premium"] .badge,
body[data-theme="black_emerald"] .badge,
body[data-theme="midnight_luxury"] .badge,
body[data-theme="carbon_silver"] .badge,
body[data-theme="obsidian_gold"] .badge,
body[data-theme="velvet_noir"] .badge,
body[data-theme="sapphire_black"] .badge,
body[data-theme="black_copper"] .badge{
  background:color-mix(in srgb,var(--card) 90%,transparent);
  color:var(--primary);
  border-color:color-mix(in srgb,var(--primary) 35%,var(--line));
}

body[data-theme="modern_dark"] .btn.ghost,
body[data-theme="black_gold_luxury"] .btn.ghost,
body[data-theme="black_red_premium"] .btn.ghost,
body[data-theme="black_emerald"] .btn.ghost,
body[data-theme="midnight_luxury"] .btn.ghost,
body[data-theme="carbon_silver"] .btn.ghost,
body[data-theme="obsidian_gold"] .btn.ghost,
body[data-theme="velvet_noir"] .btn.ghost,
body[data-theme="sapphire_black"] .btn.ghost,
body[data-theme="black_copper"] .btn.ghost{
  color:var(--text);
  background:var(--card);
}

body[data-theme="modern_dark"] input,
body[data-theme="modern_dark"] textarea,
body[data-theme="modern_dark"] select,
body[data-theme="black_gold_luxury"] input,
body[data-theme="black_gold_luxury"] textarea,
body[data-theme="black_gold_luxury"] select,
body[data-theme="black_red_premium"] input,
body[data-theme="black_red_premium"] textarea,
body[data-theme="black_red_premium"] select,
body[data-theme="black_emerald"] input,
body[data-theme="black_emerald"] textarea,
body[data-theme="black_emerald"] select,
body[data-theme="midnight_luxury"] input,
body[data-theme="midnight_luxury"] textarea,
body[data-theme="midnight_luxury"] select,
body[data-theme="carbon_silver"] input,
body[data-theme="carbon_silver"] textarea,
body[data-theme="carbon_silver"] select,
body[data-theme="obsidian_gold"] input,
body[data-theme="obsidian_gold"] textarea,
body[data-theme="obsidian_gold"] select,
body[data-theme="velvet_noir"] input,
body[data-theme="velvet_noir"] textarea,
body[data-theme="velvet_noir"] select,
body[data-theme="sapphire_black"] input,
body[data-theme="sapphire_black"] textarea,
body[data-theme="sapphire_black"] select,
body[data-theme="black_copper"] input,
body[data-theme="black_copper"] textarea,
body[data-theme="black_copper"] select{
  color:var(--text);
  background:var(--card);
  border-color:var(--line);
}

body[data-theme="modern_dark"] .topbar,
body[data-theme="black_gold_luxury"] .topbar,
body[data-theme="black_red_premium"] .topbar,
body[data-theme="black_emerald"] .topbar,
body[data-theme="midnight_luxury"] .topbar,
body[data-theme="carbon_silver"] .topbar,
body[data-theme="obsidian_gold"] .topbar,
body[data-theme="velvet_noir"] .topbar,
body[data-theme="sapphire_black"] .topbar,
body[data-theme="black_copper"] .topbar{
  background:color-mix(in srgb,var(--bg) 88%,transparent);
}

body[data-theme="black_red_premium"] .btn.primary,
body[data-theme="black_red_premium"] .add,
body[data-theme="black_red_premium"] .cartbar button{
  box-shadow:0 8px 22px rgba(225,6,0,.25);
}


/* V2.3 definitive dark-theme contrast fix */
body[data-theme="modern_dark"] .auth-panel,
body[data-theme="black_gold_luxury"] .auth-panel,
body[data-theme="black_red_premium"] .auth-panel,
body[data-theme="black_emerald"] .auth-panel,
body[data-theme="midnight_luxury"] .auth-panel,
body[data-theme="carbon_silver"] .auth-panel,
body[data-theme="obsidian_gold"] .auth-panel,
body[data-theme="velvet_noir"] .auth-panel,
body[data-theme="sapphire_black"] .auth-panel,
body[data-theme="black_copper"] .auth-panel{
  color:var(--text);
}

body[data-theme="modern_dark"] .auth-tabs,
body[data-theme="black_gold_luxury"] .auth-tabs,
body[data-theme="black_red_premium"] .auth-tabs,
body[data-theme="black_emerald"] .auth-tabs,
body[data-theme="midnight_luxury"] .auth-tabs,
body[data-theme="carbon_silver"] .auth-tabs,
body[data-theme="obsidian_gold"] .auth-tabs,
body[data-theme="velvet_noir"] .auth-tabs,
body[data-theme="sapphire_black"] .auth-tabs,
body[data-theme="black_copper"] .auth-tabs{
  background:color-mix(in srgb,var(--card) 82%,var(--bg));
  border:1px solid var(--line);
}

body[data-theme="modern_dark"] .auth-tab,
body[data-theme="black_gold_luxury"] .auth-tab,
body[data-theme="black_red_premium"] .auth-tab,
body[data-theme="black_emerald"] .auth-tab,
body[data-theme="midnight_luxury"] .auth-tab,
body[data-theme="carbon_silver"] .auth-tab,
body[data-theme="obsidian_gold"] .auth-tab,
body[data-theme="velvet_noir"] .auth-tab,
body[data-theme="sapphire_black"] .auth-tab,
body[data-theme="black_copper"] .auth-tab{
  color:var(--muted);
  background:transparent;
}

body[data-theme="modern_dark"] .auth-tab.active,
body[data-theme="black_gold_luxury"] .auth-tab.active,
body[data-theme="black_red_premium"] .auth-tab.active,
body[data-theme="black_emerald"] .auth-tab.active,
body[data-theme="midnight_luxury"] .auth-tab.active,
body[data-theme="carbon_silver"] .auth-tab.active,
body[data-theme="obsidian_gold"] .auth-tab.active,
body[data-theme="velvet_noir"] .auth-tab.active,
body[data-theme="sapphire_black"] .auth-tab.active,
body[data-theme="black_copper"] .auth-tab.active{
  color:var(--text);
  background:color-mix(in srgb,var(--card) 86%,var(--primary) 14%);
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}

body[data-theme="modern_dark"] .loyalty-card h2,
body[data-theme="modern_dark"] .loyalty-card label,
body[data-theme="black_gold_luxury"] .loyalty-card h2,
body[data-theme="black_gold_luxury"] .loyalty-card label,
body[data-theme="black_red_premium"] .loyalty-card h2,
body[data-theme="black_red_premium"] .loyalty-card label,
body[data-theme="black_emerald"] .loyalty-card h2,
body[data-theme="black_emerald"] .loyalty-card label,
body[data-theme="midnight_luxury"] .loyalty-card h2,
body[data-theme="midnight_luxury"] .loyalty-card label,
body[data-theme="carbon_silver"] .loyalty-card h2,
body[data-theme="carbon_silver"] .loyalty-card label,
body[data-theme="obsidian_gold"] .loyalty-card h2,
body[data-theme="obsidian_gold"] .loyalty-card label,
body[data-theme="velvet_noir"] .loyalty-card h2,
body[data-theme="velvet_noir"] .loyalty-card label,
body[data-theme="sapphire_black"] .loyalty-card h2,
body[data-theme="sapphire_black"] .loyalty-card label,
body[data-theme="black_copper"] .loyalty-card h2,
body[data-theme="black_copper"] .loyalty-card label{
  color:var(--text);
}

body[data-theme="modern_dark"] .offer-card,
body[data-theme="modern_dark"] .product,
body[data-theme="modern_dark"] .section-title,
body[data-theme="black_gold_luxury"] .offer-card,
body[data-theme="black_gold_luxury"] .product,
body[data-theme="black_gold_luxury"] .section-title,
body[data-theme="black_red_premium"] .offer-card,
body[data-theme="black_red_premium"] .product,
body[data-theme="black_red_premium"] .section-title,
body[data-theme="black_emerald"] .offer-card,
body[data-theme="black_emerald"] .product,
body[data-theme="black_emerald"] .section-title,
body[data-theme="midnight_luxury"] .offer-card,
body[data-theme="midnight_luxury"] .product,
body[data-theme="midnight_luxury"] .section-title,
body[data-theme="carbon_silver"] .offer-card,
body[data-theme="carbon_silver"] .product,
body[data-theme="carbon_silver"] .section-title,
body[data-theme="obsidian_gold"] .offer-card,
body[data-theme="obsidian_gold"] .product,
body[data-theme="obsidian_gold"] .section-title,
body[data-theme="velvet_noir"] .offer-card,
body[data-theme="velvet_noir"] .product,
body[data-theme="velvet_noir"] .section-title,
body[data-theme="sapphire_black"] .offer-card,
body[data-theme="sapphire_black"] .product,
body[data-theme="sapphire_black"] .section-title,
body[data-theme="black_copper"] .offer-card,
body[data-theme="black_copper"] .product,
body[data-theme="black_copper"] .section-title{
  color:var(--text);
}

body[data-theme="modern_dark"] input::placeholder,
body[data-theme="black_gold_luxury"] input::placeholder,
body[data-theme="black_red_premium"] input::placeholder,
body[data-theme="black_emerald"] input::placeholder,
body[data-theme="midnight_luxury"] input::placeholder,
body[data-theme="carbon_silver"] input::placeholder,
body[data-theme="obsidian_gold"] input::placeholder,
body[data-theme="velvet_noir"] input::placeholder,
body[data-theme="sapphire_black"] input::placeholder,
body[data-theme="black_copper"] input::placeholder{
  color:var(--muted);
  opacity:.8;
}


/* V2.5 password recovery */
.forgot-link{display:block;text-align:center;margin-top:12px;color:var(--primary);font-weight:900;text-decoration:none}.forgot-link:hover{text-decoration:underline}
.recovery-page{min-height:100vh;background:radial-gradient(circle at 85% 10%,color-mix(in srgb,var(--primary) 16%,transparent),transparent 32%),var(--bg);color:var(--text)}
.recovery-wrap{min-height:100vh;display:grid;place-items:center;padding:22px}.recovery-card{width:min(520px,100%);background:var(--card);border:1px solid var(--line);border-radius:28px;padding:26px;box-shadow:0 20px 60px color-mix(in srgb,var(--dark) 20%,transparent);color:var(--text)}
.recovery-card h1{margin:8px 0 10px;font-size:32px}.recovery-card p{color:var(--muted);line-height:1.8}.recovery-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:color-mix(in srgb,var(--primary) 16%,var(--card));font-size:30px;border:1px solid color-mix(in srgb,var(--primary) 25%,var(--line))}.recovery-back{display:block;text-align:center;margin-top:16px;color:var(--muted);font-weight:800}


/* V2.8 customer welcome hub and dynamic restaurant links */
.customer-welcome-hub{
  position:relative;
  background:
    linear-gradient(145deg,color-mix(in srgb,var(--card) 94%,var(--primary) 6%),var(--card));
  border:1px solid var(--line);
  border-radius:28px;
  padding:20px;
  margin-bottom:18px;
  box-shadow:0 18px 48px color-mix(in srgb,var(--dark) 10%,transparent);
  overflow:hidden;
}
.customer-welcome-hub::after{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  border-radius:50%;
  inset-inline-end:-85px;
  top:-90px;
  background:color-mix(in srgb,var(--primary) 15%,transparent);
  pointer-events:none;
}
.welcome-logo{
  width:88px;
  height:88px;
  border-radius:26px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(135deg,var(--primary),var(--secondary));
  color:#fff;
  font-size:40px;
  box-shadow:0 12px 28px color-mix(in srgb,var(--primary) 25%,transparent);
  position:relative;
  z-index:1;
}
.welcome-logo img{width:100%;height:100%;object-fit:contain;background:var(--card);padding:7px}
.welcome-heading{margin-top:15px;position:relative;z-index:1}
.welcome-heading small{color:var(--primary);font-weight:900}
.welcome-heading h2{font-size:clamp(28px,3vw,42px);margin:4px 0 6px;color:var(--text)}
.welcome-heading p{margin:0;color:var(--muted)}
.restaurant-links{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-top:18px;
  position:relative;
  z-index:1;
}
.restaurant-link{
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:15px;
  color:var(--text);
  background:color-mix(in srgb,var(--bg) 68%,var(--card));
  border:1px solid var(--line);
  font-weight:900;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.restaurant-link:hover{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--primary) 60%,var(--line));
  background:color-mix(in srgb,var(--primary) 10%,var(--card));
}
.restaurant-link-icon{
  width:24px;
  height:24px;
  flex:0 0 24px;
  border-radius:9px;
  display:grid;
  place-items:center;
  color:var(--primary);
}
.restaurant-link-icon svg{
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.restaurant-link-tiktok .restaurant-link-icon svg path:first-child{fill:currentColor;stroke:none}
.restaurant-link-whatsapp .restaurant-link-icon,
.restaurant-link-channel .restaurant-link-icon{color:var(--secondary)}
.restaurant-link-instagram .restaurant-link-icon{color:var(--primary)}
.restaurant-link-maps .restaurant-link-icon{color:var(--primary)}
.restaurant-link-x .restaurant-link-icon{color:var(--text)}

body[data-theme="modern_dark"] .customer-welcome-hub,
body[data-theme="black_gold_luxury"] .customer-welcome-hub,
body[data-theme="black_red_premium"] .customer-welcome-hub,
body[data-theme="black_emerald"] .customer-welcome-hub,
body[data-theme="midnight_luxury"] .customer-welcome-hub,
body[data-theme="carbon_silver"] .customer-welcome-hub,
body[data-theme="obsidian_gold"] .customer-welcome-hub,
body[data-theme="velvet_noir"] .customer-welcome-hub,
body[data-theme="sapphire_black"] .customer-welcome-hub,
body[data-theme="black_copper"] .customer-welcome-hub{
  background:linear-gradient(145deg,color-mix(in srgb,var(--card) 92%,var(--primary) 8%),var(--card));
  box-shadow:0 20px 54px rgba(0,0,0,.35);
}
body[data-theme="modern_dark"] .restaurant-link,
body[data-theme="black_gold_luxury"] .restaurant-link,
body[data-theme="black_red_premium"] .restaurant-link,
body[data-theme="black_emerald"] .restaurant-link,
body[data-theme="midnight_luxury"] .restaurant-link,
body[data-theme="carbon_silver"] .restaurant-link,
body[data-theme="obsidian_gold"] .restaurant-link,
body[data-theme="velvet_noir"] .restaurant-link,
body[data-theme="sapphire_black"] .restaurant-link,
body[data-theme="black_copper"] .restaurant-link{
  background:color-mix(in srgb,var(--card) 84%,var(--bg));
  color:var(--text);
}
@media(max-width:700px){
  .restaurant-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .customer-welcome-hub{padding:17px;border-radius:23px}
  .welcome-logo{width:74px;height:74px;border-radius:22px}
}
@media(max-width:390px){
  .restaurant-links{grid-template-columns:1fr}
}


/* V2.9 premium restaurant link buttons */
.restaurant-links{
  gap:12px;
}
.restaurant-link{
  position:relative;
  min-height:58px;
  justify-content:flex-start;
  padding:12px 15px;
  border-radius:18px;
  overflow:hidden;
  isolation:isolate;
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--card) 96%,var(--primary) 4%),
      color-mix(in srgb,var(--bg) 72%,var(--card)));
  border:1px solid color-mix(in srgb,var(--line) 72%,var(--primary) 28%);
  box-shadow:
    0 10px 24px color-mix(in srgb,var(--dark) 8%,transparent),
    inset 0 1px 0 color-mix(in srgb,var(--text) 8%,transparent);
}
.restaurant-link::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(110deg,transparent 20%,color-mix(in srgb,var(--primary) 10%,transparent) 50%,transparent 80%);
  transform:translateX(-120%);
  transition:transform .55s ease;
  z-index:-1;
}
.restaurant-link::after{
  content:"";
  position:absolute;
  inset-inline-end:12px;
  width:8px;
  height:8px;
  border-top:2px solid currentColor;
  border-inline-end:2px solid currentColor;
  transform:rotate(45deg);
  opacity:.45;
}
.restaurant-link:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--primary) 65%,var(--line));
  box-shadow:
    0 16px 34px color-mix(in srgb,var(--dark) 14%,transparent),
    inset 0 1px 0 color-mix(in srgb,var(--text) 10%,transparent);
}
.restaurant-link:hover::before{
  transform:translateX(120%);
}
.restaurant-link:active{
  transform:translateY(-1px) scale(.99);
}
.restaurant-link-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:13px;
  background:linear-gradient(145deg,
    color-mix(in srgb,var(--primary) 18%,var(--card)),
    color-mix(in srgb,var(--secondary) 10%,var(--card)));
  border:1px solid color-mix(in srgb,var(--primary) 28%,var(--line));
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text) 9%,transparent);
}
.restaurant-link-icon svg{
  width:22px;
  height:22px;
}
.restaurant-link>span:last-child{
  flex:1;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:14px;
  letter-spacing:.1px;
}

.restaurant-link-facebook .restaurant-link-icon{color:#1877F2}
.restaurant-link-review .restaurant-link-icon{color:#E7A516}
.restaurant-link-review{
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--card) 94%,#E7A516 6%),
      color-mix(in srgb,var(--bg) 72%,var(--card)));
}
.restaurant-link-review .restaurant-link-icon{
  background:linear-gradient(145deg,
    color-mix(in srgb,#E7A516 18%,var(--card)),
    color-mix(in srgb,#F6C453 9%,var(--card)));
  border-color:color-mix(in srgb,#E7A516 35%,var(--line));
}
.restaurant-link-instagram .restaurant-link-icon{
  color:#D946EF;
  background:linear-gradient(145deg,
    color-mix(in srgb,#D946EF 15%,var(--card)),
    color-mix(in srgb,#F97316 9%,var(--card)));
}
.restaurant-link-tiktok .restaurant-link-icon{color:var(--text)}
.restaurant-link-maps .restaurant-link-icon{color:#E64A3B}
.restaurant-link-channel .restaurant-link-icon,
.restaurant-link-whatsapp .restaurant-link-icon{color:#22A865}
.restaurant-link-x .restaurant-link-icon{color:var(--text)}

body[data-theme="modern_dark"] .restaurant-link,
body[data-theme="black_gold_luxury"] .restaurant-link,
body[data-theme="black_red_premium"] .restaurant-link,
body[data-theme="black_emerald"] .restaurant-link,
body[data-theme="midnight_luxury"] .restaurant-link,
body[data-theme="carbon_silver"] .restaurant-link,
body[data-theme="obsidian_gold"] .restaurant-link,
body[data-theme="velvet_noir"] .restaurant-link,
body[data-theme="sapphire_black"] .restaurant-link,
body[data-theme="black_copper"] .restaurant-link{
  background:
    linear-gradient(145deg,
      color-mix(in srgb,var(--card) 90%,var(--primary) 10%),
      color-mix(in srgb,var(--bg) 80%,var(--card)));
  border-color:color-mix(in srgb,var(--line) 70%,var(--primary) 30%);
  box-shadow:
    0 14px 32px rgba(0,0,0,.28),
    inset 0 1px 0 color-mix(in srgb,var(--text) 7%,transparent);
}
body[data-theme="modern_dark"] .restaurant-link-icon,
body[data-theme="black_gold_luxury"] .restaurant-link-icon,
body[data-theme="black_red_premium"] .restaurant-link-icon,
body[data-theme="black_emerald"] .restaurant-link-icon,
body[data-theme="midnight_luxury"] .restaurant-link-icon,
body[data-theme="carbon_silver"] .restaurant-link-icon,
body[data-theme="obsidian_gold"] .restaurant-link-icon,
body[data-theme="velvet_noir"] .restaurant-link-icon,
body[data-theme="sapphire_black"] .restaurant-link-icon,
body[data-theme="black_copper"] .restaurant-link-icon{
  background:color-mix(in srgb,var(--card) 86%,var(--primary) 14%);
}

@media(max-width:700px){
  .restaurant-link{min-height:56px;padding:11px 13px}
  .restaurant-link-icon{width:36px;height:36px;flex-basis:36px}
}


/* V2.10 language-aware fonts and Jar Alward 3 dark treatment */
:root{--font-ar:'Segoe UI',Tahoma,Arial,sans-serif;--font-en:'Poppins',sans-serif}
html[lang="ar"] body,html[lang="ar"] button,html[lang="ar"] input,html[lang="ar"] textarea,html[lang="ar"] select{font-family:var(--font-ar)}
html[lang="en"] body,html[lang="en"] button,html[lang="en"] input,html[lang="en"] textarea,html[lang="en"] select{font-family:var(--font-en)}
body[data-theme="jar_alward_3"] .customer-welcome-hub{background:linear-gradient(145deg,color-mix(in srgb,var(--card) 92%,var(--primary) 8%),var(--card));box-shadow:0 20px 54px rgba(0,0,0,.35)}
body[data-theme="jar_alward_3"] .restaurant-link{background:color-mix(in srgb,var(--card) 84%,var(--bg));color:var(--text)}
body[data-theme="jar_alward_3"] .loyalty-card{background:linear-gradient(145deg,var(--card),color-mix(in srgb,var(--card) 82%,var(--primary) 18%));color:var(--text)}
body[data-theme="jar_alward_3"] input::placeholder{color:var(--muted);opacity:.8}

/* v12 modern checkout */
.drawer aside{width:min(520px,100%);background:linear-gradient(180deg,color-mix(in srgb,var(--card) 96%,var(--primary) 4%),var(--card));box-shadow:-26px 0 80px rgba(0,0,0,.18)}
.drawer-head{padding:22px 22px 16px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--card) 90%,transparent);backdrop-filter:blur(16px)}
.drawer-head h2{font-size:28px;margin:0 0 4px}.drawer-head p{margin:0;color:var(--muted)}
#orderForm{padding:18px 22px 34px}.checkout-section{margin:14px 0 18px}.checkout-section-title{display:flex;align-items:center;gap:11px;margin-bottom:11px}.checkout-section-title>span{width:34px;height:34px;border-radius:12px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:1000}.checkout-section-title b{display:block;font-size:16px}.checkout-section-title small{display:block;color:var(--muted);margin-top:2px}
.order-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.order-type-card{position:relative;margin:0!important;padding:13px 10px;border:1px solid var(--line);border-radius:18px;background:var(--card);display:flex!important;align-items:center;gap:9px;cursor:pointer;transition:.2s ease;min-height:86px}.order-type-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--primary) 55%,var(--line))}.order-type-card.selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 9%,var(--card));box-shadow:0 10px 24px color-mix(in srgb,var(--primary) 14%,transparent)}.order-type-card input{position:absolute;opacity:0;pointer-events:none}.order-type-icon{font-size:27px}.order-type-card b{display:block;font-size:13px}.order-type-card small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.order-type-card i{position:absolute;top:8px;left:8px;width:20px;height:20px;border-radius:50%;background:var(--primary);color:#fff;display:none;place-items:center;font-size:11px;font-style:normal}.order-type-card.selected i{display:grid}.conditional-field[hidden]{display:none!important}.conditional-field{animation:fieldIn .2s ease}@keyframes fieldIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
#orderForm input,#orderForm textarea,#orderForm select{background:color-mix(in srgb,var(--card) 96%,var(--primary) 4%);border-color:color-mix(in srgb,var(--line) 82%,var(--primary) 18%);transition:.18s ease}#orderForm input:focus,#orderForm textarea:focus,#orderForm select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 12%,transparent);background:var(--card)}
.summary-lines{border-radius:20px;background:color-mix(in srgb,var(--dark) 96%,var(--primary) 4%);color:#fff;border:0;padding:16px}.summary-lines span{color:rgba(255,255,255,.7)}
.guest-order-note{border-radius:18px;padding:13px 15px;background:color-mix(in srgb,var(--secondary) 11%,var(--card));border:1px solid color-mix(in srgb,var(--secondary) 30%,var(--line))}
.order-settings-block{padding:18px;border:1px solid var(--line);border-radius:22px;background:color-mix(in srgb,var(--card) 96%,var(--primary) 4%)}.order-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.switch-setting{display:flex!important;align-items:center;gap:12px;margin:0!important;padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--card)}.switch-setting input{width:20px!important;height:20px}.switch-setting b,.switch-setting small{display:block}.switch-setting small{color:var(--muted);font-weight:600;margin-top:3px}
@media(max-width:560px){.order-type-grid{grid-template-columns:1fr}.order-type-card{min-height:68px}.order-settings-grid{grid-template-columns:1fr}.drawer aside{width:100%}#orderForm{padding:15px 15px 28px}.drawer-head{padding:18px 15px 14px}}
