@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root{--paper:#fbf8ef;--ink:#25392b;--muted:#536254;--green:#284734;--line:#d8dfd0;--serif:"Playfair Display",Georgia,serif;--sans:"DM Sans",system-ui,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 var(--sans)}
a{color:inherit;text-underline-offset:.2em}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.55}
:focus-visible{outline:3px solid #9d4d60;outline-offset:4px}
.wrap{width:min(1180px,calc(100% - 88px));margin-inline:auto}
.site-header{border-bottom:1px solid var(--line)}
.bar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{font:700 1.35rem var(--serif);text-decoration:none;white-space:nowrap}
.brand span{color:#56745c;margin-right:.3em}
nav{display:flex;gap:32px}
nav a{text-decoration:none;font-size:.95rem}
nav a:hover{text-decoration:underline}
.cart-button,.filters button,.card button,.close{border:1px solid #a7b6a5;background:transparent;border-radius:100px;padding:.55rem .9rem;font-weight:700}
.cart-button span{display:inline-grid;place-items:center;min-width:1.45rem;height:1.45rem;padding:0 .2rem;margin-left:.25rem;border-radius:50%;background:#e0e9d9;font-size:.82rem}
.hero{margin-block:32px 49px;min-height:414px;display:grid;grid-template-columns:1.05fr 1fr;background:#e5ecd9;border-radius:20px;overflow:hidden}
.hero-copy{padding:55px 16px 48px 55px;z-index:1}
.eyebrow{font-size:.83rem;font-weight:700;letter-spacing:.15em;color:#45614a;margin:0 0 .7rem}
h1,h2,h3{font-family:var(--serif);line-height:1.08;margin:0}
h1{font-size:clamp(3rem,6vw,5.25rem);letter-spacing:-.055em;font-weight:600}
h1 em{color:#4b694e;font-weight:500}
.hero-copy > p:nth-of-type(2){max-width:360px;margin:19px 0 25px;color:#3f5544}
.primary{display:inline-flex;justify-content:center;align-items:center;background:var(--green);color:white;border:1px solid var(--green);padding:.75rem 1.2rem;border-radius:8px;text-decoration:none;font-weight:700}
.primary:hover{background:#3c5c43}
.hero-art{position:relative;isolation:isolate;min-height:320px}
.hero-art::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 65% 60%,#cddabf,transparent 70%)}
.swatch{position:absolute;width:59%;height:67%;border:6px solid #fff8ed;border-radius:4px;background-size:cover;background-position:center;box-shadow:0 14px 30px #28362338}
.swatch.one{background-color:#819677;background-image:url(/previews/jardim-silvestre.webp);top:17%;left:7%;transform:rotate(-13deg)}
.swatch.two{background-color:#d99fa7;background-image:url(/previews/lacos-de-rosa.webp);top:10%;left:28%;transform:rotate(8deg)}
.swatch.three{background-color:#afacd0;background-image:url(/previews/ceu-de-lavanda.webp);top:40%;left:43%;width:42%;height:49%;transform:rotate(16deg)}
.sparkle{position:absolute;top:8%;right:9%;color:#5f7a5a;font-size:2rem}
.collection{padding-bottom:64px;scroll-margin-top:20px}
.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end}
h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.04em;font-weight:600}
.search input{background:#fffdf7;border:1px solid #bcc8b9;border-radius:8px;padding:.65rem .8rem;width:min(240px,100%)}
.filters{display:flex;flex-wrap:wrap;gap:.55rem;margin:22px 0}
.filters button{font-weight:600;font-size:.9rem}
.filters button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}
.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.card{display:flex;flex-direction:column;overflow:hidden;background:#fffdf8;border:1px solid var(--line);border-radius:13px}
.card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#e3e9db}
.card-copy{padding:16px;display:flex;flex-direction:column;flex:1}
.category{margin:0 0 5px;color:#45614a;font-size:.83rem;font-weight:700}
h3{font-size:1.37rem}
.description{color:var(--muted);margin:9px 0 14px}
.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.card button{padding:.4rem .7rem;border-radius:7px;font-size:.88rem}
.card button:hover,.cart-button:hover,.filters button:hover:not([aria-pressed=true]){background:#e5ecd9}
.card button[aria-pressed=true]{background:#e5ecd9}
.guide{background:#e5ecd9;padding:44px 0 50px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:25px}
.steps p{margin-bottom:0;color:var(--muted)}
.footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-block:25px;color:var(--muted)}
dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100%);height:100%;max-height:none;max-width:none;border:0;background:var(--paper);color:var(--ink);padding:24px;box-shadow:-10px 0 40px #17251d40}
dialog::backdrop{background:#182b20a0}
.dialog-head,.total,.cart-row{display:flex;align-items:center;justify-content:space-between;gap:15px}
.close{line-height:1;font-size:1.5rem}
.cart-row,.total{padding:.9rem 0;border-bottom:1px solid var(--line)}
.remove{border:0;background:transparent;text-decoration:underline;padding:.5rem}
#checkout{width:100%}
.order{max-width:740px;min-height:65vh;padding-block:60px}
.order h1{font-size:clamp(2.6rem,6vw,4.2rem)}
.order-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:20px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:850px){.wrap{width:calc(100% - 40px)}.hero-copy{padding-left:30px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.wrap{width:calc(100% - 28px)}.bar{height:64px}.bar nav{display:none}.hero{grid-template-columns:1fr;margin-block:16px 32px}.hero-copy{padding:30px 20px 0}.hero-art{min-height:235px;margin:5px 12px 12px}.section-head{align-items:start;flex-direction:column;gap:12px}.search,.search input{width:100%}.products{gap:10px}.card-copy{padding:11px}.card-bottom{align-items:start;flex-direction:column}.card button{width:100%}.steps{grid-template-columns:1fr;gap:18px}.footer{align-items:start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.pack-link{align-self:start;margin-bottom:1rem;font-size:.92rem}
#all-packs{display:inline-block;margin:.75rem 0 1rem}
.collection:has(.pack-detail){padding-top:32px}
.pack-detail{grid-template-columns:minmax(0,820px)}
.pack-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;padding:0;margin:0 0 20px;list-style:none}
.pack-images img{aspect-ratio:1;border-radius:8px}
.pack-images h4{margin:.65rem 0 .15rem}
.pack-images p{margin:.25rem 0}

.admin main{padding-block:2rem 4rem}
.admin h1,.admin h2,.admin h3{font-family:var(--serif)}
.admin h1{font-size:clamp(2rem,5vw,3rem)}
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.admin-grid section{background:#fffdf7;border:1px solid var(--line);border-radius:1rem;padding:1.25rem;min-width:0}
.admin form{display:grid;gap:.85rem}
.admin #login{max-width:28rem}
.admin label{display:grid;gap:.25rem;font-weight:600}
.admin input:not([type=checkbox]),.admin textarea{width:100%;padding:.6rem;border:1px solid #a7b6a5;border-radius:.5rem;font:inherit;color:inherit;background:white}
.admin button{justify-self:start;padding:.55rem 1rem;border:1px solid var(--green);border-radius:100px;background:var(--green);color:white;font-weight:700}
.admin fieldset{min-width:0;border:1px solid var(--line);border-radius:.5rem}
.admin #choices{max-height:16rem;overflow:auto;padding:.25rem}
.admin #choices label{display:flex;align-items:center;gap:.5rem;font-weight:400}
.admin #feedback{min-height:1.55em}
.admin-payments{grid-column:1/-1;overflow-wrap:anywhere}
.admin-payments li+li{margin-top:.75rem}
@media(max-width:720px){.admin-grid{grid-template-columns:1fr}}
