:root {
  --ink: #10181d;
  --ink-2: #1d2a30;
  --paper: #f7f5ee;
  --paper-2: #ebe8de;
  --muted: #64717a;
  --blue: #5884a5;
  --blue-dark: #2f5f7f;
  --lime: #afe70e;
  --lime-dark: #6b9200;
  --line: rgba(16, 24, 29, 0.14);
  --shadow: 0 24px 70px rgba(16, 24, 29, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 24, 29, 0.04) 1px, transparent 1px) 0 0 / 84px 84px,
    radial-gradient(circle at 80% 10%, rgba(175, 231, 14, 0.18), transparent 26rem),
    linear-gradient(135deg, #fbfaf5 0%, var(--paper) 48%, #e7edf0 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

main,
section,
.hero,
.hero-content,
.hero-visual,
.hero-stat-card,
.section-heading,
.shop-layout,
.product-grid,
.product-card,
.site-header,
.site-footer {
  max-width: 100%;
  min-width: 0;
}

svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.motion-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(88, 132, 165, 0.09) 50%, transparent 100%);
  height: 26vh;
  animation: scan 9s linear infinite;
}

.particle {
  position: absolute;
  width: 11rem;
  aspect-ratio: 1;
  border: 1px solid rgba(88, 132, 165, 0.3);
  transform: rotate(45deg);
  animation: drift 12s ease-in-out infinite alternate;
}

.particle-a {
  left: 5vw;
  top: 24vh;
}

.particle-b {
  right: 8vw;
  top: 52vh;
  width: 7rem;
  animation-delay: -3s;
}

.particle-c {
  left: 56vw;
  bottom: 8vh;
  width: 4rem;
  border-color: rgba(175, 231, 14, 0.45);
  animation-delay: -6s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 3vw, 3rem);
  background: rgba(247, 245, 238, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 9.5rem;
}

.brand img {
  width: 10rem;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  color: rgba(16, 24, 29, 0.74);
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.icon-button:hover {
  background: white;
  border-color: rgba(16, 24, 29, 0.26);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -0.4rem;
  right: -0.35rem;
  display: grid;
  place-items: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.4rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero-content {
  max-width: 38rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::after {
  width: 2rem;
  height: 0.18rem;
  content: "";
  background: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 26ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 39rem;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.6;
}

.hero .reveal {
  opacity: 1;
  transform: none;
  animation: heroEnter 680ms ease both;
}

.hero .hero-visual.reveal {
  animation-delay: 140ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3.15rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 170ms ease,
    box-shadow 170ms ease,
    background 170ms ease;
}

.primary-button {
  color: var(--ink);
  background: var(--lime);
  border: 1px solid rgba(16, 24, 29, 0.12);
  box-shadow: 0 12px 32px rgba(129, 181, 0, 0.24);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-3px);
}

.primary-button.dark {
  color: white;
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(16, 24, 29, 0.26);
}

.ghost-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--line);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--ink);
  flex-shrink: 0;
}

.hero-trust-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.hero-trust-text {
  display: grid;
  gap: 0.05rem;
}

.hero-trust-text strong {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ink);
}

.hero-trust-text small {
  font-size: 0.76rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22rem;
}

.hero-blob {
  position: absolute;
  width: clamp(14rem, 26vw, 24rem);
  height: clamp(14rem, 26vw, 24rem);
  top: 4%;
  right: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--lime) 0%, var(--lime-dark) 100%);
  z-index: -1;
}

.hero-visual-img {
  width: 100%;
  max-width: 28rem;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(16, 24, 29, 0.26));
}

.hero-ring {
  position: absolute;
  top: -1rem;
  right: 2%;
  width: 6rem;
  height: 6rem;
  color: var(--ink-2);
}

.hero-ring svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.hero-ring-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime-dark);
}

.hero-ring-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.hero-stat-card {
  position: absolute;
  right: 0;
  bottom: 4%;
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 1.3rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 12.5rem;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--blue-dark);
  flex-shrink: 0;
}

.hero-stat-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
}

.hero-stat small {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.marquee-banner {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 26s linear infinite;
}

.marquee-banner:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.9rem;
  padding: 1.1rem clamp(1rem, 3vw, 2.4rem);
  white-space: nowrap;
}

