﻿:root{color-scheme:light;--ink:#2e2116;--gold:#73511e;--paper:#fbf8f1;--line:#e4d6be;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 system-ui,sans-serif}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:4px}
button{font:inherit;color:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
header,footer{max-width:1440px;margin:auto;padding:22px clamp(20px,5vw,76px);display:flex;align-items:center;justify-content:space-between;gap:16px}
header{min-height:76px}
header>a:last-child,footer>a:last-child{font-size:.9rem}
.brand{font:clamp(1.25rem,2.4vw,1.7rem)/1.1 var(--serif);letter-spacing:-.04em}
.brand i{font-weight:normal;color:var(--gold)}
.hero{display:grid;grid-template-columns:1fr 1.06fr;max-width:1440px;margin:auto;min-height:490px;background:#f1e8dd}
.intro{padding:clamp(42px,7vw,106px) clamp(24px,6vw,90px);align-self:center}
.overline,.type{font-size:.83rem;letter-spacing:.11em;text-transform:uppercase;color:var(--gold)}
h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.055em;line-height:1.05;margin:.25em 0}
h1{font-size:clamp(2.6rem,5.5vw,5.45rem)}
h1 em{color:var(--gold);font-weight:400}
.intro>p:not(.overline){max-width:30ch;margin:22px 0 27px}
.cta{display:inline-block;background:var(--gold);color:white;padding:12px 20px;border-radius:2px}
.hero-image{min-height:300px;background:#dfccb6 url(hero.jpg) center/cover no-repeat}
.collection{max-width:1440px;margin:auto;padding:clamp(48px,7vw,88px) clamp(20px,5vw,76px)}
h2{font-size:clamp(2.4rem,4.5vw,4rem)}
.note{color:#63534a;margin:.6em 0 0}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
.filters button{background:transparent;border:1px solid var(--line);border-radius:30px;padding:7px 15px;font-size:.9rem}
.filters button:hover,.filters button[aria-pressed=true]{background:var(--gold);border-color:var(--gold);color:#fff}
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,2vw,28px)}
.piece{border:0;background:transparent;text-align:left;padding:0;display:grid;gap:5px;align-content:start}
.piece:hover strong{text-decoration:underline;text-underline-offset:4px}
.piece-art{display:block;width:100%;aspect-ratio:1;background-color:#e9daca;background-repeat:no-repeat;background-size:200% 200%;background-image:url(pecas.jpg)}
.piece-art[data-image=mare]{background-position:left top}
.piece-art[data-image=aurora]{background-position:right top}
.piece-art[data-image=luar]{background-position:left bottom}
.piece-art[data-image=brisa]{background-position:right bottom}
.type{margin-top:7px}
.piece strong{font:1.65rem/1.1 var(--serif)}
footer{border-top:1px solid var(--line)}
dialog{border:0;padding:0;background:var(--paper);color:var(--ink);width:min(90vw,440px);max-height:90dvh;position:fixed}
dialog::backdrop{background:#291e13aa}
.close{position:absolute;right:12px;top:12px;border:0;border-radius:50%;background:var(--paper);width:42px;height:42px;font-size:1.65rem;line-height:1}
.detail{padding:0 24px 24px}
dialog .piece-art{max-height:45dvh;aspect-ratio:1}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:820px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hero{grid-template-columns:1fr;min-height:0}.hero-image{min-height:0;aspect-ratio:1.4}.intro{padding-block:40px}.grid{row-gap:25px}}
nav {display:flex;flex-wrap:wrap;gap:1.15rem}
.management {width:min(100% - 2rem, 980px);margin:20px auto 70px}
.management h1 {font-size:clamp(2.7rem,6vw,4.5rem)}
.management h2 {font-size:clamp(1.8rem,4vw,2.7rem);margin:0 0 1rem}
.manage-nav {margin:1.6rem 0}
.manage-nav a {text-decoration:underline;text-underline-offset:5px;color:var(--gold)}
.panel {padding:clamp(16px,4vw,32px);margin:18px 0;background:#fffdf9;border:1px solid var(--line)}
.fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:1rem}
.fields label {display:grid;gap:5px;font-size:.94rem}
.fields input,.fields select,.fields textarea,.records select {width:100%;min-width:0;border:1px solid #a89487;border-radius:3px;background:white;padding:8px;font:inherit;color:inherit}
.fields .wide {grid-column:1/-1}
.fields button {border:0;justify-self:start}
.records article {display:grid;grid-template-columns:1fr minmax(100px,155px);align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.records strong,.records span {display:block;overflow-wrap:anywhere}
.records span {font-size:.88rem;color:#63534a}
.price-result {display:block;color:var(--gold);margin-top:16px;font-weight:600}
.piece-photo {width:100%;aspect-ratio:1;object-fit:cover;display:block}
dialog .piece-photo {max-height:45dvh}
@media(max-width:520px){.fields{grid-template-columns:1fr}.records article{grid-template-columns:1fr}.management{margin-top:8px}}
.fields h3 {margin:0;font:1.5rem var(--serif)}
.form-actions,.record-actions {display:flex;align-items:center;gap:.6rem}
.form-actions .quiet,.record-actions .quiet {background:transparent;border:1px solid var(--line);border-radius:3px;padding:.45rem .7rem;color:var(--gold)}
.record-actions select {flex:1;width:auto}
.records article {grid-template-columns:1fr minmax(130px,200px)}
@media(max-width:520px){.records article{grid-template-columns:1fr}}
.summary-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.period{display:flex;gap:.5rem;align-items:center}
.period select,.cost-form input{background:white;border:1px solid #a89487;border-radius:3px;padding:.45rem;font:inherit;color:inherit}
.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.75rem;margin:1rem 0}
.metrics div{padding:1rem;background:#f3ebe3;border:1px solid var(--line)}
.metrics div:nth-child(3){background:#f3e4c7;color:var(--gold)}
.metrics dt{font-size:.88rem}
.metrics dd{margin:0;font:1.7rem/1.2 var(--serif);overflow-wrap:anywhere}
.summary-heading+h3,#resumo h3{font:1.5rem var(--serif);margin:1.4rem 0 .7rem}
.cost-form{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin-top:.4rem}
.cost-form input{width:8rem}
.cost-form button{background:transparent;border:1px solid var(--line);padding:.4rem .65rem;border-radius:3px;color:var(--gold)}
#piece-dialog{width:min(94vw,680px)}
.editor{padding:clamp(16px,4vw,32px)}
.record-actions{flex-wrap:wrap}
.record-actions select{flex-basis:100%}
.record-actions .danger{color:#941f2e}

[hidden]{display:none!important}
html{scroll-behavior:smooth}
.skip-link{position:absolute;left:1rem;top:1rem;z-index:5;background:var(--paper);padding:.6rem 1rem;transform:translateY(-200%)}
.skip-link:focus{transform:none}
.brand-lockup{display:inline-flex;align-items:center;gap:.65rem;font:clamp(1.15rem,2vw,1.64rem)/1.1 var(--serif);letter-spacing:-.035em;white-space:nowrap}
.brand-lockup img,.hero-logo{display:block;border-radius:50%;object-fit:cover}
.brand-lockup i{color:var(--gold);font-weight:400}
.store-header nav a{font-size:.92rem}
.store-header{min-height:82px}
.store .hero{margin-inline:auto;width:min(calc(100% - 3rem),1350px);grid-template-columns:1fr 1fr;min-height:520px;border:1px solid var(--line);background:linear-gradient(125deg,#fcf9f1,#f0e3cd);overflow:hidden}
.store .intro{padding:clamp(38px,5vw,82px)}
.hero-logo{width:clamp(68px,8vw,98px);height:auto;margin-bottom:1.25rem;box-shadow:0 5px 15px #65421622}
.store h1{font-size:clamp(2.85rem,5.8vw,5.4rem);max-width:12ch}
.store h1 em{display:block}
.store .intro>p{max-width:32ch}
.store .hero-image{position:relative;overflow:hidden;background:#dfccb6}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% center;opacity:0}
.hero-slide.is-current{opacity:1}
@media(prefers-reduced-motion:no-preference){
  .hero-slide{transform:scale(1);transition:opacity .55s ease-in-out,transform 0s .55s}
  .hero-slide.is-current{transform:scale(1.07);transition:opacity .55s ease-in-out,transform 3.7s ease-out}
  .store .intro{animation:intro-arrival .65s ease-out both}
  @keyframes intro-arrival{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
}
.cta{border:1px solid transparent;background:#73511e;color:white;transition:background-color .18s ease}
.cta:hover{background:#533817}
.collection{width:min(100%,1350px);padding-inline:clamp(18px,3.5vw,55px)}
.collection-heading,.collection-toolbar{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}
.collection-heading{padding-bottom:21px;border-bottom:1px solid var(--line)}
.search-label,.sort-label{display:grid;gap:5px;font-size:.9rem}
.search-label{width:min(100%,290px)}
.search-label input,.sort-label select{font:inherit;color:var(--ink);background:#fffcf6;border:1px solid #ac9573;border-radius:3px;padding:.6rem .75rem;min-width:0}
.collection-toolbar{margin:20px 0 10px;align-items:center}
.collection-toolbar .filters{margin:0}
.result-count{font-size:.86rem;color:#63534a;margin:10px 0}
.piece{display:grid;gap:0;border:1px solid var(--line);background:#fffcf6;transition:border-color .18s ease,box-shadow .18s ease}
.piece:hover{border-color:#a98148;box-shadow:0 8px 20px #6d502216}
.card-media{display:block;position:relative;overflow:hidden}
.card-media .piece-visual{transition:transform .3s ease}
.piece:hover .piece-visual{transform:scale(1.035)}
.card-info{display:grid;padding:14px;gap:5px}
.card-info .type{margin:0}
.card-price{font-size:.95rem;font-weight:600}
.sold-out{position:absolute;right:8px;bottom:8px;background:#fbf3e2;padding:.25rem .55rem;font-size:.82rem}
.empty-collection{padding:1.5rem;border:1px dashed #b09976;text-align:center}
.empty-collection button{background:transparent;border:1px solid var(--gold);border-radius:3px;padding:.55rem .8rem}
.store-footer{width:min(100%,1350px);color:#513c25}
#piece-details{width:min(92vw,520px);border:1px solid var(--line)}
#piece-details .detail{padding:6px 26px 27px}
#piece-details .piece-visual{max-height:44dvh}
@media(max-width:820px){.store .hero{width:calc(100% - 2rem);min-height:430px}}
@media(max-width:650px){.store .hero{grid-template-columns:1fr;min-height:0}.store .hero-image{aspect-ratio:1.42}.store .intro{padding:32px 22px}.store h1{font-size:clamp(2.7rem,10vw,4.2rem)}.search-label{width:100%}.store-header{flex-wrap:wrap;gap:.5rem;padding-block:12px}.store-header .brand-lockup img{width:40px;height:40px}.store-header nav{gap:.65rem}.store-header nav a{font-size:.86rem}.card-info{padding:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.piece,.piece-visual,.cta{transition:none}}
.cart-count{display:inline-grid;place-items:center;min-width:1.4em;padding:.05em .3em;border-radius:1rem;background:#ede0c6;color:var(--gold);font-variant-numeric:tabular-nums}
.product{display:flex;flex-direction:column;border:1px solid var(--line);background:#fffcf6;min-width:0}
.product .piece{width:100%;flex:1;border:0}
.product .buy{align-self:start;margin:0 .85rem .85rem;padding:.46rem .85rem}
#detail-buy{margin-top:1rem}
.cart-lines{margin:.8rem 0}
.cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:clamp(.5rem,2vw,1.25rem);padding:.8rem 0;border-bottom:1px solid var(--line)}
.cart-line strong,.cart-line span,.cart-line label{display:block;overflow-wrap:anywhere}
.cart-product{display:flex;align-items:center;gap:.65rem;min-width:0}
.cart-product>div{min-width:0}
.cart-thumbnail{display:block;flex:none;width:clamp(40px,13vw,56px);height:auto;aspect-ratio:1;object-fit:cover;border:1px solid var(--line);border-radius:3px;background:#f3e8d3}
.cart-line span,.cart-line label{font-size:.9rem}
.piece-reference,.cart-line .piece-reference{font-size:.8rem;letter-spacing:.045em;color:var(--gold)}
.cart-line select{display:block;border:1px solid #ac9573;background:#fffcf6;padding:.35rem;font:inherit}
.cart-line .quiet{background:transparent;border:1px solid var(--line);color:var(--gold);padding:.45rem .6rem;border-radius:3px}
.cart-total{font-weight:600;font-size:1.15rem}
.checkout{margin:1.4rem 0;padding:clamp(15px,4vw,30px);background:#fffdf8;border:1px solid var(--line)}
.checkout h3{margin:0;font:1.65rem var(--serif)}
.cart-trigger{background:transparent;border:0;padding:0;font-size:inherit}
.cart-trigger:hover{text-decoration:underline;text-underline-offset:4px}
.store-header nav{align-items:center}
.cart-drawer{inset:0 0 0 auto;margin:0;width:min(100%,475px);max-width:100%;height:100dvh;max-height:none;background:#fffcf6;border-left:1px solid var(--line);overflow:hidden}
.cart-drawer[open]{animation:cart-enter .22s ease-out}
.cart-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%}
.cart-head,.cart-content,.cart-footer{padding-inline:clamp(16px,4vw,27px)}
.cart-head{position:relative;padding-block:21px;border-bottom:1px solid var(--line)}
.cart-head h2{font-size:clamp(1.8rem,5vw,2.35rem);margin:0 50px 0 0}
.cart-head .close{top:15px;right:17px}
.cart-content{overflow:auto;overscroll-behavior:contain;padding-block:8px 20px}
.cart-content .checkout .fields{grid-template-columns:1fr}
.cart-content .checkout{padding:16px}
.cart-footer{display:grid;gap:.7rem;padding-top:15px;padding-bottom:max(18px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fbf5e9}
.cart-footer .cart-total{margin:0}
.cart-footer .quiet{background:transparent;border:1px solid #b59a73;border-radius:2px;padding:.6rem .85rem}
html:has(.cart-drawer[open]){overflow:hidden}
@keyframes cart-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){.cart-drawer[open]{animation:none}}
.manage-nav{gap:.5rem;border-bottom:1px solid var(--line);padding-bottom:.75rem}
.manage-nav a{border:1px solid var(--line);border-radius:3px;background:#fffdf8;padding:.5rem .85rem;text-decoration:none}
.manage-nav a[aria-current=page]{background:var(--gold);border-color:var(--gold);color:white}
.manage-nav a:hover{text-decoration:underline}
.announcement-list{margin:0 0 1.5rem}
.announcement-list+.fields{border-top:1px solid var(--line);padding-top:1.25rem}
.record-identity{display:flex;align-items:center;gap:14px;min-width:0}
.record-photo{width:clamp(62px,10vw,94px);aspect-ratio:1;object-fit:cover;border:1px solid var(--line);border-radius:4px;background:#f2e7d3;flex:none}
.floating-cart{position:fixed;z-index:3;right:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:grid;place-items:center;width:54px;height:54px;border:1px solid #b89b62;border-radius:50%;background:#52391c;color:#fff8e8;box-shadow:0 6px 20px #3d281d38}
.floating-cart:hover{background:#3e2a14}
.floating-count{position:absolute;top:-5px;right:-4px;display:grid;place-items:center;min-width:1.45rem;min-height:1.45rem;border:1px solid #a98a55;border-radius:1rem;background:#f9e8bc;color:#3e2a14;font-size:.75rem;font-weight:700;padding:0 .23rem}
.cart-feedback{position:fixed;z-index:3;right:max(16px,env(safe-area-inset-right));bottom:calc(max(18px,env(safe-area-inset-bottom)) + 66px);max-width:min(23rem,calc(100% - 32px));margin:0;padding:.65rem .9rem;border-radius:4px;background:#52391c;color:#fff8e8;font-size:.92rem;opacity:0;pointer-events:none;transition:opacity .18s ease}
.cart-feedback.visible{opacity:1}
.order-search{padding-bottom:1rem;border-bottom:1px solid var(--line)}
.order-heading{align-items:center;margin-bottom:1rem}
.order-heading h2{margin-bottom:0}
.order-secondary{background:transparent;border:1px solid var(--line);border-radius:3px;color:var(--gold);padding:.5rem .75rem}
.order-contact-fields{display:flex;flex-wrap:wrap;gap:.35rem;margin:.45rem 0}
.records .order-contact-tag{display:inline-block;max-width:100%;padding:.25rem .5rem;border-radius:5px;font-size:.84rem;overflow-wrap:anywhere}
.records .order-contact-name{background:#f6e6c5;color:#65451e;font-weight:700;margin-bottom:.25rem}
.records .order-contact-reference{background:#eee9f3;color:#574474}
.records .order-contact-email{background:#e6eff9;color:#254e75}
.records .order-contact-phone{background:#e3f0e6;color:#255b38}
.records .order-contact-phone:hover{text-decoration:underline;text-underline-offset:3px}
.languages{display:flex;gap:.25rem}
.languages button{display:grid;place-items:center;width:36px;height:36px;border:1px solid transparent;border-radius:4px;background:transparent}
.languages button[aria-pressed=true]{border-color:#9c7945;background:#f5ead5}
.languages svg{width:22px;height:15px;border-radius:2px}
.shop-whatsapp{border:1px solid var(--line);background:#fffaf0;border-radius:3px;padding:.5rem .75rem;font-size:.9rem}
.store-footer{flex-wrap:wrap}
.footer-links{align-items:center;gap:.75rem;font-size:.9rem}
.information{width:min(100% - 2rem,900px);margin:clamp(16px,5vw,70px) auto;padding:clamp(22px,6vw,72px);background:#fffaf0;border:1px solid var(--line)}
.information h1{font-size:clamp(2.8rem,7vw,5.1rem);color:var(--ink)}
.information>p{font-size:clamp(1rem,2vw,1.25rem);color:var(--gold);margin-bottom:2rem}
.information h2{font-size:clamp(1.5rem,3vw,2.2rem)}
.information-sections section{border-top:1px solid var(--line);padding:1rem 0}
.information-sections p{max-width:62ch}
.store-header a[aria-current=page]{color:var(--gold);text-decoration:underline;text-underline-offset:4px}
.order-filters summary{font-size:.9rem;color:var(--gold);cursor:pointer}
.order-filters .fields{margin-top:.75rem}
.order-list-title{margin:1.25rem 0 0}
.order-list-heading{display:flex;justify-content:space-between;align-items:center;gap:.65rem;flex-wrap:wrap;margin-top:1rem}
.order-list-heading .order-list-title{margin:0}
.order-list-heading label{display:flex;align-items:center;gap:.5rem;font-size:.92rem}
#order-status-filter{min-height:42px;padding:.45rem .6rem;border:1px solid #c7b79b;border-radius:6px;color:var(--ink);background:var(--surface);font:inherit}
.order-piece-details{margin-top:.5rem;padding:.4rem .55rem;border:1px solid var(--line);border-radius:6px;background:#fffaf1}
.order-piece-details summary{cursor:pointer;color:var(--gold);font-size:.88rem;overflow-wrap:anywhere}
.order-piece-photo{display:block;width:min(160px,100%);aspect-ratio:1;object-fit:cover;margin-top:.5rem;border-radius:5px}
#order-list{margin-top:.8rem}
#order-dialog{width:min(94vw,680px);border:1px solid var(--line)}
#order-dialog h2{margin-right:45px;font-size:clamp(1.7rem,4vw,2.65rem)}
#order-dialog form{margin-top:1rem}
@media(prefers-reduced-motion:reduce){.cart-feedback{transition:none}}

/* Storefront and management controls */
:root {
  --paper:#faf7f0;
  --surface:#fffdf8;
  --muted-surface:#f4ecdf;
  --accent:#73501e;
  --accent-hover:#583913;
  --soft-shadow:0 12px 32px #4a301310;
}
:focus-visible{outline:2px solid #8c6430;outline-offset:4px}
button:disabled{opacity:.6;cursor:wait}
.cta,.order-secondary,.form-actions .quiet,.record-actions .quiet,.cart-footer .quiet,.cart-line .quiet,
.cart-trigger,.shop-whatsapp,.filters button,.manage-nav a,.empty-collection button{
  min-height:42px;
  border-radius:6px;
  font-weight:600;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.7rem 1.1rem;
  background:var(--accent);
  color:#fffdf8;
  box-shadow:0 2px 4px #51371418;
}
.cta:hover{background:var(--accent-hover);text-decoration:none}
.order-secondary,.form-actions .quiet,.record-actions .quiet,.cart-footer .quiet,.cart-line .quiet,.shop-whatsapp,.empty-collection button{
  border:1px solid #ceb894;
  color:var(--accent);
  background:var(--surface);
  padding:.5rem .85rem;
}
.order-secondary:hover,.form-actions .quiet:hover,.record-actions .quiet:hover,.cart-footer .quiet:hover,
.cart-line .quiet:hover,.shop-whatsapp:hover,.empty-collection button:hover{
  border-color:#ad8b54;
  background:#f5ebdb;
  text-decoration:none;
}
.record-actions .danger{color:#941f2e;border-color:#dab6b9}
.record-actions .danger:hover{background:#f9ecec;border-color:#bd7e87}
.store-header{
  width:min(100%,1390px);
  padding-block:16px;
  padding-inline:clamp(18px,4vw,52px);
  gap:clamp(12px,2.5vw,32px);
}
.store-header nav{column-gap:clamp(.6rem,1.6vw,1.3rem);row-gap:.55rem}
.store-header nav>a:not(.cart-trigger){padding:.4rem .1rem}
.store-header nav>a:hover{text-underline-offset:6px}
.cart-trigger{
  display:inline-flex;
  flex:none;
  align-items:center;
  gap:.5rem;
  padding:.42rem .65rem .42rem .8rem;
  border:1px solid #d7c3a1;
  background:var(--surface);
  color:var(--accent);
  font-size:.91rem;
}
.cart-trigger:hover{background:var(--muted-surface);text-decoration:none}
.cart-count{min-width:1.55em;background:#eee0c7}
.languages{padding-left:.45rem;border-left:1px solid var(--line)}
.languages button{width:38px;height:38px;border-radius:6px}
.languages button:hover{background:#f4e8d2}
.store .hero{
  border-radius:14px;
  background:linear-gradient(115deg,#fffaf1 12%,#efe2cf 100%);
  box-shadow:var(--soft-shadow);
}
.store .hero .intro h1{max-width:13ch;line-height:.99;letter-spacing:-.055em}
.store .intro>p{line-height:1.7}
.store .intro .cta{min-height:48px;padding-inline:1.3rem}
.collection-heading{padding-bottom:1.4rem}
.search-label,.sort-label{font-size:.86rem;font-weight:600}
.search-label input,.sort-label select,.fields input,.fields select,.fields textarea,.records select,.period select,.cost-form input,.cart-line select{
  border:1px solid #c7b79b;
  min-height:42px;
  border-radius:6px;
  background:var(--surface);
  color:var(--ink);
}
.fields input:focus,.fields select:focus,.fields textarea:focus,.search-label input:focus,.sort-label select:focus{
  border-color:#936931;
}
.filters button{min-height:39px;border-radius:999px;background:var(--surface)}
.filters button[aria-pressed=true],.filters button:hover{background:var(--accent);color:white}
.product{
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 2px 8px #4a30130b;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.product:hover,.product:focus-within{border-color:#b69a69;box-shadow:var(--soft-shadow)}
.product .piece{background:transparent;box-shadow:none}
.product .piece:focus-visible{outline-offset:-3px}
.card-info{padding:clamp(.8rem,2vw,1.1rem);gap:.36rem}
.card-price{color:#6d4c1e;font-variant-numeric:tabular-nums}
.product .buy{align-self:stretch;margin:0 clamp(.8rem,2vw,1.1rem) clamp(.8rem,2vw,1.1rem);min-height:42px}
.sold-out{border:1px solid #d5bf99;border-radius:999px}
.information,.panel{border-radius:12px;background:var(--surface);box-shadow:var(--soft-shadow)}
.information h1{max-width:none}
.store-footer{padding-block:clamp(24px,5vw,48px)}
.footer-links{gap:.8rem 1.1rem}
dialog::backdrop{background:#302318a8}
#piece-details,#order-dialog,#piece-dialog{border-radius:12px;box-shadow:0 22px 72px #2515064d}
.close{border:1px solid #d1ba94;color:var(--accent);display:grid;place-items:center;background:var(--surface)}
.close:hover{background:var(--muted-surface)}
.cart-drawer{width:min(100%,490px);box-shadow:-12px 0 48px #2e21162e}
.cart-head,.cart-footer{background:#faf2e5}
.cart-head h2{font-size:clamp(2rem,6vw,2.65rem)}
.cart-line{gap:.65rem;padding-block:1rem}
.cart-thumbnail,.record-photo{border-radius:6px}
.cart-footer{gap:.55rem}
.cart-footer .cart-total{font-family:var(--serif);font-size:1.3rem}
.checkout{border-radius:10px;background:var(--surface);padding:clamp(1rem,4vw,1.35rem)}
.checkout h3{font-size:2rem}
.checkout form button{width:100%}
.checkout small{color:#6b5943}
.management .panel{margin-top:1.5rem}
.manage-nav a{display:inline-flex;align-items:center}
.manage-nav a:hover{border-color:#ad8b54;text-decoration:none}
.metrics div{border-radius:8px}
@media(max-width:650px){
  .store-header{gap:.75rem;padding-block:.7rem}
  .store-header nav{width:100%;justify-content:flex-start;font-size:.9rem}
  .store .hero{border-radius:10px}
  .store .hero .intro h1{font-size:clamp(2.45rem,10vw,3.8rem)}
  .cart-line{grid-template-columns:minmax(0,1fr) auto;gap:.45rem .65rem}
  .cart-line .quiet{grid-column:2;justify-self:end}
}
@media(prefers-reduced-motion:reduce){
  .cta,.order-secondary,.form-actions .quiet,.record-actions .quiet,.cart-footer .quiet,.cart-line .quiet,
  .cart-trigger,.shop-whatsapp,.filters button,.manage-nav a,.empty-collection button,.product{transition:none}
}
