:root {
  --editorial: "Bodoni Moda", "Cormorant Garamond", Georgia, serif;
  --paper: #fcf7f4;
  --ink: #412932;
  --wine: #4c2b37;
  --rose: #f3e4e8;
  --edge: #dcc4cc;
}
body { background: var(--paper); color: var(--ink) }
main section { --ink: #412932; --bg: #fcf7f4; --card: #f6e9ec; --line: #dcc4cc; --mute: #735361 }
h2 { font: 500 clamp(2.25rem, 6vw, 5.25rem)/1.01 var(--editorial); letter-spacing: -.04em; text-wrap: balance }
header.solid { color: #412932; background: #fcf7f4f5 }
header.solid nav { opacity: 1; visibility: visible }
header .logo { font: 600 21px var(--editorial); letter-spacing: .08em }
.hero { min-height: auto; padding: clamp(102px, 12vw, 176px) 0 0; background: var(--paper); overflow: clip }
.hero-intro { padding: 0 20px; text-align: center }
.hero .word { font: 500 clamp(2.5rem, 12vw, 11rem)/.94 var(--editorial); letter-spacing: -.045em; cursor: default; mask-image: linear-gradient(#000 44%, #0007 96%) }
.hero .vcr > span { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; animation: cut .95s cubic-bezier(.2,.85,.25,1) calc(var(--d) * 1s) both }
.hero-brief { display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: end; width: min(100%, 930px); margin: clamp(24px,4vw,44px) auto 0; text-align: left }
.hero-description p { margin: 0 }
.hero-description .hero-lead { font: 500 clamp(1.8rem,4.2vw,3.15rem)/1.02 "Cormorant Garamond", Georgia, serif; text-wrap: balance }
.hero-description .hero-detail { font-size: .95rem; color: var(--mute); margin-top: 10px }
.hero-brief .hero-actions { justify-content: flex-end }
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap }
.hero-actions .line, .reviews-head .line { margin-left: 0 }
.btn.hover-button { display: inline-flex; align-items: center; gap: 10px; padding-inline: 20px; background: var(--ink); color: var(--bg) }
.btn.hover-button::after { display: none }
.hover-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor }
.hover-label,.hover-dot,.hover-arrow { transition: transform .25s, opacity .25s }
.hover-arrow { opacity: 0; transform: translateX(-7px) }
.btn.hover-button:is(:hover,:focus-visible) { color: var(--bg); transform: none }
.btn.hover-button:is(:hover,:focus-visible) .hover-dot { transform: scale(0); opacity: 0 }
.btn.hover-button:is(:hover,:focus-visible) .hover-label { transform: translateX(-12px) }
.btn.hover-button:is(:hover,:focus-visible) .hover-arrow { opacity: 1; transform: none }
figure { margin: 0 }
.hero-window { position: relative; overflow: clip; isolation: isolate; background: #a79189 }
.hero-window { width: calc(100% - var(--inset, 8vw) * 2); margin: clamp(30px, 6vw, 76px) auto 0; height: clamp(365px, 63vw, 680px); border-radius: var(--radius, 22px) }
.hero-window img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transform: scale(var(--scale, 1.06)) }
.hero-window figcaption { position: absolute; left: clamp(16px,4vw,52px); bottom: clamp(16px,4vw,52px); max-width: min(31ch,calc(100% - 32px)); padding: 16px 22px; border-radius: 12px; background: #fcf7f4; color: #412932 }
.hero-window figcaption span { display: block; font: 700 24px/1.14 "Cormorant Garamond",Georgia,serif }
.hero-window figcaption a { display: inline-block; margin-top: 6px; text-decoration: underline; text-underline-offset: 3px; font-size: .875rem }
.workshop { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; gap: clamp(28px,7vw,100px); padding: clamp(56px,9vw,132px) clamp(20px,8vw,116px); color: var(--ink) }
.workshop-window { width: min(100%,560px); margin-inline: auto }
.workshop-window img { width: 100%; height: auto; border-radius: 16px }
.workshop-copy h2 { margin-bottom: 20px; text-wrap: balance }
.workshop-copy p { max-width: 38ch; margin: 0 0 24px; color: var(--mute) }
.workshop-copy .btn { margin: 0 }
.collection { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.2fr); align-items: start; gap: clamp(28px,6vw,90px); background: #f5e9e8; color: var(--ink) }
.collection-intro { position: sticky; top: 106px }
.collection .grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
.collection .chip { border-color: #a3828d }
.stack { background: var(--paper); color: var(--ink) }
#care { background: #ead7dc; color: var(--ink) }
#care .facts div { border-color: #a3828d }
.reviews { background: var(--paper); color: var(--ink); overflow: hidden }
.reviews-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap }
.reviews-head h2 { margin: 0 }
#reviews-state { color: var(--mute); margin: 18px 0 0 }
.review-marquees { display: grid; gap: 14px; margin: 28px 0 16px }
.review-marquees[hidden] { display: none }
.review-lane { overflow: hidden }
.review-track { display: flex; width: max-content; animation: review-scroll var(--duration, 35s) linear infinite }
.review-lane:nth-child(even) .review-track { animation-direction: reverse }
.review-marquees:hover .review-track { animation-play-state: paused }
.review-group { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 14px 0 0 }
.review-card { width: min(290px,78vw); flex: none; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #f9eff0; overflow-wrap: anywhere }
.review-card strong { display: block; font: 700 25px/1 "Cormorant Garamond",Georgia,serif }
.review-stars { display: block; margin: 8px 0; color: #79394e; font-size: 14px }
.review-card p { margin: 0; white-space: pre-wrap }
.review-motion { border: 1px solid #a3828d; color: var(--ink); background: transparent; padding: 7px 14px; border-radius: 99px; font: inherit; font-size: 14px; cursor: pointer }
.review-marquees.paused .review-lane,.review-marquees.static .review-lane { overflow: auto }
.review-marquees.paused .review-track,.review-marquees.static .review-track { animation: none }
.review-marquees.paused [aria-hidden],.review-marquees.static [aria-hidden] { display: none }
@keyframes review-scroll { to { transform: translateX(-50%) } }
.faq { grid-template-columns: minmax(0,760px); justify-content: center; align-items: start; gap: clamp(26px,5vw,48px); background: #f5e9e8; color: var(--ink) }
.faq-heading { text-align: center }
.faq-heading h2 { margin: 0 }
.faq summary { font-size: clamp(1.12rem,2vw,1.5rem); font-family: "Cormorant Garamond", Georgia, serif }
.faq details p { color: var(--mute); padding: 0 48px 24px 2px; max-width: 60ch }
.faq-list { border-color: #a3828d }
.faq details { border-color: #a3828d; padding-inline: 12px; transition: background .25s }
.faq details:is([open],:hover,:focus-within) { background: var(--paper) }
.faq summary { min-height: 62px }
.faq-icon {
  position: relative;
  flex: 0 0 30px;
  height: 30px;
  border: 1px solid #a3828d;
  border-radius: 50%;
  transition: background-color .24s, color .24s, border-color .24s;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 1.5px;
  background: currentColor;
}
.faq-icon::after { transform: rotate(90deg); transition: transform .28s cubic-bezier(.2,.8,.2,1) }
.faq details[open] .faq-icon { background-color: var(--wine); border-color: var(--wine); color: #fff5f7 }
.faq details[open] .faq-icon::after { transform: rotate(0) }
.faq summary { position: relative }
.faq summary::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: #a77888;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.22,.75,.28,1);
}
.faq details[open] summary::after { transform: scaleX(1) }
.faq details p { padding-top: 14px }
.faq details[open] p { animation: answer-focus .54s ease-out both }
@keyframes answer-focus {
  from { opacity: .15; filter: blur(2px) }
  to { opacity: 1; filter: blur(0) }
}
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords }
  .faq details::details-content {
    height: 0;
    overflow: clip;
    transition: height .46s cubic-bezier(.25,.8,.25,1), content-visibility .46s allow-discrete;
  }
  .faq details[open]::details-content { height: auto }
}
.review-cta { display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: #4c2b37; color: #fff5f7 }
.review-cta > img { width: 100%; height: 100%; min-height: 0; object-fit: cover }
.review-cta-inner { padding: clamp(26px,6vw,90px) }
.review-form { display: grid; gap: 8px; max-width: 36rem }
.review-form label { margin-top: 6px; font-weight: 700 }
.review-form :is(input,select,textarea) { width: 100%; background: #fff5f7; color: #412932; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit }
.review-form textarea { resize: vertical }
.review-form button { --ink: #fff5f7; --bg: #412932; justify-self: start; margin-top: 8px }
.review-form button:disabled { opacity: .65; cursor: wait }
.review-form [role="status"]:empty { display: none }
footer { display: block; background: #4c2b37; color: #f4dae2; padding-bottom: 0 }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px }
footer .footer-links a { color: #fff8fa }
.footer-finale { padding: clamp(22px,5vw,64px) 0 clamp(12px,2vw,26px) }
.footer-wordmark { display: block; color: #fff1f4 }
.footer-wordmark svg { display: block; width: 100%; height: auto; fill: currentColor; font: 500 175px var(--editorial); mask-image: linear-gradient(#000 22%, #0003 94%) }
@media(max-width: 760px) {
  .collection,.review-cta { grid-template-columns: minmax(0,1fr) }
  .collection-intro { position: static }
  .review-cta > img { max-height: 340px; aspect-ratio: 4 / 3 }
  .workshop { grid-template-columns: minmax(0,1fr) }
  .workshop-copy { grid-row: 1 }
}
@media(max-width: 390px) { .collection .item .row { align-items: flex-start; flex-direction: column; gap: 6px } }
@media(prefers-reduced-motion: reduce) {
  .hero .vcr > span,.review-track { animation: none }
  .hover-dot,.hover-label,.hover-arrow,.faq details,.faq-icon,.faq-icon::after,.faq summary::after,.faq details::details-content { transition: none }
  .faq details[open] p { animation: none }
  .review-lane { overflow: auto }
  .review-group[aria-hidden] { display: none }
  .review-motion { display: none }
}
.review-lane:focus-within { overflow: auto }
.review-lane:focus-within .review-track { animation: none }
.review-lane:focus-within [aria-hidden], .review-lane [aria-hidden][hidden] { display: none }
.review-lane:focus-visible { outline-offset: -2px }
@media(prefers-reduced-motion: reduce) {
  .review-group [aria-hidden] { display: none }
}

/* The controls animate in place on hover, focus and press. */
:is(.btn,.add,.chip,.cart,.x,.rm,.qty button,.back,.review-motion,.hero-window figcaption a) {
  transition: background-color .22s ease, color .22s ease, box-shadow .22s ease, transform .18s ease;
}
:is(.btn,.add,.chip,.cart,.x,.rm,.qty button,.back,.review-motion,.hero-window figcaption a):is(:hover,:focus-visible):not(:disabled) {
  transform: none;
  box-shadow: inset 0 0 0 2px #d49dab80;
}
:is(.btn,.add,.chip,.cart,.x,.rm,.qty button,.back,.review-motion,.hero-window figcaption a):active:not(:disabled) {
  transform: scale(.97);
}
@media (prefers-reduced-motion: reduce) {
  :is(.btn,.add,.chip,.cart,.x,.rm,.qty button,.back,.review-motion,.hero-window figcaption a) { transition: none }
  :is(.btn,.add,.chip,.cart,.x,.rm,.qty button,.back,.review-motion,.hero-window figcaption a):active:not(:disabled) { transform: none }
}

header { column-gap: 16px }
header .site-nav { display: flex; gap: 3px; align-items: center; padding: 3px; border: 1px solid #dcc4cc; border-radius: 999px; background: #fcf7f4 }
.site-nav a { padding: 6px 10px; border-radius: 999px; white-space: nowrap; color: #412932; transition: color .25s ease, background-color .25s ease }
.site-nav a:is(:hover, :focus-visible) { color: #412932; background: #f3e4e8 }
.site-nav a[aria-current="location"] { background: #4c2b37; color: #fff5f7 }
header .cart { border-color: #a3828d; white-space: nowrap }
@media(max-width: 800px) {
  .hero-brief { grid-template-columns: 1fr; margin-inline: auto; width: min(100%, 520px) }
  .hero-brief .hero-actions { justify-content: flex-start }
}
@media(max-width: 730px) {
  html { scroll-padding-top: 110px }
  header { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; padding: 9px 14px 7px; background: #fcf7f4f5 }
  header .logo { justify-self: start }
  header .site-nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; scrollbar-width: thin }
  .site-nav a { flex: 1 0 auto; text-align: center; font-size: .8125rem; padding-inline: 7px }
  .hero-intro { padding-top: 19px }
  .sl { top: 94px; height: calc(100svh - 94px) }
}
@media(prefers-reduced-motion: reduce) { .site-nav a { transition: none } }

@keyframes section-arrival {
  from { opacity: .35; translate: 0 20px }
  to { opacity: 1; translate: 0 0 }
}
@keyframes workshop-photo-arrival {
  from { clip-path: inset(3% 4% round 22px); scale: .97 }
  to { clip-path: inset(0 round 16px); scale: 1 }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .workshop-copy h2, .stack h2, .collection-intro h2, .reviews-head h2,
    .faq-heading h2, .review-cta-inner h2 {
      animation: section-arrival 1s ease-out both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }
    .workshop-window img {
      animation: workshop-photo-arrival 1s ease-out both;
      animation-timeline: view();
      animation-range: entry 0% cover 38%;
    }
  }
}

.bracelet-story { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: 26px }
.bracelet-story h3 { margin: 0 0 6px; font: 500 clamp(1.75rem,3vw,2.7rem)/1.08 var(--editorial) }
.bracelet-story p { margin: 0 0 18px; color: var(--mute) }
.bracelet-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(5px,1vw,12px) }
.bracelet-shot { cursor: zoom-in; padding: 0; border: 0; background: var(--paper); overflow: hidden; border-radius: 7px; min-width: 0; line-height: 0 }
.bracelet-shot:first-child { grid-row: span 2 }
.bracelet-shot img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease }
.bracelet-shot:last-child img { object-fit: contain; background: #e6cbd1 }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .bracelet-shot:hover img { transform: scale(1.025) } }
#bracelet-lightbox { width: min(880px,94vw); max-height: 95svh; border: 0; border-radius: 14px; background: var(--paper); color: #412932; padding: 44px 14px 12px }
#bracelet-lightbox::backdrop { background: rgb(37 20 27 / .82) }
#bracelet-lightbox img { width: 100%; height: min(65svh,650px); object-fit: contain }
#bracelet-lightbox button { font: 24px/1 Georgia,serif; border: 0; background: transparent; color: inherit; cursor: pointer; min-width: 42px; min-height: 40px }
.photo-close { position: absolute; top: 2px; right: 7px }
.photo-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 6px }
@media(max-width:600px) { .bracelet-photos { grid-template-columns: repeat(4,1fr); grid-template-rows: auto auto } .bracelet-shot:first-child { grid-column: 1 / -1; grid-row: auto } }

.hero-window { height: auto; max-width: 1180px; background: #f2e6e8 }
.hero-window img { display: block; width: 100%; height: auto; transform: none }
.hero-window figcaption { position: static; max-width: none; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; background: #f2e6e8; border-radius: 0 }
.bracelet-photos { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto }
.bracelet-shot { align-self: center }
.bracelet-shot:first-child { grid-column: auto; grid-row: auto }
.bracelet-shot:last-child { grid-column: 1 / -1 }
.bracelet-shot img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain }
.bracelet-shot:hover img { transform: none }

.photo-stage { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: #f7eeeb }
.photo-zoom { cursor: zoom-in; display: block; width: 100%; height: 100%; border: 0; background: transparent }
.photo-stage .photo-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: none; transition: opacity .42s ease-in-out }
.photo-stage .photo-zoom img.selected { opacity: 1 }
.photo-stage button[data-move] { position: absolute; top: 50%; transform: translateY(-50%); border: 0; border-radius: 50%; background: #fffaf6eb; color: #432d36; width: 32px; height: 32px; font: 24px/1 Georgia,serif; cursor: pointer }
.photo-stage [data-move="-1"] { left: 5px }
.photo-stage [data-move="1"] { right: 5px }
.photo-thumbs { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px }
.photo-thumbs button { background: transparent; border: 1px solid transparent; border-radius: 5px; padding: 2px; cursor: pointer }
.photo-thumbs button[aria-pressed=true] { border-color: var(--wine) }
.photo-thumbs button img { width: clamp(25px,4vw,40px); height: clamp(25px,4vw,40px); border-radius: 3px; object-fit: cover }
.collection .item:has(.photo-picker) .row { flex-wrap: wrap; gap: 6px }
@media(prefers-reduced-motion:reduce) { .photo-stage .photo-zoom img { transition: none } }

.hero-window > img { transform: scale(var(--scale, 1.06)); transform-origin: center; clip-path: inset(0); }
.hero-window figcaption { position: relative; left: auto; bottom: auto }
.collection .item { cursor: pointer }
.product-link:hover { text-decoration: underline; text-underline-offset: .17em }
#product-detail { padding: clamp(16px,3vw,34px); border: 0; border-radius: 16px; color: #412932; background: var(--paper); width: min(900px,94vw); max-height: 92svh }
#product-detail::backdrop { background: rgb(37 20 27 / .73) }
.detail-close { display: block; margin: 0 0 14px auto; background: transparent; color: inherit; border: 1px solid #a3828d; border-radius: 99px; padding: 7px 15px; cursor: pointer }
.detail-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(18px,4vw,42px) }
.detail-layout h2 { font-size: clamp(2rem,4vw,3.4rem) }
.detail-category { color: #735361; margin-top: 0 }
.detail-price { font-weight: 700 }
.single-zoom { border: 0; background: transparent; padding: 0; cursor: zoom-in }
.single-zoom img { border-radius: 8px; max-height: 62svh; width: 100%; object-fit: contain }
.zoom-frame { overflow: hidden }
#bracelet-lightbox .zoom-toggle { padding: 0; display: block; width: 100%; cursor: zoom-in; transition: transform .3s ease }
#bracelet-lightbox .zoom-toggle[aria-pressed=true] { transform: scale(1.85); cursor: zoom-out }
@media(max-width:600px) { .detail-layout { grid-template-columns: minmax(0,1fr) } }
@media(prefers-reduced-motion:reduce) { .hero-window > img { transform: none } #bracelet-lightbox .zoom-toggle { transition: none } }

#review-average { margin: .6rem 0 0; font-weight: 600 }
.rating-icons { display: inline-block; position: relative; font: 18px/1 monospace; margin-inline-end: .35em }
.rating-icons::after { content: '★★★★★'; position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--fill)) 0 0) }

footer #contacts { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; padding:0 0 36px; margin-bottom:28px; border-bottom:1px solid #ac8794; scroll-margin-top:120px }
#contacts h2 { margin:0 0 .35em }
.telegram-contact { color:inherit; text-underline-offset:.22em }
.contact-qr { position:relative; width:184px; aspect-ratio:1; overflow:hidden; border-radius:12px; background:white }
.contact-qr img { position:absolute; width:155%; max-width:none; height:auto; left:-27.5%; top:-103.5% }
