/* ============================================================
   دكان عُمان — التصميم الرئيسي (Light / RTL)
   ============================================================ */
:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --surface-2: #F1F6F3;
  --ink: #17302B;
  --ink-2: #44615B;
  --muted: #7F938E;
  --primary: #0C7C5F;
  --primary-2: #095E48;
  --primary-soft: #E3F2EC;
  --primary-softer: #F2F9F5;
  --accent: #F4A623;
  --accent-soft: #FDF3DE;
  --sale: #E5484D;
  --sale-soft: #FDEBEC;
  --wa: #25D366;
  --wa-2: #1DAF54;
  --line: #E9E5DC;
  --shadow-1: 0 1px 2px rgba(23, 48, 43, .05), 0 1px 4px rgba(23, 48, 43, .04);
  --shadow-2: 0 6px 18px -4px rgba(23, 48, 43, .10), 0 2px 6px rgba(23, 48, 43, .05);
  --shadow-3: 0 20px 45px -14px rgba(23, 48, 43, .20);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-full: 999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border: 0; border-radius: var(--r-full);
  font-size: 1rem; font-weight: 700; line-height: 1.4;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(12, 124, 95, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -6px rgba(12, 124, 95, .6); }

.btn-ghost {
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-1);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-cart {
  background: var(--surface); color: var(--primary-2);
  border: 2px solid var(--primary);
  font-weight: 800; padding: 14px 28px; border-radius: var(--r);
}
.btn-cart:hover { background: var(--primary-soft); transform: translateY(-2px); }
.btn-cart.is-added { background: var(--primary); color: #fff; }

.btn-lg { padding: 15px 32px; font-size: 1.07rem; }
.btn-block { width: 100%; }

.btn-order {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-size: 1.15rem; font-weight: 800;
  padding: 16px 28px; border-radius: var(--r);
  box-shadow: 0 8px 22px -6px rgba(12, 124, 95, .55);
  animation: orderPulse 2.6s ease-in-out infinite;
}
.btn-order:hover { transform: translateY(-2px); animation-play-state: paused; }
@keyframes orderPulse {
  0%, 100% { box-shadow: 0 8px 22px -6px rgba(12, 124, 95, .5); }
  50% { box-shadow: 0 8px 30px -4px rgba(12, 124, 95, .75); }
}

/* ============ Announcement bar ============ */
.announce {
  background: linear-gradient(90deg, var(--primary-2), var(--primary), var(--primary-2));
  color: #fff; font-size: .88rem; font-weight: 600;
  padding: 8px 0; text-align: center;
}
.announce-inner { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.announce-dot { opacity: .5; }

/* ============ Header ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-1); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 900; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #14A87E);
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 12px -3px rgba(12, 124, 95, .5);
}
.logo-mark svg { width: 21px; height: 21px; }

.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-link {
  padding: 8px 15px; border-radius: var(--r-full);
  font-weight: 600; font-size: .96rem; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--primary-softer); color: var(--primary); }
.nav-link.is-active { background: var(--primary-soft); color: var(--primary-2); }

.cart-link {
  position: relative; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-softer); color: var(--primary-2);
  transition: background .15s, transform .15s;
}
.cart-link:hover { background: var(--primary-soft); transform: translateY(-2px); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; inset-inline-end: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--sale, #E4423F); color: #fff;
  font-size: .72rem; font-weight: 800; line-height: 20px;
  text-align: center; border-radius: var(--r-full);
}

.menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 10px;
  margin-inline-start: auto;
}
.menu-btn span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; padding: 10px 20px 18px;
  border-top: 1px solid var(--line); background: var(--surface);
}
.mobile-nav.is-open { display: flex; }
.mobile-link {
  padding: 13px 10px; font-weight: 700; border-bottom: 1px solid var(--surface-2);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-count {
  background: var(--primary-soft); color: var(--primary-2);
  font-size: .8rem; padding: 1px 10px; border-radius: var(--r-full);
}
.mobile-cart { color: var(--primary-2); border-bottom: 0; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding: 64px 0 76px; }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.hero-blob-1 { width: 480px; height: 480px; background: rgba(12, 124, 95, .14); top: -160px; inset-inline-start: -120px; }
.hero-blob-2 { width: 420px; height: 420px; background: rgba(244, 166, 35, .16); bottom: -180px; inset-inline-end: -100px; }

.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
}
.hero-chip {
  display: inline-block; background: var(--surface); border: 1px solid var(--line);
  padding: 6px 16px; border-radius: var(--r-full);
  font-size: .88rem; font-weight: 700; color: var(--primary-2);
  box-shadow: var(--shadow-1); margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 900;
  line-height: 1.25; margin-bottom: 16px; letter-spacing: -.5px;
}
.hero-highlight {
  background: linear-gradient(120deg, var(--primary) 30%, #16A57C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.hero-sub {
  font-size: 1.08rem; color: var(--ink-2); max-width: 480px; margin-bottom: 26px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-cta .btn-primary svg { transform: scaleX(-1); }

.hero-trust { display: flex; align-items: center; gap: 22px; }
.hero-trust-item { display: flex; flex-direction: column; }
.hero-trust-item strong { font-size: 1.25rem; font-weight: 900; color: var(--primary-2); }
.hero-trust-item span { font-size: .85rem; color: var(--muted); }
.hero-trust-sep { width: 1px; height: 38px; background: var(--line); }

.hero-cards { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-card {
  position: relative; background: var(--surface); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-card:hover { transform: translateY(-6px) rotate(0deg) !important; box-shadow: var(--shadow-3); }
.hero-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.hero-card-info { padding: 12px 14px 14px; }
.hero-card-title {
  display: block; font-weight: 700; font-size: .88rem; line-height: 1.45;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-card-price { color: var(--primary); font-weight: 900; font-size: 1.02rem; }
.hero-card-sale {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: var(--sale); color: #fff; font-size: .8rem; font-weight: 800;
  padding: 3px 11px; border-radius: var(--r-full);
  box-shadow: 0 4px 10px -2px rgba(229, 72, 77, .5);
}
.hero-card-1 { transform: rotate(-1.5deg); }
.hero-card-2 { transform: rotate(1.8deg) translateY(22px); }
.hero-card-3 { transform: rotate(-1deg) translateY(-6px); grid-column: 1 / -1; max-width: 62%; margin-inline: auto; }
.hero-card-3 img { aspect-ratio: 16/8.5; }

/* ============ Trust strip ============ */
.trust { padding: 8px 0 0; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 26px;
  box-shadow: var(--shadow-1);
}
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-icon {
  font-size: 1.55rem; width: 52px; height: 52px; flex: none;
  background: var(--primary-softer); border-radius: 14px;
  display: grid; place-items: center;
}
.trust-item strong { display: block; font-size: .98rem; font-weight: 800; }
.trust-item span:not(.trust-icon) { font-size: .84rem; color: var(--muted); }

/* ============ Sections ============ */
.section { padding: 72px 0; }
.section-alt {
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(244, 166, 35, .07), transparent),
    radial-gradient(700px 320px at 10% 100%, rgba(12, 124, 95, .07), transparent),
    var(--surface);
  border-block: 1px solid var(--line);
}
.section-head { text-align: center; max-width: 560px; margin: 0 auto 40px; }
.section-eyebrow {
  display: inline-block; background: var(--accent-soft); color: #B47B0B;
  font-size: .85rem; font-weight: 800; padding: 4px 16px;
  border-radius: var(--r-full); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 1.02rem; }

/* ============ Category chips ============ */
.cat-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1.5px solid var(--line);
  padding: 7px 18px; border-radius: var(--r-full);
  font-weight: 700; font-size: .93rem; color: var(--ink-2);
  transition: all .18s;
}
.cat-chip span {
  background: var(--surface-2); font-size: .78rem; padding: 0 8px;
  border-radius: var(--r-full); color: var(--muted);
}
.cat-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.cat-chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 5px 14px -4px rgba(12, 124, 95, .5); }
.cat-chip.is-active span { background: rgba(255, 255, 255, .22); color: #fff; }

/* ============ Product grid & cards ============ */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-1); display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }

