/* Panthi Group storefront — shared styles for every public page. */
:root {
  --navy: #17357e;
  --navy-700: #112a66;
  --navy-50: #eef2fb;
  --red: #e0262f;
  --red-700: #b81d25;
  --red-50: #fdeced;
  --amber: #f5a524;
  --green: #138a4e;
  --green-50: #e8f6ee;
  --ink: #1b2233;
  --muted: #5d6679;
  --line: #e3e7ef;
  --bg: #f5f7fb;
  --card: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 36px rgba(16, 24, 40, .14);
  --wrap: 1200px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(23, 53, 126, .35); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 0; }
.section-sm { padding: 28px 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .05s, box-shadow .15s;
  text-decoration: none; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: var(--red-700); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy-50); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--navy-50); color: var(--navy); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb457; color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Top bar & header ---------- */
.announce { background: var(--navy); color: #fff; font-size: .82rem; text-align: center; padding: 7px 16px; }
.announce a { color: #fff; text-decoration: underline; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--navy); }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo img { height: 46px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.main-nav a:hover, .main-nav a.active { color: var(--navy); background: var(--navy-50); }
.header-search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.header-search input {
  width: 100%; height: 42px; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0 44px 0 16px; background: var(--bg);
}
.header-search input:focus { border-color: var(--navy); background: #fff; outline: none; }
.header-search button { position: absolute; right: 4px; top: 4px; height: 34px; width: 34px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.25rem;
}
.icon-btn:hover { background: var(--navy-50); color: var(--navy); }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; }

.mobile-nav { display: none; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-search { max-width: none; }
  .mobile-nav.open {
    display: block; position: fixed; inset: 0; z-index: 100; background: rgba(15, 23, 42, .45);
  }
  .mobile-nav .panel {
    position: absolute; left: 0; top: 0; bottom: 0; width: min(320px, 86vw); background: #fff;
    padding: 18px; overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  .mobile-nav .panel a { display: block; padding: 12px 10px; border-radius: 8px; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-nav .panel a.active { color: var(--navy); background: var(--navy-50); }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .site-header .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .logo img { height: 38px; }
  .header-actions { margin-left: auto; }
  .header-search { order: 3; flex-basis: 100%; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #fff 0%, var(--navy-50) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero-badge { display: inline-block; background: var(--red-50); color: var(--red-700); font-weight: 600; font-size: .8rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 span { color: var(--red); }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-height: 380px; object-fit: contain; margin: 0 auto; }
.hero-points { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: .88rem; }
.hero-points span { display: inline-flex; gap: 8px; align-items: center; }
.hero-points i { color: var(--green); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 28px; }
  .hero-art { order: -1; }
  .hero-art img { max-height: 200px; }
}

/* ---------- Section headings ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { color: var(--red); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-tile {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 12px;
  text-align: center; color: var(--ink); transition: transform .15s, box-shadow .15s; border: 1.5px solid transparent;
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--navy); border-color: var(--navy-50); }
.cat-tile .cat-img { width: 76px; height: 76px; margin: 0 auto 10px; border-radius: 50%; background: var(--navy-50); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-tile .cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile .cat-img i { font-size: 1.8rem; color: var(--navy); }
.cat-tile strong { display: block; font-size: .93rem; font-weight: 600; }
.cat-tile span { font-size: .78rem; color: var(--muted); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.product-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; position: relative; transition: box-shadow .15s, transform .15s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card .pc-img { aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; border-bottom: 1px solid var(--line); }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: contain; }
.product-card .pc-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.pc-brand { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.pc-name { font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pc-name:hover { color: var(--navy); }
.pc-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.price { font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.price-save { color: var(--green); font-weight: 600; font-size: .8rem; }
.pc-actions { margin-top: 10px; }
.pc-actions .btn { width: 100%; padding: 9px 12px; font-size: .88rem; }
.tag {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; background: var(--red); color: #fff;
}
.tag.tag-out { background: #6b7280; }
.stock-low { color: #b45309; font-size: .78rem; font-weight: 600; }
.stock-out { color: #6b7280; font-size: .78rem; font-weight: 600; }

/* ---------- Skeletons ---------- */
.skeleton { background: linear-gradient(90deg, #eceff5 25%, #f6f7fb 37%, #eceff5 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: var(--radius); }
.skeleton-card { height: 320px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 18px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow); }
.feature i { font-size: 1.4rem; color: var(--navy); background: var(--navy-50); width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature strong { display: block; font-size: .95rem; }
.feature span { font-size: .83rem; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* ---------- Banners / CTA ---------- */
.banner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.promo-banner {
  border-radius: var(--radius); padding: 26px; color: #fff; min-height: 170px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, #2552b8 100%); background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.promo-banner:nth-child(2n) { background: linear-gradient(135deg, var(--red) 0%, #f0534c 100%); }
.promo-banner.has-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 50, .82), rgba(10, 20, 50, .25)); }
.promo-banner > * { position: relative; }
.promo-banner h3 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.promo-banner p { opacity: .92; margin-bottom: 14px; }
.promo-banner .btn { align-self: flex-start; background: #fff; color: var(--ink); }

.offer-strip { background: var(--red-50); border: 1px dashed var(--red); border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.offer-pill { background: var(--red); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: .82rem; }

.about-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.about-split img { max-height: 300px; object-fit: contain; margin: 0 auto; }
@media (max-width: 800px) { .about-split { grid-template-columns: 1fr; } }

.brand-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-chip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 26px; font-weight: 700; color: var(--navy); letter-spacing: .04em; box-shadow: var(--shadow); }

.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; opacity: .85; }

/* ---------- Page header ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.page-head h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.crumbs { font-size: .83rem; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }

/* ---------- Cards & forms ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card + .card { margin-top: 16px; }
.card h3 { margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .88rem; }
.field .hint { font-size: .78rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  padding: 11px 13px; min-height: 46px; transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 53, 126, .12); outline: none; }
.input.invalid { border-color: var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.req { color: var(--red); }

.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; margin-bottom: 14px; }
.alert-error { background: var(--red-50); color: var(--red-700); }
.alert-success { background: var(--green-50); color: var(--green); }
.alert-info { background: var(--navy-50); color: var(--navy); }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }
.filters { position: sticky; top: 92px; }
.filters h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 0 8px; }
.filters h4:first-child { margin-top: 0; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list button {
  width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 8px; cursor: pointer;
  display: flex; justify-content: space-between; font-size: .92rem; color: var(--ink);
}
.filter-list button:hover { background: var(--navy-50); }
.filter-list button.active { background: var(--navy); color: #fff; }
.filter-list button span { opacity: .7; font-size: .8rem; }
.check { display: flex; gap: 8px; align-items: center; font-size: .92rem; cursor: pointer; padding: 6px 2px; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.price-range { display: flex; gap: 8px; }
.price-range .input { min-height: 40px; padding: 8px 10px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.shop-toolbar .select { width: auto; min-height: 42px; padding: 8px 12px; }
.filter-toggle { display: none; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); background: #fff; border-radius: var(--radius); }
.empty-state i { font-size: 2.6rem; color: var(--line); display: block; margin-bottom: 10px; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .pd-grid { grid-template-columns: 1fr; gap: 18px; } }
.gallery-main { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs button { width: 70px; height: 70px; border-radius: 10px; border: 2px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--navy); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 14px 0; }
.pd-price .price { font-size: 1.9rem; color: var(--navy); }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { background: var(--navy-50); color: var(--navy); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 600; }
.chip-green { background: var(--green-50); color: var(--green); }
.chip-red { background: var(--red-50); color: var(--red-700); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 42px; height: 44px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--navy); }
.qty button:hover { background: var(--navy-50); }
.qty input { width: 48px; text-align: center; border: 0; font-weight: 600; height: 44px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.qty-sm button { width: 32px; height: 34px; font-size: 1rem; }
.qty.qty-sm input { width: 36px; height: 34px; }
.pd-buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.pd-buy .btn { flex: 1; min-width: 150px; }
.pd-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.pd-assure div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: .78rem; text-align: center; color: var(--muted); }
.pd-assure i { display: block; color: var(--navy); font-size: 1.2rem; margin-bottom: 4px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 500; background: var(--bg); }
.description { white-space: pre-line; }

/* ---------- Cart & checkout ---------- */
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 76px; height: 76px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.cart-line .cl-name { font-weight: 600; color: var(--ink); }
.cart-line .cl-controls { display: flex; gap: 12px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.cart-line .cl-total { font-weight: 700; text-align: right; }
.link-btn { background: none; border: 0; padding: 0; color: var(--red); cursor: pointer; font-size: .85rem; font-weight: 500; }
.summary { position: sticky; top: 92px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .93rem; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 700; font-size: 1.1rem; }
.summary-row.discount { color: var(--green); }
.summary-items { max-height: 260px; overflow-y: auto; margin-bottom: 10px; }
.summary-item { display: flex; gap: 10px; align-items: center; font-size: .86rem; padding: 6px 0; }
.summary-item img { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.summary-item .si-name { flex: 1; }
.steps { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.steps span { font-size: .82rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.steps span b { width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; }
.steps span.on b { background: var(--navy); color: #fff; }
.steps span.on { color: var(--navy); }

.choice-list { display: grid; gap: 10px; }
.choice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer; background: #fff; transition: border-color .15s, background .15s;
}
.choice:hover { border-color: #b9c4dd; }
.choice input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.choice.selected { border-color: var(--navy); background: var(--navy-50); }
.choice strong { display: block; }
.choice .ch-side { margin-left: auto; font-weight: 600; white-space: nowrap; }
.pay-box { border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 16px; margin-top: 12px; }
.pay-box .qr { max-width: 220px; margin: 0 auto 12px; background: #fff; padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.pay-detail { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .9rem; margin-bottom: 10px; }
.pay-detail dt { color: var(--muted); }
.pay-detail dd { margin: 0; font-weight: 600; }

.success-box { text-align: center; padding: 36px 22px; }
.success-box .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--green-50); color: var(--green); font-size: 2.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.order-code { font-size: 1.6rem; font-weight: 700; letter-spacing: .08em; color: var(--navy); background: var(--navy-50); display: inline-block; padding: 6px 18px; border-radius: 10px; margin: 8px 0 14px; }

/* ---------- Tracking ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 20px 34px; }
.timeline li::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .7rem; }
.timeline li.done .dot { background: var(--green); }
.timeline li.current .dot { background: var(--navy); box-shadow: 0 0 0 5px var(--navy-50); }
.timeline li.cancel .dot { background: var(--red); }
.timeline strong { display: block; }
.timeline span { font-size: .82rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item i { width: 42px; height: 42px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.map-frame { width: 100%; height: 280px; border: 0; border-radius: var(--radius); margin-top: 16px; background: var(--line); }
.prose { white-space: pre-line; font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1d44; color: #c9d2ea; margin-top: 56px; font-size: .9rem; }
.site-footer .wrap { padding-top: 42px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer a { color: #c9d2ea; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 6px 10px; display: inline-block; margin-bottom: 12px; }
.footer-logo img { height: 38px; }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; }
.pay-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-badges span { background: rgba(255, 255, 255, .1); padding: 3px 10px; border-radius: 6px; font-size: .75rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp & toast ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: var(--shadow-lg);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }
.toast-host { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: calc(100% - 32px); max-width: 420px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .92rem; display: flex; gap: 12px; align-items: center; pointer-events: auto; animation: toast-in .2s ease; }
.toast.error { background: var(--red-700); }
.toast a { color: #fff; font-weight: 700; text-decoration: underline; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Mobile sticky buy bar on product page */
.sticky-buy { display: none; }
@media (max-width: 860px) {
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); padding: 10px 16px; gap: 10px; align-items: center; }
  .sticky-buy .btn { flex: 1; }
  body.has-sticky-buy .wa-float { bottom: 84px; }
  body.has-sticky-buy .site-footer { padding-bottom: 70px; }
}

@media print {
  .site-header, .site-footer, .announce, .topbar, .wa-float, .toast-host { display: none !important; }
}

/* ---------- Checkout: two-up choices & payment QR pop-up ---------- */
.choice-row { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .choice-row { grid-template-columns: 1fr; } }

.pg-modal-host {
  position: fixed; inset: 0; z-index: 150; background: rgba(15, 23, 42, .55);
  display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto;
}
.pg-modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg);
  animation: toast-in .2s ease; max-height: calc(100vh - 32px); display: flex; flex-direction: column;
}
.pg-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 6px 20px; }
.pg-modal-head h3 { margin: 0; font-size: 1.1rem; }
.pg-modal-body { padding: 6px 20px 14px; overflow-y: auto; }
.pg-modal-foot { padding: 12px 20px 18px; border-top: 1px solid var(--line); }
.qr-amount { background: var(--navy-50); border-radius: 12px; padding: 12px; text-align: center; margin-bottom: 14px; }
.qr-amount span { display: block; font-size: .82rem; color: var(--muted); }
.qr-amount strong { font-size: 1.7rem; color: var(--navy); }
.qr-amount em { display: block; font-size: .78rem; color: var(--red-700); font-style: normal; margin-top: 4px; }
.qr-big { width: 100%; max-width: 280px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.qr-id { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 12px 0 0; font-size: .92rem; }
.qr-id span { color: var(--muted); }
.qr-actions { display: flex; justify-content: center; margin: 12px 0 0; }
.qr-steps { margin: 16px 0 10px; padding-left: 20px; font-size: .9rem; }
.qr-steps li { margin-bottom: 6px; }
@media (max-width: 520px) {
  .pg-modal-host { padding: 0; align-items: flex-end; }
  .pg-modal { border-radius: 18px 18px 0 0; max-height: 94vh; }
}

/* Spam trap: hidden from people, bots fill it in */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
