@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --ink:#171715;
  --paper:#f8f6ef;
  --yellow:#ffcb29;
  --line:#d8d4c8;
  --secondary:#555149;
  accent-color:#a06600;
}
* { box-sizing:border-box }
html { scroll-behavior:smooth }
body { margin:0; color:var(--ink); background:var(--paper); font:16px 'DM Sans',Arial,sans-serif }
::selection { background:var(--yellow); color:var(--ink) }
a { color:inherit; text-decoration:none }
button,input,select { font:inherit }
button { cursor:pointer }
:focus-visible { outline:3px solid #a16b00; outline-offset:4px }
header :focus-visible { outline-color:var(--yellow) }
.wrap { width:min(1160px,calc(100% - 64px)); margin-inline:auto }
header { background:var(--ink); color:white }
.top { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:15px }
.brand { display:inline-flex; align-items:center; gap:9px; font:800 32px/.9 'Barlow Condensed',sans-serif; letter-spacing:-.015em; white-space:nowrap }
.brand span span { color:#a06c00 }
header .brand span span { color:var(--yellow) }
nav { display:flex; gap:32px; font-size:15px; color:#ece8dc }
nav a:hover,.photo-credit a:hover { text-decoration:underline; text-underline-offset:4px }
.outline { border:1px solid currentColor; border-radius:6px; color:inherit; background:transparent; padding:9px 13px; font-weight:700 }
.outline:hover { background:#8882 }
.outline span { margin-left:5px; color:var(--yellow); font-variant-numeric:tabular-nums }
.hero { background:var(--yellow); padding:50px 0 }
.hero-inner { min-height:420px; display:grid; grid-template-columns:1fr 1fr; gap:45px; align-items:center }
.copy { max-width:490px; padding:24px 0 }
h1,h2,h3,p { margin-top:0 }
h1,h2 { font-family:'Barlow Condensed','Arial Narrow',sans-serif; font-weight:800; line-height:.95; letter-spacing:-.02em }
h1 { font-size:clamp(60px,8vw,96px); margin-bottom:22px; text-wrap:balance }
h2 { font-size:clamp(43px,5.2vw,68px); margin-bottom:18px }
.copy p { font-size:19px; line-height:1.54; max-width:375px; margin-bottom:25px }
.action { border:1px solid transparent; background:var(--yellow); color:var(--ink); font-weight:800; padding:13px 17px; border-radius:6px; display:inline-flex; align-items:center }
.action:hover { background:#ffdd68 }
.hero .action { background:var(--ink); color:white; padding:14px 19px }
.hero .action:hover { background:#353129 }
.catalog { padding:64px 0 }
.section-head { display:flex; justify-content:space-between; align-items:baseline; gap:20px }
.section-head p,.photo-credit { color:var(--secondary) }
.filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:23px }
.filters button { background:transparent; border:1px solid #898477; border-radius:30px; padding:8px 15px; color:var(--ink); font-weight:700 }
.filters button:hover { background:#eee9d9 }
.filters button[aria-pressed=true] { background:var(--ink); color:white; border-color:var(--ink) }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px }
.card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden }
.photo { display:grid; place-items:center; height:188px; padding:10px; border-bottom:1px solid #ebe8df }
.photo img { width:100%; height:166px; object-fit:contain }
.card-content { padding:17px; display:flex; flex:1; flex-direction:column }
.card h3 { font-size:20px; line-height:1.2; margin-bottom:6px }
.card p { color:var(--secondary); font-size:14px; margin-bottom:13px }
.card-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto }
.card-bottom b,.total b { font-size:21px; font-variant-numeric:tabular-nums }
.card-bottom small { color:var(--secondary) }
.card button { padding:8px 12px }
.photo-credit { margin:17px 0 0; font-size:13px; text-decoration:underline; text-underline-offset:3px }
.how { background:var(--ink); color:var(--paper); padding:56px 0 }
.steps { padding-left:0; margin:28px 0 0; list-style:none; counter-reset:steps; display:grid; grid-template-columns:repeat(3,1fr); gap:26px }
.steps li { counter-increment:steps; border-top:1px solid #9a9485; padding-top:15px }
.steps li::before { content:counter(steps,decimal-leading-zero); display:block; color:var(--yellow); font:700 34px/1 'Barlow Condensed',sans-serif }
.steps h3 { margin:9px 0 }
.steps p { line-height:1.5; color:#e2ddcc }
footer { min-height:98px; display:flex; align-items:center; justify-content:space-between; gap:12px }
footer p { margin:0; color:var(--secondary) }
dialog { position:fixed; inset:0 0 0 auto; margin:0; width:min(100%,480px); height:100%; max-height:100%; max-width:100%; border:0; padding:25px; background:var(--paper); color:var(--ink); overflow:auto }
dialog::backdrop { background:#0009 }
.drawer-head,.line,.total { display:flex; justify-content:space-between; align-items:center; gap:12px }
.drawer-head h2 { font-size:44px; margin:0 }
.drawer-head { margin-bottom:22px }
.drawer-head button { display:grid; place-items:center; width:42px; height:42px; padding:0 }
.line { border-bottom:1px solid var(--line); padding:12px 0 }
.line button { border:0; background:none; text-decoration:underline; padding:8px }
.total { margin:16px 0 }
label { display:grid; gap:6px; margin:12px 0; font-weight:700 }
input,select { border:1px solid #898477; border-radius:6px; background:white; padding:10px; width:100%; caret-color:#a16b00 }
.muted { font-size:14px; color:var(--secondary); line-height:1.5 }
.order-status { padding:14px; background:#eee9d9; border-radius:8px; margin:15px 0 }
.order-status p { margin:8px 0 }
.buttons { display:flex; flex-wrap:wrap; gap:8px }
.credit-list { line-height:2.2; padding-left:20px }
.credit-list a { text-decoration:underline; text-underline-offset:4px }
@media (max-width:850px) {
  .hero-inner { gap:24px; min-height:0 }
  .card-bottom { align-items:flex-start; flex-direction:column }
}
@media (max-width:660px) {
  .wrap { width:calc(100% - 32px) }
  .top { min-height:66px }
  .brand { font-size:29px }
  .brand img { width:34px; height:34px }
  nav { display:none }
  .hero { padding:25px 0 }
  .hero-inner { grid-template-columns:1fr; gap:23px }
  .copy { padding:6px 0 0 }
  .copy p { font-size:17px; margin-bottom:17px }
  h1 { font-size:clamp(53px,12vw,75px); margin-bottom:14px }
  .catalog,.how { padding:43px 0 }
  .section-head { display:block }
  .section-head h2 { margin-bottom:9px }
  .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px }
  .photo { height:132px; padding:7px }
  .photo img { height:117px }
  .card-content { padding:11px }
  .card h3 { font-size:17px }
  .steps { grid-template-columns:1fr; gap:9px }
  footer { flex-wrap:wrap; min-height:0; padding:19px 0 }
}
@media (max-width:340px) { .grid { grid-template-columns:1fr } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto } }

.hero h1 { text-wrap:initial }
.results { color:var(--secondary); font-size:13px }
.pagination button { display:grid; place-items:center; min-width:38px; height:38px; padding:0 8px; border:1px solid var(--line); border-radius:6px; background:white; color:var(--ink); font-weight:700; font-size:13px }
.pagination button:hover { background:#fff2b6 }
.results { margin-bottom:12px }
.pagination { display:flex; gap:7px; margin-top:18px }
.pagination:empty { display:none }
.pagination button[aria-current] { background:var(--ink); color:white; border-color:var(--ink) }
#catalog-title { scroll-margin-top:20px }

.hero-product {
  margin:0;
  min-width:0;
  overflow:hidden;
  background:var(--ink);
  border:1px solid var(--ink);
  border-radius:16px;
  box-shadow:0 14px 26px #34230226;
}
.slide-stage {
  position:relative;
  display:grid;
  grid-template-rows:minmax(0,1fr);
  place-items:center;
  height:clamp(250px,28vw,352px);
  padding:20px;
  background:#fff;
}
.slide-stage img {
  width:100%;
  height:100%;
  min-height:0;
  object-fit:contain;
}
#slide-position {
  position:absolute;
  top:14px;
  right:15px;
  padding:5px 9px;
  border:1px solid var(--line);
  border-radius:5px;
  background:var(--paper);
  color:var(--ink);
  font-size:12px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.slide-progress {
  position:absolute;
  inset:auto 0 0;
  height:3px;
  background:#e7e1d1;
}
.slide-progress::after {
  content:'';
  display:block;
  height:100%;
  background:var(--yellow);
  transform-origin:left;
  transform:scaleX(0);
}
.hero-product[data-playing] .slide-progress::after {
  animation:slide-time var(--slide-duration) linear forwards;
}
@keyframes slide-time { to { transform:scaleX(1) } }
.hero-product figcaption {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-height:96px;
  padding:14px 17px;
  color:var(--paper);
}
#slide-caption { display:grid; gap:3px; min-width:0 }
#slide-category { color:var(--yellow); font-weight:700; font-size:13px }
#slide-name { font:700 clamp(22px,2.55vw,31px)/1.06 'Barlow Condensed','Arial Narrow',sans-serif }
.slide-controls { display:flex; flex:none; align-items:center; gap:6px }
.slide-controls button {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid #827b67;
  border-radius:6px;
  background:transparent;
  color:var(--paper);
}
.slide-controls button:hover { background:#ffffff1a }
.slide-controls button:focus-visible { outline-color:var(--yellow) }
#slide-toggle { border-color:transparent }
#slide-toggle .icon-play,
#slide-toggle[aria-label="Reproduzir"] .icon-pause { display:none }
#slide-toggle[aria-label="Reproduzir"] .icon-play { display:block }
#slide-next { background:var(--yellow); border-color:var(--yellow); color:var(--ink) }
#slide-next:hover { background:#ffdf74 }
@media (max-width:850px) and (min-width:661px) {
  .hero-product figcaption { min-height:106px; padding-inline:12px }
}
@media (max-width:660px) {
  .slide-stage { height:220px; padding:12px }
  .hero-product figcaption { padding:11px 10px 11px 14px; min-height:94px; gap:6px }
  .slide-controls { gap:2px }
}
@media (prefers-reduced-motion:reduce) {
  .hero-product[data-playing] .slide-progress::after { animation:none }
}

.order-nav { display:flex; align-items:center; gap:8px }
.order-nav button { white-space:nowrap }
.paired-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px }
.order-card { margin-bottom:13px; padding:15px; border:1px solid var(--line); border-radius:10px; background:white }
.order-card h3 { margin:7px 0 11px; font-size:19px }
.order-note { display:block; font-size:14px; font-weight:700; margin:0; line-height:1.5 }
.order-card dl { display:grid; grid-template-columns:1fr 1fr; margin:12px 0; gap:8px }
.order-card dt { color:var(--secondary); font-size:13px }
.order-card dd { margin:3px 0 0; font-weight:700 }
.order-adjustment:not(:empty) { border-top:1px solid var(--line); margin-top:12px }
.order-adjustment output + p { margin:7px 0 12px }
.form-error { color:#9b2116; font-weight:600; font-size:14px }
dialog button:disabled { opacity:.65; cursor:wait }
@media(max-width:420px) {
  .order-nav { gap:5px }
  .order-nav .outline { font-size:12px; padding:8px }
  .order-nav .outline span { margin-left:0 }
  .top { gap:5px }
  .top .brand { font-size:23px; gap:5px }
  .top .brand img { width:27px; height:27px }
}
.paired-fields > label { min-width:0 }
@media(max-width:380px) {
  .top { flex-wrap:wrap; padding-block:8px }
}

.google-button { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:46px; background:white }
.account-divider { display:flex; align-items:center; gap:12px; margin:20px 0 14px; color:var(--secondary); font-size:13px }
.account-divider::before,.account-divider::after { content:''; height:1px; flex:1; background:var(--line) }
.account-links { display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:12px }
.account-links button { border:0; background:none; color:var(--ink); padding:4px 0; text-decoration:underline; text-underline-offset:3px; font-weight:700 }
.account-message { margin:12px 0 0; line-height:1.45; font-size:14px }
.account-message:empty { display:none }
#account-email { overflow-wrap:anywhere }
#account-open { background:var(--yellow); border-color:var(--yellow); color:var(--ink) }
.order-login { margin-bottom:15px }
@media(max-width:660px) { .top { flex-wrap:wrap; padding-block:8px } }

.field-caption { position:relative; display:flex; align-items:baseline; gap:7px; margin:12px 0 6px }
.field-caption label { display:inline; margin:0 }
.field-info { display:inline-block }
.field-info summary { display:grid; place-items:center; width:23px; height:23px; border-radius:50%; border:1px solid #898477; cursor:pointer; font-size:13px; font-weight:800; color:var(--secondary); list-style:none }
.field-info summary::-webkit-details-marker { display:none }
.field-info[open] summary { background:var(--yellow); color:var(--ink); border-color:var(--yellow) }
.field-info p { position:absolute; z-index:1; top:calc(100% + 4px); left:0; width:min(228px,100%); margin:0; padding:9px 11px; border:1px solid var(--line); border-radius:6px; background:white; box-shadow:0 6px 16px #17171520; font-size:13px; line-height:1.4 }
#tax-id { text-transform:uppercase }

.pending-actions,.adjustment-feedback { margin-top:10px }
.order-adjustment form > .order-note:first-child { padding-top:10px }

.account-admin-access { margin-top:14px }

.checkout-contact { border: 0; margin: 0; padding: 0; min-width: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#mobile-carousel:not(:empty) { padding-block: 2rem; }
@media (max-width: 720px) {
  .order-nav button, .filters button, .pagination button, .slide-controls button, .card .action, #checkout-form button, #checkout-form input, #checkout-form select { min-height: 44px; }
}

.store-header { position:sticky; top:0; z-index:5 }
html:has(.store-header) { scroll-padding-top:90px }
.cart-icon { position:relative; display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; padding:0; border:1px solid #ffffff55; border-radius:8px; background:transparent; color:white }
.cart-icon:hover { background:#ffffff16 }
.cart-icon #count { position:absolute; inset:-4px -3px auto auto; min-width:19px; height:19px; padding-inline:3px; border-radius:10px; background:var(--yellow); color:var(--ink); font-size:11px; font-weight:800; line-height:19px; text-align:center; font-variant-numeric:tabular-nums }
.cart-bar[hidden] { display:none }
.cart-bar { position:fixed; z-index:4; inset:auto 12px max(12px,env(safe-area-inset-bottom)) 12px; margin-inline:auto; width:min(620px,calc(100% - 24px)); display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px; border:1px solid #4d4737; border-radius:14px; background:var(--ink); color:white; box-shadow:0 10px 30px #17171540 }
.cart-bar-summary { display:flex; align-items:center; gap:10px; min-width:0; line-height:1.25 }
.cart-bar-summary svg { flex:none; color:var(--yellow) }
.cart-bar-summary span { display:block; margin-top:3px; color:#eee7d5; font-size:13px }
.cart-bar-actions { display:flex; gap:7px }
.cart-bar-actions button { min-height:44px; padding:8px 10px; font-size:13px; text-align:center; justify-content:center; line-height:1.2 }
.cart-bar-actions .outline { border-color:#ffffff66 }
.cart-bar :focus-visible { outline-color:var(--yellow) }
.has-cart-bar { padding-bottom:calc(104px + env(safe-area-inset-bottom)) }
.card:has([data-add]) { cursor:pointer }
.cart-line { align-items:center; gap:8px }
.cart-line-product { display:flex; align-items:center; gap:10px; min-width:0 }
.cart-line-product img { flex:none; object-fit:contain; background:white; border:1px solid var(--line); border-radius:6px }
.cart-line-product small { display:block; margin-top:3px }
.cart-line-controls { display:flex; flex-direction:column; align-items:flex-end; flex:none }
.cart-stepper { display:flex; align-items:center; border:1px solid var(--line); border-radius:8px; background:white }
.cart-stepper button { min-height:44px; min-width:44px; border:0; background:transparent; color:var(--ink); font-size:20px; text-decoration:none; padding:0 }
.cart-stepper button:hover { background:var(--paper) }
.cart-stepper output { min-width:3ch; text-align:center; font-weight:800; font-variant-numeric:tabular-nums }
.cart-remove { min-height:36px; font-size:13px }
@media (max-width:540px) {
  .cart-bar { display:grid; gap:10px }
  .cart-bar-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) }
  .has-cart-bar { padding-bottom:calc(132px + env(safe-area-inset-bottom)) }
}
@media (max-width:370px) {
  .top .brand img { width:24px; height:24px }
  .top .brand { font-size:21px }
  .top { width:calc(100% - 20px) }
  .cart-line-product img { width:40px; height:40px }
}

.cep-field { position:relative }
.cep-field label { margin-bottom:6px }
.cep-field input { padding-right:48px }
.cep-indicator { position:absolute; inset:auto 2px 0 auto; width:44px; height:44px; display:grid; place-items:center; border:0; background:transparent; color:var(--secondary); cursor:help }
.cep-indicator[hidden] { display:none }
.cep-indicator[data-state="covered"] { color:#16663e }
.cep-indicator:is([data-state="outside_area"],[data-state="invalid_cep"]) { color:#a3281c }
.cep-tooltip { position:absolute; z-index:2; top:calc(100% + 6px); right:0; width:max-content; max-width:min(100%, 290px); padding:8px 10px; border-radius:6px; background:var(--ink); color:var(--paper); font-size:13px; line-height:1.4; visibility:hidden }
.cep-indicator:not([hidden]):is(:hover,:focus) + .cep-tooltip,
.cep-tooltip:not(:empty):hover { visibility:visible }
