:root {
  --bg: #071a14;
  --bg2: #0c241c;
  --card: #102c22;
  --border: rgba(255, 220, 150, 0.14);
  --text: #f7faf8;
  --muted: #a8c4b8;
  --red: #e10600;
  --orange: #ff7a00;
  --gold: #f0c445;
  --cyan: #2ee6c5;
  --green: #25d366;
  --green2: #128c7e;
  --paypal: #0070ba;
  --sun: #ffb703;
  --radius: 16px;
  --max: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Ubuntu, sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Empêche le CSS d’écraser l’attribut HTML hidden (sinon overlay noir permanent) */
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 50% at 10% -10%, rgba(255, 122, 0, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(46, 230, 197, 0.12), transparent 45%),
    var(--bg);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; color: inherit; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.hide-sm { display: none; }

.topbar {
  background: linear-gradient(90deg, #0a3d2e, #1a5c3a 40%, #b45309);
  font-size: 0.82rem; font-weight: 600;
}
.topbar-inner {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.45rem 0; flex-wrap: wrap;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 26, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 0.75rem; min-height: 70px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.brand-logo {
  width: 48px; height: 48px; border-radius: 12px; object-fit: cover;
  border: 1px solid var(--border); box-shadow: 0 0 0 2px rgba(255,122,0,0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1rem; letter-spacing: -0.02em; }
.brand-text small { color: var(--sun); font-size: 0.68rem; font-weight: 700; }
.nav-d { display: none; gap: 1rem; margin-left: 0.5rem; color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.nav-d a:hover { color: var(--cyan); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 0.4rem; }
.hdr-phone {
  display: none; background: var(--green); color: #fff; font-weight: 800;
  border-radius: 999px; padding: 0.45rem 0.85rem; font-size: 0.85rem;
}
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg2); cursor: pointer;
}
.badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--red); color: #fff; border-radius: 999px;
  min-width: 1.15rem; height: 1.15rem; font-size: 0.7rem; font-weight: 800;
  align-items: center; justify-content: center;
}
.badge:not([hidden]) {
  display: inline-flex;
}
.nav-m {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.5rem 1rem 1rem; border-top: 1px solid var(--border); background: var(--bg2);
}
.nav-m a, .nav-m button {
  text-align: left; padding: 0.75rem; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer; color: var(--text); font-weight: 600;
}
.nav-m a:hover, .nav-m button:hover { background: var(--card); }

.hero { position: relative; padding: 2.2rem 0 2.5rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 183, 3, 0.2), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(225, 6, 0, 0.15), transparent 40%);
}
.hero-grid {
  position: relative;
  display: grid; gap: 1.75rem; align-items: center;
}
.pill {
  display: inline-block; margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: rgba(46, 230, 197, 0.12); border: 1px solid rgba(46, 230, 197, 0.35);
  color: var(--cyan); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 0.85rem; font-size: clamp(1.85rem, 5.2vw, 3.1rem);
  line-height: 1.08; letter-spacing: -0.03em;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--sun), var(--orange), var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); margin: 0 0 1.2rem; max-width: 40ch; font-size: 1.02rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1rem; }
