/* Belíssima Modas — vitrine
   Paleta tirada da logo: lilás #A983E3 sobre branco, com ameixa para o texto e os botões.
   Marca visual: o arco (as janelas de igreja e o duplo anel da logo) emoldura fotos e destaques. */

:root {
  --lilac: #a983e3;
  --lilac-soft: #d9c7f4;
  --mist: #f1eafb;
  --pearl: #fcfaff;
  --plum: #46286e;
  --plum-hover: #5a3790;
  --ink: #2b2733;
  --muted: #6f6779;
  --line: #e4d8f5;
  --champagne: #9a7646;
  --danger: #a3324f;
  --ok: #2f7a55;
  --radius: 14px;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--pearl); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; color: var(--plum); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - var(--gutter) * 2); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Aviso no topo */
.announce { background: var(--plum); color: #fff; text-align: center; padding: 9px var(--gutter); font-size: 14px; }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 30; background: rgba(252, 250, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 600 25px/1 var(--serif); color: var(--plum); white-space: nowrap; }
.brand-tag { font: italic 500 15px/1.2 var(--serif); color: var(--muted); }
.bag-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border: 1px solid var(--lilac-soft); background: #fff; border-radius: 999px; color: var(--plum); font-weight: 500;
  transition: background .2s, border-color .2s;
}
.bag-btn:hover { background: var(--mist); border-color: var(--lilac); }
.bag-btn b {
  min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px;
  background: var(--plum); color: #fff; font-size: 12px; font-weight: 600;
}
.bag-btn.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--mist) 0%, var(--pearl) 100%); overflow: hidden; }
.hero-grid { display: grid; gap: 28px; padding: 34px 0 30px; align-items: center; }
.hero-copy h1 { font-size: clamp(36px, 8vw, 62px); max-width: 15ch; letter-spacing: -.01em; }
.hero-copy p { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 16px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-arch { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid transparent; font-weight: 500; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--plum); color: #fff; }
.btn.primary:hover { background: var(--plum-hover); }
.btn.ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn.ghost:hover { background: var(--plum); color: #fff; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.small { padding: 9px 16px; font-size: 14px; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; padding: 54px 0 50px; }
  .hero-arch { display: block; position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 3 / 4; }
  .arch-line { position: absolute; inset: -12px; border: 1.5px solid var(--lilac); border-radius: 999px 999px 18px 18px; opacity: .7; }
  .arch-fill {
    position: absolute; inset: 0; border-radius: 999px 999px 14px 14px; background: var(--lilac);
    display: grid; place-items: center; box-shadow: 0 24px 50px -28px rgba(70, 40, 110, .6);
  }
  .arch-fill img { width: 78%; height: auto; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.35); }
}

/* Vitrine */
.shop { padding: 30px 0 70px; scroll-margin-top: 70px; }
.shop:focus { outline: none; }
.shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.shop-head h2 { font-size: clamp(30px, 5vw, 42px); }
.count { margin: 0; color: var(--muted); font-size: 14px; }

.toolbar { position: sticky; top: 68px; z-index: 20; background: var(--pearl); padding: 10px 0 12px; margin-bottom: 10px; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.pills::-webkit-scrollbar { display: none; }
.pill {
  flex: none; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--plum); font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.pill:hover { border-color: var(--lilac); }
.pill[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.tools { display: flex; gap: 8px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0 14px; color: var(--muted); }
.search input { border: 0; outline: 0; background: transparent; padding: 10px 0; width: 100%; color: var(--ink); }
.search:focus-within { border-color: var(--plum); }
.sort select { height: 100%; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0 14px; color: var(--plum); }
@media (min-width: 860px) {
  .toolbar { grid-template-columns: 1fr auto; align-items: center; top: 76px; }
  .pills { margin-inline: 0; padding-inline: 1px; flex-wrap: wrap; overflow: visible; }
  .tools { min-width: 340px; }
}

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 14px; margin-top: 18px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 34px 22px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; gap: 12px; text-align: left; background: none; border: 0; padding: 0; }
.arch {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mist);
  border-radius: 999px 999px 12px 12px; display: block; width: 100%; border: 0; padding: 0;
  transition: box-shadow .25s;
}
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(70, 40, 110, .08); pointer-events: none; }
.card:hover .arch { box-shadow: 0 18px 34px -22px rgba(70, 40, 110, .55); }
.arch img.photo { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .arch img.photo { transform: scale(1.04); }
.arch .ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, var(--mist), var(--lilac-soft)); }
.arch .ph img { width: 46%; opacity: .55; border-radius: 50%; }
.badge {
  position: absolute; left: 10px; bottom: 12px; white-space: nowrap;
  background: rgba(255,255,255,.94); color: var(--plum); font-size: 12.5px; font-weight: 500; padding: 4px 12px; border-radius: 999px;
}
.badge.promo { background: var(--champagne); color: #fff; }
.card.soldout .arch img.photo { filter: grayscale(.85); opacity: .6; }
.add {
  position: absolute; right: 6px; bottom: 6px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--plum); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(70, 40, 110, .8);
  transition: background .2s, transform .15s;
}
.add:hover { background: var(--plum-hover); transform: scale(1.06); }
.card-info { display: block; text-align: left; background: none; border: 0; padding: 0 2px; width: 100%; }
.card-name { display: block; font: 600 20px/1.15 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; font-weight: 500; color: var(--plum); }
.price s { color: var(--muted); font-weight: 400; font-size: 14px; }

