.site-header nav{gap:23px}.site-header .brand{min-width:240px}.site-header nav>a:not(.button){font-size:.9rem}.cart-button{border:1px solid var(--line);background:transparent;padding:10px 14px;border-radius:3px;min-height:44px;font-size:.9rem;white-space:nowrap;color:var(--wine)}.cart-button span{display:inline-flex;margin-left:5px;border-radius:50%;width:22px;height:22px;align-items:center;justify-content:center;background:var(--wine);color:white;font-size:.8rem}.season-tabs{display:flex;gap:7px;margin-bottom:25px;flex-wrap:wrap}.season-tabs button{border:1px solid var(--line);padding:7px 13px;min-height:38px;background:transparent;font-size:.875rem;border-radius:25px;color:var(--wine)}.season-tabs button[aria-pressed=true]{background:var(--wine);color:white;border-color:var(--wine)}.hero h1{font-size:clamp(4.4rem,6.5vw,7.2rem)}.hero-visual>img{object-position:center}.product-title-line{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.product-title-line h3{max-width:240px}.product-price{white-space:nowrap;font-size:1.1rem;font-weight:500;color:var(--wine)}.product-grid{row-gap:44px}.product-info .button{min-height:45px;font-size:.875rem;padding:10px 17px}.baby-name-crop img{transform:scale(1.6);transform-origin:50% 100%;object-position:50% 100%}.product:hover .baby-name-crop img{transform:scale(1.65)}.baby-feature{display:grid;grid-template-columns:1fr 1fr;gap:10%;background:#f4ece8;align-items:center}.baby-feature figure img{width:100%;aspect-ratio:1;object-fit:cover}.baby-feature figcaption{font-size:.8rem;margin-top:12px;color:var(--muted)}.baby-feature h2{margin:20px 0 25px}.baby-feature>div>p:not(.eyebrow){max-width:420px}.feature-price{margin:26px 0;display:flex;flex-wrap:wrap;gap:6px 20px;color:var(--wine)}.feature-price strong{font-size:1.3rem;font-weight:500}.feature-price span{flex-basis:100%;font-size:.875rem}.baby-feature .small-note{font-size:.875rem;margin-top:21px}.preview-palette{display:block;margin:23px 0 0}.preview-palette legend{width:100%;margin-bottom:13px;line-height:1.8}.preview-palette legend>span{display:block;font-weight:400;font-size:.8rem;color:var(--muted)}.palette-options{display:flex;flex-wrap:wrap;gap:12px}.preview-palette .swatch{width:35px;height:35px}.palette-source{font-size:.8rem;max-width:440px;margin:13px 0 22px!important}.construction-row{display:flex;gap:20px;align-items:flex-end;max-width:480px;margin:20px 0}.construction-row>div{flex:1}.construction-row select{width:100%;padding:10px 32px 10px 10px;background:#fff9f5;border:1px solid #cbb5ba;color:var(--wine);font-size:.875rem;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23542534'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.construction-row .toggle{margin:0 0 11px;font-size:.8rem}.toggle input:disabled+.switch{opacity:.4}.size-controls{display:grid;grid-template-columns:1fr 1fr;gap:25px;max-width:480px}.preview-3d{width:100%;min-width:0;background:#f0e8e4;border:1px solid #dbcbd0;position:relative;border-radius:3px;overflow:hidden}.camera-buttons{position:absolute;top:16px;left:16px;display:flex;gap:5px;z-index:2}.camera-buttons button{background:#fcfaf7e8;border:1px solid #ccb6bd;border-radius:3px;padding:7px 12px;font-size:.8rem;color:var(--wine);min-height:38px}.camera-buttons button[aria-pressed=true]{background:var(--wine);color:white;border-color:var(--wine)}#letter-canvas{width:100%;height:440px;min-width:0;overflow:hidden}#letter-canvas canvas{display:block;max-width:100%;touch-action:none}#letter-canvas>p{padding:20px}.preview-measures{display:grid;grid-template-columns:1fr 1.4fr 1fr;text-align:center;padding:18px 12px;gap:12px;border-top:1px solid #dbcbd0;background:#fcf8f4}.preview-measures span{font-size:.75rem;color:var(--muted)}.preview-measures strong{display:block;font-size:.95rem;color:var(--wine);font-weight:500}.preview-note,#preview-status{text-align:center;font-size:.8rem;color:var(--muted);padding:0 16px 14px;line-height:1.5}#preview-status{padding-top:15px;padding-bottom:5px;color:var(--wine)}.letter-section{grid-template-columns:.95fr 1.05fr;gap:6%}.letter-editor .small-note{max-width:480px}.product-modal-image{height:200px;margin:-42px -42px 28px}.product-modal-image img{height:100%;width:100%;object-fit:cover;object-position:center 55%}.modal-price{font-size:1.5rem;color:var(--wine);margin:16px 0 20px}.field-help{font-size:.875rem;margin:7px 0 17px}.field-error{color:#9b263d;font-size:.875rem;margin-top:12px}.cart-drawer{margin:0 0 0 auto;max-height:100dvh;height:100dvh;width:min(510px,100%);max-width:510px;border-radius:0;padding:45px 28px 25px;overflow-y:auto}.cart-drawer h2{margin-top:13px}.cart-line{display:grid;grid-template-columns:85px 1fr;gap:16px;padding:25px 0;border-bottom:1px solid var(--line)}.cart-line>img{width:85px;height:100px;object-fit:cover}.cart-line h3{font-family:var(--serif);font-size:1.25rem;color:var(--wine);margin:0 0 6px}.cart-line p{font-size:.8rem;line-height:1.5;margin:3px 0;word-break:break-word}.cart-line strong{font-size:.95rem;font-weight:500}.cart-line-actions{display:flex;align-items:center;gap:12px;margin-top:10px}.cart-line-actions button{border:1px solid #cbb6bc;min-width:33px;min-height:33px;background:transparent;border-radius:2px}.cart-line-actions .remove-line{border:0;font-size:.8rem;text-decoration:underline;margin-left:7px}.cart-drawer label{display:block;font-size:.875rem;margin:25px 0 7px}.cart-drawer select{width:100%;padding:10px 35px 10px 10px;background:transparent;color:var(--wine);border:1px solid #cbb6bc;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23542534'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.shipping-progress{padding:18px 0}.shipping-progress p{font-size:.875rem;color:var(--wine);margin-bottom:10px}.shipping-progress progress{width:100%;height:7px;border:0;border-radius:6px;background:#e5d4d8;accent-color:var(--wine);display:block}.shipping-progress progress::-webkit-progress-bar{background:#e5d4d8;border-radius:6px}.shipping-progress progress::-webkit-progress-value{background:var(--wine);border-radius:6px}.shipping-progress small{display:block;font-size:.75rem;margin-top:8px;color:var(--muted)}.cart-totals{margin:0 0 20px}.cart-totals div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;font-size:.95rem}.cart-totals dd{margin:0}.cart-totals .cart-grand-total{font-size:1.1rem;border-top:1px solid var(--line);margin-top:6px;padding-top:17px;color:var(--wine)}.cart-drawer>.small-note,.cart-drawer .small-note{font-size:.8rem;margin-top:17px}.empty-cart{margin:25px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.small-note{font-size:.875rem}.site-header .brand small{font-size:.6rem;letter-spacing:.17em}
@media(max-width:1150px){.site-header nav{gap:15px}.site-header .brand{min-width:200px;font-size:1.9rem}.site-header .brand img{width:32px}.site-header nav>a:not(.button){font-size:.8rem}.product-title-line{display:block}.product-price{display:block;margin-bottom:9px}.product-title-line h3{max-width:none}#letter-canvas{height:380px}.preview-measures{grid-template-columns:1fr 1fr 1fr}.letter-section{gap:4%}}
@media(max-width:800px){.site-header .brand{font-size:1.8rem}.site-header nav>a:not(.button){font-size:1rem}.cart-button{text-align:left;margin-top:10px}.hero h1{font-size:clamp(4.2rem,7vw,5.7rem)}.hero-visual,.hero-visual>img{min-height:540px}.baby-feature{gap:6%}.baby-feature h2{font-size:3rem}.letter-section{grid-template-columns:1fr}.preview-3d{margin-top:15px}#letter-canvas{height:430px}.product-info .button{font-size:.875rem}.product-title-line h3{font-size:1.45rem}.construction-row,.size-controls{max-width:none}.palette-source{max-width:none}.product-modal-image{margin:-42px -42px 25px}}
@media(max-width:580px){.site-header .brand{min-width:0}.site-header .brand small{font-size:.53rem}.hero h1{font-size:4.4rem}.hero-visual,.hero-visual>img{min-height:375px}.hero-actions{gap:18px}.hero-actions .button{font-size:.875rem}.season-tabs{margin-bottom:20px;gap:5px}.season-tabs button{font-size:.8rem;padding:7px 12px}.product-title-line{display:flex;align-items:baseline}.product-title-line h3{font-size:1.6rem;max-width:220px}.product-price{font-size:1.1rem;display:inline}.baby-feature{grid-template-columns:1fr;gap:30px}.baby-feature h2{font-size:3.5rem}.baby-feature .small-note{font-size:.875rem}.preview-measures span{font-size:.7rem}.preview-measures strong{font-size:.875rem}#letter-canvas{height:340px}.construction-row{gap:12px}.construction-row .toggle{font-size:.75rem}.size-controls{gap:20px}.product-modal-image{margin:-35px -22px 24px;height:190px}.cart-drawer{padding-left:21px;padding-right:21px}.cart-drawer .close-dialog{top:8px}.site-header nav{padding-top:10px}.site-header .brand .brand-wordmark{white-space:nowrap}.product-grid{row-gap:36px}}
.site-header{background:var(--paper)}.product-price small{font-size:.8rem;font-weight:400;display:block}.line-composition{color:var(--wine);font-weight:500}
.product[data-category="natal"] .product-image{aspect-ratio:1}.camera-buttons{position:static;min-height:62px;padding:12px 16px;border-bottom:1px solid var(--line);background:#f5efeb}.product-modal-image{position:relative}.product-modal-image img[hidden],#ornament-canvas[hidden],#ornament-controls[hidden],#ornament-meta[hidden]{display:none!important}.interactive-ornament #product-modal-image{position:absolute;top:40px;height:calc(100% - 40px)}#ornament-canvas{position:absolute;left:0;right:0;top:40px;bottom:0;overflow:hidden}#ornament-canvas canvas{display:block;width:100%;height:100%;touch-action:none}#ornament-controls{height:40px;position:relative;z-index:2;display:flex;gap:5px;align-items:center;padding:5px;background:#efe4dc}#ornament-controls button{min-height:30px;padding:4px 9px;background:transparent;border:1px solid #cdb9ba;border-radius:3px;font-size:.75rem;color:var(--wine)}#ornament-controls button[aria-pressed=true]{background:var(--wine);color:white;border-color:var(--wine)}#ornament-meta{border-top:1px solid var(--line);padding-top:15px;margin:10px 0 24px}#ornament-status{font-size:.875rem;color:var(--wine)}.ornament-disclosure{font-size:.8rem;margin-top:6px}#preview-piece{width:100%;border:1px solid #cbb7ba;background:#fffaf6;padding:9px 32px 9px 10px;color:var(--wine);font-size:.875rem;margin-bottom:10px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23542534'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}#preview-piece[hidden]{display:none}
@media(min-width:801px){#product-dialog{max-width:920px}.product-modal-header{grid-template-columns:300px 1fr}.product-modal-header .product-modal-image{height:300px}}
#product-dialog{max-width:760px;padding-top:45px}.product-modal-header{display:grid;grid-template-columns:220px 1fr;gap:25px;align-items:start;margin-bottom:22px}.product-modal-header .product-modal-image{height:220px;margin:0;background:#efe7df;border-radius:3px;overflow:hidden}.product-modal-header .product-modal-image img{object-fit:contain;object-position:center}.product-modal-header h2{font-size:2.35rem;letter-spacing:-.04em;margin:10px 0 13px}.product-modal-header #product-details{font-size:.875rem;line-height:1.65}.product-modal-header .eyebrow{font-size:.7rem;padding-right:15px}.product-modal-header .modal-price{margin:14px 0 0;font-size:1.35rem}
#family-fields{border:0;margin:0;padding:0}#family-fields legend{font:1.5rem var(--serif);color:var(--wine);margin-bottom:20px}#family-names{margin-top:20px}.family-member{display:grid;grid-template-columns:1fr 1fr;gap:15px;border-top:1px solid var(--line);padding:15px 0}.family-member label{font-size:.875rem}.family-member input,.family-member select{min-height:45px;padding:9px 12px}.family-member select{padding-right:30px}#family-composition{background:#f4ebe5;border:1px solid #dfcfca;border-radius:3px;padding:17px;margin:10px 0 15px}#family-composition>strong{font-size:1rem;color:var(--wine);font-weight:500}#family-composition>p{font-size:.875rem;margin-top:5px}.family-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.family-chips span{border:1px solid #d7c9c2;border-radius:22px;font-size:.8rem;padding:4px 9px;background:white;color:var(--wine)}.family-chips span:not(.decorative-chip):before{content:'';display:inline-block;background:var(--tone);width:11px;height:11px;border:1px solid #d2c5c1;border-radius:50%;margin-right:6px}.family-chips .decorative-chip{background:#e7e9da;border-color:#cbd0b8}#family-price-breakdown{margin-bottom:22px}#family-price-breakdown>span{display:flex;justify-content:space-between;gap:16px;font-size:.875rem;color:var(--muted);padding:4px 0}#family-price-breakdown strong{color:var(--wine);font-weight:500}#texture-field,#standard-names{margin-bottom:20px}
.format-control{max-width:480px;margin:25px 0 0}.format-control select{width:100%;border:1px solid #cbb5ba;border-radius:2px;background:#fff9f5;padding:11px 34px 11px 12px;appearance:none;color:var(--wine);font-size:.9rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23542534'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.channel-toggle{display:flex;align-items:center;gap:9px;margin:22px 0 8px;max-width:480px;color:var(--wine);font-size:.875rem;cursor:pointer}.channel-toggle input{width:18px;height:18px;accent-color:var(--wine)}.base-note{font-size:.875rem;max-width:480px;margin:0 0 20px!important}.preview-measures{grid-template-columns:1fr 1.2fr 1fr}
@media(max-width:800px){.format-control,.base-note,.channel-toggle{max-width:none}.product-modal-header{grid-template-columns:180px 1fr;gap:18px}.product-modal-header .product-modal-image{height:180px}}
@media(max-width:580px){#product-dialog{padding:43px 20px 24px}.product-modal-header{grid-template-columns:1fr;gap:20px}.product-modal-header .product-modal-image{height:240px;margin:0}.product-modal-header h2{font-size:2.25rem}.family-member{grid-template-columns:1fr 1fr;gap:10px}.family-member label{font-size:.8rem}.family-member input,.family-member select{font-size:.875rem}.product-title-line{align-items:start}.product-title-line h3{max-width:200px}}

.delivery-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: .1875rem 1.125rem;
  padding: .625rem 5%;
  background: #eee8d9;
  color: var(--wine);
  text-align: center;
  line-height: 1.4;
}
.delivery-strip strong { font-size: .9375rem; font-weight: 600; }
.delivery-strip span { font-size: .8125rem; }
.hero + .collection { padding-top: clamp(1.25rem, 3vw, 2.5rem); }

@media (max-width: 580px) {
  .delivery-strip { flex-direction: column; align-items: center; padding-block: .5rem; }
  .delivery-strip strong { font-size: .875rem; }
}

.gallery-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 44px;
  background: #faf4f2;
  color: var(--wine);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 3px 3px;
}
.gallery-controls[hidden], .product-visual.showing-3d > .gallery-controls { display: none; }
.gallery-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 1.625rem/1 var(--sans);
}
.gallery-button:hover { background: var(--pink); }
.gallery-button:focus-visible { outline: 2px solid var(--wine); outline-offset: -3px; }
.gallery-current {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: .125rem .5rem;
  padding: .375rem .25rem;
  text-align: center;
  font-size: .875rem;
  line-height: 1.25;
}
.gallery-count { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.product-visual img { touch-action: pan-y; }
.product-modal-header .product-modal-image.baby-name-crop img { object-position: 50% 100%; }
.manufacturing-image { background: #efe7df; }
.manufacturing-image img, .product-image.manufacturing-image img { object-fit: contain; }
.product:hover .product-image.manufacturing-image img { transform: none; }

.site-header { gap: 1.25rem; }
.site-header .brand, .site-header nav { min-width: 0; }
.site-header nav { gap: clamp(.75rem, 1.4vw, 1.5rem); }
.site-header nav > a { white-space: nowrap; }
.header-actions { display: flex; flex: none; align-items: center; gap: .5rem; }
.catalogue-status { min-height: 1.5em; margin: 0 0 1.25rem; color: var(--muted); font-size: .9375rem; }
.collection .filters { margin-bottom: .5rem; }
.collection .filter { min-height: 44px; }
.event-fields { margin-top: 1rem; }
.event-fields[hidden] { display: none; }
#standard-item-options, #event-quantity-field { min-width: 0; margin: 0; padding: 0; border: 0; }
#standard-item-options[hidden], #event-quantity-field[hidden] { display: none; }
#event-quantity-field { margin-top: 1rem; }
#event-quantity-field legend { margin-bottom: .45rem; color: var(--wine); font-size: .875rem; }
.event-quantity-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.event-quantity-choices > div { position: relative; min-width: 0; }
.event-quantity-choices input { position: absolute; inset-inline-start: .5rem; inset-block-start: .6rem; width: 1rem; height: 1rem; opacity: 0; }
#event-quantity-field .event-quantity-choices label, .event-set-link { display: flex; flex-direction: column; gap: .2rem; min-height: 3.75rem; margin: 0; padding: .5rem; border: 1px solid var(--line); border-radius: 3px; color: var(--wine); text-align: center; cursor: pointer; }
.event-quantity-choices label:hover, .event-set-link:hover { background: var(--pink); }
.event-quantity-choices input:checked + label { background: var(--pink); border-color: var(--wine); }
.event-quantity-choices input:focus-visible + label { outline: 3px solid #ae6938; outline-offset: 2px; }
.event-quantity-choices label span, .event-set-link span { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.product-title-line h3:only-child { max-width: none; }
[data-product-id="nome-letras"] .product-image img { object-position: 62% 50%; }
.name-estimate {
  max-width: 30rem;
  margin: .9rem 0 1.15rem;
  padding: .95rem 1rem;
  background: var(--surface, var(--paper));
  border: 1px solid var(--line);
  border-radius: .65rem;
}
.name-estimate h3 { margin: 0 0 .55rem; font: 600 1.4rem var(--serif); color: var(--wine); }
.name-estimate dl { margin: 0; }
.name-estimate dl div { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.name-estimate dd { margin: 0; white-space: nowrap; }
.name-estimate-lines div { padding-block: .2rem; font-size: .875rem; }
.name-estimate-lines .name-estimate-total { padding-top: .45rem; margin-top: .3rem; border-top: 1px solid var(--line); font-size: 1rem; font-weight: 600; color: var(--wine); }
.name-estimate .small-note { margin: .55rem 0 .65rem; }
.name-estimate summary { cursor: pointer; color: var(--wine); font-size: .875rem; }
.name-estimate-tiers { margin-top: .45rem !important; font-size: .875rem; }
#edit-project-lettering { font-size: .875rem; }
.name-estimate[hidden], .name-estimate [hidden], #edit-project-lettering[hidden], #letter-initial-note[hidden], #letter-number-note[hidden] { display: none; }
.professional-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; }
.professional-actions .text-link { color: var(--beige); background: transparent; border: 0; border-bottom: 1px solid; padding: .25rem 0; }

@media (max-width: 580px) {
  #event-quantity-field .event-quantity-choices label, .event-set-link { padding-inline: .25rem; }
}

#checkout-dialog {
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
}
#checkout-form { margin-top: 1.5rem; }
#checkout-form .form-grid > div { min-width: 0; }
#checkout-form .form-span { grid-column: 1 / -1; }
#project-form .small-note { margin-top: .625rem; }
.checkout-consent {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 1.25rem;
}
.checkout-consent input[type="checkbox"] {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  min-height: 0;
  padding: 0;
  margin: .18rem 0 0;
  accent-color: var(--wine);
}
.checkout-consent a { text-decoration: underline; text-underline-offset: .2em; }
#checkout-form > .button { width: 100%; margin-top: .75rem; }

@media (max-width: 1030px) {
  .site-header { padding: .875rem 5%; gap: .5rem; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    padding: .5rem 5% 1rem;
    background: var(--paper);
    box-shadow: 0 12px 20px #32172311;
  }
  .site-header nav.open { display: flex; }
  .site-header nav > a:not(.button) { min-height: 44px; padding: .75rem 0; font-size: 1rem; }
  .menu-toggle {
    display: block;
    min-height: 44px;
    padding: .5rem .875rem;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: transparent;
    color: var(--wine);
    font-size: .9rem;
  }
}

@media (max-width: 580px) {
  .hero h1 { font-size: clamp(3.05rem, 10vw, 4.3rem); }
  .hero-visual, .hero-visual > img { min-height: 0; }
  .hero-visual { aspect-ratio: 1.05; }
  .header-actions .cart-button, .header-actions .menu-toggle { padding-inline: .625rem; }
  .footer-links { gap: .5rem 1rem; }
}

@media (max-width: 400px) {
  .site-header .brand small { display: none; }
  .site-header .brand img { width: 1.625rem; height: 1.625rem; }
  .site-header .brand { gap: .375rem; font-size: 1.625rem; }
  .header-actions { gap: .375rem; }
  .header-actions .cart-button span { margin-left: .125rem; }
}
.policy-content{width:min(100% - 2.5rem, 740px);margin:0 auto;padding:clamp(2.5rem,7vw,6rem) 0}
.policy-content h1{font-size:clamp(2.6rem,7vw,4.7rem);margin:0 0 1.7rem;line-height:.98}
.policy-content section+section{margin-top:2rem}
.policy-content h2{font-size:clamp(1.4rem,4vw,2rem);margin:0 0 .55rem}
.policy-content p{margin:0 0 .7rem;line-height:1.7}
.policy-content a{text-decoration:underline;text-underline-offset:.18em}
#order-result{margin:0;text-align:center}
.checkout-total{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0;border-block:1px solid #e5d6d6;margin:1rem 0}
.product-actions{display:flex;flex-wrap:wrap;align-items:center;gap:0.85rem}
@media(max-width:420px){
  #colecao .section-heading h2{font-size:clamp(2.15rem,11vw,3rem)}
}

@media (max-width: 580px) {
  #colecao { padding-block: 1.75rem 2.5rem; }
  #colecao .section-heading { margin-bottom: 1rem; }
  #colecao .filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .375rem;
  }
  #colecao .filter {
    min-width: 0;
    padding: .45rem .3rem;
    font-size: .875rem;
    line-height: 1.2;
  }
  #colecao .catalogue-status { margin-bottom: .7rem; }
  #catalogue-grid { gap: .875rem; }

  #catalogue-grid .product-actions .text-link,
  .search-content .search-grid .product-actions .text-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  #product-dialog, #checkout-dialog, dialog#search-project-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem);
    overscroll-behavior-y: contain;
    padding: 2.85rem .875rem 1.25rem;
  }
  #product-dialog .close-dialog,
  #checkout-dialog .close-dialog,
  #search-project-dialog .close-dialog,
  #cart-dialog .close-dialog {
    top: .125rem;
    right: .375rem;
  }
  .product-modal-header {
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    margin-bottom: 1rem;
  }
  #product-dialog .product-modal-image { height: clamp(9rem, 42vw, 12rem); }
  #product-dialog .interactive-ornament { height: clamp(10.5rem, 47vw, 13.5rem); }
  #product-dialog h2 {
    margin: 0 0 .45rem;
    font-size: clamp(1.8rem, 7.6vw, 2.3rem);
  }
  #product-dialog #product-details {
    font-size: .9rem;
    line-height: 1.5;
  }
  #product-dialog .modal-price { margin-top: .55rem; }
  #product-dialog :is(input:not([type="radio"]), select, textarea),
  #checkout-dialog :is(input:not([type="checkbox"]), select, textarea),
  #search-project-dialog :is(input:not([type="checkbox"], [type="radio"]), select, textarea),
  #cart-destination {
    min-width: 0;
    min-height: 2.75rem;
    font-size: 1rem;
  }
  #personalize-form .form-grid > div { min-width: 0; }
  #personalize-form > .button, #prepare-cart { width: 100%; }
  #personalize-form > .button { margin-top: 1rem; }
  #family-fields legend { margin-bottom: .8rem; }
  #family-names { margin-top: .9rem; }
  .family-member { padding-block: .75rem; }
  #product-dialog .event-quantity-choices { gap: .375rem; }
  #product-dialog #event-quantity-field .event-quantity-choices label { font-size: .875rem; }

  #cart-dialog {
    border-radius: 0;
    padding: 2.75rem .875rem max(1rem, env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
  }
  #cart-dialog h2, #checkout-title {
    margin: 0 0 .6rem;
    font-size: clamp(2rem, 8vw, 2.65rem);
  }
  #cart-dialog .cart-line {
    grid-template-columns: 4rem minmax(0,1fr);
    gap: .65rem;
    padding-block: 1rem;
  }
  #cart-dialog .cart-line img { width: 4rem; height: 4.75rem; border-radius: .45rem; }
  #cart-dialog .cart-line-actions { flex-wrap: wrap; gap: .45rem; }
  #cart-dialog .cart-line-actions button { min-width: 2.75rem; min-height: 2.75rem; }
  #cart-dialog .cart-line-actions .remove-line { margin-inline: 0; }
  #cart-dialog label { margin-top: 1rem; }
  #cart-dialog .shipping-progress { padding-block: .8rem; }
  #checkout-form { margin-top: .9rem; }
  #checkout-form .form-grid { gap: .75rem; }
  #checkout-form .checkout-consent label { min-height: 2.75rem; margin-bottom: 0; }
}

@media (min-width: 380px) and (max-width: 580px) {
  .search-content .search-grid:not(.photo-products) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-content .search-grid:not(.photo-products) > .product {
    display: flex;
    flex-direction: column;
  }
  #catalogue-grid .product-image,
  .search-content .search-grid:not(.photo-products) .product-image {
    aspect-ratio: 1;
  }
  .search-content .search-grid:not(.photo-products) > .product:only-child {
    grid-column: 1 / -1;
  }
  #catalogue-grid .product-info,
  .search-content .search-grid:not(.photo-products) .product-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: .7rem;
  }
  #catalogue-grid .product-title-line,
  .search-content .search-grid:not(.photo-products) .product-title-line { display: block; }
  #catalogue-grid .product-title-line h3,
  .search-content .search-grid:not(.photo-products) .product-title-line h2 {
    font-size: clamp(1.35rem, 4.1vw, 1.6rem);
    line-height: 1.04;
  }
  #catalogue-grid .product-price,
  .search-content .search-grid:not(.photo-products) .product-price { display: block; margin-bottom: .5rem; }
  #catalogue-grid .product-info > p:not(.eyebrow),
  .search-content .search-grid:not(.photo-products) .product-info > p:not(.eyebrow) {
    margin-bottom: .65rem;
    font-size: .875rem;
    line-height: 1.48;
  }
    #catalogue-grid .gallery-current { gap: .1rem .25rem; font-size: .75rem; }
  #catalogue-grid .product-actions,
  .search-content .search-grid:not(.photo-products) .product-actions {
    display: grid;
    gap: .1rem;
    margin-top: auto;
  }
  #catalogue-grid .product-actions .button,
  #catalogue-grid .product-info > .button,
  .search-content .search-grid:not(.photo-products) .product-info .button {
    padding: .45rem .35rem;
    font-size: .875rem;
    text-align: center;
  }
  #catalogue-grid .product-actions .text-link,
  .search-content .search-grid:not(.photo-products) .product-actions .text-link { justify-self: center; }
  #catalogue-grid .product-info > .button,
  .search-content .search-grid:not(.photo-products) .product-info > .button { margin-top: auto; }

  #standard-item-options, #checkout-form .form-grid {
    grid-template-columns: repeat(2,minmax(0, 1fr));
  }
  #standard-item-options { align-items: end; gap: .65rem; }
}

