@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --verde: #2f4f2f;
  --escuro: #203922;
  --rosa: #c46a78;
  --rosa-texto: #944554;
  --rosa-suave: #f9edf0;
  --texto: #19241a;
  --muted: #516052;
  --linha: #dce5db;
  --fundo: #f4f7f3;
  --branco: #fff;
  --serif: 'Playfair Display', Georgia, serif;
  --sombra: 0 20px 55px #18382012;
  font: 16px/1.55 Inter, system-ui, sans-serif;
  color: var(--texto);
  background: var(--fundo);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
h1, h2 { color: var(--verde); font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.05rem; }
fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.skip:focus { position: fixed; z-index: 20; left: 12px; top: 12px; padding: 10px; background: white; }
.wrap { width: min(100% - 48px, 1320px); margin-inline: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 11px; min-height: 44px; padding: 9px 17px; font-size: .9rem; font-weight: 700; text-decoration: none; color: white; background: var(--verde); }
.button:hover { background: var(--escuro); }
.button:disabled { opacity: .45; }
.button.secondary { color: var(--verde); background: white; border-color: var(--linha); }
.button.secondary:hover { background: var(--fundo); border-color: var(--verde); }
.button.quiet { color: var(--verde); background: transparent; padding-inline: 7px; }
.button.quiet:hover { text-decoration: underline; }
.icon-button { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--linha); border-radius: 11px; background: white; color: var(--verde); }
.icon-button:hover { background: var(--fundo); }
.icon-button[data-acao="fechar"],
.icon-button#demo-fechar-convite { border-color: var(--verde); }
.icon { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.demo { background: #f7e9ed; color: #783847; text-align: center; padding: 6px 12px; font-size: .82rem; font-weight: 650; }
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  border-bottom: 1px solid var(--linha);
}
.top .wrap { min-height: 75px; display: flex; align-items: center; gap: 30px; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; border: 0; background: transparent; padding: 0; flex-shrink: 0; }
.logo img { width: 142px; height: auto; }
.nav, .top-actions { display: flex; align-items: center; gap: 8px; }
.nav { flex-wrap: wrap; }
.nav button { background: transparent; border: 0; padding: 8px 12px; border-radius: 8px; font-weight: 650; color: var(--muted); }
.nav button[aria-current], .nav button:hover { color: var(--rosa-texto); background: var(--rosa-suave); }
.category-menu { position:relative; }
.category-menu summary { display:flex; align-items:center; justify-content:center; gap:8px; padding:8px 12px; border-radius:8px; color:var(--muted); font-weight:650; list-style:none; cursor:pointer; }
.category-menu summary::-webkit-details-marker { display:none; }
.category-menu summary::after { content:""; width:7px; height:7px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg) translateY(-2px); }
.category-menu[open] summary, .category-menu summary:hover, .category-menu summary.current { color:var(--rosa-texto); background:var(--rosa-suave); }
.category-menu ul { position:absolute; z-index:10; top:calc(100% + 5px); inset-inline-end:0; width:max-content; max-width:calc(100vw - 36px); margin:0; padding:5px; list-style:none; background:#fff; border:1px solid var(--linha); border-radius:10px; box-shadow:var(--sombra); }
.category-menu li button { display:block; width:100%; text-align:left; }
@media (max-width:670px) {
  .top .nav .category-menu summary { min-height:44px; padding:4px 8px; font-size:.85rem; }
}
.basket-button { position: relative; }
.count { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 21px; height: 21px; padding-inline: 4px; border-radius: 15px; background: var(--rosa-texto); color: white; font-size: .7rem; }
.delivery-strip { background: #eaf1e9; color: var(--verde); }
.delivery-strip .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 46px; gap: 8px; }
.delivery-strip span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.page { padding-block: 34px 64px; }
.heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.heading p { margin-top: 6px; }
.welcome { min-height: calc(100svh - 30px); display: grid; grid-template-columns: 1.08fr 1fr; background: white; }
.welcome-art { display: grid; position: relative; overflow: hidden; align-content: end; padding: clamp(26px, 5vw, 75px); background: #243e2a; isolation: isolate; min-height: 370px; }
.welcome-art::before { content: ''; position: absolute; z-index: -2; inset: 0; background: var(--entrada) center 42% / cover no-repeat; }
.welcome-art::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#142819ec 2%,#253c28b0 19%,transparent 66%); }
.welcome-art p { font: 700 clamp(2.2rem, 5.5vw, 5.2rem)/1 var(--serif); color: white; }
.welcome-form { align-self: center; justify-self: center; width: min(420px, 100% - 50px); padding: 40px 0; }
.welcome-form .logo { margin-bottom: 35px; }
.welcome-form .logo img { width: 183px; }
.welcome-form h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 12px; }
.welcome-form .button { width: 100%; margin-top: 22px; }
.demo-profile { display: flex; gap: 12px; align-items: center; border: 1px solid var(--linha); padding: 13px; border-radius: 12px; margin-top: 24px; }
.demo-profile .icon { width: 26px; height: 26px; color: var(--verde); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 23px; background: white; border: 1px solid var(--linha); overflow: hidden; margin-bottom: 18px; }
.hero-copy { padding: clamp(23px, 4vw, 55px); align-self: center; }
.hero-copy p { margin: 12px 0 22px; }
.hero-photos { display: grid; min-height: 210px; grid-template-columns: 1fr 1fr; background: #fff; overflow: hidden; }
.hero-photos img { width: 100%; height: 100%; object-fit: contain; }
.hero-photos.has-welcome-photo { display: block; position: relative; }
.hero-photos.has-welcome-photo img { position: absolute; inset: 0; display: block; max-height: none; object-fit: cover; }
.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.home-tile, .category-card { text-align: left; border: 1px solid var(--linha); background: white; color: var(--texto); border-radius: 15px; }
.home-tile { display: grid; justify-items: start; gap: 7px; padding: 20px; }
.home-tile:hover, .category-card:hover { border-color: var(--rosa); }
.home-tile .icon { color: var(--rosa-texto); margin-bottom: 4px; }
.heading-actions { display:flex; flex-wrap:wrap; gap:8px; }
.family-section h2 { margin-bottom: 13px; font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 28px; }
.category-card { display: flex; align-items: center; gap: 12px; min-height: 83px; padding: 8px 10px; }
.category-card img { flex: none; width: 66px; height: 66px; object-fit: contain; }
.category-card span { display: grid; gap: 3px; min-width: 0; }
.category-card strong { color: var(--verde); font: 700 clamp(1.02rem,1.65vw,1.3rem)/1.15 var(--serif); }
.family-filter { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 700; color: var(--verde); }
.family-filter select { width: 100%; min-width: 0; min-height: 44px; font: inherit; font-weight: 500; font-size: .9rem; color: var(--texto); border: 1px solid var(--linha); border-radius: 8px; padding: 5px 8px; background: white; }
.catalog { display: grid; grid-template-columns: minmax(170px,220px) 1fr; gap: 22px; align-items: start; }
.filters { background: white; border: 1px solid var(--linha); border-radius: 14px; padding: 17px; }
.filters fieldset + fieldset { margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--linha); }
.filters legend { font-weight: 700; color: var(--verde); padding: 0; }
.filter-list { display: flex; flex-direction: column; gap: 5px; margin-top: 5px; }
.filter-list label { display: flex; align-items: center; min-height: 33px; gap: 8px; color: var(--muted); cursor: pointer; font-size: .88rem; }
.filter-list input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--verde); }
.swatch { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #263a2840; background: var(--tom); flex: none; }
.search-tools { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 9px; }
.search-box { position: relative; flex: 1; }
.search-box .icon { position: absolute; top: 12px; left: 13px; color: var(--muted); pointer-events: none; }
input[type="search"], textarea { width: 100%; border: 1px solid var(--linha); border-radius: 10px; background: white; color: var(--texto); padding: 10px 12px; }
input[type="search"] { padding-left: 40px; min-height: 44px; }
.search-box #pesquisa { border-color: #e3bac1; }
.search-box #pesquisa:focus { border-color: var(--rosa); }
.search-box #pesquisa:focus-visible { outline-width: 2px; outline-offset: 2px; }
#resultado { margin: 0 0 10px; }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.product { min-width: 0; background: white; border-radius: 15px; border: 1px solid var(--linha); overflow: hidden; display: flex; flex-direction: column; }
.photo { display: block; width: 100%; position: relative; border: 0; background: white; padding: 0; cursor: zoom-in; }
.photo img { width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; }
.product .photo img { display: block; aspect-ratio: 5 / 4; }
.photo::after { content: '+'; opacity: 0; position: absolute; display: grid; place-items: center; top: 10px; right: 10px; background: white; border: 1px solid var(--verde); width: 34px; height: 34px; border-radius: 50%; color: var(--verde); }
.photo:is(:hover,:focus-visible)::after { opacity: 1; }
.product-copy { flex: 1; padding: 12px; display: flex; flex-direction: column; border-top: 1px solid #edf1ec; gap: 9px; }
.product-copy h3 { font: 700 clamp(1rem,1.6vw,1.27rem)/1.2 var(--serif); color: var(--verde); }
.product-meta { display: flex; flex-wrap: wrap; gap: 4px 9px; font-size: .8rem; color: var(--muted); }
.stock { color: var(--verde); }
.stock.out { color: var(--rosa-texto); }
.product-bottom { margin-top: auto; display: grid; gap: 8px; }
.product-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.product-price strong { color: var(--verde); }
.product-actions { display: grid; grid-template-columns: 1fr minmax(36px,auto); gap: 5px; }
.product-actions .icon-button { width: 38px; min-height: 42px; }
.product-actions .button { padding-inline: 5px; }
.empty { border: 1px solid var(--linha); border-radius: 13px; background: white; padding: 22px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 17px; }
.steps span { border-radius: 9px; padding: 8px; color: var(--muted); background: var(--fundo); font-weight: 650; text-align: center; font-size: .84rem; }
.steps .active { color: #793847; background: var(--rosa-suave); }
dialog { max-width: min(650px,calc(100% - 22px)); width: 100%; max-height: calc(100% - 22px); padding: 0; border: 1px solid var(--linha); border-radius: 20px; color: var(--texto); box-shadow: var(--sombra); }
dialog::backdrop { background: #162e20a0; }
.dialog-inner { padding: clamp(17px, 4vw, 30px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 17px; }
.photo-price { display: grid; justify-items: start; gap: 3px; margin: 0; }
.photo-price strong { color: var(--verde); font-size: clamp(1.75rem, 4vw, 2.125rem); line-height: 1.1; }
.delivery-options { display: grid; gap: 8px; }
.delivery-option { display: grid; grid-template-columns: 25px 1fr 19px; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--linha); border-radius: 11px; cursor: pointer; }
.delivery-option:has(:checked) { background: var(--rosa-suave); border-color: var(--rosa); }
.delivery-option:has(:focus-visible) { outline: 2px solid var(--rosa); outline-offset: 2px; }
.delivery-option .icon { color: var(--verde); }
.delivery-option input { width: 17px; height: 17px; accent-color: var(--rosa-texto); }
.delivery-option span { display: grid; gap: 2px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.cal-head strong { text-transform: capitalize; color: var(--verde); }
.cal-head .icon-button:disabled { opacity: .36; }
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.weekday { color: var(--muted); font-size: .76rem; font-weight: 650; }
.calendar button { min-height: clamp(34px,7vw,45px); color: var(--verde); font-weight: 650; border: 1px solid transparent; background: var(--fundo); border-radius: 8px; padding: 0; }
.calendar button:not(:disabled):hover { background: var(--rosa-suave); border-color: var(--rosa); }
.calendar button[aria-pressed="true"] { background: var(--verde); color: white; }
.calendar button[aria-pressed="true"]:hover { background: var(--escuro); }
.calendar button:disabled { color: #687368; background: #fafbfa; opacity: .62; }
.cal-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(155px,1fr); gap: 13px; align-items: start; }
.cal-choice { display: grid; justify-items: start; gap: 8px; padding: 15px; background: var(--rosa-suave); border-radius: 11px; color: #783847; font-size: .88rem; }
.cal-choice strong { color: var(--verde); }
.cal-choice .button { width: 100%; margin-top: 4px; }
dialog.drawer { margin: 0 0 0 auto; inset: 0 0 0 auto; height: 100dvh; max-height: none; max-width: min(100%,460px); border-radius: 20px 0 0 20px; }
.drawer .dialog-inner { min-height: 100%; display: flex; flex-direction: column; }
.drawer-bottom { margin-top: auto; padding-top: 15px; }
.drawer-bottom .button { width: 100%; margin-top: 10px; }
.button[data-acao="pedir-esvaziar"] { color: var(--rosa-texto); background: var(--rosa-suave); border-color: var(--rosa-texto); }
.button[data-acao="pedir-esvaziar"]:hover { background: white; }
.lines { display: grid; }
.line { display: grid; align-items: center; grid-template-columns: 56px 1fr auto; gap: 9px; padding-block: 12px; border-bottom: 1px solid var(--linha); }
.line img { width: 56px; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--linha); border-radius: 7px; }
.line h3 { margin: 0 0 4px; }
.line-right { text-align: right; }
.qty { display: flex; align-items: center; gap: 5px; white-space: nowrap; margin-top: 5px; }
.qty button { min-width: 32px; min-height: 34px; border: 1px solid var(--linha); border-radius: 7px; color: var(--verde); background: var(--fundo); font-weight: 700; }
.qty button:disabled { opacity: .35; }
.qty output { min-width: 1.15em; text-align: center; }
.remove { padding: 4px 0 0; color: var(--rosa-texto); background: transparent; border: 0; font-size: .85rem; }
.remove:hover { text-decoration: underline; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px,1fr); gap: 15px; align-items: start; }
.panel { border: 1px solid var(--linha); background: white; border-radius: 15px; padding: 19px; }
.panel label, .panel textarea { display: block; margin-top: 10px; }
.panel textarea { min-height: 68px; }
.panel .button { margin-top: 12px; }
.summary { background: #edf3ec; }
.summary h2 { font-size: 1.45rem; margin-bottom: 14px; }
.summary .button { width: 100%; }
.amount { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-block: 7px; }
.total { border-top: 1px solid #ccdacc; padding-top: 10px; }
.history { display: grid; gap: 9px; }
.history article { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; }
dialog .large-photo { margin-inline: auto; width: auto; max-height: min(70dvh,620px); object-fit: contain; }
#aviso { position: fixed; z-index: 2; bottom: 15px; left: 50%; translate: -50% 0; max-width: calc(100% - 25px); padding: 11px 16px; border-radius: 12px; color: white; background: var(--escuro); box-shadow: var(--sombra); }
#aviso:empty { display: none; }
.footer { color: var(--muted); font-size: .8rem; padding: 15px 0; border-top: 1px solid var(--linha); }
@media (max-width: 1120px) {
  .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 950px) {
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog { grid-template-columns: 160px 1fr; gap: 13px; }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 24px); }
  .welcome { grid-template-columns: 1fr; }
  .welcome-art { min-height: 27vh; padding: 19px; }
  .welcome-art::before { background-position: center 46%; }
  .welcome-form { padding-block: 23px 34px; }
  .welcome-form .logo { margin-bottom: 17px; }
  .top .wrap { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; min-height: auto; padding: 5px 0 8px; }
  .top .logo { justify-self: start; }
  .top .logo img { width: 117px; }
  .top .nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; min-width: 0; }
  .top .nav button { padding: 4px 8px; font-size: .85rem; }
  .top-actions { justify-self: end; }
  .page { padding-block: 21px 34px; }
  .hero { grid-template-columns: 1fr; }
  .hero-photos { min-height: 0; max-height: 160px; grid-row: 1; }
  .hero-photos img { max-height: 160px; }
  .hero-photos.has-welcome-photo { aspect-ratio: 4 / 3; max-height: none; }
  .home-grid { grid-template-columns: 1fr; }
  .home-tile { grid-template-columns: 22px 1fr; align-items: center; padding: 12px; }
  .home-tile span { grid-column: 2; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 20px; }
  .category-card { gap: 6px; min-height: 62px; padding: 5px; }
  .category-card img { width: clamp(34px, 11vw, 51px); height: auto; aspect-ratio: 1; }
  .category-card .small { font-size: .72rem; }
  .catalog { display: flex; flex-direction: column; align-items: stretch; }
  .filters { padding: 8px 11px; }
  .filters fieldset + fieldset { margin-top: 7px; padding-top: 0; border: 0; }
  .filter-list { flex-direction: row; flex-wrap: wrap; gap: 0 11px; }
  .filter-list label { min-height: 27px; font-size: .81rem; }
  .products { gap: 7px; }
  .product-copy { padding: 8px; }
  .product-actions .button { min-height: 42px; font-size: .83rem; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 510px) {
  .cal-layout { grid-template-columns: 1fr; }
  .cal-choice { grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 8px; padding: 8px; }
  .cal-choice p { grid-column: 2; }
  .cal-choice .button { grid-column: 3; grid-row: 1 / 3; margin-top: 0; padding-inline: 9px; }
}
@media (max-width: 365px) {
  .product-actions { grid-template-columns: 1fr; }
  .product-actions .icon-button { width: 100%; }
}

.product-colour { display:inline-flex; align-items:center; gap:.35rem; padding:0; border:0; background:transparent; color:inherit; font:inherit; cursor:pointer; }
.product-colour[aria-pressed="true"] { text-decoration:underline; }
.product-colour .swatch { display:inline-block; width:.85rem; height:.85rem; border:1px solid #6e706d; border-radius:50%; background:var(--tom); }
.offer-highlight { display:flex; gap:.6rem; flex-wrap:wrap; background:#f8edf1; padding:1rem; margin-bottom:1rem; border-radius:12px; }

.qty-card { width: max-content; max-width: 100%; }
.qty-card button { min-width: 40px; min-height: 40px; }
.qty-card output { min-width: 2.4em; text-align: center; }

@media (hover: hover) and (pointer: fine) {
  :is(.product, .category-card, .home-tile, .offer-highlight, .galeria figure) {
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }
  :is(.product, .category-card, .home-tile, .offer-highlight, .galeria figure):hover {
    border-color: var(--rosa);
    box-shadow: 0 6px 16px #253d291c;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.product, .category-card, .home-tile, .offer-highlight, .galeria figure):hover {
    transform: translateY(-2px);
  }
}

.category-grid-destaque .category-card { min-height: 72px; }
@media (min-width: 701px) {
  .category-grid-destaque { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.photo.sem-fotografia::before {
  content: "Fotografia indisponível";
  color: var(--muted);
  font-size: .85rem;
}
.photo img[hidden] { display: none; }

.category-grid-destaque .category-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
}
.foto-familia { width: 64px; aspect-ratio: 1; }
.category-grid-destaque .foto-familia img { width: 100%; height: 100%; object-fit: contain; }
.voltar-topo {
  position: fixed;
  z-index: 9;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px #253d2933;
}
.voltar-topo[hidden] { display: none; }
@media (max-width: 560px) {
  .category-grid-destaque .category-card { grid-template-columns: 44px minmax(0, 1fr); gap: 7px; }
  .foto-familia { width: 44px; }
}

.mobile-filtros { display: none; }
.catalog > section { min-width: 0; }
@media (max-width: 670px) {
  .top .wrap { grid-template-columns: minmax(0, 1fr) auto; }
  .top .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; }
  .top .nav button { min-height: 44px; }
  .page { padding-top: 14px; }
  .heading { flex-wrap: wrap; gap: 8px; }
  .heading-actions { flex-wrap: wrap; gap: 6px; }
  .heading-actions .button { min-height: 44px; }
  .category-grid-destaque .category-card { min-height: 60px; }
  .category-grid-destaque .category-card strong, .product h3 { overflow-wrap: anywhere; }
  .category-grid-destaque .category-card strong { font-size: .95rem; }
  .catalog { gap: 9px; }
  .filters { padding: 0; }
  .mobile-filtros { display: flex; width: 100%; min-height: 44px; justify-content: space-between; }
  .mobile-filtros[aria-expanded="false"] + .opcoes-filtros { display: none; }
  .opcoes-filtros { padding: 10px 12px; }
  .filter-list label { min-height: 44px; }
  input[type="search"], .family-filter select { font-size: 16px; }
  .qty-card button { min-width: 44px; min-height: 44px; }
  .product-actions { grid-template-columns: minmax(0, 1fr) auto; }
  .product-actions .icon-button { min-width: 44px; min-height: 44px; }
  .product-actions .button { min-height: 44px; }
  .cal-layout { grid-template-columns: minmax(0, 1fr); }
  .calendar { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cal-choice { display: flex; flex-wrap: wrap; }
  .cal-choice .button { min-height: 44px; }
  .dialog-foot { flex-wrap: wrap; }
  .dialog-foot .button { min-height: 44px; }
  dialog { max-height: calc(100dvh - 22px); }
  dialog.drawer { max-height: 100dvh; }
}
@media (max-width: 390px) {
  .product-actions { grid-template-columns: minmax(0, 1fr); }
  .product-actions .icon-button { width: 100%; }
}

@media (min-width: 1121px) {
  .top .wrap,
  #principal.wrap { width: max(min(100% - 48px, 1320px), min(86%, 1800px)); }
}

.product-copy { container-type: inline-size; min-width: 0; }

.product-copy h3 {
  font-size: clamp(0.8rem, 5.6cqi, 1.18rem);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-bottom {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}
.product-price { grid-column: 1 / -1; }
.product-actions { grid-template-columns: minmax(0, 1fr) auto; }

@container (max-width: 240px) {
  .product-bottom { column-gap: 4px; }
  .qty-card button { min-width: 26px; }
  .qty-card output { min-width: 1.35em; }
  .product-actions { display: contents; }
  .product-actions .icon-button { grid-column: 2; justify-self: end; }
}

.dialog-foot .qty button {
  min-width: 44px;
  min-height: 44px;
  font-size: 1.35rem;
  font-weight: 700;
}
.dialog-foot .qty button:disabled {
  color: #4d584d;
  opacity: 1;
}
.dialog-foot .qty output {
  min-width: 2ch;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--verde);
}

.category-grid-destaque .category-card {
  --largura-foto-familia: 54px;
  grid-template-columns: var(--largura-foto-familia) minmax(0, 1fr);
  column-gap: 4px;
  padding-inline: 6px;
}
.category-grid-destaque .foto-familia { width: var(--largura-foto-familia); }
.category-grid-destaque .category-card strong {
  min-width: 0;
  width: 100%;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(.95rem, 1.45vw, 1.25rem);
}
@media (max-width: 560px) {
  .category-grid-destaque .category-card { --largura-foto-familia: 38px; }
}

@media (min-width: 1121px) {
  .category-grid-destaque { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.hero-copy .button[data-acao="nova"] {
  min-height: 54px;
  padding-inline: 24px;
  font-size: 1.05rem;
}

.hero-copy > p {
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
  font-weight: 700;
  color: var(--verde);
}
.hero-copy .button[data-acao="nova"] {
  margin-top: clamp(28px, 4vw, 56px);
}

#janela:has(.delivery-options) {
  max-width: min(740px, calc(100% - 22px));
}
.delivery-options { gap: 12px; }
.delivery-option {
  grid-template-columns: 30px minmax(0, 1fr) 22px;
  gap: clamp(10px, 2vw, 16px);
  padding: clamp(14px, 2.6vw, 20px);
}
.delivery-option strong { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.delivery-option .small { font-size: 1rem; }
.delivery-option .icon { width: 28px; height: 28px; }
.delivery-option input { width: 20px; height: 20px; }

#titulo-catalogo {
  margin-inline-end: auto;
  text-align: left;
  font-size: clamp(2.25rem, 5.75vw, 3.75rem);
}

.form-atributos { display: grid; gap: 12px; }
.form-atributos label { display: grid; gap: 4px; font-weight: 650; }
.form-atributos input, .form-atributos select { min-height: 42px; padding: 6px 10px; border: 1px solid var(--linha); border-radius: 8px; color: var(--texto); background: #fff; }
.form-atributos [role="status"]:empty { display: none; }
button[data-acao="editar-atributos"] { margin-top: 12px; }

@media (min-width: 671px) {
  .top .wrap { gap: clamp(8px, 1.3vw, 22px); }
  .top .nav { min-width: 0; flex-wrap: nowrap; overflow-x: auto; padding: 4px; }
  .top .nav button { flex: 0 0 auto; white-space: nowrap; }
  .top .nav button.category-card { min-height: 44px; }
  .top .top-actions { flex: 0 0 auto; }
}

@media (max-width: 670px) {
  .welcome {
    min-height: 100svh;
    grid-template-rows: auto 1fr;
  }
  .welcome .welcome-art {
    min-height: clamp(92px, 18svh, 150px);
    padding: 8px 16px;
    place-content: center;
    text-align: center;
  }
  .welcome .welcome-art p {
    margin-block: 0;
    font-size: clamp(2.35rem, 10.6vw, 3.75rem);
    line-height: 1.05;
  }
  .welcome .welcome-form {
    width: min(420px, calc(100% - 32px));
    align-self: start;
    padding-block: 12px 16px;
  }
  .welcome .welcome-form .logo {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }
  .welcome .welcome-form .logo img { width: 164px; }
  .welcome .welcome-form [aria-labelledby="conta-profissional-titulo"] {
    margin-top: .85rem;
    padding: .6rem .85rem;
  }
  .welcome .welcome-form [aria-labelledby="conta-profissional-titulo"] .button {
    min-height: 44px;
    margin-top: .35rem;
  }
  .welcome .welcome-form h1 {
    font-size: clamp(1.65rem, 6vw, 2rem);
    text-align: center;
    margin-bottom: 5px;
  }
  .welcome .welcome-form > p.muted { margin-bottom: .75rem; font-weight: 600; }
  .welcome .welcome-form button[type="submit"] {
    min-height: 44px;
    margin-top: 0;
  }
}

.welcome-signup {
  margin-top: 1.75rem;
  padding: 1rem;
  text-align: center;
  background: #f7f5f2;
  border-radius: 12px;
}
.welcome-signup .button { margin-top: .65rem; }

.welcome-signup .welcome-signup-note {
  margin: 0 0 .3rem;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}


@media (max-width: 670px) {
  .top .nav { align-items: stretch; gap: 8px; reading-flow: grid-rows; }

  .top .nav button,
  .top .nav button[aria-current="page"] {
    min-height: 54px;
    padding: 7px 4px;
    border: 1px solid #a5b5a4;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.2;
  }

  .top .nav [data-id="decoracao-holanda"] { order: 1; }
  .top .nav [data-id="flores-holanda"] { order: 2; }
  .top .nav [data-acao="ver-todas-flores"] { order: 3; }
  .top .nav [data-id="acessorios"] { order: 4; }
  .top .nav [data-id="secas-preservadas"] { order: 5; }

  .top .nav button[data-acao="ver-todas-flores"] { font-size: 1rem; }

  .top .nav button[aria-current="page"] {
    background: var(--rosa-suave);
    color: var(--rosa-texto);
    border-color: #c46a78;
  }
}

.top .nav button[data-acao="ver-todas-flores"]:not([aria-current="page"]) {
  background: var(--verde);
  color: white;
  border-color: var(--verde);
}

.fotografia-em-breve:not([hidden]) {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .45rem;
  padding: .5rem;
  color: var(--verde);
  background: white;
  font-size: .875rem;
  text-align: center;
}
.fotografia-em-breve .icon { width: 48px; height: 48px; }
.product .fotografia-em-breve { aspect-ratio: 5 / 4; }
.product .foto-em-falta { cursor: pointer; }
.product .foto-em-falta::after { display: none; }
dialog .large-photo[hidden] { display: none; }
dialog .fotografia-em-breve { min-height: 130px; }

.product.product-em-destaque { border-color: #2f4f2f; }
.etiqueta-em-destaque {
  align-self: flex-start;
  margin: 8px 8px 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: #2f4f2f;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
}
button.etiqueta-em-destaque { border: 0; cursor: pointer; }
button.etiqueta-em-destaque[aria-pressed="false"] {
  background: #e4e4e4;
  color: #383838;
}
.product-stock-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-inline-start: auto;
}
.product .favorito-artigo { width: 44px; height: 44px; min-width: 44px; }
.favorito-artigo[aria-pressed="false"] img {
  filter: grayscale(1);
  opacity: .65;
}
.flo-dica-demo {
  max-width: min(16rem, calc(100vw - 2rem));
  font-size: .875rem;
}
.flo-dica-demo button { font-size: .8125rem; }
.acoes-cores-catalogo {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.acoes-cores-catalogo [data-acao="ver-favoritos"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.acoes-cores-catalogo [data-acao="ver-favoritos"][aria-pressed="true"] {
  background: var(--verde);
  color: #fff;
}

/* Exclui as margens brancas e a mistura de píxeis criada ao reduzir o PNG. */
.favorito-artigo img,
.acoes-cores-catalogo [data-acao="ver-favoritos"] img,
a[href="/app/"] > img[src="/floralia-icone.png"] {
  clip-path: inset(0 10%);
}

.product-em-destaque { position: relative; }
.product-em-destaque > .etiqueta-em-destaque {
  position: absolute;
  z-index: 1;
  inset-block-start: 0;
  inset-inline-start: 0;
}
.foto-artigo-navegacao { position: relative; }
.foto-artigo-navegacao .seta-foto {
  position: absolute;
  inset-block-start: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--linha);
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
}
.seta-foto[data-direcao="anterior"] { inset-inline-start: 8px; }
.seta-foto[data-direcao="seguinte"] { inset-inline-end: 8px; }

.acoes-cores-catalogo .favoritos-simbolo {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--linha);
  border-radius: 7px;
  background: #fff;
}

@media (max-width: 767px) {
  .cabeca-catalogo:has(.mobile-filtros[aria-expanded="false"]) + .catalog #cores-catalogo:has([data-acao="ver-favoritos"]) {
    display: flex;
  }
  .cabeca-catalogo:has(.mobile-filtros[aria-expanded="false"]) + .catalog #cores-catalogo:has([data-acao="ver-favoritos"]) > :not(.acoes-cores-catalogo) {
    display: none;
  }
}

@media (max-width: 767px) {
  #menu-movel .menu-utilidades:has(> [data-acao="alternar-iva"]):has(> [data-acao="menu-conta"]) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  #menu-movel .menu-utilidades:has(> [data-acao="alternar-iva"]):has(> [data-acao="menu-conta"]) > :is([data-acao="alternar-montra"], [data-acao="alternar-iva"]) {
    grid-column: span 3;
  }
  #menu-movel .menu-utilidades:has(> [data-acao="alternar-iva"]):has(> [data-acao="menu-conta"]) > [data-acao="ajuda-clientes"] {
    grid-column: span 2;
  }
  #menu-movel .menu-utilidades:has(> [data-acao="alternar-iva"]):has(> [data-acao="menu-conta"]) > [data-acao="menu-conta"] {
    grid-column: span 4;
    white-space: nowrap;
  }
}