.card-media { position: relative; overflow: hidden; background: #fff; }
.card-media img { aspect-ratio: 1; object-fit: contain; width: 100%; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.05); }

.card-sale {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  background: var(--sale); color: #fff;
  font-size: .8rem; font-weight: 800; padding: 3px 12px;
  border-radius: var(--r-full); box-shadow: 0 4px 12px -2px rgba(229, 72, 77, .55);
}
.card-badge {
  position: absolute; bottom: 14px; inset-inline-end: 14px; z-index: 2;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  color: var(--ink); font-size: .78rem; font-weight: 800;
  padding: 4px 12px; border-radius: var(--r-full); box-shadow: var(--shadow-1);
}

.card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: .8rem; font-weight: 700; color: var(--primary); }
.card-title { font-size: 1.05rem; font-weight: 800; line-height: 1.5; }
.card-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.card-title a:hover { color: var(--primary); }

/* stars */
.stars { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; line-height: 1; }
.stars-bg { color: #E3DFD4; letter-spacing: 2px; }
.stars-fill {
  position: absolute; top: 0; inset-inline-start: 0;
  color: var(--accent); letter-spacing: 2px;
  overflow: hidden; white-space: nowrap;
}
.stars-num { color: var(--muted); font-size: .82rem; font-weight: 600; margin-inline-start: 2px; }
.stars-lg { font-size: 1.1rem; }

.card-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price { font-size: 1.35rem; font-weight: 900; color: var(--primary-2); }
.price small { font-size: .85rem; font-weight: 700; }
.price-old { color: var(--muted); font-size: .92rem; font-weight: 600; }
.card-btn { margin-top: 6px; }

.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

/* ============ Steps ============ */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 18px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 26px 26px;
  text-align: center; flex: 1; max-width: 300px;
  box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.step-num {
  position: absolute; top: -17px; inset-inline-start: 50%; transform: translateX(50%);
  width: 34px; height: 34px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #E2920B);
  color: #fff; font-weight: 900; border-radius: 50%;
  box-shadow: 0 5px 12px -3px rgba(244, 166, 35, .6);
}
.step-icon { font-size: 2.3rem; display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: .93rem; }
.step-arrow { align-self: center; font-size: 1.6rem; color: var(--muted); flex: none; }

/* ============ Why banner ============ */
.why-banner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #0B3D30, var(--primary-2) 55%, #0E8A6A);
  border-radius: calc(var(--r-lg) + 6px); padding: 48px 52px;
  color: #fff; box-shadow: var(--shadow-3);
  position: relative; overflow: hidden;
}
.why-banner::before {
  content: ''; position: absolute; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
  top: -120px; inset-inline-end: -80px;
}
.why-content h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; margin-bottom: 18px; }
.why-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.why-list li { padding-inline-start: 30px; position: relative; font-size: 1rem; opacity: .95; }
.why-list li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); display: grid; place-items: center;
  font-size: .8rem; font-weight: 900; margin-top: 3px;
}
.why-list strong { font-weight: 800; }
.why-art { position: relative; display: grid; place-items: center; min-height: 220px; }
.why-emoji { font-size: 6.5rem; position: relative; z-index: 1; animation: floaty 3.5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.why-ring {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .3);
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Breadcrumb ============ */
.breadcrumb {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .88rem; color: var(--muted); padding: 22px 0 6px;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-current { color: var(--ink-2); font-weight: 600; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ============ Product page ============ */
.product-page { padding-bottom: 80px; }
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  margin-top: 14px; align-items: start;
}

.gallery { position: sticky; top: 92px; }
.gallery-main {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-2);
}
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.gallery-sale { font-size: .95rem; padding: 5px 16px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
  width: 76px; height: 76px; border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid var(--line); background: #fff;
  padding: 0; transition: border-color .15s, transform .15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.gallery-trust {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px;
}
.gallery-trust span {
  background: var(--surface); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 700; color: var(--ink-2);
  padding: 5px 13px; border-radius: var(--r-full);
}

.product-badge {
  display: inline-block; background: var(--accent-soft); color: #B47B0B;
  font-weight: 800; font-size: .88rem; padding: 4px 16px;
  border-radius: var(--r-full); margin-bottom: 12px;
}
.product-title { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 900; line-height: 1.35; margin-bottom: 12px; }

.product-price {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 0; margin: 14px 0;
  border-block: 1px dashed var(--line);
}
.price-xl { font-size: 2.1rem; }
.price-xl small { font-size: 1rem; }
.price-save {
  background: var(--sale-soft); color: var(--sale);
  font-size: .85rem; font-weight: 800; padding: 3px 13px; border-radius: var(--r-full);
}
.product-short { color: var(--ink-2); font-size: 1.04rem; margin-bottom: 16px; }

.urgency {
  display: flex; align-items: center; gap: 10px;
  background: var(--sale-soft); border: 1px solid #F6C6C8;
  color: #B3262B; font-weight: 700; font-size: .93rem;
  padding: 10px 16px; border-radius: var(--r); margin-bottom: 18px;
}
.urgency-pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--sale); flex: none;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .5); }
  50% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0); }
}