/* Homepage shelves and the features between them. */
.home-brand, .home-party {
  display: grid;
  align-items: center;
  gap: clamp(1rem, 4vw, 3.75rem);
}
.home-brand {
  grid-template-columns: minmax(6rem, 12rem) minmax(0, 39rem);
  justify-content: center;
  padding-block: clamp(1.2rem, 3vw, 2.7rem);
}
.home-brand img { width: 100%; height: auto; }
.home-brand h2, .home-party h2 { font-size: clamp(2.15rem, 4.6vw, 4.4rem); }
.home-brand p, .home-party p { max-width: 49ch; margin: .8rem 0 .9rem; }
.home-party {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: var(--sand-wash);
  padding-block: clamp(1.8rem, 4vw, 3.4rem);
}
.home-party img { width: 100%; height: auto; aspect-ratio: 1.7; object-position: center 60%; border-radius: .75rem; }
#colecao .collection-intro { padding-block: 0 .5rem; }
#colecao .collection-note { padding-block: 0 clamp(1.5rem, 3vw, 2.5rem); }
#catalogue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.15rem, 2.7vw, 2.65rem);
}
#catalogue-grid > .section-pad { width: 100%; }
#catalogue-grid > .catalogue-shelf { min-width: 0; padding-block: 0; }
.catalogue-shelf[hidden], .catalogue-shelf-controls[hidden] { display: none; }
.catalogue-shelf-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1rem;
  margin-bottom: .45rem;
}
.catalogue-shelf-heading > h3 {
  color: var(--wine);
  font: 600 clamp(1.7rem, 3.1vw, 2.55rem)/1.1 var(--serif);
}
.catalogue-shelf-actions, .catalogue-shelf-controls {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.catalogue-shelf-actions > .text-link { margin-inline-end: .45rem; }
.catalogue-shelf-controls button {
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  padding: .25rem .6rem;
  background: var(--surface);
  color: var(--wine);
  font-size: .875rem;
}
.catalogue-shelf-controls button[aria-disabled="true"] { opacity: .48; cursor: default; }
.catalogue-shelf-controls button:not([aria-disabled="true"]):hover { border-color: var(--wine); }
.catalogue-track {
  --shelf-gap: clamp(.75rem, 1.65vw, 1.4rem);
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--shelf-gap)) / 3.3);
  align-items: stretch;
  gap: var(--shelf-gap);
  padding-block: .25rem .55rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.catalogue-track:has(> .product:only-child) { grid-auto-columns: min(100%, 38rem); }