.trust {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.trust li {
  font-size: 0.82rem; color: var(--muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.35rem 0.7rem;
}
.hero-visual { position: relative; min-height: 280px; }
.hero-stage {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #04110c;
  aspect-ratio: 1;
}
.hero-motion {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-logo-badge {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(240, 196, 69, 0.65);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  background: #0a1f16;
}
.hero-float {
  position: absolute; right: 0; bottom: -10px; width: 42%;
  border-radius: 14px; overflow: hidden; border: 2px solid rgba(255,183,3,0.45);
  box-shadow: var(--shadow); background: #000;
  transform: rotate(4deg);
}
.hero-float img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  display: block;
  transform-origin: center;
}
.hero-float.kenburns img {
  animation: kenburns 12s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.12) translate(-2%, -2%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float.kenburns img { animation: none; }
  .hero-motion { display: none; }
  .hero-stage::after {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background: url("../images/products/jm/kit-perceuse-choc-0.png") center/cover no-repeat;
  }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border-radius: 999px; padding: 0.85rem 1.2rem; font-weight: 800;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.12s ease, filter 0.12s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff; box-shadow: 0 12px 28px rgba(225, 6, 0, 0.35);
}
.btn-wa { background: linear-gradient(135deg, var(--green), var(--green2)); color: #fff; }
.btn-paypal { background: linear-gradient(135deg, #0070ba, #003087); color: #fff; }

/* Paiement section */
.pay-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .pay-grid { grid-template-columns: repeat(3, 1fr); }
}
.pay-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}
.pay-card h3 { margin: 0.35rem 0 0.5rem; font-size: 1.15rem; }
.pay-card p { color: var(--muted); margin: 0 0 0.85rem; font-size: 0.95rem; }
.pay-icon { font-size: 1.6rem; line-height: 1; }
.pay-note { margin-top: 0.75rem !important; font-size: 0.82rem !important; }
.pay-steps {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.pay-steps li { margin: 0.25rem 0; }
.contact-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.contact-pay-row .btn { flex: 1 1 auto; }
.cart-pay-block {
  margin: 0.75rem 0 0.5rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 112, 186, 0.35);
  background: rgba(0, 112, 186, 0.08);
  display: grid;
  gap: 0.45rem;
}
.cart-pay-title {
  margin: 0 0 0.15rem;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.cart-pay-total {
  margin: 0 0 0.35rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: #4dff9a;
}
.cart-sumup {
  margin: 0.65rem 0 0.35rem;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.cart-sumup h4 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold, #f0c445);
}
.cart-sumup .su-lines {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.cart-sumup .su-lines li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.cart-sumup .su-lines li strong {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}
.cart-sumup .su-rows {
  display: grid;
  gap: 0.3rem;
  border-top: 1px dashed var(--border);
  padding-top: 0.55rem;
}
.cart-sumup .su-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.cart-sumup .su-row.total {
  margin-top: 0.25rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: #4dff9a;
}
.cart-sumup .su-note {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Section paiement — sum-up live */
.pay-sumup {
  margin-top: 1.35rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(240, 196, 69, 0.35);
  background: linear-gradient(160deg, rgba(10, 31, 22, 0.95), rgba(4, 17, 12, 0.98));
  box-shadow: var(--shadow);
}
.pay-sumup-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.pay-sumup-head h3 {
  margin: 0;
  font-size: 1.15rem;
}
.pay-sumup-body .su-empty {
  margin: 0;
  color: var(--muted);
}
.pay-sumup-body .su-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}
.pay-sumup-body .su-table th,
.pay-sumup-body .su-table td {
  padding: 0.4rem 0.25rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.pay-sumup-body .su-table th:last-child,
.pay-sumup-body .su-table td:last-child {
  text-align: right;
  white-space: nowrap;
}
.pay-sumup-body .su-totals {
  display: grid;
  gap: 0.35rem;
  margin: 0.35rem 0 0.85rem;
}
.pay-sumup-body .su-totals .su-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.pay-sumup-body .su-totals .su-row.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: #4dff9a;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}
.pay-sumup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pay-sumup-actions .btn { flex: 1 1 180px; }
.modal-pay-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.btn-ghost {
  background: transparent; border-color: var(--border); color: var(--muted);
}
.btn.full { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn-sm { padding: 0.55rem 0.85rem; font-size: 0.86rem; }

.section { padding: 2.75rem 0; }
.section-dark {
  background: linear-gradient(180deg, #0a2a20, #071a14);
  border-block: 1px solid var(--border);
}
.section-cta {
  background:
    radial-gradient(ellipse at center, rgba(255,122,0,0.12), transparent 60%),
    var(--bg2);
  border-top: 1px solid var(--border);
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1rem; margin-bottom: 1.1rem;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
  font-weight: 800; color: var(--sun); margin: 0 0 0.35rem;
}
.eyebrow.light { color: var(--cyan); }
h2 {
  margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -0.02em;
}
.muted { color: var(--muted); }
.muted-light { color: #c5ddd2; }
.count { color: var(--muted); margin: 0; font-size: 0.9rem; }

.cat-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.cat-card {
  border: 1px solid var(--border); background: var(--card);
  border-radius: var(--radius); padding: 1rem 0.85rem; cursor: pointer;
  text-align: center; transition: border-color 0.15s, transform 0.15s;
}
.cat-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.cat-card span { font-size: 1.6rem; display: block; margin-bottom: 0.35rem; }
.cat-card strong { display: block; font-size: 0.92rem; }
.cat-card small { color: var(--muted); font-size: 0.78rem; }

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.1rem; }
.chip {
  border: 1px solid var(--border); background: var(--card); color: var(--muted);
  border-radius: 999px; padding: 0.42rem 0.85rem; cursor: pointer;
  font-weight: 700; font-size: 0.85rem;
}
.chip.active, .chip:hover { color: var(--text); border-color: var(--orange); background: rgba(255,122,0,0.12); }

.grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.card {
  background: linear-gradient(180deg, #14362b, var(--card));
  border: 1px solid var(--border); border-radius: calc(var(--radius) + 2px);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, border-color 0.15s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255,183,3,0.4); }
.card-media {
  aspect-ratio: 1; background: #04110c; position: relative; cursor: pointer;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-media .more {
  position: absolute; right: 0.5rem; bottom: 0.5rem;
  background: rgba(0,0,0,0.65); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.2rem 0.55rem; font-size: 0.72rem; font-weight: 700;
}
.card-body { padding: 0.95rem 1rem 1.05rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.cat {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--cyan); font-weight: 800; margin: 0;
}
.card h3 { margin: 0; font-size: 1.02rem; line-height: 1.25; cursor: pointer; }
.card h3:hover { color: var(--sun); }
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price {
  display: inline-flex; align-items: center;
  font-weight: 900; color: #4dff9a; font-size: 1.15rem;
  background: rgba(77, 255, 154, 0.1);
  border: 1px solid rgba(77, 255, 154, 0.3);
  border-radius: 999px; padding: 0.3rem 0.75rem; width: fit-content;
}
.price.big { font-size: 1.45rem; margin: 0.5rem 0; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.4rem; margin-top: 0.55rem; }
.card-actions .btn { width: 100%; font-size: 0.78rem; padding: 0.45rem 0.3rem; }

.deliv { display: grid; gap: 1.25rem; }
.deliv-cards {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.deliv-cards article {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem;
}
.deliv-cards span { font-size: 1.5rem; }
.deliv-cards h3 { margin: 0.35rem 0 0.15rem; font-size: 1.05rem; }
.deliv-cards p { margin: 0; color: var(--muted); }

.partner { max-width: 720px; }
.partner-badge {
  display: inline-block; margin-bottom: 0.5rem;
  background: rgba(255,183,3,0.15); color: var(--sun);
  border: 1px solid rgba(255,183,3,0.35); border-radius: 999px;
  padding: 0.3rem 0.7rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.partner-card {
  margin-top: 1rem; display: grid; gap: 1rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.15rem;
  box-shadow: var(--shadow);
}
.partner-card h3 { margin: 0 0 0.4rem; color: var(--sun); }
.addr { margin: 0; line-height: 1.45; }
.tiny { color: var(--muted); font-size: 0.78rem; margin: 0.5rem 0 0; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.contact-grid { display: grid; gap: 1.25rem; }
.contact-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem; display: grid; gap: 0.65rem;
}
.c-line {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.7rem 0.8rem; border-radius: 12px;
  background: var(--bg2); border: 1px solid var(--border);
}
.c-line span { color: var(--muted); font-size: 0.8rem; }

.footer {
  border-top: 1px solid var(--border); padding: 1.5rem 0 5.5rem;
  color: var(--muted); font-size: 0.88rem;
}
.foot-grid { display: grid; gap: 1rem; }
.foot-logo {
  width: 56px; height: 56px; border-radius: 12px; object-fit: cover; margin-bottom: 0.4rem;
}
.footer strong { color: var(--text); display: block; margin-bottom: 0.25rem; }
.footer p { margin: 0.2rem 0; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 80;
}
.modal-overlay:not([hidden]) {
  display: block;
}
.modal {
  position: fixed; z-index: 90;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(920px, calc(100% - 1.25rem));
  max-height: calc(100vh - 2rem); overflow: auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow);
  gap: 0;
}
.modal:not([hidden]) {
  display: grid;
}
.modal-x {
  position: absolute; right: 0.75rem; top: 0.75rem; z-index: 2;
  width: 2.2rem; height: 2.2rem; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(0,0,0,0.55); cursor: pointer;
}
.modal-gal { background: #04110c; }
.modal-stage {
  position: relative;
  width: 100%;
  background: #04110c;
}
.modal-gal .modal-stage > img,
.modal-gal .modal-stage > video {
  width: 100%; aspect-ratio: 1; object-fit: contain; max-height: 48vh;
  display: block; background: #04110c;
}
.modal-gal .modal-stage > video[hidden],
.modal-gal .modal-stage > img[hidden] {
  display: none !important;
}
.thumbs {
  display: flex; gap: 0.4rem; padding: 0.55rem; overflow-x: auto;
}
.thumbs button {
  border: 2px solid transparent; padding: 0; border-radius: 10px;
  overflow: hidden; width: 64px; height: 64px; flex: 0 0 auto;
  background: #000; cursor: pointer; position: relative;
}
.thumbs button.active { border-color: var(--orange); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .vid-badge {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,0.35); color: #fff; font-size: 1.1rem; font-weight: 800;
  pointer-events: none;
}
.modal-body { padding: 1rem 1.1rem 1.25rem; }
.modal-body #modalDesc {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-line;
  max-height: min(38vh, 320px);
  overflow-y: auto;
  padding-right: 0.25rem;
}
.modal-body #modalDesc.has-long {
  border-left: 3px solid rgba(240, 196, 69, 0.45);
  padding-left: 0.65rem;
}
.modal-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }

/* Cart */
.cart-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 55;
  border: 0; border-radius: 999px; padding: 0.9rem 1.1rem;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #fff; font-weight: 900; box-shadow: 0 14px 32px rgba(18,140,126,0.45);
  cursor: pointer;
}
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 60; }
.overlay:not([hidden]) {
  display: block;
}
.cart {
  position: fixed; top: 0; right: 0; z-index: 70;
  width: min(430px, 100%); height: 100%;
  background: #0e2a21; border-left: 1px solid var(--border);
  transform: translateX(105%); transition: transform 0.22s ease;
  padding: 1rem; overflow: auto; display: flex; flex-direction: column; gap: 0.65rem;
  pointer-events: none;
  visibility: hidden;
}
.cart.open {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { margin: 0; font-size: 1.2rem; }
#cartCloseBtn {
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg2); cursor: pointer;
}
.hint { margin: 0; color: var(--muted); font-size: 0.86rem; }
.empty { color: var(--muted); }
.items { display: flex; flex-direction: column; gap: 0.65rem; }
.line {
  display: grid; grid-template-columns: 64px 1fr; gap: 0.7rem;
  background: rgba(0,0,0,0.25); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.6rem;
}
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: #000; }
.line strong { font-size: 0.9rem; display: block; line-height: 1.25; }
.line .unit { color: var(--sun); font-size: 0.82rem; font-weight: 700; }
.qty { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.35rem; flex-wrap: wrap; }
.qty button {
  width: 1.7rem; height: 1.7rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--card); cursor: pointer;
}
.qty .rm {
  margin-left: auto; border: 0; background: transparent; color: var(--muted);
  text-decoration: underline; width: auto; height: auto; font-size: 0.8rem;
}
.subtotal {
  display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.75rem;
  background: rgba(0,0,0,0.28); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.85rem 0.95rem;
}
.subtotal strong { color: #4dff9a; font-size: 1.2rem; }
.subtotal small { grid-column: 1 / -1; color: var(--muted); }
.field { display: grid; gap: 0.3rem; font-size: 0.82rem; color: var(--muted); font-weight: 700; }
.field select, .field textarea {
  border: 1px solid var(--border); background: var(--bg2);
  border-radius: 10px; padding: 0.65rem 0.75rem; color: var(--text);
}
body.lock { overflow: hidden; }

@media (min-width: 780px) {
  .hide-sm { display: inline; }
  .nav-d { display: flex; }
  .hdr-phone { display: inline-flex; }
  .menu-btn { display: none; }
  .hero-grid { grid-template-columns: 1.15fr 0.95fr; }
  .deliv { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .foot-grid { grid-template-columns: 1.2fr 1fr; }
  .modal { grid-template-columns: 1.05fr 0.95fr; }
  .modal-gal .modal-stage > img,
  .modal-gal .modal-stage > video { max-height: min(70vh, 520px); aspect-ratio: 1; }
  .partner-card { grid-template-columns: 1fr auto; align-items: center; }
}