.feature-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .98rem; color: var(--ink-2); }
.feature-list svg {
  width: 21px; height: 21px; flex: none; margin-top: 3px;
  color: var(--primary); background: var(--primary-soft);
  border-radius: 50%; padding: 4px;
}
.feature-list-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 0; }

/* ============ Order card ============ */
.order-card {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: calc(var(--r-lg) + 2px);
  padding: 26px;
  box-shadow: 0 16px 40px -14px rgba(12, 124, 95, .35);
  scroll-margin-top: 90px;
  position: relative;
}
.order-card::before {
  content: 'الطلب آمن ١٠٠٪'; position: absolute; top: -13px; inset-inline-end: 22px;
  background: var(--primary); color: #fff; font-size: .78rem; font-weight: 800;
  padding: 2px 14px; border-radius: var(--r-full);
}
.order-head h2 { font-size: 1.25rem; font-weight: 900; margin-bottom: 4px; }
.order-head p { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }

.form-error {
  background: var(--sale-soft); border: 1px solid #F6C6C8; color: #B3262B;
  font-size: .9rem; font-weight: 700; padding: 11px 15px;
  border-radius: var(--r-sm); margin-bottom: 14px;
}

.order-form { display: flex; flex-direction: column; gap: 14px; }
.hp { position: absolute; opacity: 0; height: 0; width: 0; pointer-events: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-size: 1rem; background: var(--bg); color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3.5px var(--primary-soft);
}
.field-hint { color: var(--muted); font-size: .8rem; }

