/* DALMERI V149 | Busca fixa no cabeçalho, vitrine simplificada e sacola ajustada */
.home-discovery{background:#faf9f7;padding:48px 0 52px;border-bottom:1px solid #e8e5df;scroll-margin-top:72px}
.discovery-intro{display:grid;gap:22px;scroll-margin-top:90px}
.discovery-copy{max-width:660px}
.discovery-copy h2{margin:10px 0 12px;font:400 clamp(33px,7vw,56px)/1.06 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:#141414}
.discovery-copy p{max-width:540px;margin:0;color:#6a675f;font-size:14px;line-height:1.7}
.discovery-search-area{display:grid;align-content:end;gap:12px;min-width:0}
.discovery-search-field{height:56px;display:flex;align-items:center;gap:12px;padding:0 15px 0 17px;background:#fff;border:1px solid #dad6ce;border-radius:14px;transition:border-color .2s,box-shadow .2s}
.discovery-search-field:focus-within{border-color:#aa8851;box-shadow:0 0 0 3px rgba(183,149,91,.13)}
.discovery-search-field svg{flex:none;color:#7c7569}
.discovery-search-field input{flex:1;min-width:0;width:100%;height:100%;border:0;outline:0;background:transparent;color:#141414;font:400 14px/1.2 Inter,system-ui,sans-serif}
.discovery-search-field input::placeholder{color:#8d8981;opacity:1}
.discovery-search-field input::-webkit-search-cancel-button{-webkit-appearance:none}
.discovery-clear{border:0;background:none;color:#6d573b;font-size:12px;font-weight:700;cursor:pointer;padding:8px 4px}
.discovery-clear[hidden]{display:none}
.discovery-categories{display:flex;flex-wrap:wrap;gap:7px}
.discovery-filter{border:1px solid #dedbd4;background:#fff;color:#6a665d;border-radius:999px;padding:9px 15px;font-size:12px;font-weight:600;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.discovery-filter:hover{border-color:#b7955b;color:#222}
.discovery-filter.is-active{background:#151515;border-color:#151515;color:#fff}
.discovery-filter:focus-visible,.discovery-card:focus-visible,.discovery-clear:focus-visible{outline:3px solid #b7955b;outline-offset:3px}
.discovery-heading{margin:37px 0 21px;display:flex;align-items:end;gap:20px;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid #dedbd4}
.discovery-heading h3{margin:7px 0 0;font:400 clamp(25px,5vw,35px)/1.18 Georgia,'Times New Roman',serif;letter-spacing:-.035em}
/* Navegação lateral: setas à esquerda do primeiro e à direita do último card. */
.discovery-carousel{position:relative;min-width:0}
.discovery-carousel.has-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:start;column-gap:12px}
.discovery-page-button{position:relative;align-self:start;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%;border:1px solid #c9bea9;background:#fff;color:#302719;cursor:pointer;box-shadow:0 4px 16px rgba(28,20,9,.07);transition:background .18s,color .18s,border-color .18s}
.discovery-page-button[hidden]{display:none}
.discovery-page-button:not(:disabled):hover{background:#1b1b1b;color:#fff;border-color:#1b1b1b}
.discovery-page-button:focus-visible{outline:3px solid #b7955b;outline-offset:3px}
.discovery-page-button:disabled{opacity:.35;cursor:default;box-shadow:none}
@media(max-width:899px){
 .discovery-carousel.has-navigation{display:block}
 .discovery-carousel.has-navigation .discovery-page-button{position:absolute;z-index:3;width:40px;height:40px}
 .discovery-carousel.has-navigation .discovery-page-previous{left:-13px}
 .discovery-carousel.has-navigation .discovery-page-next{right:-13px}
}
@media(max-width:599px){
 .discovery-heading{align-items:flex-start;flex-wrap:wrap;row-gap:12px}
}
.discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.discovery-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;border-radius:14px;background:#fff;border:1px solid #e8e4dd;color:#161616;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}
.discovery-card:hover{border-color:#c9b99b;transform:translateY(-3px);box-shadow:0 10px 28px rgba(40,31,20,.08)}
.discovery-card-photo{height:auto;aspect-ratio:1 / 1;flex:none;display:grid;place-items:center;padding:15px;background:linear-gradient(150deg,#f4f2ed,#fbfaf8);position:relative;overflow:hidden}
.discovery-card-photo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .35s ease}
.discovery-card:hover .discovery-card-photo img{transform:scale(1.055)}
.discovery-card-flag{position:absolute;left:11px;top:11px;padding:6px 8px;border-radius:6px;background:#fff;color:#6b5530;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.discovery-card-info{box-sizing:border-box;height:190px;padding:13px 12px 15px;display:flex;flex:none;flex-direction:column;gap:5px;overflow:hidden}
.discovery-card-category{color:#8d7550;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}
.discovery-card-name{margin:2px 0 0;font:400 clamp(17px,3vw,22px)/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.02em;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;min-height:2.3em;max-height:2.3em}
.discovery-card-brand{margin:0;color:#817a70;font-size:11px;line-height:1.3;min-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.discovery-card-inspiration{color:#8c8273;font-size:10px;line-height:1.4;margin:1px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.discovery-card-foot{margin-top:auto;padding-top:9px;display:flex;align-items:end;justify-content:space-between;gap:6px;flex-wrap:nowrap}
.discovery-card-price{display:grid;gap:2px;min-width:0}
.discovery-card-price span{color:#8d877f;font-size:10px}
.discovery-card-price strong{font-size:17px;letter-spacing:-.045em;white-space:nowrap}
.discovery-card-price strong.is-unavailable{color:#9b9388;font-size:12px;letter-spacing:0}
.discovery-card-arrow{display:grid;place-items:center;width:32px;height:32px;flex:none;color:#fff;background:#1b1b1b;border-radius:50%;font-size:17px;transition:background .18s}
.discovery-card:hover .discovery-card-arrow{background:#9a7641}
.discovery-message{padding:24px;text-align:center;border:1px dashed #d8d3c8;border-radius:14px;color:#69635b;font-size:13px;line-height:1.6;background:#fff}
.discovery-message[hidden]{display:none}
@media(min-width:600px){.discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.discovery-card-info{height:205px;padding:17px 16px 18px}.discovery-card-photo{padding:24px}}
@media(min-width:900px){.home-discovery{padding:74px 0 78px}.discovery-intro{grid-template-columns:minmax(0,1fr) minmax(350px,.82fr);align-items:end;gap:44px}.discovery-heading{margin-top:54px}.discovery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.discovery-card-photo{padding:28px}.discovery-card-info{height:184px}}
@media(max-width:370px){.discovery-grid{gap:8px}.discovery-card-info{height:190px;padding:11px 9px 13px}.discovery-card-photo{padding:9px}.discovery-card-arrow{width:28px;height:28px}.discovery-card-price strong{font-size:15px}.discovery-filter{padding:8px 11px}.discovery-carousel.has-navigation .discovery-page-previous{left:-10px}.discovery-carousel.has-navigation .discovery-page-next{right:-10px}}
@media(prefers-reduced-motion:reduce){.discovery-card,.discovery-card-photo img{transition:none}.discovery-card:hover{transform:none}.discovery-card:hover .discovery-card-photo img{transform:none}}

/* V148 — uma única busca, sempre acessível no cabeçalho. */
.nav { min-width:0; }
.nav > .brand { flex:0 0 auto; }
.nav > .nav-actions { flex:0 0 auto; }
.header-global-search {
  box-sizing:border-box; flex:1 1 280px; min-width:0; max-width:410px;
  height:43px; display:flex; align-items:center; gap:10px;
  margin:0; padding:0 13px 0 15px;
  border-radius:12px; border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.10); color:#d8c5a2;
  transition:border-color .2s,background .2s,box-shadow .2s;
}
.header-global-search:focus-within { border-color:#b7955b; background:rgba(255,255,255,.14); box-shadow:0 0 0 2px rgba(183,149,91,.18); }
.header-global-search svg { flex:none; }
.header-global-search input {
  box-sizing:border-box; flex:1 1 auto; min-width:0; height:100%;
  padding:0; margin:0; border:0; outline:none; background:none;
  font:400 13px/1.3 Inter,system-ui,sans-serif; color:#fff; appearance:none;
}
.header-global-search input::placeholder { color:rgba(255,255,255,.64); opacity:1; }
.header-global-search input::-webkit-search-cancel-button { -webkit-appearance:none; }
.header-global-search .discovery-clear { color:#f0dcb7; flex:none; font-size:11px; }
.header-global-search:focus-visible { outline:2px solid #b7955b; outline-offset:2px; }
.home-discovery .discovery-intro { grid-template-columns:minmax(0,1fr); gap:19px; }
.home-discovery .discovery-copy { max-width:750px; }
.home-discovery .discovery-search-area { align-content:start; }
.home-discovery .discovery-heading { scroll-margin-top:110px; }
@media(min-width:900px) {
  .nav > .menu { flex:0 0 auto; gap:clamp(10px,1.5vw,23px); }
  .header-global-search { max-width:360px; }
}
@media(min-width:700px) and (max-width:1050px) {
  .nav { gap:10px; }
  .header-global-search { max-width:310px; }
  .nav > .brand { gap:6px; }
}
@media(max-width:699px) {
  .nav { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 10px; padding-top:10px; padding-bottom:11px; }
  .nav > .brand { grid-column:1; grid-row:1; }
  .nav > .nav-actions { grid-column:2; grid-row:1; }
  .nav > .menu-toggle { grid-column:2; grid-row:1; }
  .header-global-search { grid-column:1 / -1; grid-row:2; width:100%; max-width:none; min-width:0; height:43px; }
  .home-discovery { scroll-margin-top:128px; }
  .home-discovery .discovery-heading { scroll-margin-top:135px; }
}
@media(max-width:370px) {
  .header-global-search { padding:0 12px; }
  .header-global-search input { font-size:12px; }
}


/* V149 — simplificar vitrine e reposicionar a sacola. */
.home-discovery .discovery-search-area,
.home-discovery .discovery-categories{display:none!important}
.home-discovery .discovery-intro{gap:0}
@media(min-width:900px){
  .nav{justify-content:flex-start}
  .nav > .brand{order:0}
  .nav > .header-global-search{order:1;flex:1 1 320px}
  .nav > .menu{order:2;margin-left:auto}
  .nav > .nav-actions{order:3;margin-left:14px}
}

/* V160 — destaque dourado para Quiz no menu principal (desktop e celular). */
.menu a.menu-quiz-link,.menu a.menu-quiz-link span{color:#d7b576!important;}
.menu a.menu-quiz-link:hover,.menu a.menu-quiz-link:hover span{color:#f5dca3!important;}

/* V168 — cabeçalho realmente adaptável em telas de 320px (incluindo sacola e menu). */
@media(max-width:355px){
  .nav{column-gap:6px}
  .nav > .brand{gap:5px;min-width:0}
  .brand-d{width:30px;min-width:30px;height:36px;font-size:28px}
  .brand-copy b{font-size:13px;letter-spacing:.14em;white-space:nowrap}
  .brand-copy small{font-size:7px;letter-spacing:.28em}
  .nav > .nav-actions{gap:6px}
  .nav-actions .cart-button,.nav-actions .menu-toggle{width:39px;height:39px;border-radius:12px}
}