.marquee-group span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.marquee-group span[aria-hidden="true"] {
  color: var(--lime);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(16rem, 0.55fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.contact-visual {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
}

.filters {
  position: sticky;
  top: 6rem;
  align-self: start;
  display: grid;
  gap: 1.2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.filter-group {
  display: grid;
  gap: 0.6rem;
}

.filter-title {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.65rem;
  padding: 0 0.85rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.filter-chip.active,
.filter-chip:hover {
  color: white;
  background: var(--ink);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-2);
  font-size: 0.9rem;
}

.check-row input {
  accent-color: var(--lime);
}

.check-list {
  display: grid;
  gap: 0.5rem;
}

.price-range {
  width: 100%;
  accent-color: var(--lime);
}

.price-range-value {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.price-range-value span {
  color: var(--ink);
}

.filter-reset {
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    background 170ms ease,
    color 170ms ease;
}

.filter-reset:hover {
  color: white;
  background: var(--ink);
}

.service-box {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
  color: white;
  background: linear-gradient(135deg, var(--ink), var(--blue-dark));
  border-radius: var(--radius);
}

.service-box span {
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 31rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.product-card .add-button,
.product-card .option-row {
  cursor: pointer;
}

.product-card:hover {
  border-color: rgba(16, 24, 29, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.45rem 0.62rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-favorite {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.product-favorite svg {
  width: 1.15rem;
  height: 1.15rem;
}

.product-favorite:hover {
  background: white;
  transform: translateY(-2px) scale(1.05);
}

.product-favorite.active {
  background: var(--lime);
  border-color: var(--lime-dark);
}

.product-favorite.active svg {
  fill: currentColor;
}

.cta-fav svg {
  width: 1.05rem;
  height: 1.05rem;
}

.cta-fav.active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime-dark);
}

.cta-fav.active svg {
  fill: currentColor;
}

.product-visual {
  position: relative;
  min-height: 17rem;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(88, 132, 165, 0.18), transparent 38%),
    radial-gradient(circle at 70% 24%, rgba(175, 231, 14, 0.3), transparent 12rem),
    #e9ece9;
  overflow: hidden;
}

.product-visual::before {
  position: absolute;
  inset: auto -20% 7% -20%;
  height: 46%;
  content: "";
  background: rgba(16, 24, 29, 0.08);
  transform: rotate(-7deg);
}

.device {
  position: relative;
  z-index: 1;
  transform: translateZ(38px);
  animation: floatDevice 4.2s ease-in-out infinite;
}

.device.laptop {
  width: min(72%, 15rem);
  height: 8.2rem;
  border: 0.55rem solid #172229;
  border-bottom-width: 0.8rem;
  border-radius: 0.65rem 0.65rem 0.3rem 0.3rem;
  background:
    linear-gradient(135deg, rgba(175, 231, 14, 0.55), transparent 34%),
    linear-gradient(145deg, #1d323f, #8fa9bd);
  box-shadow: 0 1.2rem 2rem rgba(16, 24, 29, 0.24);
}

.device.laptop::after {
  position: absolute;
  left: 50%;
  bottom: -1.7rem;
  width: 120%;
  height: 0.8rem;
  content: "";
  background: linear-gradient(90deg, #9ca9ad, #edf1ef 45%, #6e7c82);
  border-radius: 0 0 1.6rem 1.6rem;
  transform: translateX(-50%);
}

.device.phone {
  width: 7.2rem;
  height: 13.5rem;
  border: 0.55rem solid #111a1f;
  border-radius: 1.45rem;
  background:
    linear-gradient(145deg, rgba(175, 231, 14, 0.82), transparent 23%),
    linear-gradient(160deg, #18303d, #7fa3bd 72%, #eef2ed);
  box-shadow: 0 1.2rem 2rem rgba(16, 24, 29, 0.24);
}

.device.phone::before {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  width: 2.4rem;
  height: 0.34rem;
  content: "";
  background: rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  transform: translateX(-50%);
}

.device.accessory {
  width: 9rem;
  height: 9rem;
  border-radius: 1.4rem;
  background:
    linear-gradient(135deg, rgba(175, 231, 14, 0.9), transparent 34%),
    linear-gradient(145deg, #10181d, #477796);
  box-shadow: inset 0 0 0 0.7rem rgba(255, 255, 255, 0.18), 0 1.3rem 2rem rgba(16, 24, 29, 0.24);
}

.device.server {
  width: min(78%, 16rem);
  height: 6.4rem;
  border: 0.4rem solid #10181d;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(175, 231, 14, 0.35), transparent 30%), linear-gradient(160deg, #1d2a30, #3c4c56 60%, #556873);
  box-shadow: 0 1.2rem 2rem rgba(16, 24, 29, 0.24);
  display: grid;
  grid-template-columns: 1fr 3.4rem;
  gap: 0.35rem;
  padding: 0.5rem;
}

.device.server::before {
  content: "";
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.16rem;
  align-self: center;
  height: 60%;
}

.device.server::after {
  content: "";
  align-self: center;
  justify-self: end;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, rgba(175, 231, 14, 0.9), rgba(175, 231, 14, 0.15) 55%, transparent 60%),
    rgba(16, 24, 29, 0.55);
  box-shadow: inset 0 0 0 0.14rem rgba(255, 255, 255, 0.18);
}

.device.server {
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(16, 24, 29, 0.55) 0,
      rgba(16, 24, 29, 0.55) 0.16rem,
      transparent 0.16rem,
      transparent 0.7rem
    ),
    linear-gradient(135deg, rgba(175, 231, 14, 0.35), transparent 30%),
    linear-gradient(160deg, #1d2a30, #3c4c56 60%, #556873);
  background-position: 0.5rem center, 0 0, 0 0;
  background-repeat: repeat-x, no-repeat, no-repeat;
  background-size: auto 55%, auto, auto;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.1rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-info p {
  color: var(--muted);
  line-height: 1.55;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.spec-list span {
  padding: 0.42rem 0.55rem;
  background: rgba(16, 24, 29, 0.06);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-options {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  background: rgba(16, 24, 29, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-options-title {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-modal-purchase .product-options {
  background: none;
  border: 0;
  padding: 0;
  gap: 0.4rem;
}

.product-modal-purchase .product-options-title {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: normal;
  text-transform: none;
}

.product-options-category {
  margin-top: 0.35rem;
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.option-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.option-check input {
  accent-color: var(--lime);
}

.option-price {
  color: var(--blue-dark);
  font-weight: 700;
  white-space: nowrap;
}

.option-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.35rem 0 0.55rem;
}

.option-pill {
  position: relative;
}

.option-pill input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.option-pill-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  color: var(--ink-2);
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease;
}

.option-pill input:checked + .option-pill-label {
  color: var(--ink);
  background: rgba(175, 231, 14, 0.22);
  border-color: var(--lime-dark);
}

.option-pill input:focus-visible + .option-pill-label {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.esthetic-select-group {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.esthetic-select-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 800;
}

.info-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 1px solid var(--muted);
  color: var(--muted);
  font-size: 0.66rem;
  font-style: italic;
  font-weight: 700;
  cursor: help;
}

.esthetic-select-wrap {
  position: relative;
}

.esthetic-select-wrap::after {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.6px solid var(--ink-2);
  border-bottom: 1.6px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.esthetic-select {
  width: 100%;
  padding: 0.65rem 2.2rem 0.65rem 0.85rem;
  color: var(--ink);
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  appearance: none;
  cursor: pointer;
}

.esthetic-select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.cart-item-options {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.45rem;
}

.price {
  font-size: 1.45rem;
  font-weight: 950;
}

.stock-label {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: white;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.add-button:hover {
  background: var(--blue-dark);
  transform: rotate(-3deg) scale(1.05);
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  background: var(--ink);
  color: white;
}

.process-copy p:not(.eyebrow),
.step p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.process .eyebrow {
  color: white;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    linear-gradient(145deg, rgba(88, 132, 165, 0.16), transparent),
    #111c22;
}

.step span {
  display: inline-flex;
  margin-bottom: 3rem;
  color: var(--lime);
  font-weight: 950;
}

.deal-band {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.deal-visual {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  background: var(--paper-2);
}

.deal-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.deal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--lime);
}

.deal-copy .eyebrow {
  margin-bottom: 0.5rem;
}

.deal-copy p:not(.eyebrow) {
  max-width: 32rem;
  margin-bottom: 1rem;
  color: rgba(16, 24, 29, 0.74);
  line-height: 1.7;
}

.deal-copy .primary-button {
  align-self: flex-start;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 94% 8%, rgba(175, 231, 14, 0.16), transparent 26rem),
    radial-gradient(circle at 4% 100%, rgba(88, 132, 165, 0.2), transparent 24rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 84px 84px,
    var(--ink);
  color: white;
  border-bottom: 1px solid var(--line);
}

.newsletter-copy .eyebrow {
  color: var(--lime);
}

.newsletter-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.newsletter-copy .accent {
  color: var(--lime);
}

.newsletter-copy p:not(.eyebrow) {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.newsletter-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.newsletter-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem 0.5rem 0.65rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.newsletter-perks svg {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--lime);
}

.newsletter-card {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) * 2);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.newsletter-form {
  position: relative;
  display: grid;
  gap: 0.7rem;
}

.newsletter-form[hidden] {
  display: none;
}

.newsletter-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.newsletter-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  background: white;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition:
    border-color 170ms ease,
    box-shadow 170ms ease;
}

.newsletter-field:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(175, 231, 14, 0.24);
}

.newsletter-field > svg {
  flex: none;
  margin-left: 0.7rem;
  color: var(--muted);
}

.newsletter-field input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.8rem;
  padding: 0.6rem 0.4rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
}

.newsletter-field input[type="email"]::placeholder {
  color: #8a949b;
}

.newsletter-field .primary-button {
  flex: 0 0 auto;
  min-height: 2.8rem;
  padding: 0.7rem 1.1rem;
  border: 0;
  box-shadow: none;
  white-space: nowrap;
}

.newsletter-field .primary-button svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 170ms ease;
}

.newsletter-field .primary-button:hover {
  transform: none;
  background: #c2f52b;
}

.newsletter-field .primary-button:hover svg {
  transform: translateX(3px);
}

.newsletter-field .primary-button:disabled {
  cursor: progress;
  opacity: 0.85;
}

.newsletter-field .primary-button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.newsletter-form.is-loading .primary-button svg {
  display: none;
}

.newsletter-form.is-loading .primary-button::before {
  width: 1rem;
  height: 1rem;
  content: "";
  border: 2px solid rgba(16, 24, 29, 0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: newsletter-spin 700ms linear infinite;
}

@keyframes newsletter-spin {
  to {
    transform: rotate(360deg);
  }
}

.newsletter-form.has-error .newsletter-field {
  border-color: #ff7b72;
  box-shadow: 0 0 0 4px rgba(255, 123, 114, 0.2);
}

.newsletter-status {
  min-height: 1.2rem;
  margin: 0;
  color: #ff9d96;
  font-size: 0.85rem;
  font-weight: 700;
}

.newsletter-status:empty {
  display: none;
}

.newsletter-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  line-height: 1.55;
}

.newsletter-success {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
  outline: 0;
  animation: newsletter-pop 420ms ease both;
}

.newsletter-success[hidden] {
  display: none;
}

.newsletter-success-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(175, 231, 14, 0.16);
}

.newsletter-success-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2.6;
}

.newsletter-success h3 {
  margin: 0.4rem 0 0;
  font-size: 1.35rem;
}

.newsletter-success p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.newsletter-success strong {
  color: white;
}

.newsletter-reset {
  padding: 0;
  color: var(--lime);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(175, 231, 14, 0.45);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.newsletter-reset:hover {
  border-bottom-color: var(--lime);
}

.newsletter-reset:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

@keyframes newsletter-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .newsletter-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .newsletter-field {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
  }

  .newsletter-field > svg {
    display: none;
  }

  .newsletter-field input[type="email"] {
    padding: 0.6rem 0.7rem;
  }

  .newsletter-field .primary-button {
    width: 100%;
  }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 17rem) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.trust-intro h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  margin: 0 0 0.7rem;
  color: var(--ink);
}

.trust-intro p {
  margin: 0 0 1.3rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(9rem, 1fr));
  gap: 1rem;
}

.trust-icon {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  color: var(--blue-dark);
  margin-bottom: 0.7rem;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.trust-card {
  padding: clamp(1.2rem, 3vw, 2rem);
  min-height: 13rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--lime);
  border-radius: var(--radius);
}

.trust-card p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}

.title-period {
  color: var(--lime);
}

.title-dot {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.3rem;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: middle;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(100vw, 27rem);
  height: 100vh;
  padding: 1.1rem;
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 80px rgba(16, 24, 29, 0.24);
  transform: translateX(105%);
  transition: transform 240ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.cart-items {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1rem 0;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-thumb {
  width: 3.4rem;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 68% 24%, rgba(175, 231, 14, 0.65), transparent 45%),
    linear-gradient(145deg, var(--ink), var(--blue));
}

.cart-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.remove-button {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--ink);
  background: rgba(16, 24, 29, 0.06);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.empty-cart {
  color: var(--muted);
  line-height: 1.6;
}

.favorite-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.remove-button.add-to-cart {
  color: var(--ink);
  background: var(--lime);
}

.cart-footer {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}

.cart-total strong {
  font-size: 1.5rem;
}

.cart-total-final strong {
  font-size: 1.5rem;
}

.cart-total:not(.cart-total-final) strong {
  font-size: 1.05rem;
}

.cart-discount {
  color: var(--lime-dark);
}

.cart-discount strong {
  color: var(--lime-dark);
}

.cart-promo {
  display: grid;
  gap: 0.4rem;
}

.cart-promo-row {
  display: flex;
  gap: 0.5rem;
}

.cart-promo-row input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.cart-promo-row .promo-apply-button {
  white-space: nowrap;
  padding: 0 1rem;
  min-height: auto;
  font-size: 0.85rem;
}

.cart-promo-message {
  margin: 0;
  font-size: 0.85rem;
  min-height: 1.1em;
  color: var(--muted);
}

.cart-promo-message.is-success {
  color: var(--lime-dark);
}

.cart-promo-message.is-error {
  color: #c0392b;
}

.checkout-button {
  width: 100%;
  border: 0;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.product-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(16, 24, 29, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.image-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  max-width: min(90vw, 60rem);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: white;
  cursor: zoom-out;
}

.image-lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: white;
}

.product-modal-panel {
  position: relative;
  width: min(100%, 72rem);
  max-height: 88vh;
  overflow-y: auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transform: translateY(16px) scale(0.98);
  transition: transform 240ms ease;
}

.product-modal.open .product-modal-panel {
  transform: translateY(0) scale(1);
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  background: rgba(16, 24, 29, 0.06);
}

.product-modal-top {
  display: grid;
  grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr) minmax(16rem, 19rem);
  gap: 2rem;
  align-items: start;
}

.product-modal-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.product-modal-visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
}

.product-modal-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}

.product-modal-visual img[data-gallery-main] {
  flex: 1;
  min-height: 0;
  cursor: zoom-in;
}

.product-modal-visual span[data-gallery-main] {
  flex: 1;
  display: grid;
  place-items: center;
}

.product-modal-visual .device {
  transform: scale(2.1);
}

.product-modal-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem;
  overflow-x: auto;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: white;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.gallery-thumb.active {
  border-color: var(--lime);
}

.product-modal-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-breadcrumb {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-modal-info h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.product-modal-info .spec-list {
  margin-top: 0;
}

.product-modal-desc {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.grade-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: rgba(175, 231, 14, 0.16);
  border: 1px solid rgba(107, 146, 0, 0.3);
  border-radius: var(--radius);
}

.grade-icon {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
}

.grade-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.grade-box strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.94rem;
}

.grade-box p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.84rem;
  line-height: 1.5;
}

.grade-link {
  align-self: flex-start;
  padding: 0;
  color: var(--blue-dark);
  background: none;
  border: 0;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin: 0.3rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-list li svg {
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  color: var(--blue-dark);
}

.feature-list li span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.feature-list li strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
}

.tech-sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  margin: 0;
}