.phone-wrap { display: flex; align-items: stretch; direction: ltr; }
.phone-code {
  display: grid; place-items: center; padding: 0 14px;
  background: var(--surface-2); border: 1.5px solid var(--line); border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  font-weight: 800; color: var(--ink-2); font-size: .95rem;
}
.phone-wrap input { border-radius: 0 var(--r-sm) var(--r-sm) 0; text-align: left; letter-spacing: 1px; }

.qty-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--r-full);
  overflow: hidden; background: var(--bg);
}
.qty-btn {
  width: 42px; height: 42px; border: 0; background: none;
  font-size: 1.3rem; font-weight: 800; color: var(--primary);
  transition: background .15s;
}
.qty-btn:hover { background: var(--primary-soft); }
.qty input {
  width: 48px; border: 0; background: none; text-align: center;
  font-size: 1.05rem; font-weight: 800; color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-total { font-size: .95rem; color: var(--ink-2); }
.qty-total strong { color: var(--primary-2); font-size: 1.25rem; font-weight: 900; }
.qty-total small { display: block; color: var(--wa-2); font-weight: 700; }

.order-note { text-align: center; font-size: .8rem; color: var(--muted); }
.order-divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--muted); font-size: .85rem; font-weight: 700; margin: 16px 0;
}
.order-divider::before, .order-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ============ Product sections ============ */
.product-section { margin-top: 60px; }
.product-section-title {
  font-size: 1.45rem; font-weight: 900; margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.product-section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.product-desc { max-width: 780px; }
.product-desc p { color: var(--ink-2); font-size: 1.03rem; margin-bottom: 14px; }

.video-wrap {
  position: relative; max-width: 780px; aspect-ratio: 16/9;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
.review {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-1);
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--primary), #16A57C);
  color: #fff; font-weight: 900; font-size: 1.1rem;
  display: grid; place-items: center;
}
.review-name { display: block; font-size: .95rem; }
.review-verified { color: var(--wa-2); font-size: .75rem; font-weight: 700; }
.review-city { color: var(--muted); font-size: .8rem; }
.review-stars { margin-inline-start: auto; font-size: .85rem; }
.review-text { color: var(--ink-2); font-size: .95rem; }

/* FAQ */
.faq { max-width: 780px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  font-weight: 800; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--primary-softer); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--primary-soft); color: var(--primary-2);
  display: grid; place-items: center; font-weight: 800;
  transition: transform .2s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; color: var(--ink-2); font-size: .96rem; }

