.store {
  --paper: #fbf6eb;
  --ink: #203b32;
  --pine: #204637;
  --mint: #eee9d8;
  background: var(--paper);
}
.store .mast { background: #fcf8ee; border-bottom: 1px solid #ddd4c2; }
.store .brand-mark { background: none; border-radius: 50%; }
.store .brand { font-family: Georgia, serif; font-weight: 500; }
.store .brand strong { font-weight: 600; }
.store .status { background: #f7ecdb; color: #69452f; border-color: #dbcab2; }
.store .status i { background: #9c573b; }
.holiday-wrap, .eve-inner { width: min(1200px, calc(100% - clamp(36px, 9vw, 144px))); margin-inline: auto; }
.eve {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff9e9;
  background: radial-gradient(ellipse at 80% 24%, #315343 0%, transparent 46%), linear-gradient(115deg,#0c2925,#18382c 65%,#0d2c28);
  border-bottom: 4px double #ae9260;
}
.eve::before {
  content: ''; pointer-events: none; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image: radial-gradient(1.5px 1.5px at 12% 19%,#e5ba71 80%,transparent),radial-gradient(1px 1px at 68% 63%,#e7d8b1 80%,transparent),radial-gradient(1px 1px at 88% 86%,#e7d8b1 80%,transparent);
  background-size: 227px 179px,181px 241px,137px 193px;
}
.eve-inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(30px,5vw,86px); align-items: center; padding-block: clamp(54px,6.3vw,100px); }
.edition,.letter-caption { text-transform: uppercase; font-size: .77rem; letter-spacing: .19em; font-weight: 800; }
.eve .edition,.letter-intro .edition { color: #f4d59a; }
.eve .edition span { margin-right: .5em; }
.eve h1,.christmas h2,.christmas .experience h3,.product-page h1 {
  font-family: Georgia,'Times New Roman',serif; font-weight: 400; letter-spacing: -.045em;
}
.eve h1 { font-size: clamp(3.9rem,6.25vw,6.25rem); line-height: .99; margin-block: 23px; }
.eve h1 em,.letter-intro em { color: #f2cd87; }
.eve-copy > p:not(.edition),.letter-intro > p:not(.edition) { max-width: 43ch; font-size: clamp(1rem,1.3vw,1.17rem); line-height: 1.65; }
.eve-links { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 25px; margin-top: 30px; }
.holiday-button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; background: #f6dc9e; color: #25392c; border-radius: 6px; font-weight: 800; }
.holiday-button:hover { background: #ffeabe; }
.soft-link { display: inline-block; padding-block: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: .35em; font-size: .94rem; }
.postcard { position: relative; min-width: 0; margin: 0; padding: 9px; background: #fff7df; color: #284434; border: 1px solid #d5bd87; border-radius: 38% 38% 8px 8px / 27% 27% 8px 8px; box-shadow: 0 20px 48px #061a186b; transform: rotate(1.4deg); }
.postcard-photo { aspect-ratio: 1.38; overflow: hidden; border-radius: 38% 38% 3px 3px / 30% 30% 3px 3px; background: #323123; }
.postcard-photo img { height: 100%; width: 100%; object-fit: cover; object-position: 78% 50%; }
.postcard-bottom { padding: 12px 8px 3px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.postcard-bottom > span { font: italic 1rem Georgia,serif; }
.switch { display: flex; border: 1px solid #cbc2a8; border-radius: 99px; padding: 2px; }
.switch label { padding: 7px 14px; cursor: pointer; font-size: .875rem; font-weight: 750; border-radius: 99px; }
.sr-only,.scene-radio { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.postcard .before,#cena-antes:checked ~ .postcard-photo .after { display: none; }
#cena-antes:checked ~ .postcard-photo .before { display: block; }
#cena-antes:checked ~ .postcard-bottom label[for=cena-antes],#cena-depois:checked ~ .postcard-bottom label[for=cena-depois] { color: white; background: #77343d; }
#cena-antes:focus-visible ~ .postcard-bottom label[for=cena-antes],#cena-depois:focus-visible ~ .postcard-bottom label[for=cena-depois] { outline: 3px solid #a07624; outline-offset: 3px; }
.presents { padding-block: clamp(48px,6vw,88px); }
.presents header { margin-bottom: 27px; }
.presents .edition,.letter-caption { color: #89404a; }
.christmas h2 { font-size: clamp(2.4rem,4vw,4rem); line-height: 1.08; }
.presents h2 { margin-top: 8px; }
.presents .experience { background: #fffdf6; border-radius: 10px; border-color: #dbd1ba; }
.christmas .experience h3 { font-size: clamp(1.6rem,2.2vw,2.2rem); }
.presents .round-arrow,.store .tile { background: #f3e7d2; color: #77343d; }
.letter-band { color: #fff5e5; background: radial-gradient(ellipse at 75% 4%,#943f47,transparent 62%),#642933; }
.letter-layout { padding-block: clamp(50px,6vw,92px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,8vw,120px); align-items: center; }
.letter-intro h2 { font-size: clamp(3rem,5.4vw,5rem); margin: 14px 0 20px; }
.letter-intro .soft-link { margin-top: 12px; }
#name-demo { margin-top: 22px; }
#name-demo label,#name-demo small { display: block; }
#name-demo label { font-weight: 700; }
#demo-name { display: block; width: min(100%, 310px); margin: 7px 0; padding: 11px 15px; border: 1px solid #efdbb5; border-radius: 6px; color: #2e3329; background: #fffaee; }
#name-demo small { color: #f7ded1; font-size: .8rem; }
.letter { background: #fff6df; color: #263c32; padding: 10px; border-radius: 5px; box-shadow: 0 14px 35px #39151f4d; }
.letter img { width: 100%; height: auto; }
.letter figcaption { padding: clamp(14px,2.5vw,34px); }
.letter blockquote { margin: 12px 0; font: normal clamp(1.3rem,2vw,1.8rem)/1.35 Georgia,serif; overflow-wrap: anywhere; }
.signature { display: block; text-align: right; font: italic 1.55rem Georgia,serif; color: #83404a; }
.store .foot { background: #efe7d7; }
@media(max-width: 790px) {
  .eve-inner,.letter-layout { grid-template-columns: 1fr; gap: 32px; }
  .eve-inner { padding-block: 38px; }
  .eve h1 { font-size: clamp(3.4rem,10vw,5rem); }
  .postcard { width: min(100%,540px); justify-self: center; }
  .postcard-photo { aspect-ratio: 1.85; }
  .letter { max-width: 540px; }
}
@media(max-width: 420px) {
  .eve-links { gap: 3px 16px; margin-top: 18px; }
  .postcard-bottom { padding: 8px 1px 1px; }
  .switch label { padding: 7px 10px; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media(max-width: 360px) {
  .postcard-bottom { flex-wrap: wrap; }
  .switch { margin-left: auto; }
  .switch label { white-space: nowrap; }
}
.postcard.has-video:has(#cena-depois:checked){border-radius:12px;transform:none}
.postcard.has-video:has(#cena-depois:checked) .postcard-photo {border-radius:5px}
.postcard .after .still { height: 100%; width: 100%; object-fit: cover; }
/* As cenas da visita vêm do vídeo real: câmera de segurança vertical (3:4). */
.postcard { width: min(100%, 420px); justify-self: center; }
.postcard-photo, .postcard:has(#cena-depois:checked) .postcard-photo { aspect-ratio: 3/4; }
.postcard-photo img { object-position: center; }
.deadline { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .92rem; font-weight: 700; color: #f1d79c; }
.deadline .icon { width: 18px; height: 18px; flex: none; }
.postcard .after,.postcard .after .screen,.product-art>.screen {height:100%}

.product-detail,.checkout-page {
  --line: #dfd3bd;
  --surface: #fffdf6;
  --muted: #5b6352;
  --red: #78333e;
  padding-block: 28px 72px;
  color: var(--ink);
}
.product-detail .back-link,.checkout-page .back-link { margin: 0 0 24px; color: var(--ink); }
.product-detail h1,.checkout-page h1 {
  margin: 0;
  font: 400 clamp(2.75rem, 5.65vw, 5.4rem)/.98 Georgia,serif;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.buy-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 51px; padding: 13px 19px; border: 1px solid transparent; border-radius: 7px;
  background: var(--pine); color: #fff9e9; font: inherit; font-weight: 800;
  text-align: center; cursor: pointer;
}
.buy-button:hover { background: #14362a; color: #fff9e9; }
.buy-button svg,.detail-type svg,.detail-duration svg { width: 17px; height: 17px; flex: 0 0 auto; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px,4.5vw,72px); align-items: center; }
.detail-gallery { display: grid; gap: 12px; }
.detail-gallery-combo { grid-template-columns: repeat(2,minmax(0,1fr)); }
.detail-preview { margin: 0; min-width: 0; }
.detail-media {
  overflow: hidden; border-radius: 13px; border: 1px solid #a28f6d; aspect-ratio: 1.38;
  background: #1c2b22; box-shadow: 0 12px 30px #4b35241c;
}
.detail-gallery-combo .detail-media { aspect-ratio: 1.06; }
.detail-media img,.detail-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-media video { object-fit: contain; }
.detail-preview figcaption { margin: 9px 0 0; color: var(--muted); font-size: .86rem; }
.detail-type,.detail-duration { display: flex; gap: 8px; align-items: center; font-weight: 750; font-size: .88rem; }
.detail-type { margin: 0 0 14px; color: var(--red); }
.detail-duration { margin: 16px 0 0; color: var(--pine); }
.detail-description { margin: 16px 0 0; line-height: 1.55; color: var(--muted); font-size: 1.08rem; }
.detail-buy { display: grid; gap: 9px; margin-top: 23px; max-width: 370px; }
.detail-buy > strong { font: 400 2.05rem Georgia,serif; }
.detail-buy > small,.purchase-summary small { color: var(--muted); font-size: .83rem; }
.detail-facts {
  display: grid; grid-template-columns: repeat(3,1fr); margin: 38px 0 0;
  border: 1px solid var(--line); border-radius: 11px; background: var(--surface);
}
.detail-facts > div { padding: clamp(16px,2.7vw,31px); }
.detail-facts > div + div { border-left: 1px solid var(--line); }
.detail-facts dt { margin: 0 0 6px; color: var(--red); font-weight: 800; }
.detail-facts dd { margin: 0; color: var(--muted); line-height: 1.55; }
.detail-tip { margin-top: 25px; padding: 19px 23px; border-left: 2px solid #a56b63; background: #f3eada; }
.detail-tip h2,.purchase-card h2,.purchase-summary h2,.script-options legend { font: 400 1.57rem/1.12 Georgia,serif; margin: 0; }
.detail-tip p { margin: 5px 0 0; color: var(--muted); line-height: 1.55; }

.checkout-mast { border-bottom: 1px solid #dfd3bd; background: #fcf8ee; }
.checkout-mast > div { display: flex; min-height: 65px; align-items: center; justify-content: space-between; gap: 1rem; }
.checkout-mast > div > a:last-child { font-size: .86rem; font-weight: 750; }
.checkout-page { max-width: 1070px; }
.checkout-page h1 { margin: 0 0 24px; font-size: clamp(2.35rem,4.65vw,4.2rem); }
.purchase-steps { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 0 0 27px; list-style: none; font-size: .85rem; }
.purchase-steps li { padding: 0 0 6px; border-bottom: 2px solid transparent; color: var(--muted); }
.purchase-steps li[aria-current] { border-color: var(--red); color: var(--red); font-weight: 800; }
.purchase-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,325px); gap: clamp(20px,4vw,50px); align-items: start; }
.purchase-content { min-width: 0; }
.purchase-form { display: grid; gap: 15px; }
.purchase-form > .buy-button { justify-self: start; min-width: 220px; }
.purchase-card,.purchase-summary { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; }
.purchase-card { min-width: 0; padding: clamp(16px,2.6vw,27px); margin: 0 0 15px; }
.purchase-form .purchase-card { margin: 0; }
.purchase-card h3 { margin: 17px 0 8px; font-size: 1rem; }
.purchase-card p { margin: 8px 0 13px; color: var(--muted); line-height: 1.55; }
.purchase-card label:not(.script-choice) { display: grid; gap: 6px; margin-top: 15px; font-weight: 750; font-size: .93rem; }
.purchase-card label > span:not(:has(strong)) { color: var(--muted); font-size: .83rem; font-weight: 500; }
.purchase-card input:not([type=radio]),.purchase-card textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #beaf98; border-radius: 6px;
  background: #fffdf8; color: var(--ink); font: inherit; font-size: 1rem;
}
.purchase-card input[type=file] { padding: 8px; }
.purchase-card input[type=file]::file-selector-button { color: var(--ink); background: #f0e5d0; border: 0; margin-right: 8px; padding: 8px; border-radius: 4px; font: inherit; cursor: pointer; }
.script-options legend { padding: 0 5px; }
.script-option { padding: 12px 0; border-top: 1px solid var(--line); }
.script-option:last-child { padding-bottom: 0; }
.script-choice { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.script-choice input { margin-top: .2em; accent-color: var(--pine); }
.script-choice strong,.script-choice small { display: block; }
.script-choice small { color: var(--muted); margin-top: 2px; }
.script-option details { margin: 5px 0 0 25px; }
.script-option summary,.review-script summary { cursor: pointer; color: var(--red); font-weight: 750; }
.script-option summary { font-size: .84rem; }
.script-copy { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); line-height: 1.68; margin: 9px 0 0; }
.script-option:not(:has(:checked)) .custom-script { display: none; }
.purchase-summary { position: sticky; top: 18px; overflow: hidden; }
.purchase-summary img { display: block; width: 100%; height: 126px; object-fit: cover; object-position: center 35%; }
.purchase-summary-inner { padding: 19px; }
.purchase-summary-inner p { margin: 6px 0 14px; font-size: .9rem; color: var(--muted); }
.purchase-total { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding: 12px 0; border-top: 1px solid var(--line); }
.purchase-total strong { font-size: 1.35rem; }
.purchase-summary form,.purchase-summary .buy-button { width: 100%; margin-bottom: 5px; }
.purchase-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.purchase-card-heading > a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; font-weight: 750; font-size: .88rem; white-space: nowrap; }
.review-fields { margin: 14px 0; }
.review-fields dt { font-weight: 750; font-size: .82rem; }
.review-fields dd { margin: 3px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.review-script { margin-top: 16px; }
.order-photo { display: block; width: min(100%,420px); max-height: 330px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #f8f2e5; }
.checkout-private { color: var(--muted); font-size: .86rem; margin: 19px 0; }
.checkout-error { margin-top: 24px; max-width: 620px; }

@media(max-width: 760px) {
  .product-detail,.checkout-page { padding-block: 18px 45px; }
  .detail-grid { grid-template-columns: 1fr; gap: 21px; }
  .detail-gallery { max-width: 570px; }
  .detail-media { aspect-ratio: 16/9; }
  .detail-gallery-combo .detail-media { aspect-ratio: 1.2; }
  .detail-buy { max-width: none; }
  .detail-facts { grid-template-columns: 1fr; margin-top: 23px; }
  .detail-facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .purchase-layout { grid-template-columns: 1fr; gap: 12px; }
  .purchase-summary { position: static; }
  .purchase-summary img { display: none; }
  .purchase-form > .buy-button { justify-self: stretch; }
  .purchase-steps { margin-bottom: 18px; }
}

/* Vídeos reais são verticais: Visita 3:4 (câmera da sala), Mensagem 9:16 (oficina). */
.letter { width: min(100%, 360px); justify-self: center; }
.letter img, .letter .screen { aspect-ratio: 9/16; height: auto; object-fit: cover; }
.detail-gallery:not(.detail-gallery-combo) .detail-media { aspect-ratio: 3/4; width: min(100%, 460px); margin-inline: auto; }
.detail-gallery-combo .still-mensagem { object-position: center 30%; }

/* Seções de venda: ritual, preço do combo, confiança, presente e barra fixa no celular. */
.ritual { padding-block: clamp(48px,6vw,88px) 0; }
.ritual h2 { margin: 8px 0 26px; }
.ritual h2 em { color: #89404a; }
.ritual-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; counter-reset: passo; }
.ritual-steps li { counter-increment: passo; background: #fffdf6; border: 1px solid #dbd1ba; border-radius: 10px; padding: 20px 20px 18px; }
.ritual-steps li::before { content: counter(passo); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #77343d; color: #fff; font-weight: 800; margin-bottom: 10px; }
.ritual-steps strong { display: block; font-size: 1.05rem; }
.ritual-steps p { margin: 6px 0 0; color: #4d5649; }
.ritual-tip { display: flex; gap: 8px; align-items: center; margin-top: 16px; color: #5b6352; font-size: .92rem; }
.ritual-tip .icon, .gift-note .icon { width: 20px; height: 20px; flex: none; color: #77343d; }
.experience.featured { border: 2px solid #c9a24a; }
.deal-tag { position: absolute; top: 12px; right: 12px; background: #c9a24a; color: #1c2b22; font-weight: 800; font-size: 12px; padding: 6px 10px; border-radius: 99px; }
.card-price s { color: #8a8573; font-weight: 500; margin-right: 4px; }
.card-cta { display: inline-flex; align-items: center; gap: 6px; background: #77343d; color: #fff; font-weight: 750; font-size: .9rem; padding: 9px 14px; border-radius: 99px; }
.card-cta .icon { width: 16px; height: 16px; }
.trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #3f4a3e; font-size: .92rem; font-weight: 650; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { width: 18px; height: 18px; color: #2f6b4f; flex: none; }
.gift-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; background: #f3e7d2; border-radius: 10px; color: #3f3a2e; }
.buy-bar { display: none; }
@media (max-width: 790px) {
  .ritual-steps { grid-template-columns: 1fr; }
  .buy-bar { display: flex; position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: 12px; background: #77343d; color: #fff; font-weight: 800; box-shadow: 0 10px 28px #2a0f1566; text-decoration: none; }
  .buy-bar small { font-weight: 600; opacity: .9; }
  body.store:has(.buy-bar) .foot { padding-bottom: 90px; }
}
.detail-buy > .detail-was { color: #8a8573; font-size: 1.02rem; margin-bottom: -6px; }

/* Troca da foto da árvore direto no pedido */
.photo-problem { margin-top: 14px; padding: 16px; border: 1px solid #e3b7a4; border-left: 4px solid var(--red); border-radius: 8px; background: #fff6f0; }
.photo-problem > strong { display: block; color: var(--red); font-size: 1rem; }
.photo-problem > p { margin: 6px 0 4px; }
.photo-replace { display: grid; gap: 10px; margin-top: 6px; }
.photo-replace label { margin-top: 8px !important; }
.photo-replace .buy-button, .photo-ai .buy-button { width: 100%; }
.photo-status { color: var(--muted); font-size: .85rem; min-height: 1em; }
.photo-ai { margin-top: 16px; padding-top: 14px; border-top: 1px dashed #e3b7a4; display: grid; gap: 10px; }
.photo-ai p, .photo-ai h4 { margin: 0; font-size: .92rem; }
.button-soft { justify-self: start; padding: 11px 16px; border: 1px solid var(--red); border-radius: 999px; background: white; color: var(--red); font: inherit; font-weight: 750; cursor: pointer; }
.button-soft:disabled, .buy-button:disabled { opacity: .7; cursor: progress; }
.photo-change { margin-top: 10px; }
.photo-change > summary { cursor: pointer; color: var(--red); font-weight: 750; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.photo-blocked { margin: 0; font-weight: 700; color: var(--red); }

/* Exemplo de foto da árvore */
.photo-guide { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: center; margin: 4px 0 6px; }
.photo-guide img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.photo-guide figcaption strong { display: block; margin-bottom: 6px; font-size: .95rem; }
.photo-guide ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .88rem; }
.photo-guide li { display: flex; gap: 6px; align-items: flex-start; }
.photo-guide li svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: #2f6b45; }
.photo-guide-toggle { margin: 4px 0 2px; }
.photo-guide-toggle > summary { cursor: pointer; color: var(--red); font-weight: 750; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.photo-guide-toggle .photo-guide { margin-top: 10px; }
@media (max-width: 420px) { .photo-guide { grid-template-columns: 104px 1fr; gap: 11px; } }