.skeleton .arch { background: linear-gradient(100deg, var(--mist) 30%, #f8f3ff 50%, var(--mist) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton .line { height: 14px; border-radius: 6px; background: var(--mist); margin: 4px 2px; width: 70%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.notice { text-align: center; padding: 56px 16px; max-width: 560px; margin: 20px auto 0; }
.notice h3 { font-size: 30px; margin-bottom: 8px; }
.notice p { color: var(--muted); margin: 0 0 18px; }

/* Rodapé */
.foot { background: var(--plum); color: #efe6fb; padding: 36px 0 90px; }
.foot-grid { display: grid; gap: 26px; }
.foot-brand { display: flex; align-items: center; gap: 16px; }
.foot-brand img { border-radius: 50%; }
.foot-name { font: 600 28px/1 var(--serif); margin: 0; color: #fff; }
.foot-tag { margin: 4px 0 0; font: italic 500 17px/1.2 var(--serif); color: var(--lilac-soft); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; font-size: 15px; }
.foot-links a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; align-items: center; } .foot-links { justify-self: end; text-align: right; } }

.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transition: transform .15s;
}
.fab:hover { transform: scale(1.06); }

/* Camadas */
.overlay { position: fixed; inset: 0; background: rgba(43, 24, 66, .5); z-index: 40; opacity: 0; transition: opacity .25s; }
.overlay.on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); z-index: 50; background: var(--pearl);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px 24px; overscroll-behavior: contain; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; color: var(--plum); }
.icon-btn:hover { background: var(--mist); }

