/* Shop flow: product / cart / checkout / success */

a,
a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}

.product { position: relative; }
.product > .fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  color: var(--brand);
  -webkit-text-fill-color: var(--brand);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs-under {
  margin: -2px 0 14px;
}

.product-page {
  padding-top: 0;
  padding-bottom: 28px;
}

.product-layout {
  display: grid;
  gap: 22px;
}

.product-gallery {
  position: relative;
}

.product-gallery-frame {
  position: relative;
  overflow: hidden;
  background: #ececef;
  aspect-ratio: 1;
  border-radius: 28px;
  border: 1px solid var(--line);
}

.product-gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.product-gallery-track::-webkit-scrollbar { display: none; }

.product-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  margin: 0;
  padding: 0;
  border: 0;
  background: #ececef;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
}
.product-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.product-gallery-frame .badge-sale {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.product-gallery-ui {
  position: absolute;
  inset: auto 0 14px;
  z-index: 3;
  pointer-events: none;
}

.gallery-count {
  position: absolute;
  left: 14px;
  bottom: 0;
  min-width: 46px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 14, 14, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: auto;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.gallery-dot.is-on {
  width: 18px;
  background: #fff;
}

.gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  cursor: zoom-in;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-nav:hover { background: #fff; }

/* legacy thumbs kept hidden if any remain */
.product-thumbs { display: none; }

.product-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.product-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.product-chip.is-soft {
  background: var(--brand-soft);
  border-color: transparent;
  color: #8a5555;
}
.product-chip:hover { border-color: rgba(225, 135, 135, 0.4); }

.product-info h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
}
.product-composition {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #faf6f6;
  border: 1px solid rgba(80, 40, 40, 0.06);
}
.product-composition h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-composition p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price.xl {
  margin: 0;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
}
.price.xl s {
  margin-left: 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
}
.price-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.product-lead {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 18px;
  font-size: 15px;
}

/* Lightbox gallery */
.lightbox[hidden] { display: none !important; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  place-items: center;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 14, 14, 0.78);
  cursor: zoom-out;
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  display: grid;
  place-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  border-radius: 18px;
  object-fit: contain;
  background: #111;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.lightbox-close {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.lightbox-prev { left: -8px; }
.lightbox-next { right: -8px; }
.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.flower-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.flower-box-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.flower-box-head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.flower-box-head span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.flower-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.flower-box li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.flower-box li:first-child { border-top: 0; padding-top: 0; }
.flower-box li:last-child { padding-bottom: 0; }
.flower-box li span { color: var(--ink); }
.flower-box li b {
  color: #8a5555;
  font-weight: 700;
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
}

.product-buy {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin: 0 0 18px;
}
.fav-buy {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  overflow: visible;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.fav-buy svg {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
}
.fav-buy.is-on {
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  background: var(--brand-soft);
}
.fav-buy:hover {
  border-color: var(--brand);
}
.product-buy-bar-price {
  display: none;
}
.qty {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  height: 54px;
  padding: 0 4px;
  flex: 0 0 auto;
}
.qty button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
}
.qty button:hover { background: var(--brand-soft); color: #8a5555; }
.qty input {
  width: 36px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.buy-btn {
  flex: 1;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(225, 135, 135, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.buy-btn.is-pop {
  animation: add-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25);
}
.buy-btn.is-added {
  background: #1f1a1a !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(31, 26, 26, 0.2);
}

.product-perks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.product-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}
.product-perks a {
  color: inherit;
  border-bottom: 1px solid rgba(225, 135, 135, 0.45);
}
.product-perks a:hover { color: var(--brand); }
.perk-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-bottom: 1px solid rgba(225, 135, 135, 0.45);
  text-align: left;
}
.perk-link:hover { color: var(--brand); }
.perk-ico {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  margin-top: 0;
}

.product-share {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(225, 135, 135, 0.1), transparent 55%),
    linear-gradient(180deg, #fff 0%, #faf7f7 100%);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(40, 20, 24, 0.04);
}
.product-share-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.product-share-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.product-share-hint {
  font-size: 12px;
  font-weight: 500;
}
.product-share-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.share-chip {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 84px;
  padding: 12px 6px 10px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(40, 20, 24, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.share-chip:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(40, 20, 24, 0.08),
    0 12px 22px rgba(40, 20, 24, 0.08);
}
.share-chip:active {
  transform: translateY(0);
}
.share-chip-ico {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.18s ease;
}
.share-chip:hover .share-chip-ico {
  transform: scale(1.05);
}
.share-chip-ico .soc-ico {
  width: 18px;
  height: 18px;
  display: block;
}
.share-chip-ico .soc-ico-max {
  width: 20px;
  height: 20px;
}
.share-chip-label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--ink);
}
.share-chip-short { display: none; }
.share-max .share-chip-ico { background: #111; }
.share-whatsapp .share-chip-ico { background: linear-gradient(145deg, #34d399, #128c7e); }
.share-telegram .share-chip-ico { background: linear-gradient(145deg, #5bbcff, #229ed9); }
.share-vk .share-chip-ico { background: linear-gradient(145deg, #4d9fff, #0077ff); }
.share-link .share-chip-ico {
  background: linear-gradient(145deg, #f0b7b7, var(--brand));
}
.share-link.is-copied .share-chip-ico {
  background: linear-gradient(145deg, #86efac, #16a34a);
}
.share-link.is-copied .share-chip-label {
  color: #15803d;
}

@media (max-width: 720px) {
  .product-share {
    margin-top: 14px;
    padding: 12px 10px 10px;
    border-radius: 18px;
  }
  .product-share-head {
    margin-bottom: 10px;
  }
  .product-share-hint {
    display: none;
  }
  .product-share-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    padding: 0;
    margin: 0;
  }
  .share-chip {
    width: 100%;
    min-width: 0;
    min-height: 0;
    gap: 6px;
    padding: 6px 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
  }
  .share-chip:hover,
  .share-chip:active {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.7);
  }
  .share-chip-ico {
    width: 40px;
    height: 40px;
    max-width: 100%;
    border-radius: 50%;
  }
  .share-chip-ico .soc-ico {
    width: 17px;
    height: 17px;
  }
  .share-chip-ico .soc-ico-max {
    width: 18px;
    height: 18px;
  }
  .share-chip-label {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.15;
    max-width: 100%;
    padding: 0;
  }
  .share-chip-full { display: none; }
  .share-chip-short { display: inline; }
  .share-whatsapp .share-chip-label,
  .share-telegram .share-chip-label {
    font-size: 10px;
    letter-spacing: 0;
  }
}

/* Tariffs bottom sheet */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-items: end;
}
.sheet[hidden] { display: none; }
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 25, 0.42);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.sheet-panel {
  position: relative;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 10px 16px calc(18px + var(--safe-bottom, 0px));
  max-height: min(86vh, 720px);
  overflow: auto;
  animation: sheetUp 0.22s ease;
}
@keyframes sheetUp {
  from { transform: translateY(24px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #d8d8dc;
  margin: 4px auto 12px;
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.sheet-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.sheet-x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.sheet-body { padding-bottom: 4px; }
.tariffs-sheet-table {
  margin: 0;
  box-shadow: none;
  border: 1px solid rgba(80, 40, 40, 0.08);
}
.tariffs-sheet-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
body.sheet-open { overflow: hidden; }

@media (min-width: 720px) {
  .sheet {
    align-items: center;
    justify-items: center;
    padding: 24px;
  }
  .sheet-panel {
    width: min(520px, 100%);
    border-radius: 22px;
    max-height: min(80vh, 640px);
    padding: 18px 20px 22px;
  }
  .sheet-handle { display: none; }
}

.related-section {
  padding-top: 40px;
  padding-bottom: 8px;
  margin-top: 16px;
  overflow: visible;
}
.related-section .section-head {
  margin-bottom: 14px;
}
.related-rail {
  min-width: 0;
}
.related-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.related-track .product {
  min-width: 0;
}

.card-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: none;
}
.card-panel h2 { margin: 0 0 14px; font-size: 18px; }
.card-panel label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
}
.card-panel input,
.card-panel textarea,
.card-panel select {
  border: 1px solid #e6e6ea;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.card-panel .small { font-size: 13px; }

.cart-page,
.checkout-page,
.success-page {
  padding: 24px 0 40px;
}
.cart-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.cart-page h1,
.checkout-page h1 {
  margin: 0 0 4px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em;
}
.cart-sub { margin: 0; font-size: 14px; }

.cart-layout,
.checkout-layout {
  display: grid;
  gap: 18px;
  min-width: 0;
  width: 100%;
}
.checkout-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.checkout-page,
.checkout-card,
.checkout-summary,
.card-panel {
  min-width: 0;
  max-width: 100%;
}

.cart-layout:has(.cart-empty) {
  grid-template-columns: 1fr;
}

.cart-empty {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(241, 214, 214, 0.55), transparent 62%),
    linear-gradient(180deg, #fff 0%, #fbf7f7 100%);
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 36px 28px 28px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.cart-empty-visual {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
}
.cart-empty-bloom {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff 0%, var(--brand-soft) 55%, rgba(225, 135, 135, 0.18) 100%);
}
.cart-empty-ico {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(225, 135, 135, 0.22);
  box-shadow: 0 10px 28px rgba(180, 110, 110, 0.12);
}
.cart-empty-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 420px;
}
.cart-empty h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.cart-empty p {
  margin: 0;
  max-width: 360px;
  line-height: 1.45;
  font-size: 15px;
}
.cart-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.cart-empty-actions .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
}
.cart-empty-actions .btn-action {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(225, 135, 135, 0.28);
}
.cart-empty-actions .btn-ghost {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(80, 40, 40, 0.12);
}
.cart-empty-actions .btn-ghost:hover {
  background: var(--brand-soft);
  color: var(--brand);
  box-shadow: inset 0 0 0 1.5px transparent;
}
.cart-empty-perks {
  list-style: none;
  margin: 6px 0 0;
  padding: 14px 0 0;
  width: min(100%, 520px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  border-top: 1px solid rgba(80, 40, 40, 0.08);
}
.cart-empty-perks li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(80, 40, 40, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.cart-list { display: grid; gap: 12px; min-width: 0; }

.cart-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--line);
  padding: 14px;
}
.cart-photo {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  overflow: hidden;
  background: #f3eeee;
}
.cart-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-info {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}
.cart-title {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.cart-unit { font-size: 13px; }
.cart-row-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.cart-qty {
  height: 40px;
  border-radius: 12px;
}
.cart-qty button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 18px;
}
.cart-qty input { width: 28px; font-size: 14px; }
.cart-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 4px;
}
.cart-remove:hover { color: var(--danger); }
.cart-side {
  display: grid;
  align-content: start;
  justify-items: end;
}
.cart-line-price {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.cart-summary {
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 20px;
  align-self: start;
}
.cart-summary h2 {
  margin: 0 0 16px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.linkish {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.cart-clear {
  display: none;
}
.cart-clear-quiet {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: #b0a6a6;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.01em;
}
.cart-clear-quiet:hover {
  color: var(--muted);
}

.fav-toolbar {
  margin: 20px 0 8px;
  display: flex;
  justify-content: flex-end;
}
.fav-layout .fav-grid {
  margin: 0;
}

.sum-rows { display: grid; gap: 12px; margin-bottom: 18px; min-width: 0; }
.sum-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  min-width: 0;
}
.sum-rows > div > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.sum-rows > div > b,
.sum-rows > div > strong,
.sum-rows > div > span.muted {
  flex: 0 0 auto;
  white-space: nowrap;
}
.sum-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  align-items: baseline;
}
.sum-total strong { font-size: 22px; letter-spacing: -0.03em; }
.cart-summary .btn,
.checkout-summary .btn {
  width: 100%;
  margin-bottom: 0;
  justify-content: center;
  min-height: 50px;
  border-radius: 16px;
}
.flow-cta-bar {
  display: grid;
  gap: 0;
  margin-top: 16px;
}
.flow-cta-meta {
  display: none;
}
.cart-checkout {
  box-shadow: 0 10px 24px rgba(225, 135, 135, 0.28);
}
.cart-notes {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.cart-notes li {
  padding-left: 16px;
  position: relative;
}
.cart-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.cart-suggest {
  padding-top: 28px;
  padding-bottom: 80px;
  overflow: visible;
}
.cart-suggest .related-rail {
  min-width: 0;
}

@media (max-width: 640px) {
  .cart-row {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .cart-side {
    grid-column: 2;
    justify-items: start;
    margin-top: -4px;
  }
  .cart-photo {
    width: 84px;
    height: 84px;
  }
}

.success-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.success-card h1 { margin: 6px 0 12px; letter-spacing: -0.03em; }
.ok-box { margin: 20px 0; display: grid; gap: 12px; }
.ok-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}
.ok-item img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}
.ok-item span { display: block; color: var(--muted); font-size: 13px; }
.ok-total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.search-page { padding: 8px 0 64px; }
.search-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.search-page-head h1 {
  margin: 0 0 4px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em;
}
.search-page-head p { margin: 0; }
.search-page-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 24px;
}
.search-page-form input {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  background: #fff;
  font: inherit;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.search-page-form input::-webkit-search-decoration,
.search-page-form input::-webkit-search-results-button,
.search-page-form input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-page-form input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  cursor: pointer;
  background: center / 14px 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23efe8e8'/%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7' stroke='%237a7070' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.search-page-form .btn {
  min-height: 52px;
  border-radius: 16px;
  padding: 0 22px;
}
.search-page-form .search-suggest {
  left: 0;
  right: 0;
  top: calc(100% + 8px);
}
.search-grid { gap: 14px; }
.search-empty,
.search-hints {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
}
.search-empty {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.search-empty h2 { margin: 0; }
.search-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
  align-items: center;
}
.search-hint-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.search-hint-chips a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #faf6f6;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.search-hint-chips a:hover {
  background: var(--brand-soft);
  border-color: transparent;
}

@media (max-width: 979px) {
  .product-page {
    padding-bottom: calc(88px + var(--safe-bottom, 0px));
    overflow: visible;
  }
  .product-layout {
    gap: 16px;
  }
  .product-gallery {
    margin-left: -1rem;
    margin-right: -1rem;
  }
  .product-gallery-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
  }
  .product-gallery-ui {
    bottom: 12px;
  }
  .gallery-count {
    left: 12px;
  }
  .gallery-zoom {
    right: 12px;
    bottom: 12px;
  }
  .gallery-nav {
    display: none !important;
  }
  .crumbs-under {
    margin: -4px 0 12px;
    font-size: 12px;
  }
  .product-info h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  .price.xl {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand);
  }
  .price-note {
    width: 100%;
    margin-top: 2px;
  }
  .product-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(58px + var(--safe-bottom, 0px));
    z-index: 46;
    margin: 0;
    padding: 10px 12px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px rgba(40, 20, 24, 0.08);
  }
  .product-buy .buy-btn {
    width: 100%;
    flex: 1 1 auto;
    min-height: 52px;
    border-radius: 16px;
    font-size: 16px;
  }
  .product-buy .fav-buy {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .cart-page {
    padding-bottom: 8px;
  }
  .checkout-page {
    padding-bottom: calc(96px + var(--safe-bottom, 0px));
  }
  .cart-page:has(.cart-empty) {
    padding-bottom: 20px;
  }
  body.has-flow-cta .cart-suggest {
    padding-top: 16px;
    padding-bottom: calc(110px + var(--safe-bottom, 0px));
  }
  .cart-suggest.section {
    padding-top: 16px;
  }
  .flow-cta-bar.cart-checkout-bar,
  .flow-cta-bar.checkout-submit-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(58px + var(--safe-bottom, 0px));
    z-index: 46;
    margin: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px rgba(40, 20, 24, 0.08);
  }
  .flow-cta-bar .flow-cta-meta {
    display: none;
  }
  .flow-cta-bar .btn {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    border-radius: 16px;
    font-size: 16px;
    box-shadow: none;
  }
  .cart-summary .cart-notes,
  .cart-summary .cart-clear-quiet {
    margin-bottom: 0;
  }
  .checkout-summary .checkout-secure {
    margin-bottom: 0;
  }
  .related-section {
    padding-top: 24px;
    padding-bottom: 4px;
    margin-top: 8px;
    overflow: visible;
  }
  .related-section .section-head {
    margin-bottom: 10px;
  }
  .related-section .section-head h2 {
    font-size: 22px;
  }
  .related-rail {
    margin-left: -1rem;
    margin-right: -1rem;
    overflow: visible;
  }
  .related-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    padding: 0 1rem 6px;
    scrollbar-width: none;
  }
  .related-track::-webkit-scrollbar {
    display: none;
  }
  .related-track .product {
    box-sizing: border-box;
    flex: 0 0 min(68vw, 280px);
    width: min(68vw, 280px);
    min-width: min(68vw, 280px);
    max-width: min(68vw, 280px);
    margin: 0;
    height: auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
  }
  .related-track .product-media {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    overflow: hidden;
    background: #ececef;
  }
  .related-track .product-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .related-track .product-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 12px 12px 14px;
    min-height: 0;
  }
  .related-track .product-body h3 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.3;
    height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .related-track .product-comp {
    margin: 0;
    height: 2.8em;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .related-track .product-foot {
    margin-top: auto;
    padding-top: 12px;
  }
}

@media (min-width: 980px) {
  .product-page {
    padding-top: 28px;
  }
  .product-layout {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
    align-items: start;
  }
  .product-info {
    position: sticky;
    top: 20px;
    padding-top: 4px;
  }
  .product-info h1 { font-size: 36px; font-weight: 600; }
  .crumbs-under {
    margin: -4px 0 16px;
    font-size: 13px;
  }
  .price.xl { font-size: 34px; }
  .product-buy-bar-price { display: none !important; }
  .product-buy .qty.desk-only {
    display: inline-flex !important;
  }
  .related-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .product-gallery-frame {
    aspect-ratio: 4 / 5;
    border-radius: 32px;
  }
  .gallery-nav {
    display: grid;
    opacity: 0;
    transition: opacity 0.18s ease;
  }
  .product-gallery-frame:hover .gallery-nav {
    opacity: 1;
  }
  .cart-layout,
  .checkout-layout { grid-template-columns: 1.45fr 0.75fr; align-items: start; gap: 24px; }
  .cart-summary,
  .checkout-summary { position: sticky; top: 20px; }
  .cart-suggest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* —— Checkout polish —— */
.checkout-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.checkout-lead { margin: 4px 0 0; font-size: 14px; }
.checkout-card { overflow: visible; }
.checkout-card h2 { margin-bottom: 16px; }

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field-label { display: block; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #e6e6ea;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(225, 135, 135, 0.65);
  box-shadow: 0 0 0 3px rgba(225, 135, 135, 0.16);
}
.field input[type="date"],
.field input[type="time"] {
  min-height: 48px;
  color-scheme: light;
}

/* Custom date / time pickers */
.dt-picker {
  position: relative;
}
.dt-picker-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #e6e6ea;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dt-picker-trigger:hover {
  border-color: rgba(225, 135, 135, 0.45);
}
.dt-picker-trigger[aria-expanded="true"] {
  border-color: rgba(225, 135, 135, 0.65);
  box-shadow: 0 0 0 3px rgba(225, 135, 135, 0.16);
}
.dt-picker-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dt-picker-label.is-placeholder {
  color: #9b9ba1;
  font-weight: 500;
}
.dt-picker-ico {
  flex: 0 0 auto;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.dt-sheet-body {
  max-height: min(52vh, 420px);
  overflow: auto;
  padding-bottom: 8px;
}
.dt-date-list {
  display: grid;
  gap: 6px;
}
.dt-date-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: #f5f5f5;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.dt-date-option:hover { background: #efecec; }
.dt-date-option.is-on {
  background: #1f1a1a;
  color: #fff;
}
.dt-date-main { font-size: 15px; }
.dt-date-sub {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7;
}
.dt-date-option.is-on .dt-date-sub { opacity: 0.75; }
.dt-time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.dt-time-option {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: #f5f5f5;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.dt-time-option:hover { background: #efecec; }
.dt-time-option.is-on {
  background: #1f1a1a;
  color: #fff;
}
.dt-empty {
  margin: 8px 0 12px;
  line-height: 1.45;
  font-size: 14px;
}
.dt-sheet-panel .sheet-actions {
  display: grid;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.dt-sheet-panel .sheet-apply {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 0;
  justify-content: center;
}

.checkout-when-extra {
  display: grid;
  gap: 0 12px;
  grid-template-columns: 1fr;
  margin-bottom: 4px;
}
@media (min-width: 480px) {
  .checkout-when-extra:has([data-when-date]:not([hidden])):has([data-when-time]:not([hidden])) {
    grid-template-columns: 1fr 1fr;
  }
}
.checkout-when-extra .field[hidden] { display: none !important; }
.checkout-when-extra .field {
  min-width: 0;
}
.checkout-when-extra:not([hidden]) {
  animation: checkout-fade 0.22s ease;
}
@keyframes checkout-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.fulfillment-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fulfillment-opt {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 14px;
  border-radius: 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.fulfillment-opt strong {
  font-size: 15px;
  font-weight: 700;
}
.fulfillment-opt span {
  font-size: 13px;
  color: var(--muted, #6b6b70);
}
.fulfillment-opt.is-on {
  background: #fff7f7;
  border-color: #e18787;
  box-shadow: 0 0 0 3px rgba(225, 135, 135, 0.16);
}
.pickup-point {
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f7f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.pickup-point-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted, #6b6b70);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pickup-point strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.pickup-point .muted { margin: 0; }
[data-fulfillment-delivery][hidden],
[data-fulfillment-pickup][hidden] {
  display: none !important;
}
.ok-pickup { margin: 0 0 16px; }

.checkout-consent {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 4px 0 16px !important;
  padding: 12px 14px;
  border-radius: 14px;
  background: #faf7f7;
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.checkout-consent:hover {
  background: #fff;
  border-color: rgba(225, 135, 135, 0.35);
}
.checkout-consent:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(225, 135, 135, 0.2);
  border-color: rgba(225, 135, 135, 0.55);
}
.checkout-consent:has(input:checked) {
  background: var(--brand-soft);
  border-color: rgba(225, 135, 135, 0.4);
}
.card-panel .checkout-consent input,
.checkout-consent input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.checkout-consent-box {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 7px;
  border: 1.5px solid rgba(80, 40, 40, 0.22);
  background: #fff;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.checkout-consent-box::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px) scale(0.6);
  opacity: 0;
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.checkout-consent input:checked + .checkout-consent-box {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 4px 10px rgba(225, 135, 135, 0.35);
}
.checkout-consent input:checked + .checkout-consent-box::after {
  opacity: 1;
  transform: rotate(-45deg) translateY(-1px) scale(1);
}
.checkout-consent input:invalid:not(:focus) + .checkout-consent-box {
  border-color: rgba(225, 135, 135, 0.55);
}
.checkout-consent-text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--muted);
  font-weight: 500;
}
.checkout-consent a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(225, 135, 135, 0.55);
  text-underline-offset: 2px;
  font-weight: 600;
}
.checkout-consent a:hover {
  color: var(--brand);
  text-decoration-color: var(--brand);
}

.checkout-delivery-note {
  margin: 4px 0 0;
  line-height: 1.45;
  padding: 12px 14px;
  border-radius: 14px;
  background: #faf6f6;
  border: 1px solid rgba(80, 40, 40, 0.06);
}
.checkout-secure {
  margin: 12px 0 0;
  text-align: center;
}
.checkout-summary .sum-rows { margin-bottom: 16px; }
.checkout-summary .btn {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(225, 135, 135, 0.28);
}

/* Custom select */
.c-select {
  position: relative;
  font-weight: 500;
  min-width: 0;
  max-width: 100%;
}
.c-select-trigger {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #e6e6ea;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.c-select-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-select-trigger:hover {
  border-color: rgba(225, 135, 135, 0.45);
}
.c-select.is-open .c-select-trigger {
  border-color: rgba(225, 135, 135, 0.65);
  box-shadow: 0 0 0 3px rgba(225, 135, 135, 0.16);
}
.c-select-chevron {
  width: 10px;
  height: 10px;
  flex: none;
  border-right: 2px solid #b9a8a8;
  border-bottom: 2px solid #b9a8a8;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}
.c-select.is-open .c-select-chevron {
  transform: rotate(225deg) translateY(-2px);
}
.c-select-menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(80, 40, 40, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(60, 30, 30, 0.12);
  max-height: 280px;
  overflow: auto;
}
.c-select-option {
  padding: 12px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.c-select-option:hover {
  background: var(--brand-soft);
}
.c-select-option.is-active {
  background: var(--brand-soft);
  color: #8a5555;
}

/* Autofill hook for phone mask */
@keyframes onAutoFillStart { from {} to {} }
#checkout-phone:-webkit-autofill {
  animation-name: onAutoFillStart;
}

@media (max-width: 640px) {
  .checkout-page {
    overflow-x: clip;
  }
  .checkout-head {
    align-items: start;
    flex-direction: column;
  }
  .card-panel {
    padding: 16px;
  }
  .checkout-delivery-note {
    overflow-wrap: anywhere;
  }
}

/* —— Info pages (delivery / tariffs / about / privacy) —— */
.info-page {
  padding: 8px 0 56px;
}
.info-page .crumbs {
  margin: 4px 0 16px;
  font-size: 13px;
}
.info-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.info-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(80, 40, 40, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.info-nav-link:hover {
  border-color: rgba(225, 135, 135, 0.45);
  color: var(--brand);
}
.info-nav-link.is-active {
  background: var(--brand-soft);
  border-color: transparent;
  color: #8a5555;
}
.info-hero {
  margin-bottom: 24px;
}
.info-hero .eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
}
.info-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.5vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.info-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.info-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}
.info-card {
  background: #fff;
  border: 1px solid rgba(80, 40, 40, 0.08);
  border-radius: 22px;
  padding: 22px 22px 20px;
}
.info-card-wide { margin-bottom: 20px; }
.info-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.info-card p {
  margin: 0 0 12px;
  line-height: 1.55;
  color: var(--ink);
}
.info-card p:last-child { margin-bottom: 0; }
.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.info-list li {
  position: relative;
  padding-left: 16px;
  line-height: 1.45;
}
.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.info-steps {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 10px;
  line-height: 1.45;
}
.info-points {
  display: grid;
  gap: 16px;
}
.info-points strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.info-points p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.info-table-wrap { margin-bottom: 14px; }
.info-tariffs-panel {
  margin-bottom: 20px;
  box-shadow: none;
  border: 1px solid rgba(80, 40, 40, 0.08);
}
.info-tariffs-panel .info-note {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(80, 40, 40, 0.08);
}
.info-page .info-card,
.info-page .info-cta,
.info-page .contact-card {
  box-shadow: none;
}
.info-page .contact-card {
  margin-bottom: 20px;
  border: 1px solid rgba(80, 40, 40, 0.08);
}
.info-note { margin: 0; font-size: 13px; line-height: 1.45; }
.info-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
  padding: 22px 24px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(241, 214, 214, 0.55), transparent 55%),
    #fff;
  border: 1px solid rgba(80, 40, 40, 0.08);
}
.info-cta h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.info-cta p {
  margin: 0;
  color: var(--muted);
}
.info-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.info-btn-ghost {
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: inset 0 0 0 1.5px rgba(80, 40, 40, 0.12) !important;
}
.info-btn-ghost:hover {
  background: var(--brand-soft) !important;
  color: var(--brand) !important;
  box-shadow: inset 0 0 0 1.5px transparent !important;
}
.legal-card h2 {
  margin-top: 28px;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card a { color: var(--brand); font-weight: 600; }
.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover { color: var(--brand); }

@media (min-width: 860px) {
  .info-page {
    padding-top: 20px;
  }
  .info-page .crumbs {
    margin: 0 0 18px;
  }
  .info-hero { margin-bottom: 28px; }
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
  }
  .info-card-wide,
  .info-tariffs-panel,
  .info-page .contact-card {
    margin-bottom: 22px;
  }
  .info-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* —— 404 —— */
.not-found-page {
  padding-top: 28px;
  padding-bottom: 48px;
}
.not-found-card {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 40px 28px 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(241, 214, 214, 0.7), transparent 58%),
    linear-gradient(180deg, #fff 0%, #fbf7f7 100%);
}
.not-found-visual {
  position: relative;
  width: min(220px, 70vw);
  height: 120px;
  display: grid;
  place-items: center;
}
.not-found-bloom {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 40% 35%, #fff 0%, var(--brand-soft) 52%, rgba(225, 135, 135, 0.2) 100%);
  filter: blur(0.2px);
}
.not-found-code {
  position: relative;
  z-index: 1;
  font-size: clamp(64px, 14vw, 96px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: #1a1a1a;
  text-shadow: 0 12px 40px rgba(180, 110, 110, 0.18);
}
.not-found-copy {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 460px;
}
.not-found-copy .eyebrow {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}
.not-found-copy h1 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.not-found-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.not-found-actions .btn-action {
  min-width: 148px;
}
.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  padding-top: 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  width: min(100%, 420px);
  margin-top: 4px;
}
.not-found-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.not-found-links a:hover {
  color: var(--brand);
}

@media (max-width: 640px) {
  .not-found-page { padding-top: 16px; }
  .not-found-card { padding: 28px 18px 24px; border-radius: 22px; }
}