.tech-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.tech-row dt {
  color: var(--muted);
}

.tech-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.tech-sheet-empty {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-modal-purchase {
  position: sticky;
  top: 1rem;
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(16, 24, 29, 0.08);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.product-modal-purchase .option-pill-row {
  margin-bottom: 0.2rem;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-modal-purchase .price {
  font-size: 1.85rem;
}

.price-old {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: line-through;
}

.price-compare {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.price-compare[hidden] {
  display: none;
}

.price-new-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-bottom .price-compare {
  margin-top: 0.15rem;
}

.product-bottom .price-old {
  font-size: 0.85rem;
}

.product-bottom .price-discount-badge {
  padding: 0.12rem 0.4rem;
  font-size: 0.7rem;
}

.price-discount-badge {
  padding: 0.22rem 0.5rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.stock-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--ink-2);
}

.stock-dot {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--muted);
}

.stock-row.in-stock .stock-dot {
  background: #2f9e44;
}

.stock-row.out-stock .stock-dot {
  background: #c0392b;
}

.stock-row strong {
  display: block;
  color: var(--ink);
}

.product-modal-purchase .primary-button,
.product-modal-purchase .ghost-button {
  width: 100%;
  min-height: 2.9rem;
}

.trust-row {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.trust-row span {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
}

.trust-row span svg {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--blue-dark);
}

.trust-row span strong {
  color: var(--ink);
  font-size: 0.72rem;
}

.product-modal-techsheet {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.product-modal-techsheet h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.grade-explainer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.grade-explainer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grade-explainer-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.grade-explainer-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.grade-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grade-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.grade-card.active {
  background: rgba(175, 231, 14, 0.14);
  border-color: var(--lime-dark);
}

.grade-card-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--ink-2);
  background: rgba(16, 24, 29, 0.08);
  border-radius: 50%;
}

.grade-card-icon svg {
  width: 1rem;
  height: 1rem;
}

.grade-card.active .grade-card-icon {
  color: var(--ink);
  background: var(--lime);
}

.grade-card strong {
  font-size: 0.92rem;
}

.grade-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .product-modal-top {
    grid-template-columns: 1fr;
  }

  .product-modal-visual {
    aspect-ratio: 4 / 3;
  }

  .product-modal-purchase {
    position: static;
  }

  .grade-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .tech-sheet {
    grid-template-columns: 1fr;
  }
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(16, 24, 29, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease var(--delay, 0ms),
    transform 600ms ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delais d'animation de la classe .reveal ci-dessus : remplace les attributs style="--delay: ...ms"
   qui obligeaient la CSP a autoriser style-src 'unsafe-inline'. Valeurs fixes utilisees dans index.html
   et pro.html ; ajouter une nouvelle regle ici si une autre valeur devient necessaire. */
.delay-80 { --delay: 80ms; }
.delay-120 { --delay: 120ms; }
.delay-140 { --delay: 140ms; }
.delay-160 { --delay: 160ms; }
.delay-240 { --delay: 240ms; }
.delay-360 { --delay: 360ms; }

/* Utilitaires ponctuels qui remplacent d'autres attributs style="..." statiques (voir index.html,
   pro.html, compte.html) : meme raison, ne rien ajouter ici qui depende d'une donnee utilisateur. */
.mt-sm { margin-top: 0.6rem; }
.mt-lg { margin-top: 2rem; }
.contact-desk-bg {
  background-image: url('assets/contact-desk.jpg');
  background-image: image-set(url('assets/contact-desk.webp') type('image/webp'), url('assets/contact-desk.jpg') type('image/jpeg'));
}

/* "Aucun resultat" dans le catalogue (script.js) : remplace un attribut style="..." pour la meme raison
   que les classes ci-dessus. */
.catalog-empty {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}

@keyframes scan {
  from {
    transform: translateY(-34vh);
  }
  to {
    transform: translateY(110vh);
  }
}

@keyframes drift {
  from {
    transform: translate3d(-1rem, -0.6rem, 0) rotate(45deg);
  }
  to {
    transform: translate3d(1.8rem, 1rem, 0) rotate(58deg);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045);
  }
}

@keyframes floatDevice {
  0%,
  100% {
    transform: translateY(0) translateZ(38px);
  }
  50% {
    transform: translateY(-10px) translateZ(38px);
  }
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 18rem;
  }

  .process,
  .deal-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    position: sticky;
    top: 4.8rem;
    z-index: 25;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    padding: 0.9rem 1rem;
    background: rgba(247, 245, 238, 0.95);
    font-weight: 850;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.8vw, 3.15rem);
    overflow-wrap: normal;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-trust-row {
    gap: 1rem 1.4rem;
  }

  .section-heading,
  .shop-layout,
  .process-steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    height: 14rem;
  }

  .filters {
    position: static;
  }

  .filter-group:first-child {
    grid-template-columns: 1fr 1fr;
  }

  .filter-title {
    grid-column: 1 / -1;
  }

  .marquee-group {
    padding: 0.9rem 1.2rem;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: 100vw;
    min-height: 4.3rem;
    padding: 0.8rem 1rem;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 7rem;
    padding-right: 5.9rem;
  }

  .header-actions {
    position: fixed;
    top: 0.8rem;
    right: 1rem;
    left: auto;
    flex: 0 0 auto;
    margin-left: 0;
  }

  .brand img {
    width: 7.5rem;
  }

  .icon-button {
    width: 2.45rem;
    height: 2.45rem;
  }

  .header-actions .icon-button:first-child {
    display: none;
  }

  .header-actions .ghost-button {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-content,
  .hero-copy,
  .hero-visual {
    width: min(21.5rem, calc(100vw - 3rem));
    max-width: min(21.5rem, calc(100vw - 3rem));
  }

  .hero-visual {
    flex-direction: column;
  }

  .hero-stat-card {
    position: static;
    margin-top: 1.2rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-blob {
    right: 0;
  }

  .hero {
    overflow: hidden;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 29rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

.product-custom-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  z-index: 1;
  transition: transform 0.3s ease;
}

.product-card:hover .product-custom-img {
  transform: scale(1.05);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: width 240ms ease, opacity 240ms ease, padding 240ms ease, border-color 170ms ease, box-shadow 170ms ease;
  outline: none;
}

.search-input:focus-visible {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(175, 231, 14, 0.24);
}

.search-box.open .search-input {
  width: 13rem;
  opacity: 1;
  padding: 0.5rem 0.8rem;
  margin-right: 0.4rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer a {
  font-weight: 800;
  color: white;
  cursor: pointer;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
}

/* ---- Offre Pro B2B (pro.html) ---- */

.pro-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  min-height: 24rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 5vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}

.pro-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.pro-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    rgba(247, 245, 238, 0.94) 32%,
    rgba(247, 245, 238, 0.6) 52%,
    rgba(247, 245, 238, 0.12) 72%,
    rgba(247, 245, 238, 0) 88%
  );
}