.catalogue-track:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.catalogue-track > .product {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
#catalogue-grid .catalogue-track .product-image { aspect-ratio: 1.23; }
.catalogue-track .product-visual img { touch-action: pan-x pan-y; }
#catalogue-grid .catalogue-track .product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(.8rem, 1.25vw, 1.15rem);
}
#catalogue-grid .product-title-line { display: block; }
#catalogue-grid .product-title-line h4 {
  margin: 0 0 .38rem;
  color: var(--wine);
  font: 600 clamp(1.4rem, 2.2vw, 1.85rem)/1.08 var(--serif);
}
#catalogue-grid .product-price { display: block; margin: 0 0 .45rem; }
#catalogue-grid .catalogue-track .product-info > p { margin-bottom: .7rem; }
#catalogue-grid[data-active-filter="all"] .catalogue-track .product-info > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
#catalogue-grid .catalogue-track .product-actions,
#catalogue-grid .catalogue-track .product-info > .button { margin-top: auto; }
#catalogue-grid .catalogue-track .product-info > .button { align-self: flex-start; }

@media (max-width: 900px) {
  .catalogue-track { grid-auto-columns: calc((100% - 2 * var(--shelf-gap)) / 2.3); }
}

@media (max-width: 580px) {
  #colecao .filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-block: .2rem .45rem;
    scrollbar-width: thin;
  }
  #colecao .filter { flex: none; padding-inline: .8rem; white-space: nowrap; }
  .catalogue-track { grid-auto-columns: min(74%, 17rem); }
  .catalogue-track .product-info > p { font-size: .9rem; line-height: 1.4; }
  .home-brand, .home-party { grid-template-columns: 1fr; }
  .home-brand img { width: 5.5rem; }
  .home-party img { aspect-ratio: 1.55; }
}

