/* =========================================================
   skirent-il — "Alpine" design system (v3)
   Fonts: Rubik (headings) + Assistant (body) — full Hebrew support
   ========================================================= */

:root {
  /* palette */
  --night: #0b1a2e;
  --night-2: #13294a;
  --ink: #0f1d33;
  --ink-2: #33435c;
  --muted: #6b7a90;
  --line: #e4e9f1;
  --line-2: #d3dbe7;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --ice: #eaf2fd;
  --glacier: #2f7cf6;
  --accent: #ff5a1f;
  --accent-2: #ff8743;
  --accent-soft: #fff1ea;
  --success: #12a150;
  --success-soft: #e7f7ee;
  --danger: #e5484d;
  --danger-soft: #fdeced;
  --whatsapp: #25d366;
  --bit: #00b8c2;
  --paybox: #5b2bd6;

  /* legacy names still referenced from JS templates */
  --primary: var(--night);
  --secondary: var(--glacier);
  --bundle: var(--accent);

  /* shape */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --shadow-xs: 0 1px 2px rgba(15, 29, 51, .06);
  --shadow-sm: 0 2px 6px rgba(15, 29, 51, .05), 0 8px 24px rgba(15, 29, 51, .06);
  --shadow: 0 12px 32px rgba(15, 29, 51, .12);
  --shadow-lg: 0 30px 80px rgba(8, 18, 36, .28);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --font-head: 'Rubik', 'Assistant', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Assistant', 'Rubik', 'Segoe UI', Arial, sans-serif;
  --topbar-h: 72px;
}

/* ---------- RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }

.muted { color: var(--muted); }
.center { text-align: center; }
.small { font-size: .88rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 24px rgba(255, 90, 31, .35); }
.btn-accent:hover { box-shadow: 0 14px 30px rgba(255, 90, 31, .45); }
.btn-primary { background: var(--night); color: #fff; box-shadow: 0 8px 20px rgba(11, 26, 46, .22); }
.btn-primary:hover { background: var(--night-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-soft { background: #eef2f7; color: var(--ink-2); }
.btn-soft:hover { background: #e3e9f1; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--night); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); }

/* ---------- TOP BAR ---------- */
.topbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.topbar.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 29, 51, .07); }
.topbar-inner {
  max-width: 1240px; height: var(--topbar-h); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--night), var(--glacier));
  box-shadow: 0 6px 16px rgba(47, 124, 246, .35);
}
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--ink); direction: ltr; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px;
  font-weight: 700; font-size: .95rem; color: var(--ink-2);
  text-decoration: none; cursor: pointer; user-select: none;
  transition: background .2s, color .2s;
}
.nav-link:hover { background: #eef2f7; color: var(--ink); }
.nav-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-cart {
  margin-inline-start: 8px; padding: 10px 16px;
  background: var(--night); color: #fff;
  box-shadow: 0 8px 18px rgba(11, 26, 46, .22);
}
.nav-cart:hover { background: var(--night-2); color: #fff; }
.cart-badge {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--accent); color: #fff;
  font-size: .78rem; font-weight: 800; line-height: 1;
}

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  margin: 12px 12px 0; border-radius: 32px;
  padding: 96px 24px 110px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(6, 15, 30, .9) 0%, rgba(9, 24, 48, .72) 42%, rgba(9, 24, 48, .2) 100%),
    url('images/ski-mountains.jpg') center 40% / cover no-repeat,
    url('https://images.unsplash.com/photo-1551524559-8af4e6624178?auto=format&fit=crop&w=1920&q=80') center / cover no-repeat,
    var(--night);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 15, 30, .35));
}
.hero-snow {
  position: absolute; inset: -100% 0 0 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90px 120px, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 160px 60px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 230px 180px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 300px 90px, #fff 50%, transparent 51%);
  background-size: 320px 220px;
  animation: snow 18s linear infinite;
}
@keyframes snow { to { transform: translateY(50%); } }

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .88rem; font-weight: 700; letter-spacing: .02em;
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .3); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 18px; max-width: 14ch;
}
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255, 255, 255, .85); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 30px 0 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.hero-trust li::before {
  content: "✓"; width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-items: center; font-size: .75rem; font-weight: 900;
  background: rgba(18, 161, 80, .9); color: #fff;
}