.pro-hero-content {
  max-width: 41rem;
}

.pro-hero h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.pro-hero .hero-actions {
  margin-top: 1.6rem;
}

.pro-hero-card {
  position: relative;
  display: grid;
  gap: 1.1rem;
  min-width: 14.5rem;
  padding: 1.3rem 1.6rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  justify-self: end;
}

.pro-hero-card-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
}

.pro-hero-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  flex-shrink: 0;
  color: var(--lime-dark);
}

.pro-hero-card-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

/* Placees ici (apres les regles de base .pro-hero ci-dessus) et non dans la media query 1060px plus haut
   dans le fichier : a specificite egale, une regle plus tardive dans le document gagne la cascade, donc
   un override mobile place AVANT la regle de base qu'il cible est silencieusement annule. C'est le bug
   qui faisait chevaucher .pro-hero-card sur le texte au lieu de s'empiler dessous en mobile. */
@media (max-width: 1060px) {
  .pro-hero {
    grid-template-columns: 1fr;
  }

  .pro-hero-overlay {
    background: rgba(247, 245, 238, 0.93);
  }

  .pro-hero-card {
    justify-self: start;
    width: 100%;
  }
}

.included-strip {
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(1rem, 5vw, 5rem);
  background: rgba(47, 95, 127, 0.05);
  border-block: 1px solid var(--line);
}