@media (min-width: 581px) {
  .catalogue-track > .product:only-child {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }
  #catalogue-grid .catalogue-track > .product:only-child .product-image {
    width: 100%;
    min-width: 0;
    aspect-ratio: auto;
    height: 100%;
    min-height: 12rem;
  }
}

#catalogue-profissionais:has(> .product:only-child) { grid-auto-columns: min(100%, 68rem); }
[data-shelf="profissionais"] .catalogue-shelf-heading { max-width: 68rem; }
.professional-product-grid { grid-template-columns: minmax(0, 68rem); }
:is(#catalogue-profissionais, .professional-product-grid) > .product:only-child {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}
:is(#catalogue-profissionais, .professional-product-grid) > .product:only-child > .product-image {
  aspect-ratio: auto;
  min-height: clamp(14rem, 23vw, 21rem);
}
:is(#catalogue-profissionais, .professional-product-grid) > .product:only-child > .product-image > img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 38%;
}
:is(#catalogue-profissionais, .professional-product-grid) > .product:only-child > .product-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.2rem, 3.2vw, 3rem);
}
:is(#catalogue-profissionais, .professional-product-grid) .product-info > p,
#catalogue-grid[data-active-filter="all"] #catalogue-profissionais .product-info > p {
  display: block;
  max-width: 52ch;
  line-height: 1.55;
}
:is(#catalogue-profissionais, .professional-product-grid) > .product:only-child .product-info > .button { margin-top: .55rem; }

@media (max-width: 640px) {
  :is(#catalogue-profissionais, .professional-product-grid) > .product:only-child {
    grid-template-columns: minmax(0, 1fr);
  }
  :is(#catalogue-profissionais, .professional-product-grid) > .product:only-child > .product-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.32;
  }
}