.sheet { position: fixed; inset: 0; z-index: 50; display: grid; align-items: end; justify-items: center; pointer-events: none; }
.sheet-card {
  pointer-events: auto; width: min(980px, 100%); max-height: 94dvh; overflow-y: auto; background: var(--pearl);
  border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); overscroll-behavior: contain;
}
.sheet.on .sheet-card { transform: none; }
@media (min-width: 860px) {
  .sheet { align-items: center; }
  .sheet-card { border-radius: 22px; max-height: 90dvh; transform: translateY(24px); opacity: 0; transition: transform .3s, opacity .3s; }
  .sheet.on .sheet-card { transform: none; opacity: 1; }
}
.pd { display: grid; }
@media (min-width: 860px) { .pd { grid-template-columns: 1fr 1fr; } }
.pd-close { position: absolute; right: 10px; top: 10px; z-index: 3; background: rgba(255,255,255,.92); }
.sheet-card { position: relative; }
.gal { position: relative; background: var(--mist); }
.gal-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal-strip::-webkit-scrollbar { display: none; }
.gal-strip > div { flex: none; width: 100%; aspect-ratio: 4 / 5; scroll-snap-align: center; }
.gal-strip img { width: 100%; height: 100%; object-fit: cover; }
.gal-strip .ph { display: grid; place-items: center; background: linear-gradient(160deg, var(--mist), var(--lilac-soft)); }
.gal-strip .ph img { width: 40%; height: auto; opacity: .55; border-radius: 50%; }
.thumbs { display: flex; gap: 8px; padding: 10px 14px; overflow-x: auto; }
.thumbs button { flex: none; width: 54px; height: 66px; border-radius: 27px 27px 6px 6px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--mist); }
.thumbs button[aria-current="true"] { border-color: var(--plum); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 22px 20px 26px; display: flex; flex-direction: column; gap: 16px; }
.pd-info h2 { font-size: clamp(30px, 5vw, 40px); padding-right: 44px; }
.pd-price { font-size: 22px; font-weight: 500; color: var(--plum); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pd-price s { font-size: 16px; color: var(--muted); font-weight: 400; }
.pd-price .off { font-size: 13px; background: var(--champagne); color: #fff; padding: 2px 10px; border-radius: 999px; font-weight: 500; }
.pd-desc { margin: 0; color: var(--muted); white-space: pre-line; }
.opt-label { font-weight: 500; margin: 0 0 8px; }
.opt-label span { color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-width: 46px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--plum); font-weight: 500;
}
.chip:hover:not([disabled]) { border-color: var(--lilac); }
.chip[aria-pressed="true"] { background: var(--plum); color: #fff; border-color: var(--plum); }
.chip[disabled] { color: #b9b0c4; text-decoration: line-through; cursor: not-allowed; background: var(--pearl); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.stepper button { width: 38px; height: 38px; border: 0; background: none; font-size: 20px; color: var(--plum); border-radius: 50%; }
.stepper button:hover:not([disabled]) { background: var(--mist); }
.stepper button[disabled] { opacity: .35; }
.stepper output { min-width: 28px; text-align: center; font-weight: 500; }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 180px; }
.hint { font-size: 14px; color: var(--muted); margin: 0; }
.hint.warn { color: var(--danger); }

/* Sacola e checkout */
.lines { display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.line .arch { border-radius: 37px 37px 8px 8px; }
.line-name { font: 600 19px/1.15 var(--serif); }
.line-var { font-size: 14px; color: var(--muted); }
.line-price { font-weight: 500; color: var(--plum); text-align: right; white-space: nowrap; }
.line .stepper { margin-top: 8px; }
.line .stepper button { width: 32px; height: 32px; font-size: 18px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; font-size: 13px; margin-top: 6px; display: block; }
.link-btn:hover { color: var(--danger); }
.sum { margin: 18px 0; display: grid; gap: 8px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .total { font: 600 26px/1 var(--serif); color: var(--plum); padding-top: 10px; border-top: 1px solid var(--line); }
.sum .disc { color: var(--ok); }
.empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.empty h3 { font-size: 30px; margin-bottom: 8px; }
.empty img { width: 84px; margin: 0 auto 14px; border-radius: 50%; opacity: .9; }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span, fieldset legend { font-weight: 500; font-size: 15px; }
.field input, .field textarea {
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 48px;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--lilac); border-color: var(--lilac); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
fieldset legend { padding: 0; margin-bottom: 6px; }
.opt {
  display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; cursor: pointer;
}
.opt:has(input:checked) { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.opt input { margin-top: 4px; accent-color: var(--plum); }
.opt b { display: block; font-weight: 500; }
.opt small { color: var(--muted); font-size: 13.5px; }
.err { background: #fdeef2; color: var(--danger); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.who { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--mist); border-radius: 12px; padding: 12px 14px; }
.who b { display: block; font-weight: 500; }
.who small { color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.done { text-align: center; display: grid; gap: 16px; justify-items: center; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--plum); }
.done h3 { font-size: 34px; }
.done p { margin: 0; color: var(--muted); }
.pix-box { width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.pix-box textarea { width: 100%; min-height: 110px; border: 1px dashed var(--lilac); border-radius: 10px; padding: 10px; font: 13px/1.4 ui-monospace, Menlo, monospace; background: var(--pearl); resize: none; word-break: break-all; }
.steps { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; z-index: 80;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; transition: transform .25s, opacity .25s; max-width: calc(100% - 32px); text-align: center;
}
.toast.on { transform: translate(-50%, 0); opacity: 1; }

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

@media (max-width: 440px) {
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 22px; }
  .bag-btn { padding: 10px 14px; }
  .bag-btn > span { display: none; }
  .hero-grid { padding: 24px 0 20px; }
  .badge { font-size: 11.5px; padding: 3px 10px; left: 8px; bottom: 10px; }
}