.included-strip h2 {
  text-align: center;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  margin: 0 0 1.6rem;
  color: var(--ink);
}

.included-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.included-item {
  box-sizing: border-box;
  width: 9.5rem;
  flex: 0 0 9.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.1rem 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--lime);
  border-radius: var(--radius);
}

.included-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--blue-dark);
}

.included-icon svg {
  width: 100%;
  height: 100%;
}

.included-item p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink-2);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--lime);
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.checklist li::before {
  content: "✓ ";
  color: var(--blue-dark);
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.2rem;
}

.pricing-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pricing-card.featured {
  border: 2px solid var(--lime);
  box-shadow: var(--shadow), 0 0 0 3px rgba(175, 231, 14, 0.18);
  padding-top: 1.8rem;
}

.pricing-ribbon {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--lime);
  color: var(--ink);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(16, 24, 29, 0.18);
}

.pricing-head {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.pricing-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
  background: rgba(47, 95, 127, 0.12);
  color: var(--blue-dark);
}

.pricing-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.pricing-card.featured .pricing-icon {
  background: rgba(175, 231, 14, 0.28);
  color: #587900;
}

.pricing-card .pricing-badge {
  display: block;
  padding: 0;
  color: var(--blue-dark);
  background: none;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pricing-card.featured .pricing-badge {
  color: #587900;
}

.pricing-card h3 {
  margin: 0.15rem 0 0.15rem;
  font-size: 1.05rem;
}

.pricing-subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0.1rem 0;
}