/* ============ Sticky mobile CTA ============ */
.sticky-cta {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 60;
  display: none; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(23, 48, 43, .1);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-price { display: flex; flex-direction: column; line-height: 1.3; }
.sticky-price strong { font-size: 1.15rem; font-weight: 900; color: var(--primary-2); }
.sticky-price del { font-size: .8rem; color: var(--muted); }
.sticky-btn { flex: 1; animation: none; padding: 13px 18px; font-size: 1.02rem; }

/* ============ Thanks page ============ */
.thanks { min-height: 55vh; display: flex; align-items: center; }
.thanks-inner { text-align: center; max-width: 560px; }
.thanks-check {
  width: 86px; height: 86px; margin: 0 auto 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #16A57C);
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(12, 124, 95, .55);
  animation: popIn .5s cubic-bezier(.34, 1.56, .64, 1);
}
.thanks-check svg { width: 42px; height: 42px; }
@keyframes popIn { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thanks h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900; margin-bottom: 10px; }
.thanks-sub { color: var(--ink-2); margin-bottom: 26px; }
.thanks-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 26px; text-align: start;
  box-shadow: var(--shadow-2); margin-bottom: 16px;
}
.thanks-row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 9px 0; border-bottom: 1px dashed var(--line);
  font-size: .95rem;
}
.thanks-row:last-child { border-bottom: 0; }
.thanks-row span { color: var(--muted); flex: none; }
.thanks-row strong { text-align: end; }
.thanks-ref { color: var(--primary-2); font-size: 1.1rem; letter-spacing: 1px; }
.thanks-total { font-size: 1.05rem; }
.thanks-total strong { color: var(--primary-2); font-size: 1.2rem; }
.thanks-note { color: var(--muted); font-size: .88rem; margin-bottom: 26px; }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nf-emoji { font-size: 4.5rem; margin-bottom: 14px; }

/* ============ Category hero ============ */
.cat-hero { padding-top: 10px; }

/* ============ Footer ============ */
.footer {
  background: #0E2B23; color: #C9DAD4;
  padding: 56px 0 24px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 38px; padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: 1.25rem; font-weight: 900; margin-bottom: 14px;
}
.footer-desc { font-size: .92rem; opacity: .85; margin-bottom: 16px; max-width: 320px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .8rem; font-weight: 700; padding: 4px 13px; border-radius: var(--r-full);
}
.footer-col h4 { color: #fff; font-size: 1.02rem; font-weight: 800; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .92rem; opacity: .85; transition: opacity .15s, color .15s; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-col li { font-size: .92rem; opacity: .85; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 22px; font-size: .85rem; opacity: .75;
}

/* ============ Checkout ============ */
.checkout-page { padding-bottom: 70px; }
.checkout-layout {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 28px; align-items: start; margin-top: 26px;
}
.checkout-summary {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-1);
}
.checkout-box-title { font-size: 1.15rem; font-weight: 900; margin-bottom: 16px; }
.checkout-section-title {
  font-size: 1.05rem; font-weight: 900; margin-top: 6px;
  padding-top: 14px; border-top: 1px dashed var(--line);
}
.checkout-form-card { position: static; }
.req { color: #E4423F; margin-inline-start: 3px; }

.co-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.co-item-img {
  width: 72px; height: 72px; flex: none; object-fit: cover;
  border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg);
}
.co-item-info { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.co-item-title { font-weight: 800; font-size: .95rem; }
.co-item-title:hover { color: var(--primary); }
.co-item-price { color: var(--muted); font-size: .85rem; }
.co-item-qty { display: flex; align-items: center; gap: 10px; }
.co-item-qty label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.qty-sm .qty-btn { width: 32px; height: 32px; font-size: 1.1rem; }
.qty-sm input { width: 36px; font-size: .95rem; }
.co-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.co-item-total { color: var(--primary-2); font-weight: 900; }
.co-item-remove {
  border: 0; background: none; font-size: 1rem; opacity: .6;
  padding: 4px; transition: opacity .15s, transform .15s;
}
.co-item-remove:hover { opacity: 1; transform: scale(1.15); }

.checkout-totals { margin-top: 16px; }
.checkout-total-row {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: .95rem; color: var(--ink-2);
}
.checkout-grand {
  border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px;
  font-size: 1.05rem; font-weight: 800; color: var(--ink);
}
.checkout-grand strong { color: var(--primary-2); font-size: 1.25rem; }
.checkout-empty { text-align: center; padding: 26px 0; }
.checkout-empty p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-cards { max-width: 560px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-banner { grid-template-columns: 1fr; padding: 38px 30px; }
  .why-art { display: none; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .hero { padding: 40px 0 50px; }
  .hero-trust { gap: 14px; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
  .step-arrow { transform: rotate(90deg); }
  .section { padding: 52px 0; }
  .sticky-cta { display: flex; }
  .checkout-layout { grid-template-columns: 1fr; }
  .feature-list-cols { grid-template-columns: 1fr; }
  .order-card { padding: 20px 16px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .grid, .grid-4 { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .hero-card-3 { display: none; }
  .trust-grid { grid-template-columns: 1fr; padding: 18px; }
  .announce { font-size: .78rem; }
  .announce-hide-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding-inline: 16px; }
}
