/* ============================================================
   Marketing — minimalistické hodnocení u produktů
   ============================================================ */
.rating-chip {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 2px 0 12px; padding: 0; background: none; border: none;
  cursor: pointer; font: inherit; line-height: 1;
  animation: rcIn .5s ease both;
}
.rating-chip .rc-stars { color: #e0a85a; font-size: 14px; letter-spacing: 1px; }
.rating-chip .rc-num { font-size: 14px; font-weight: 600; color: var(--ink, #2a2521); }
.rating-chip .rc-count {
  font-size: 13px; color: var(--muted, #8c8174);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease;
}
.rating-chip:hover .rc-count { color: var(--ink-soft, #4c443c); border-bottom-color: currentColor; }

.detail-info .rating-chip { margin: 4px 0 16px; }
.detail-info .rating-chip .rc-stars,
.detail-info .rating-chip .rc-num { font-size: 15px; }

@keyframes rcIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rating-chip { animation: none; } }

/* Detail náramku — fotka stejná jako v katalogu (4:3 + zaoblené rohy) */
.detail-img { border-radius: var(--radius-lg, 20px); overflow: hidden; }
.detail-img img { display: block; aspect-ratio: 4 / 3; min-height: 0; height: auto; object-fit: cover; border-radius: 0; }

/* Výklad (výsledek generování) — fotka produktu ve stejném formátu 4:3.
   DŮLEŽITÉ: .product-grid má align-items: stretch, takže vizuál by se jinak
   vytáhl na výšku textu a aspect-ratio by z té výšky dopočítal obří šířku
   (fotka přes celý text). align-self: start to drží u horního okraje a poměr
   4:3 se počítá ze šířky sloupce. */
.product-visual { min-height: 0; height: auto; aspect-ratio: 4 / 3; align-self: start;
  position: sticky; top: 100px; border-radius: var(--radius-lg, 20px); }
.product-visual img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.product-visual:has(.product-gallery) { height: auto; aspect-ratio: auto; overflow: visible; background: transparent; }
.product-visual .product-gallery-main { height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius-lg, 20px); }
.product-visual .product-gallery-thumb img { height: auto; aspect-ratio: 4 / 3; }
.pair-products .product-visual { min-height: 0; height: auto; aspect-ratio: 4 / 3; align-self: start; }

/* Fotorecenze — fotka zákaznice v kartě recenze */
.review-photo {
  margin: -4px 0 16px; border-radius: 14px; overflow: hidden;
  animation: rcIn .5s ease both;
}
.review-photo img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.review:hover .review-photo img { transform: scale(1.03); }

/* Banner návratu z platby (?platba=uspech | zruseno) */
.pay-banner {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 3000; width: min(560px, calc(100% - 32px));
  animation: payIn .45s cubic-bezier(.2,.7,.2,1) both;
}
.pay-banner-inner {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 16px 44px 16px 18px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line, #eadfce);
  box-shadow: 0 18px 44px rgba(120,80,40,.18);
}
.pay-banner-inner strong { font-family: var(--serif); font-size: 17px; color: var(--ink, #2a2521); }
.pay-banner-inner span { font-size: 14.5px; color: var(--ink-soft, #4c443c); line-height: 1.5; }
.pay-banner-ok .pay-banner-inner { border-left: 4px solid #4a9d6a; }
.pay-banner-info .pay-banner-inner { border-left: 4px solid var(--gold-2, #d0a15a); }
.pay-banner-close {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px;
  border: none; background: none; cursor: pointer; font-size: 15px;
  color: var(--muted, #8c8174); border-radius: 8px; line-height: 1;
}
.pay-banner-close:hover { background: var(--bg-2, #f6efe5); color: var(--ink, #2a2521); }
@keyframes payIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .pay-banner { animation: none; } }

/* Uložit výklad — bez rámečku/boxu, jen text. „Uložit výklad" černě tučně,
   „Uloží se do vašeho účtu" zůstává jemně šedé (styl z .inline-save-reading-message). */
.inline-save-reading { padding: 0; border: 0; background: none; border-radius: 0; }
.inline-save-reading-button { color: var(--ink, #2a2521); padding: 0; }
.inline-save-reading-button:hover { color: var(--ink, #2a2521); text-decoration: underline; }

/* CTA pás „Získat své doporučení" — bílé pozadí místo krémového. */
.cta-band { background: #fff; }

/* Hero — fotka jako celé pozadí, text a výhody na ní. */
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% center; z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    /* čitelnost textu vlevo */
    linear-gradient(90deg, rgba(245,239,230,.92) 0%, rgba(245,239,230,.7) 34%, rgba(245,239,230,.26) 62%, rgba(245,239,230,0) 100%),
    /* horní i spodní hrana do ztracena (splyne s pozadím stránky) */
    linear-gradient(180deg,
      var(--bg, #f5efe6) 0%,
      rgba(245,239,230,.55) 9%,
      rgba(245,239,230,0) 22%,
      rgba(245,239,230,0) 66%,
      rgba(245,239,230,.5) 84%,
      var(--bg, #f5efe6) 100%);
}
.hero-split { border-radius: 0; }
.hero-inner { position: relative; z-index: 1; padding-top: 74px; padding-bottom: 84px; }

/* Mobil — přechod rovnoměrnější (čitelnost) + hrany do ztracena. */
@media (max-width: 900px) {
  .hero-scrim {
    background:
      linear-gradient(180deg,
        var(--bg, #f5efe6) 0%,
        rgba(245,239,230,.82) 12%,
        rgba(245,239,230,.55) 42%,
        rgba(245,239,230,.6) 76%,
        var(--bg, #f5efe6) 100%);
  }
  .hero-bg { object-position: 60% center; }
  .hero-inner { padding-top: 40px; padding-bottom: 64px; }
}

/* ===== Moderní „glass" date picker (nahrazuje dětské pastelové bubliny) ===== */
.studio .couple { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.couple-side,
.couple-side.her,
.couple-side.him {
  padding: 22px 14px 18px; border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .48);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 26px 60px -36px rgba(90, 60, 25, .5), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.couple-side h4 { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .4px;
  text-transform: none; margin-bottom: 12px; }
.couple-side.her h4 { color: #c77f92; }
.couple-side.him h4 { color: #7f93b8; }

/* Popisky sloupců — jemnější */
.picker-label { color: rgba(90, 80, 70, .5); font-size: 10px; letter-spacing: 2.6px; }

/* Kolečka — elegantnější typografie, menší skok velikosti */
.wheel-item { color: rgba(58, 48, 40, .34); font-weight: 500; }
.wheel-item.active { color: var(--ink, #2a2521); font-size: 22px; font-weight: 600; }

/* Výběrový pás — matné sklo, tenký neutrální rámeček */
.picker-band,
.couple-side.her .picker-band,
.couple-side.him .picker-band {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(120, 90, 50, .14);
  border-radius: 14px;
  box-shadow: 0 12px 28px -18px rgba(90, 60, 25, .45), inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* užší kolečka u páru, ať se dva sloupce pohodlně vejdou */
.couple-side .wheel { width: clamp(64px, 18vw, 104px); }

@media (max-width: 620px) {
  .studio .couple { grid-template-columns: 1fr; gap: 16px; }
  .couple-side .wheel { width: clamp(84px, 24vw, 118px); }
}

/* Detail náramku — bílá karta kolem produktu (sjednoceno s výkladem). */
.detail-offer {
  background: var(--card, #fffdf9);
  border: 1px solid var(--line, #e6dcca);
  border-radius: var(--radius-lg, 20px);
  padding: 30px;
  box-shadow: var(--shadow);
}
@media (max-width: 760px) { .detail-offer { padding: 20px; } }

/* ===== Párový výklad jako jeden set ===== */
.pair-set .pair-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pair-col { display: flex; flex-direction: column; min-width: 0; }
.pair-col .pair-tag { text-align: center; margin-bottom: 10px; }
.pair-visual {
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg, 20px); overflow: hidden; margin-bottom: 16px;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 34% 22%, #fff, #efe2cf 68%, #e4d0bd);
}
.pair-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pair-visual svg { width: min(70%, 220px); }
.pair-name { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.15;
  text-align: center; margin-bottom: 12px; }
.pair-col .meaning-deep { margin-top: 4px; }
/* dělicí linka mezi sloupci na desktopu */
.pair-set .pair-columns .pair-col + .pair-col { position: relative; }
.pair-set .pair-columns .pair-col + .pair-col::before {
  content: ""; position: absolute; left: -20px; top: 0; bottom: 0; width: 1px;
  background: var(--line, #e6dcca);
}
.pair-buy {
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line, #e6dcca);
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.pair-price { display: flex; align-items: baseline; gap: 10px; }
.pair-price-label { color: var(--muted, #8c8174); font-size: 15px; }
.pair-buy .price { font-size: 26px; }
.pair-buy .add-pair { width: 100%; max-width: 420px; }
@media (max-width: 760px) {
  .pair-set .pair-columns { grid-template-columns: 1fr; gap: 30px; }
  .pair-set .pair-columns .pair-col + .pair-col::before { display: none; }
  .pair-set .pair-columns .pair-col + .pair-col {
    border-top: 1px solid var(--line, #e6dcca); padding-top: 28px;
  }
}

/* Reálná fotka kamene místo gradientní kuličky (kruhový rámeček skryje spodní okraj). */
.bead-photo {
  display: inline-flex; flex: none; width: 40px; height: 40px; margin-top: 2px;
  border-radius: 50%; overflow: hidden; background: #f4ece0;
  box-shadow: inset 0 0 0 1px rgba(120, 80, 40, .1);
}
.bead-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bead-photo.big { width: 56px; height: 56px; margin-top: 0; }
.meaning-head { display: flex; align-items: center; gap: 12px; }
.stone-article { display: flex; gap: 14px; align-items: flex-start; }

/* Tlačítko v banneru po platbě — „Přejít do mého účtu". */
.pay-banner-action {
  align-self: flex-start; margin-top: 10px; padding: 9px 16px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(120deg, var(--gold-2, #d0a15a), var(--terra, #c17a4a));
  transition: filter .2s ease;
}
.pay-banner-action:hover { filter: brightness(1.05); }

/* Nápověda pod e-mailem v košíku (Gmail → účet po platbě). */
.checkout-hint {
  margin: -4px 2px 2px; font-size: 12.5px; line-height: 1.45;
  color: var(--muted, #8c8174);
}