.pricing-price {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--blue-dark);
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-price .pricing-from {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-card .quote-button {
  margin-top: 0.4rem;
  width: 100%;
  text-align: center;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.pricing-card ul li::before {
  content: "✓ ";
  color: var(--blue-dark);
  font-weight: 900;
}

.pricing-card .quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.85rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: rgba(47, 95, 127, 0.08);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 170ms ease,
    background 170ms ease;
}

.pricing-card .quote-button svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
}

.pricing-card .quote-button:hover {
  transform: translateY(-2px);
  background: rgba(47, 95, 127, 0.14);
}

.pricing-card.featured .quote-button {
  background: var(--lime);
  color: var(--ink);
}

.pricing-card.featured .quote-button:hover {
  background: #9dd10c;
}

.sub-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
}

.sub-kicker::before {
  content: "";
  width: 1.7rem;
  height: 3px;
  border-radius: 2px;
  background: var(--blue-dark);
  flex-shrink: 0;
}

.sub-kicker--lime::before {
  background: var(--lime-dark);
}

.options-list {
  display: grid;
  gap: 0.55rem;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: rgba(88, 132, 165, 0.14);
  color: var(--blue-dark);
  flex-shrink: 0;
}

.option-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.option-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}

.option-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}

.option-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
}

.option-price {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
  flex: 0 0 auto;
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.2rem;
}

.pack-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.6rem;
  color: white;
  background: linear-gradient(135deg, var(--ink), var(--blue-dark));
  border-radius: var(--radius);
}

.pack-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.3rem;
}

.pack-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  flex-shrink: 0;
}

.pack-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pack-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pack-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.pack-card p:not(.pack-price) {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.pack-price {
  margin: 0.5rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--lime);
}