.hero-card {
  padding: 28px; border-radius: var(--r-lg);
  background: rgba(10, 22, 42, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow-lg);
  animation: rise .9s var(--ease) .15s both;
}
.hero-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-card-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.hero-card-tag { padding: 5px 12px; border-radius: 999px; background: var(--accent); font-size: .78rem; font-weight: 800; }
.hero-card-price { font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; margin: 14px 0 16px; letter-spacing: -.02em; }
.hero-card .btn { margin-top: 20px; }

/* check list */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 900;
  background: var(--success-soft); color: var(--success);
}
.check-list.light li { color: rgba(255, 255, 255, .92); }
.check-list.light li::before { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- LAYOUT ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px 80px; }
.section { margin-top: 88px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-head h2, .faq-section h2, .policy-section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}

/* ---------- FEATURES ---------- */
.features {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: -48px;
}
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.feature-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ice); font-size: 1.4rem; }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .95rem; line-height: 1.5; }

.about-section { max-width: 860px; margin: 56px auto 0; text-align: center; }
.about-section p { font-size: 1.15rem; line-height: 1.9; color: var(--ink-2); }
.about-section strong { color: var(--ink); font-weight: 800; }

/* ---------- BUNDLES ---------- */
.bundle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 920px; margin: 0 auto; }
.bundle-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.bundle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bundle-card .check-list { margin: 22px 0 28px; flex: 1; }
.bundle-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.bundle-desc { color: var(--muted); margin-top: 4px; min-height: 1.6em; }
.bundle-price { font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; letter-spacing: -.02em; margin-top: 18px; color: var(--ink); }
.bundle-card.featured {
  color: #fff; border-color: transparent;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(47, 124, 246, .45), transparent 60%),
    linear-gradient(160deg, var(--night-2), var(--night));
  box-shadow: 0 24px 60px rgba(11, 26, 46, .35);
}
.bundle-card.featured .bundle-name, .bundle-card.featured .bundle-price { color: #fff; }
.bundle-card.featured .bundle-desc { color: rgba(255, 255, 255, .7); }
.ribbon {
  position: absolute; top: 20px; inset-inline-end: 20px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800;
}

/* ---------- BOOKING ---------- */
.booking-card {
  padding: 30px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.booking-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.booking-head h2 { font-size: 1.5rem; font-weight: 800; }
.booking-head p { color: var(--muted); }
.step-num {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-head); font-weight: 900; font-size: 1.3rem;
}
.date-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; align-items: end; }
.duration-box {
  height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
#duration-info {
  min-height: 50px; display: flex; align-items: center; justify-content: center;
  padding: 0 16px; border-radius: 14px;
  background: var(--ice); color: var(--glacier);
  font-family: var(--font-head); font-weight: 700;
}
.status-note { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.cloud-status {
  display: none; margin-top: 14px; padding: 12px 16px; border-radius: 12px;
  background: #fff7e6; border: 1px solid #ffe2a8; color: #8a5300; font-size: .9rem;
}

/* ---------- FORM FIELDS ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; text-align: start; }
.date-fields .field { margin-bottom: 0; }
.field-label { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, select, textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px; margin: 0;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
select {
  padding-inline-end: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2333435c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center;
}
[dir="ltr"] select { background-position: right 14px center; }
textarea { min-height: 96px; resize: vertical; }
input[type="date"] { cursor: pointer; }
input:hover, select:hover, textarea:hover { border-color: #b7c3d4; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--glacier); box-shadow: 0 0 0 4px rgba(47, 124, 246, .15); }
.input-block { width: 100%; margin-bottom: 12px; }
.error-text { color: var(--danger); font-size: .9rem; margin: 4px 0 10px; font-weight: 600; }

/* ---------- FILTERS ---------- */
.filters {
  display: grid; gap: 12px;
  padding: 18px 20px; margin-bottom: 8px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
}
.filter-row { display: flex; align-items: center; gap: 14px; min-width: 0; }
.filter-label { flex: none; width: 52px; font-size: .85rem; font-weight: 800; color: var(--muted); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cat-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  font-family: var(--font-body); font-size: .95rem; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: all .2s var(--ease);
}
.cat-btn:hover { border-color: var(--ink); color: var(--ink); }
.cat-btn.active { background: var(--night); border-color: var(--night); color: #fff; box-shadow: 0 6px 16px rgba(11, 26, 46, .2); }

/* ---------- CATALOG ---------- */
.category-block { margin-top: 44px; }
.category-title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.45rem; font-weight: 800; }
.category-title::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.cat-ic {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: inline-grid; place-items: center;
  background: #fff; border: 1px solid var(--line); font-size: 1.2rem;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.grid:empty { display: none; }

.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  animation: rise .5s var(--ease) both;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.img-container {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, #eef2f7 75%);
}
.img-container img { width: 100%; height: 100%; object-fit: contain; padding: 18px; cursor: zoom-in; transition: transform .5s var(--ease); }
.card:hover .img-container img { transform: scale(1.06); }
.img-slider { position: relative; width: 100%; height: 100%; }
.card-tag {
  position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 800; color: var(--ink-2);
}
.image-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .9); color: var(--ink);
  font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-sm);
}
.image-nav-btn.prev { left: 8px; }
.image-nav-btn.next { right: 8px; }

