* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e9f1;
  --brand: #4f46e5;
  --brand2: #7c3aed;
  --brand-soft: #eef0ff;
  --green: #12b76a;
  --gold: #f59e0b;
  --red: #e5484d;
  --sh1: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
  --sh2: 0 12px 32px rgba(16, 24, 40, .12);
  --r: 16px;
}

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo { font-family: "Poppins", "Inter", sans-serif; }

a { color: var(--brand); text-decoration: none; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.hidden { display: none !important; }

/* ---------- Header ---------- */

.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.logo { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; display: flex; align-items: center; gap: 8px; }
.logo span { background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

nav { display: flex; align-items: center; gap: 6px; }
nav a { color: var(--muted); font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; transition: all .15s ease; }
nav a:hover { background: var(--brand-soft); color: var(--brand); }
nav a.active { background: var(--ink); color: #fff; }
.nav-link-btn { border: 1px solid var(--line); }
.nav-link-btn:hover { border-color: var(--brand); }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(124, 58, 237, .18), transparent 60%),
    radial-gradient(700px 380px at -10% 0%, rgba(79, 70, 229, .16), transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding: 64px 20px 56px; }
.eyebrow {
  display: inline-block; background: var(--brand-soft); color: var(--brand);
  font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.hero-txt h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; line-height: 1.12; margin: 16px 0 12px; letter-spacing: -1px; }
.hero-txt h1 span { background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { color: var(--muted); font-size: 17px; max-width: 34em; }

.searchbox { margin-top: 24px; position: relative; max-width: 460px; }
.searchbox input {
  width: 100%; padding: 14px 18px 14px 46px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  box-shadow: var(--sh1); transition: box-shadow .15s ease, border-color .15s ease;
}
.searchbox input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12), var(--sh1); }
.sicon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; opacity: .6; }

.hero-mini { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: var(--muted); font-size: 13.5px; font-weight: 600; }

.hero-art { position: relative; height: 320px; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.b1 { width: 240px; height: 240px; top: 34px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, rgba(79,70,229,.20), rgba(124,58,237,.20)); }
.b2 { width: 150px; height: 150px; right: 6%; top: 8%; background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(18,183,106,.16)); }
.imgcard {
  position: absolute; width: 150px; height: 200px; border-radius: 16px; overflow: hidden;
  border: 6px solid #fff; background: #eef0ff;
  box-shadow: 0 24px 48px rgba(16, 24, 40, .22);
}
.imgcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.imgcard:hover img { transform: scale(1.06); }
.c1 { left: 50%; top: 46px; transform: translateX(-118%) rotate(-7deg); z-index: 1; }
.c2 { left: 50%; top: 28px; transform: translateX(-50%) rotate(1.5deg); z-index: 3; }
.c3 { left: 50%; top: 52px; transform: translateX(18%) rotate(6deg); z-index: 2; }
.float {
  position: absolute; background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  box-shadow: var(--sh1); animation: bob 3.4s ease-in-out infinite;
}
.f1 { top: 2%; left: 0; }
.f2 { bottom: 6%; left: 10%; animation-delay: .6s; }
.f3 { top: 12%; right: 2%; animation-delay: 1.1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Trust strip ---------- */

.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 20px; }
.titem { display: flex; align-items: center; gap: 12px; }
.titem > span { font-size: 22px; }
.titem b { font-size: 14px; display: block; }
.titem small { color: var(--muted); font-size: 12px; }