@media (max-width: 640px) {
  .option-row {
    flex-wrap: wrap;
  }

  .option-price {
    margin-left: calc(2.7rem + 1rem);
  }
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 44rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-form label.wide {
  grid-column: span 2;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
}

.contact-form .form-actions {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-status {
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-status.success {
  color: var(--blue-dark);
  font-weight: 700;
}

.contact-status.error {
  color: #b3261e;
  font-weight: 700;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form label.wide,
  .contact-form .form-actions {
    grid-column: span 1;
  }
}
/* ------------------------------------------------------------------ */
/* Options du panier : services dans le tiroir panier                  */
/* ------------------------------------------------------------------ */

.cart-item-services {
  display: grid;
  gap: 0.25rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.cart-item-services li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.cart-item .cart-service-name {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.cart-item .cart-service-name::before {
  content: "+ ";
  color: var(--lime-dark);
}

.cart-item .cart-service-price {
  flex: none;
  font-size: 0.78rem;
  white-space: nowrap;
}

.cart-service-remove {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  color: var(--muted);
  background: rgba(16, 24, 29, 0.06);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.cart-service-remove:hover {
  color: var(--ink);
  background: rgba(16, 24, 29, 0.14);
}

.cart-service-remove svg {
  width: 0.8rem;
  height: 0.8rem;
}

.cart-item-edit {
  margin-top: 0.45rem;
  padding: 0;
  color: var(--blue-dark);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.cart-item-edit:hover {
  color: var(--ink);
}

/* ------------------------------------------------------------------ */
/* Options du panier : fenetre "Souhaitez-vous completer votre equipement ?" */
/* ------------------------------------------------------------------ */

.upsell-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.upsell-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.upsell-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 29, 0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.upsell-dialog {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(100%, 31rem);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: white;
  border-radius: calc(var(--radius) * 2);
  box-shadow: var(--shadow);
  outline: 0;
  transform: translateY(14px) scale(0.98);
  transition: transform 240ms ease;
}

.upsell-modal.open .upsell-dialog {
  transform: none;
}

.upsell-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.upsell-close:hover {
  background: rgba(16, 24, 29, 0.07);
}

.upsell-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-right: 2.2rem;
}

.upsell-head-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
}

.upsell-head-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke-width: 2.8;
}

.upsell-modal.is-edit .upsell-head-icon {
  display: none;
}

.upsell-head h2 {
  margin: 0 0 0.15rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.upsell-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.4;
}

.upsell-list {
  display: grid;
  gap: 0.7rem;
}

.upsell-option {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem 0.9rem;
  padding: 0.9rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  transition:
    border-color 170ms ease,
    box-shadow 170ms ease,
    background 170ms ease;
}

.upsell-option.is-selected {
  background: rgba(175, 231, 14, 0.09);
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 1px var(--lime-dark);
}

.upsell-option-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
}

.upsell-option-icon img,
.upsell-option-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.upsell-option-icon svg {
  padding: 0.55rem;
  color: var(--muted);
}

.upsell-option-copy strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.upsell-option-copy p {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.upsell-detail-toggle {
  padding: 0;
  color: var(--blue-dark);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.upsell-detail-toggle:hover {
  color: var(--ink);
}

.upsell-option-buy {
  display: grid;
  justify-items: end;
  gap: 0.5rem;
}

.upsell-option-price {
  font-size: 0.95rem;
  font-weight: 900;
  white-space: nowrap;
}

.upsell-add {
  min-width: 5.4rem;
  min-height: 2.3rem;
  padding: 0.4rem 0.9rem;
  color: var(--ink);
  background: white;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 170ms ease,
    color 170ms ease;
}

.upsell-add:hover {
  background: rgba(16, 24, 29, 0.06);
}

.upsell-add[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--ink);
}

.upsell-option-detail {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
  padding: 0.7rem 0.8rem;
  color: var(--ink-2);
  background: rgba(16, 24, 29, 0.04);
  border-radius: var(--radius);
  font-size: 0.82rem;
  line-height: 1.55;
}

.upsell-option-detail[hidden] {
  display: none;
}

.upsell-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0.8rem 0.9rem;
  color: var(--ink-2);
  background: rgba(88, 132, 165, 0.12);
  border-radius: var(--radius);
  font-size: 0.82rem;
  line-height: 1.5;
}

.upsell-note svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.05rem;
  color: var(--blue-dark);
}

.upsell-continue {
  width: 100%;
  border: 0;
}

.upsell-skip {
  justify-self: center;
  padding: 0.2rem 0.4rem;
  color: var(--blue-dark);
  background: none;
  border: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.upsell-skip[hidden] {
  display: none;
}

.upsell-skip:hover {
  color: var(--ink);
}

.upsell-close:focus-visible,
.upsell-add:focus-visible,
.upsell-detail-toggle:focus-visible,
.upsell-skip:focus-visible,
.cart-item-edit:focus-visible,
.cart-service-remove:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 340px) {
  .upsell-option {
    grid-template-columns: 2.6rem minmax(0, 1fr);
  }

  .upsell-option-buy {
    grid-column: 1 / -1;
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
  }
}

/* Message temporaire (ajout au panier, favoris) */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 200;
  max-width: min(92vw, 26rem);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 0.75rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .site-toast {
    transition: none;
  }
}

/* ------------------------------------------------------------------ */
/* Formulaire Pro : type de demande + calendrier de disponibilites     */
/* (pas de style en ligne : la CSP n'autorise que style-src 'self')    */
/* ------------------------------------------------------------------ */

.contact-form fieldset.wide,
.contact-form .booking-calendar.wide {
  grid-column: span 2;
}

.request-type {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.request-type legend {
  padding: 0;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-form label.choice-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 400;
  cursor: pointer;
}

.contact-form label.choice-card input {
  flex: none;
  width: auto;
  margin: 0.2rem 0 0;
  padding: 0;
  border: 0;
  accent-color: var(--blue-dark);
}

.choice-card span {
  display: grid;
  gap: 0.2rem;
}

.choice-card strong {
  font-size: 0.9rem;
}

.choice-card small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.contact-form label.choice-card:has(input:checked) {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 1px var(--blue-dark);
  background: rgba(88, 132, 165, 0.08);
}

.contact-form label.choice-card:has(input:focus-visible) {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
}

.booking-calendar {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.booking-label {
  font-size: 0.85rem;
  font-weight: 700;
}

.booking-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-month {
  min-width: 8.5rem;
  text-align: center;
  font-size: 0.9rem;
  text-transform: capitalize;
}

.booking-nav-button {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.booking-nav-button:hover:not(:disabled) {
  border-color: var(--blue-dark);
  color: var(--blue-dark);
}

.booking-nav-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-weekdays,
.booking-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.booking-weekdays {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.booking-day {
  height: 2.3rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.45;
}

.booking-day.is-open {
  border-color: var(--line);
  background: rgba(175, 231, 14, 0.14);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  opacity: 1;
}

.booking-day.is-open:hover {
  border-color: var(--lime-dark);
}

.booking-day.is-selected {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #fff;
}

.booking-day:focus-visible {
  outline: 2px solid var(--blue-dark);
  outline-offset: 2px;
}

.booking-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.75rem;
}

.booking-legend li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.booking-dot {
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.booking-dot.is-open {
  background: rgba(175, 231, 14, 0.4);
}

.booking-dot.is-closed {
  background: #e4e6e7;
}

.booking-dot.is-selected {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

.booking-selected {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.booking-note {
  margin: 0.4rem 0 0;
  color: #8a5a00;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .contact-form fieldset.wide,
  .contact-form .booking-calendar.wide {
    grid-column: span 1;
  }

  .request-type {
    grid-template-columns: 1fr;
  }
}

/* Lien vers la fiche produit dediee (produit.php), affiche dans la fenetre produit de la boutique */
.product-page-link {
  display: inline-block;
  margin: 4px 0 12px;
  font-size: 0.9rem;
  color: var(--blue-dark);
  text-decoration: underline;
}

/* Preuves de confiance (accueil) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
.trust-card {
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.trust-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--ink);
}
.trust-card ul {
  margin: 0 0 12px;
  padding-left: 1.1rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.trust-card li {
  margin-bottom: 8px;
}
.trust-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.trust-card a {
  color: var(--blue-dark);
  font-weight: 600;
}

/* FAQ */
.faq-wrap {
  max-width: 52rem;
  margin: 0 auto;
}

.faq-wrap h2 {
  margin: 0 0 1.5rem;
}

.faq-item {
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: var(--blue);
}

.faq-item[open] {
  border-color: var(--blue-dark);
  box-shadow: 0 10px 30px rgba(16, 24, 29, 0.08);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Section Confiance */
.tf {
  --tf-green: #2f5f3a;
  --tf-pale: #e9f0e3;
  --tf-check: #3a6a46;
}
.tf .section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
}
.tf .section-heading { margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem); }
.tf .section-heading p { max-width: 26rem; margin: 0; font-size: 1.02rem; }

.tf-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin: 0;
}
.tf-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  box-shadow: 0 1px 2px rgba(16, 24, 29, 0.04);
  min-width: 0;
}
.tf-method { grid-row: 1 / span 2; padding: clamp(1.4rem, 2.6vw, 2rem); display: flex; flex-direction: column; }
.tf-method-title { margin: 0 0 0.9rem; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -0.02em; color: var(--ink); }
.tf-lead { margin: 0 0 2rem; max-width: 24rem; color: var(--muted); line-height: 1.6; font-size: 1.05rem; }

.tf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: auto; padding-bottom: 2.2rem; }
.tf-step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 35px;
  left: calc(50% + 47px);
  right: calc(-50% + 47px);
  height: 1px;
  background: var(--line);
}
.tf-circle {
  display: grid; place-items: center;
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--tf-pale); color: var(--ink-2);
  margin-bottom: 0.9rem;
}
.tf-circle svg { width: 30px; height: 30px; }
.tf-step strong { font-size: 1rem; color: var(--ink); margin-bottom: 0.4rem; }
.tf-step p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--muted); max-width: 9.5rem; }