.card-body { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 18px; flex: 1; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card h3 { font-size: 1.05rem; font-weight: 700; }
.card-price { flex: none; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.card-price small { font-family: var(--font-body); font-weight: 600; font-size: .75rem; color: var(--muted); margin-inline-start: 3px; }
.card-row { display: flex; align-items: center; gap: 10px; }
.card-label { flex: none; width: 44px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.card-select { flex: 1; min-height: 40px; padding: 6px 12px; padding-inline-end: 32px; border-radius: 10px; font-weight: 700; font-size: .95rem; background-position: left 10px center; }
[dir="ltr"] .card-select { background-position: right 10px center; }
.size-link { flex: none; color: var(--glacier); font-size: .85rem; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.size-link:hover { color: var(--night); }
.qty-stock { font-size: .78rem; color: var(--muted); }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button {
  width: 36px; height: 36px; border: 0; background: transparent;
  font-size: 1.15rem; font-weight: 700; color: var(--ink); cursor: pointer;
  transition: background .15s;
}
.stepper button:hover:not(:disabled) { background: #eef2f7; }
.stepper button:disabled { color: #b9c3d1; cursor: not-allowed; }
.stepper input { width: 36px; min-height: 36px; height: 36px; padding: 0; border: 0; border-radius: 0; text-align: center; font-weight: 800; box-shadow: none !important; }
.stepper.sm { margin-top: 8px; }
.stepper.sm button { width: 30px; height: 30px; }
.stepper.sm b { min-width: 26px; text-align: center; }

.btn-select {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 48px; margin-top: auto; padding: 12px 16px;
  border: 1.5px solid transparent; border-radius: 12px;
  background: var(--night); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn-select:hover:not(:disabled) { background: var(--accent); box-shadow: 0 10px 22px rgba(255, 90, 31, .3); transform: translateY(-1px); }
.btn-select.in-cart { background: var(--success-soft); color: var(--success); border-color: rgba(18, 161, 80, .35); }
.btn-select.in-cart:hover:not(:disabled) { background: var(--success); color: #fff; box-shadow: none; }
.btn-select.disabled-btn, .btn-select:disabled { background: #eef1f5; color: var(--muted); border-color: var(--line); cursor: not-allowed; box-shadow: none; transform: none; }
.card.size-blocked .img-container img { filter: grayscale(.9); opacity: .55; }

/* ---------- REVIEWS BAND ---------- */
.reviews-band {
  display: flex; align-items: center; gap: 28px;
  margin-top: 88px; padding: 34px 38px; border-radius: var(--r-lg);
  color: #fff;
  background:
    radial-gradient(90% 140% at 0% 100%, rgba(255, 90, 31, .35), transparent 55%),
    linear-gradient(120deg, var(--night), #1b3a6b);
  box-shadow: 0 24px 60px rgba(11, 26, 46, .25);
}
.reviews-band-stars { font-size: 1.6rem; letter-spacing: 3px; color: #fbbf24; direction: ltr; flex: none; }
.reviews-band-copy { flex: 1; }
.reviews-band h2 { color: #fff; font-size: 1.6rem; font-weight: 800; }
.reviews-band p { color: rgba(255, 255, 255, .78); margin-top: 6px; }

/* ---------- FAQ + POLICY ---------- */
.info-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
.faq-section, .policy-section {
  padding: 34px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.faq-section h2, .policy-section h2 { font-size: 1.6rem; margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: #eef2f7; color: var(--ink); font-size: 1.2rem; font-weight: 700;
  transition: transform .25s var(--ease), background .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-item h4 { font-size: 1.05rem; font-weight: 700; }
.faq-item p { padding: 0 0 18px; color: var(--muted); line-height: 1.75; }

.policy-list { list-style: none; counter-reset: pol; padding: 0; margin: 0; display: grid; gap: 14px; }
.policy-list li { counter-increment: pol; display: flex; gap: 12px; color: var(--ink-2); line-height: 1.6; }
.policy-list li::before {
  content: counter(pol); flex: none; width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--ice); color: var(--glacier);
  font-family: var(--font-head); font-weight: 800; font-size: .85rem;
}

/* ---------- FOOTER ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .78); padding: 56px 24px 24px; }
.footer-inner { max-width: 1192px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col p { margin-bottom: 8px; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-actions { display: flex; flex-direction: column; gap: 10px; }
.footer-actions .wa-btn { margin: 0; }
.footer-bottom {
  max-width: 1192px; margin: 40px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: .85rem; color: rgba(255, 255, 255, .5);
}
.admin-link { background: none; border: 0; color: rgba(255, 255, 255, .4); font-size: .8rem; cursor: pointer; padding: 6px; }
.admin-link:hover { color: #fff; }

/* WhatsApp */
.wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 50px; padding: 12px 18px;
  border-radius: 14px; border: 0;
  background: var(--whatsapp); color: #fff !important;
  font-family: var(--font-head); font-weight: 700; text-decoration: none; text-align: center;
  box-shadow: 0 10px 22px rgba(37, 211, 102, .3);
  transition: transform .2s var(--ease), filter .2s;
}
.wa-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.wa-fab {
  position: fixed; z-index: 900; bottom: 24px; left: 24px;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whatsapp); box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  transition: transform .2s var(--ease);
}
[dir="ltr"] .wa-fab { left: auto; right: 24px; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- OVERLAY / MODALS ---------- */
.overlay {
  display: none; position: fixed; inset: 0; z-index: 1500;
  background: rgba(6, 14, 28, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade .2s ease both;
}
.modal {
  display: none; position: fixed; z-index: 2000;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: calc(100% - 32px); max-width: 520px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: pop .3s var(--ease) both;
}
.modal[style*="block"] { display: flex !important; flex-direction: column; }
.modal-wide { max-width: 600px; }
.modal-over { z-index: 2600; }
.modal-top { z-index: 3500; max-width: 480px; }
.modal-header {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.modal-header h3 { font-size: 1.2rem; font-weight: 800; }
.modal-close {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: #eef2f7; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: #e1e7ef; transform: rotate(90deg); }
.modal-body { flex: 1; min-height: 0; overflow-y: auto; padding: 22px; overscroll-behavior: contain; }
.modal-footer { flex: none; padding: 14px 22px 20px; border-top: 1px solid var(--line); }
.modal-footer .btn-select { margin: 0; }
.stack { display: grid; gap: 10px; margin-top: 18px; }

/* cart */
.empty-state { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty-ic { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #eef2f7; font-size: 2rem; }
.cart-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px; margin-bottom: 10px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
}
.ci-thumb { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: contain; padding: 4px; background: #f3f6fa; }
.ci-info { flex: 1; min-width: 0; }
.ci-name { font-weight: 800; }
.ci-meta { font-size: .85rem; color: var(--muted); }
.ci-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ci-price { font-family: var(--font-head); font-weight: 800; }
.remove-btn {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-grid; place-items: center;
  color: var(--muted); background: #f1f4f8; font-size: 1.1rem; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s;
}
.remove-btn:hover { background: var(--danger-soft); color: var(--danger); }
.cart-bundle-item {
  padding: 14px 16px; margin-bottom: 10px; border-radius: 16px;
  background: var(--accent-soft); border: 1px solid #ffd7c4;
}
.cb-head { display: flex; align-items: center; gap: 10px; }
.cb-head b { flex: 1; }
.cb-price { font-family: var(--font-head); font-weight: 800; }
.cb-items { margin-top: 6px; font-size: .86rem; color: var(--ink-2); line-height: 1.6; }

.checkout-box { margin-top: 18px; padding: 18px; border-radius: 16px; background: #f6f8fb; border: 1px solid var(--line); }
.total-row { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; font-weight: 700; }
.total-price { font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; color: var(--ink); }
.pay-hint { margin: 16px 0 10px; text-align: center; font-size: .9rem; color: var(--muted); font-weight: 600; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-btn {
  min-height: 54px; border: 0; border-radius: 14px; color: #fff; cursor: pointer;
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; letter-spacing: .01em;
  transition: transform .2s var(--ease), filter .2s;
}
.pay-btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); }
.pay-btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-bit { background: linear-gradient(135deg, #00c2cb, #0096a8); }
.btn-paybox { background: linear-gradient(135deg, #7b3ff2, var(--paybox)); }
.post-pay {
  margin-top: 16px; padding: 18px; border-radius: 16px; text-align: center;
  background: #fffaeb; border: 1.5px dashed #f5b83d;
}
.post-pay h3 { color: #8a5300; font-size: 1.1rem; margin-bottom: 6px; }
.post-pay p { font-size: .92rem; color: var(--ink-2); margin-bottom: 12px; }
.back-btn { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: .85rem; font-weight: 700; cursor: pointer; }

.pi-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; margin-bottom: 14px; }
.pi-phone {
  direction: ltr; margin-bottom: 14px; padding: 14px; border-radius: 14px;
  background: var(--ice); color: var(--night);
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; letter-spacing: .04em;
}
.pi-text { font-size: 1.08rem; line-height: 1.6; }
.pi-muted { margin-top: 12px; color: var(--muted); }

/* bundle wizard */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.seg-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 10px; border-radius: 14px; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line-2); color: var(--ink-2);
  font-weight: 700; font-size: .9rem; text-align: center;
  transition: all .2s;
}
.seg-btn b { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); }
.seg-btn.active { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 90, 31, .12); }
.wiz-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.wiz-item { margin-top: 12px; padding: 14px; border-radius: 14px; background: #f6f8fb; border: 1px solid var(--line); }
.wiz-item-title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 800; }
.wiz-item-title .cat-ic { width: 32px; height: 32px; font-size: 1rem; border-radius: 10px; }
.wiz-selects { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; }
.wiz-selects select { min-height: 44px; }

/* size calc */
.calc-box { margin-top: 16px; padding: 18px; border-radius: 16px; background: #f6f8fb; border: 1px solid var(--line); }
.calc-result {
  display: none; margin-top: 14px; padding: 14px; border-radius: 14px; text-align: center;
  background: var(--success-soft); border: 1px solid rgba(18, 161, 80, .3);
  color: var(--success); font-weight: 800; font-size: 1.1rem;
}
.tip-box { margin: 16px 0; padding: 14px 16px; border-radius: 14px; background: var(--ice); }
.tip-box h4 { font-size: .95rem; margin-bottom: 4px; color: var(--night); }
.tip-box p { font-size: .88rem; color: var(--ink-2); line-height: 1.55; }

/* contact */
.contact-list { display: grid; gap: 10px; }
.contact-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: #f6f8fb; }
.contact-row a { color: var(--glacier); font-weight: 700; text-decoration: none; }

/* reviews */
.review-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.review-filters select { min-height: 44px; font-size: .92rem; }
.review-summary { text-align: center; margin-bottom: 18px; padding: 18px; border-radius: 16px; background: #fffaeb; }
.review-summary .avg-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: var(--ink); line-height: 1; }
.review-card { padding: 16px; margin-bottom: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: start; }
.review-card .review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.review-card .review-name { font-weight: 800; color: var(--ink); }
.review-card .review-date { font-size: .78rem; color: var(--muted); }
.review-card .review-text { margin-top: 6px; color: var(--ink-2); line-height: 1.55; }
.write-review { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.write-review h4 { text-align: center; font-size: 1.15rem; margin-bottom: 14px; }
.star-rating { display: flex; flex-direction: row-reverse; justify-content: center; gap: 6px; font-size: 2.1rem; direction: ltr; }
.star-rating .star { cursor: pointer; color: #dde3eb; transition: color .15s, transform .15s; }
.star-rating .star:hover { transform: scale(1.12); }
.star-rating .star.filled { color: #fbbf24; }
.star-display { color: #fbbf24; font-size: 1.05rem; letter-spacing: 2px; direction: ltr; display: inline-block; }
.star-display .empty { color: #dde3eb; }

/* orders */
.order-card { padding: 16px; margin-bottom: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: start; }
.order-card .order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.order-card .order-date, .order-dates { font-size: .82rem; color: var(--muted); }
.order-card .order-items { font-size: .88rem; color: var(--ink-2); line-height: 1.55; margin: 8px 0; }
.order-card .order-total { font-family: var(--font-head); font-weight: 800; color: var(--success); }
.order-card .order-actions { display: flex; gap: 8px; margin-top: 12px; }
.order-card .order-actions button { flex: 1; min-height: 42px; border: 0; border-radius: 12px; font-weight: 700; cursor: pointer; font-size: .9rem; }
.oa-primary { background: var(--night); color: #fff; }
.oa-ghost { background: #eef2f7; color: var(--ink-2); }

/* admin */
.admin-sub { margin: 22px 0 10px; font-size: 1rem; }
.admin-scroll { max-height: 220px; overflow-y: auto; font-size: .9rem; }
.admin-scroll.tall { max-height: 280px; }
.admin-block-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: 6px; border-radius: 12px;
  background: var(--danger-soft); border: 1px solid #f7c9cb; text-align: start;
}
.admin-review-item { padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-align: start; }
.admin-review-item.is-deleted { opacity: .55; background: var(--danger-soft); }
.admin-review-item .arow { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.a-btn { border: 0; border-radius: 8px; padding: 6px 12px; font-size: .85rem; font-weight: 700; color: #fff; cursor: pointer; }
.a-btn.delete { background: var(--danger); }
.a-btn.restore { background: var(--success); }

/* lightbox + toast */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 3000;
  justify-content: center; align-items: center;
  background: rgba(6, 14, 28, .92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox img { max-width: 92%; max-height: 86vh; border-radius: 20px; background: #fff; padding: 16px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 18px; left: 22px; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; user-select: none; }
.toast {
  position: fixed; z-index: 5000; bottom: 24px; left: 50%;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: min(92%, 460px); padding: 14px 22px; border-radius: 14px;
  background: var(--ink); color: #fff; text-align: center; font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-lg);
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }

/* ---------- ANIMATIONS ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -47%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1020px) {
  .nav-link .nav-tx { display: none; }
  .nav-cart .nav-tx { display: inline; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { max-width: 460px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --topbar-h: 60px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  /* top bar becomes just the brand; nav becomes an app-style bottom tab bar */
  .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .97); }
  .topbar-inner { padding: 0 16px; justify-content: center; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand-name { font-size: 1.2rem; }
  .main-nav {
    position: fixed; z-index: 1001; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(15, 29, 51, .08);
  }
  .nav-link, .nav-cart {
    flex-direction: column; gap: 3px; margin: 0;
    padding: 6px 2px; border-radius: 12px;
    font-size: .7rem; line-height: 1.15; text-align: center;
    background: transparent; color: var(--muted); box-shadow: none;
  }
  .nav-link .nav-tx, .nav-cart .nav-tx { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .nav-link:hover { background: transparent; color: var(--ink); }
  .nav-ic { width: 22px; height: 22px; }
  .nav-cart { color: var(--night); }
  .nav-cart:hover { background: transparent; color: var(--night); }
  .nav-cart .nav-ic { color: var(--accent); stroke-width: 2.1; }
  .cart-badge { position: absolute; top: 2px; left: calc(50% + 4px); min-width: 18px; height: 18px; font-size: .68rem; }
  [dir="ltr"] .cart-badge { left: auto; right: calc(50% - 22px); }

  .hero { margin: 8px 8px 0; border-radius: 24px; padding: 54px 18px 84px; text-align: center; }
  .hero h1 { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { justify-content: center; gap: 8px 14px; }
  .hero-trust li { font-size: .85rem; }
  .hero-card { margin: 0 auto; text-align: start; padding: 22px; }
  .hero-card-price { font-size: 2.2rem; }

  .container { padding: 0 14px 56px; }
  .features { grid-template-columns: 1fr; gap: 10px; margin-top: -40px; }
  .feature { padding: 16px; }
  .about-section { margin-top: 40px; }
  .about-section p { font-size: 1.04rem; }
  .section { margin-top: 64px; }
  .section-head { margin-bottom: 26px; }

  .bundle-grid { grid-template-columns: 1fr; }
  .bundle-card { padding: 26px 22px 22px; }
  .bundle-card.featured { order: -1; }

  .booking-card { padding: 20px 16px; }
  .booking-head h2 { font-size: 1.25rem; }
  .date-fields { grid-template-columns: 1fr 1fr; }
  .duration-box { grid-column: 1 / -1; }

  .filters { padding: 14px 0 14px 0; }
  .filter-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .filter-label { width: auto; padding: 0 14px; }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; padding: 2px 14px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .filter-group::-webkit-scrollbar { display: none; }
  .cat-btn { scroll-snap-align: start; min-height: 40px; padding: 7px 15px; font-size: .9rem; }

  .category-block { margin-top: 32px; }
  .category-title { font-size: 1.2rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 12px; gap: 10px; }
  .card-head { flex-direction: column; gap: 2px; }
  .card h3 { font-size: .95rem; }
  .card-price { font-size: 1.05rem; }
  .card-row { flex-wrap: wrap; gap: 6px; }
  .card-label { width: 100%; font-size: .75rem; }
  .card-select { min-width: 0; }
  .size-link { font-size: .78rem; }
  .qty-stock { font-size: .72rem; }
  .stepper button, .stepper input { width: 32px; height: 34px; min-height: 34px; }
  .btn-select { min-height: 44px; font-size: .88rem; padding: 10px 8px; }
  .card-tag { top: 8px; inset-inline-start: 8px; font-size: .7rem; }

  .reviews-band { flex-direction: column; text-align: center; padding: 28px 20px; gap: 14px; margin-top: 64px; }
  .reviews-band .btn { width: 100%; }
  .faq-section, .policy-section { padding: 22px 18px; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }

  .wa-fab { bottom: calc(84px + env(safe-area-inset-bottom)); left: 16px; width: 52px; height: 52px; }
  [dir="ltr"] .wa-fab { right: 16px; }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }

  /* modals become bottom sheets */
  .modal, .modal-wide, .modal-top {
    top: auto; bottom: 0; left: 0; right: 0; transform: none;
    width: 100%; max-width: 100%; max-height: 92vh; max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    animation: sheet .35s var(--ease) both;
  }
  .modal-header { padding: 16px 18px; position: relative; }
  .modal-header::before {
    content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 4px; background: var(--line-2);
  }
  .modal-body { padding: 18px; }
  .modal-footer { padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); }
  .modal-body:last-child { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .date-fields { grid-template-columns: 1fr; }
  .field-pair { grid-template-columns: 1fr; }
}

/* =========================================================
   v4 additions (2026-10-14 branch improvements-oct14)
   ========================================================= */

/* accessibility */
.skip-link {
  position: absolute; top: -80px; inset-inline-start: 16px; z-index: 3000;
  background: var(--night); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--glacier); outline-offset: 2px; border-radius: 4px; }

/* how it works */
.how-section { margin-top: 56px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
}
.how-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--night); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 10px;
}
.how-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.how-step p { color: var(--muted); font-size: .92rem; }

/* cart rental-dates summary */
.cart-dates {
  margin-top: 10px; padding: 8px 12px; border-radius: 10px;
  background: var(--ice); font-size: .85rem; color: var(--ink-2);
}
.cart-dates.warn { background: var(--danger-soft); color: var(--danger); font-weight: 700; }

/* floating cart pill (mobile) */
.cart-pill { display: none; }
@media (max-width: 760px) {
  body.has-cart .cart-pill {
    display: flex; align-items: center; gap: 8px;
    position: fixed; z-index: 950;
    bottom: calc(84px + env(safe-area-inset-bottom));
    padding: 12px 16px; border: 0; border-radius: 999px;
    background: var(--night); color: #fff;
    font-family: var(--font-head); font-weight: 800; font-size: .95rem;
    box-shadow: var(--shadow-lg); cursor: pointer;
    animation: fade .25s ease both;
  }
  [dir="rtl"] .cart-pill { right: 14px; }
  [dir="ltr"] .cart-pill { left: 14px; }
  body.has-cart .wa-fab { bottom: calc(148px + env(safe-area-inset-bottom)); }
}
.cart-pill .cp-count {
  background: var(--accent); border-radius: 999px; min-width: 22px; height: 22px;
  display: inline-grid; place-items: center; font-size: .8rem; padding: 0 5px;
}
.cart-pill .cp-cta { color: var(--accent-2); }

/* payment instructions: copy phone */
.copy-phone-btn {
  margin: 10px auto 4px; display: inline-block; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff;
  font-weight: 800; color: var(--ink); cursor: pointer; direction: ltr; font-family: inherit;
}
.copy-phone-btn:hover { border-color: var(--night); }

/* low stock hint on product card */
.stock-hint { font-size: .78rem; font-weight: 800; color: var(--accent); text-align: center; }

/* admin: orders header + filters */
.admin-orders-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.order-filters { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; flex-wrap: wrap; }
.order-filters select {
  padding: 8px 10px; border-radius: 10px; border: 1.5px solid var(--line-2);
  font-family: inherit; background: #fff; color: var(--ink);
}
.order-sid { font-size: .85rem; color: var(--ink-2); margin-top: 2px; }

@media (max-width: 760px) {
  .how-steps { grid-template-columns: 1fr; }
}