/* ---------- Categories ---------- */

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.chip {
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.subs { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; padding-left: 2px; }
.chip.sub { background: var(--brand-soft); border-color: transparent; color: var(--brand); font-size: 13px; padding: 7px 14px; }
.chip.sub.on { background: var(--brand); color: #fff; }
.chip.sub:hover { opacity: .9; }

/* ---------- Product grid ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; padding-bottom: 10px; }

.catalog-head { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 14px; }
.catalog-head b { font-family: "Poppins", sans-serif; font-size: 18px; letter-spacing: -.3px; }
.catalog-head span { color: var(--muted); font-size: 13px; }

.wa-float {
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom));
  width: 54px; height: 54px; border-radius: 50%; display: none; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #12b76a, #0ca678); color: #fff; font-size: 26px;
  box-shadow: 0 10px 24px rgba(18, 183, 106, .45); z-index: 800; text-decoration: none;
}
.wa-float:hover { transform: translateY(-2px); }

.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
  animation: fadeUp .4s ease both;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.imgbox { height: 180px; overflow: hidden; position: relative; background: linear-gradient(135deg, #eef0ff, #f6fff9); }
.ti { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product:hover .ti { transform: scale(1.05); }
.ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; font-family: "Poppins", sans-serif; font-weight: 800; color: var(--brand); }

.pbody { padding: 14px 16px 16px; }
.ptag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }
.pbody h3 { font-size: 15.5px; font-weight: 700; margin: 8px 0 3px; line-height: 1.3; }
.pdesc { color: var(--muted); font-size: 13px; }
.rate { margin-top: 7px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.prow { display: flex; align-items: center; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.cbtn-wrap { margin-top: 10px; }
.cbtn-wrap .btn { width: 100%; }
.price { font-size: 19px; font-weight: 800; font-family: "Poppins", sans-serif; }
.mrp { color: var(--muted); font-size: 14px; text-decoration-line: line-through; margin-right: 5px; }
.off { color: #0a8f3c; font-weight: 800; font-size: 13px; background: rgba(10, 143, 60, .12); padding: 2px 7px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }
.off.low-stock { color: #b45309; background: rgba(245, 158, 11, .16); }
.off.sold-out { color: #dc2626; background: rgba(220, 38, 38, .12); }
.free-ship { color: #0a8f3c; font-weight: 700; }
.sstock { font-size: 12px; display: block; margin-top: 3px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 12px; font-weight: 700; font-size: 14.5px; font-family: inherit;
  padding: 11px 20px; cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.btn.sm { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
.btn.main { background: var(--ink); color: #fff; }
.btn.main:hover { background: #000; transform: translateY(-1px); }
.btn.primary { background: linear-gradient(90deg, var(--brand), var(--brand2)); color: #fff; box-shadow: 0 8px 20px rgba(79, 70, 229, .3); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(79, 70, 229, .38); }
.btn.full { width: 100%; }
.btn.whatsapp { background: #25d366; color: #fff; }
.btn.whatsapp:hover { background: #1eb95a; transform: translateY(-1px); }
.btn.copy-btn { background: var(--brand-soft); color: var(--brand); }
.btn.copy-btn:hover { background: #e2e5ff; }
.btn.danger { background: #fdecec; color: var(--red); }
.btn.danger:hover { background: var(--red); color: #fff; }

/* ---------- Forms ---------- */

label { display: block; font-size: 13px; font-weight: 700; margin: 14px 0 6px; color: var(--ink); }
.req { color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .12); }
textarea { resize: vertical; }
.select-wrap select { cursor: pointer; }

/* ---------- Order page ---------- */

.banner-prepaid {
  background: linear-gradient(90deg, #fdecec, #fdf3f3); color: var(--red);
  text-align: center; font-weight: 700; font-size: 13.5px; padding: 9px 12px;
  border-bottom: 1px solid #f6d6d6;
}

.page-top { padding-top: 24px; }
.stepper { display: flex; gap: 8px; flex-wrap: wrap; }
.step {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--muted); background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px;
}
.sn {
  width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; background: var(--line); color: var(--muted);
}
.step.active { color: var(--brand); border-color: var(--brand); }
.step.active .sn { background: var(--brand); color: #fff; }
.step.done { color: var(--green); border-color: var(--green); }
.step.done .sn { background: var(--green); color: #fff; }

.two-col { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; padding: 20px 20px 40px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px; box-shadow: var(--sh1);
}
.card h2 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.form-card h2 { margin-bottom: 12px; }
.inline2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.qty-group { display: flex; align-items: stretch; gap: 8px; }
.qtybtn {
  width: 44px; border: 1px solid var(--line); background: #f8f9fc; border-radius: 12px;
  font-size: 20px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .12s ease;
}
.qtybtn:hover { background: var(--brand-soft); color: var(--brand); }
.qty-group input { width: 70px; text-align: center; }

.errbox { background: #fdecec; border: 1px solid #f6c9c9; color: var(--red); padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-top: 16px; }

.order-gal { margin-top: 4px; }
.order-gal .label { margin: 12px 0 6px; }
.order-gal-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.order-gal-strip::-webkit-scrollbar { height: 6px; }
.order-gal-strip::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.order-gal-strip .og-th {
  width: 96px; height: 96px; min-width: 96px; object-fit: cover; border-radius: 12px;
  cursor: pointer; border: 2px solid var(--line); background: #fff; transition: border-color .15s, transform .15s;
}
.order-gal-strip .og-th.act { border-color: var(--brand); }
.order-gal-strip .og-th:hover { transform: translateY(-2px); border-color: var(--brand2); }

.sticky { position: sticky; top: 80px; }
.summary-product { display: flex; gap: 12px; align-items: center; margin: 6px 0 14px; }
.simg {
  width: 62px; height: 62px; border-radius: 12px; background: linear-gradient(135deg, #eef0ff, #f3e8ff);
  display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.sinfo { display: flex; flex-direction: column; }
.sinfo b { font-size: 14.5px; line-height: 1.3; }
.sinfo span { color: var(--muted); font-size: 13px; }
.srow { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); padding: 5px 0; }
.divider { height: 1px; background: var(--line); margin: 10px 0; }
.sgrand { font-size: 15px; color: var(--ink); }
.sgrand b { font-size: 19px; font-family: "Poppins", sans-serif; }
.prepaid-badge {
  margin: 12px 0; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--green);
  background: #ecfdf3; border: 1px solid #c7ead4; padding: 8px; border-radius: 10px;
}

/* ---------- Success / payment ---------- */

.successbox { background: linear-gradient(180deg, #eef0ff, var(--bg)); border-top: 1px solid var(--line); padding: 34px 0 56px; }
.inner { max-width: 880px; }
.suc-head { font-size: 22px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.suc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.suc-left { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh1); text-align: center; }
.ordref { color: var(--muted); font-size: 14px; }
.ordref b { color: var(--ink); }
.bigamnt { font-size: 36px; font-weight: 800; font-family: "Poppins", sans-serif; margin: 6px 0; color: var(--brand); }
.qrwrap { display: flex; justify-content: center; margin: 18px 0; }
.qrwrap img { width: 190px; height: 190px; border-radius: 16px; background: #fff; padding: 10px; border: 1px solid var(--line); box-shadow: var(--sh1); }
.qrwrap.sm img { width: 130px; height: 130px; }
.suc-right { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh1); }
.suc-right h4 { font-size: 15px; margin-bottom: 10px; }
.paysteps { padding-left: 20px; }
.paysteps li { margin-bottom: 8px; font-size: 14px; color: #344054; }
.warn { margin-top: 14px; background: #fffaeb; border: 1px solid #f3e0ad; color: #92400e; padding: 11px 13px; border-radius: 10px; font-size: 13px; }
.suc-left .btn, .suc-right .btn { margin-top: 8px; }

/* ---------- Admin ---------- */

.admin { max-width: 760px; padding-top: 22px; padding-bottom: 40px; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; margin-bottom: 18px; box-shadow: var(--sh1);
}
.phead { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 10px; }
.picon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: linear-gradient(135deg, var(--brand-soft), #fff);
}
.phead h2 { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.phead p { color: var(--muted); font-size: 13.5px; }
.count { background: var(--brand-soft); color: var(--brand); padding: 1px 10px; border-radius: 999px; font-size: 13px; }
.grid2f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.plist-row { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fbfcfe; }
.th { width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0; background-size: cover; background-position: center; background-color: #eef0ff; }
.th.em { display: flex; align-items: center; justify-content: center; font-size: 22px; }
.plist-info { flex: 1; display: flex; flex-direction: column; }
.plist-info b { font-size: 14.5px; }
.plist-info span { color: var(--muted); font-size: 12.5px; }
.plist-empty { padding: 20px; text-align: center; color: var(--muted); }

.genout { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fbfcfe; }
.genlabel { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.genline { font-size: 13px; color: #344054; word-break: break-all; margin: 6px 0 14px; }
.genrow { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.genbtns { display: flex; flex-direction: column; gap: 8px; }

.imgprevs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pv { position: relative; width: 72px; height: 72px; }
.pv img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--sh1); }
.pvx { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 13px; cursor: pointer; color: #dc2626; box-shadow: var(--sh1); }

.hint.warn { color: #dc2626; font-weight: 500; }
.hint.ok { color: #047857; font-weight: 500; }

.ti.multi { cursor: zoom-in; }
.shot-count { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; letter-spacing: .2px; pointer-events: none; }

.card-strip { display: flex; gap: 6px; padding: 8px; overflow-x: auto; border-top: 1px solid var(--line); align-items: center; }
.card-strip .gthumb { width: 44px; height: 44px; min-width: 44px; object-fit: cover; border-radius: 9px; cursor: pointer; border: 2px solid transparent; background: #fff; }
.card-strip .gthumb.act { border-color: #fff; }

.lb-thumbs { position: absolute; bottom: 54px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; max-width: 90vw; overflow-x: auto; padding: 8px; border-radius: 12px; background: rgba(0,0,0,.35); }
.lb-thumbs .lb-th { width: 48px; height: 48px; min-width: 48px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .55; border: 2px solid transparent; transition: opacity .15s; }
.lb-thumbs .lb-th.act { opacity: 1; border-color: #fff; }

.lb { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.lb-x { position: absolute; top: 14px; right: 18px; font-size: 28px; color: #fff; background: none; border: none; cursor: pointer; z-index: 10; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.lb-nav { position: absolute; bottom: 112px; font-size: 34px; color: #fff; background: rgba(255,255,255,.14); border: none; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); z-index: 5; }
.lb-nav:first-of-type { left: 12px; }
.lb-nav:nth-of-type(2) { right: 12px; }
.lb img { max-width: 88vw; max-height: 82vh; border-radius: 14px; object-fit: contain; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; font-weight: 600; background: rgba(0,0,0,.44); padding: 4px 14px; border-radius: 999px; }
body.lb-open { overflow: hidden; }

.size-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 2px; }
.size-btn { min-width: 46px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }
.size-btn:hover { border-color: #c7b3f5; }
.size-btn.on { background: linear-gradient(90deg, var(--brand), var(--brand2)); border-color: transparent; color: #fff; box-shadow: var(--sh1); }
.link-btn { background: none; border: none; color: #7c3aed; font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 2px; text-decoration: underline; }
.size-chart { margin-top: 8px; background: #faf9ff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.size-chart table { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-chart th, .size-chart td { padding: 7px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.size-chart th { background: #f3effc; color: #4c1d95; font-weight: 600; }

.landing .land-top .nav-link-btn { color: #fff; background: linear-gradient(90deg, var(--brand), var(--brand2)); border-color: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 600; }

.land-hero { background: linear-gradient(140deg, #101828 0%, #1e1b4b 55%, #312e81 100%); color: #fff; }
.land-hero .eyebrow { color: #c4b5fd; }
.land-hero .lead { color: #d3d3e8; }
.land-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); line-height: 1.12; }
.land-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 18px; }
.btn.big { padding: 14px 26px; font-size: 16px; border-radius: 14px; font-weight: 700; }
.btn.wa { background: linear-gradient(90deg, #12b76a, #0ca678); color: #fff; box-shadow: 0 8px 20px rgba(18, 183, 106, .3); }
.land-hero .hero-mini span { font-size: 13px; color: #c4b5fd; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 60px 0 70px; }

.hero-card { background: #fff; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; }
.hero-card .hc-top { background: linear-gradient(90deg, var(--brand), var(--brand2)); color: #fff; font-weight: 700; padding: 14px 20px; font-size: 15px; }
.hero-card .hc-body { padding: 18px 20px; }
.hero-card .hc-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: var(--muted); }
.hero-card .hc-row b { color: var(--ink); }
.hero-card .hc-div { height: 1px; background: var(--line); margin: 8px 0; }
.hero-card .hc-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }

.land-strip { background: linear-gradient(90deg, var(--brand), var(--brand2)); color: #fff; }
.land-strip-in { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px; padding: 12px 0; font-size: 13px; font-weight: 600; }

.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 40px 0 20px; }
.sec-head h2 { font-size: 26px; }
.cats-mini { display: flex; gap: 8px; flex-wrap: wrap; }

.cta-mid { text-align: center; background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid var(--line); border-radius: 18px; padding: 30px 20px; margin: 30px 0; }
.cta-mid p { color: var(--muted); margin-bottom: 14px; }

.how { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 46px 0; }
.how h2, .why h2 { text-align: center; font-size: 26px; }
.how h2 span, .why h2 span { color: var(--brand2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-align: center; box-shadow: var(--sh1); }
.sc-num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(90deg, var(--brand), var(--brand2)); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 10px; }
.step-card b { display: block; margin-bottom: 4px; }
.step-card small { color: var(--muted); }

.why { padding: 46px 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--sh1); }
.why-card span { font-size: 26px; }
.why-card b { display: block; margin: 8px 0 4px; }
.why-card small { color: var(--muted); }

.final-cta { background: linear-gradient(90deg, var(--brand), var(--brand2)); padding: 44px 0; text-align: center; }
.final-cta h2 { color: #fff; margin-bottom: 16px; }

.sticky-wa { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #12b76a, #0ca678); color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(18, 183, 106, .45); z-index: 800; text-decoration: none; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 50px; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .land-strip-in { justify-content: flex-start; }
}

.plist-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn.link2 { background: #eef0ff; color: var(--brand); border-color: #dbe1ff; }

input[type="file"] { padding: 9px; font-size: 14px; cursor: pointer; }

/* ---------- Empty state ---------- */

.empty-box { text-align: center; padding: 44px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r); margin: 10px 0 30px; }
.empty-art { font-size: 40px; }
.empty-box h3 { font-size: 17px; margin: 8px 0 2px; }
.empty-box p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

/* ---------- Footer ---------- */

.foot { background: var(--ink); color: #cfd6e4; margin-top: 30px; }
.foot-in { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 34px; padding-bottom: 22px; flex-wrap: wrap; }
.foot .logo { color: #fff; margin-bottom: 6px; }
.foot .logo span { background: linear-gradient(90deg, #a5b4fc, #c4b5fd); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.muted { color: #7d8aa5; font-size: 14px; }
.foot-cols { display: flex; gap: 48px; }
.foot-cols h4 { color: #fff; font-size: 13px; margin-bottom: 8px; }
.foot-cols a { display: block; color: #9aa8c1; font-size: 14px; padding: 3px 0; }
.foot-cols a:hover { color: #fff; }
.foot-legal { padding-top: 14px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #77849f; }

/* ---------- Login ---------- */

.login-body { background: linear-gradient(140deg, #eef0ff 0%, #f8fafc 60%, #f0fdf4 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.login-wrap { width: 100%; padding: 20px; }
.login-card { max-width: 380px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; box-shadow: var(--sh2); }
.login-brand { font-family: "Poppins", sans-serif; font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.login-brand span { background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.login-sub { color: var(--muted); font-size: 14px; margin: 6px 0 4px; }
.login-err { background: #fdecec; color: var(--red); padding: 11px 13px; border-radius: 10px; font-weight: 600; font-size: 14px; margin-top: 14px; }
.login-hint { color: var(--muted); font-size: 13px; margin-top: 14px; text-align: center; }
.login-back { display: block; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--brand); }

.logout-btn {
  background: transparent; border: 1px solid var(--line); color: var(--red);
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-family: inherit; transition: all .15s ease;
}
.logout-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
.banner-link { color: #fff; text-decoration: underline; margin-left: 6px; }

/* ---------- Dashboard ---------- */

.dash { max-width: 960px; padding-top: 22px; padding-bottom: 40px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--sh1); }
.kpi-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.kpi-val { font-size: 21px; font-weight: 800; font-family: "Poppins", sans-serif; line-height: 1.15; }
.kpi-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi-sub { font-size: 11.5px; color: #98a2b3; }

.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }

.tbl-wrap { overflow-x: auto; margin-top: 4px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 10px; border-bottom: 1px solid #f0f2f7; vertical-align: middle; }
.tbl tr:hover td { background: #fafbfe; }
.tbl small { color: var(--muted); font-size: 12px; }

.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.paid { background: #ecfdf3; color: var(--green); }
.badge.pend { background: #fffaeb; color: #b45309; }
.badge.ship { background: #eff6ff; color: #1d4ed8; }
.badge.del { background: #f5f3ff; color: #6d28d9; }
.btn.blue { background: #2563eb; color: #fff; }
.btn.blue:hover { background: #1d4ed8; }

.btn.green { background: var(--green); color: #fff; }
.btn.green:hover { background: #0fa35c; }
.btn.ghost { background: #fff; color: var(--red); border: 1px solid #f5c2c2; }
.btn.ghost:hover { background: var(--red); color: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

@media (max-width: 880px) {
  .dash-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Toasts ---------- */
.toasts { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 300px; }
.toast {
  background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 12px;
  font-size: 14px; font-weight: 600; box-shadow: var(--sh2); animation: tIn .25s ease both;
}
.toast.ok { background: var(--green); }
.toast.bad { background: var(--red); }
.toast.out { animation: tOut .3s ease both; }
@keyframes tIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes tOut { from { opacity: 1; } to { opacity: 0; transform: translateX(20px); } }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero-in { grid-template-columns: 1fr; padding: 44px 20px 40px; }
  .hero-art { height: 240px; }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .suc-grid { grid-template-columns: 1fr; }
  .grid2f { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .step { font-size: 12px; padding: 7px 12px; }
  .foot-cols { gap: 28px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .head { height: 56px; }
  .logo { font-size: 17px; gap: 6px; }
  nav { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 4px; }
  nav::-webkit-scrollbar { display: none; }
  nav a { padding: 7px 12px; font-size: 13px; white-space: nowrap; }
  .hero-in { grid-template-columns: 1fr; gap: 0; padding: 30px 16px 4px; }
  .hero-art { display: none; }
  .hero-txt h1 { font-size: 30px; letter-spacing: -.5px; }
  .lead { font-size: 15px; }
  .searchbox { margin-top: 18px; max-width: 100%; }
  .hero-mini { gap: 10px 16px; font-size: 12.5px; }
  .trust-in { grid-template-columns: repeat(2, 1fr); gap: 10px 8px; padding: 14px 16px; }
  .titem { gap: 9px; }
  .titem > span { font-size: 19px; }
  .titem b { font-size: 13px; }
  .titem small { font-size: 11.5px; }
  .cats { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 16px -16px 12px; padding: 0 16px; }
  .cats::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; padding: 8px 14px; font-size: 13px; }
  .subs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: -4px 2px 14px; }
  .subs::-webkit-scrollbar { display: none; }
  .catalog-head { margin: 4px 0 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid .product { min-width: 0; }
  .imgbox { height: 148px; }
  .card-strip { gap: 4px; padding: 6px; }
  .card-strip .gthumb { width: 36px; height: 36px; min-width: 36px; border-radius: 7px; }
  .pbody { padding: 10px 11px 12px; }
  .ptag { font-size: 10.5px; padding: 2px 8px; }
  .pbody h3 { font-size: 13px; margin: 7px 0 2px; }
  .pdesc { font-size: 12px; }
  .rate { margin-top: 6px; font-size: 11.5px; }
  .prow { margin-top: 8px; gap: 3px 4px; }
  .product .mrp { font-size: 11px; margin-right: 3px; }
  .product .price { font-size: 14px; }
  .product .off { font-size: 10.5px; padding: 1px 6px; margin-left: 0; }
  .cbtn-wrap { margin-top: 8px; }
  .cbtn-wrap .btn { padding: 8px 8px; font-size: 12.5px; }
  .wa-float { display: flex; }
  body { padding-bottom: env(safe-area-inset-bottom); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}