.tf-button {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--tf-green); color: #fff;
  padding: 0.9rem 1.4rem; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.tf-button:hover { background: #24492c; transform: translateY(-1px); }
.tf-button svg { width: 18px; height: 18px; }

.tf-head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem; }
.tf-head-center { align-items: center; }
.tf-head h3 { margin: 0 0 0.3rem; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.tf-head-center h3 { margin: 0; }
.tf-head p { margin: 0; font-size: 0.86rem; line-height: 1.45; color: var(--muted); }
.tf-icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--tf-pale); color: var(--ink-2);
}
.tf-icon svg { width: 22px; height: 22px; }
.tf-circle svg, .tf-icon svg, .tf-button svg, .tf-link svg {
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.tf-list { list-style: none; margin: 0; padding: 0; }
.tf-list li {
  position: relative; padding-left: 1.45rem; margin-bottom: 0.55rem;
  font-size: 0.92rem; line-height: 1.4; color: var(--ink-2);
}
.tf-list li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.32em;
  width: 0.34rem; height: 0.62rem;
  border-right: 1.8px solid var(--tf-check); border-bottom: 1.8px solid var(--tf-check);
  transform: rotate(40deg);
}
.tf-cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0 1rem; }

.tf-grade-list { display: grid; gap: 0.5rem; }
.tf-grade { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0.4rem; }
.tf-grade-name, .tf-grade-desc {
  background: #f1f2ef; border-radius: 8px; padding: 0.55rem 0.7rem;
  font-size: 0.78rem; line-height: 1.35; color: var(--ink-2);
  display: flex; align-items: center;
}
.tf-grade-name { gap: 0.55rem; font-weight: 700; font-size: 0.84rem; color: var(--ink); }
.tf-dot { flex: none; width: 0.8rem; height: 0.8rem; border-radius: 50%; display: inline-block; }
.tf-dot-green { background: #5b8f68; }
.tf-dot-blue { background: #6fb2e6; }
.tf-dot-yellow { background: #f4d23c; }
.tf-note { margin: 0.9rem 0 0; font-size: 0.74rem; line-height: 1.45; color: var(--muted); }

.tf-link {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem;
  font-size: 0.85rem; font-weight: 700; color: var(--blue-dark); text-decoration: none;
}
.tf-link:hover { text-decoration: underline; }
.tf-link svg { width: 14px; height: 14px; }

@media (max-width: 1100px) {
  .tf-grid { grid-template-columns: 1fr 1fr; }
  .tf-method { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 720px) {
  .tf-grid { grid-template-columns: 1fr; }
  .tf-steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .tf-step:not(:last-child)::after { display: none; }
  .tf-cols { grid-template-columns: 1fr; }
  .tf-grade { grid-template-columns: 1fr; }
}
