@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./fonts/instrument-serif.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 92px; }


.na-campaign { position: sticky; z-index: 10; top: 0; }
.na-campaign-row {
  width: min(calc(100% - 26px), 1240px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding-block: 7px;
  text-align: center;
}
.na-campaign-copy { display: block; font-size: 1.125rem; }
.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 5px 13px;
  color: var(--na-white);
  border: 1px solid #b2d0e57a;
  border-radius: 6px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
}
.quote-link:hover { background: #204467; }

.na-header-row { min-height: 101px; }
.na-header nav { display: flex; justify-self: center; align-items: center; gap: clamp(12px, 1.53vw, 24px); }
.na-header nav a { color: #eaf4fc; font-size: .925rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.na-header nav a:hover { color: var(--na-gold); }
.na-header nav a[aria-current="page"] { color: var(--na-gold); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 1.4vw, 21px); }
.header-actions .wp-block-button__link { white-space: nowrap; }
.menu-toggle { display: none; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.account-menu { position: relative; }
.account-button { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 49px; min-height: 44px; border-radius: 6px; color: #eff7ff; cursor: pointer; list-style: none; }
.account-button::-webkit-details-marker { display: none; }
.account-button:hover, .account-menu[open] .account-button { color: var(--na-gold); background: #183451; }
.account-caret { width: 0; height: 0; border-inline: 4px solid transparent; border-top: 5px solid currentColor; }
.account-options { position: absolute; z-index: 9; top: calc(100% + 7px); right: 0; width: 155px; padding: 6px; background: #fff; color: var(--na-navy); border: 1px solid var(--na-border); border-radius: 8px; box-shadow: 0 8px 22px #08182e29; }
.account-options button { width: 100%; min-height: 42px; padding: 7px 10px; border: 0; border-radius: 4px; text-align: left; background: transparent; color: inherit; font: 600 .925rem/1.3 var(--na-body); cursor: pointer; }
.account-options button:hover { background: var(--na-mist); }

.na-hero { min-height: clamp(505px, 39vw, 610px); margin-top: clamp(14px, 1.5vw, 24px); }
.na-hero-copy { padding-block: clamp(30px, 4.6vw, 68px); }
.na-hero h1 { font-size: clamp(64px, 7.5vw, 125px); }
.na-hero-lead { max-width: 47ch; font-size: clamp(1rem, 1.35vw, 1.25rem); }
.na-hero-visual img { bottom: 5.5%; height: 88%; }

.catalog { padding-block: clamp(47px, 4.3vw, 66px) clamp(48px, 4.5vw, 72px); }
.catalog-heading { margin-bottom: 26px; }
.catalog-heading h2 { font-size: clamp(38px, 3.95vw, 60px); }
.catalog-heading .na-lead { margin-top: 9px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid #dce7ef; border-radius: 14px; overflow: hidden; }
.product-visual { height: clamp(152px, 15vw, 222px); display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 54% 39%, #fbfdff, #e7f1f8); }
.product-visual img { display: block; height: clamp(128px, 12.5vw, 188px); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(6px 8px 10px #21466931); }
.product-visual--bottle { background: radial-gradient(ellipse at 53% 40%, #faffff, #e0eff8); }
.product-visual--refill img, .product-visual--bottle img { mix-blend-mode: multiply; filter: none; }
.product-visual--dispenser { position: relative; }
.product-visual--dispenser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: none; }
.product-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 18px clamp(14px, 1.65vw, 26px) 20px; background: var(--na-white); }
.product-copy h3 { margin: 0 0 5px; font-size: clamp(26px, 2.4vw, 38px); }
.product-copy p { flex: 1; margin-bottom: 15px; color: var(--na-muted); font-size: .975rem; }
.product-copy .wp-block-button__link { gap: 13px; min-height: 44px; padding-block: 7px; cursor: pointer; }
.product-copy button.wp-block-button__link { background: var(--na-navy); color: var(--na-white); border-color: var(--na-navy); }
.product-copy button.wp-block-button__link:hover { background: var(--na-blue); color: var(--na-white); }
.product-copy button span { font-size: 1.15em; }

.dispatch { padding-block: clamp(45px, 4.2vw, 63px); }
.dispatch .na-split { gap: clamp(24px, 4.75vw, 69px); }
.dispatch .na-split-visual img { aspect-ratio: 1.75; }
.dispatch h2 { margin-bottom: 17px; font-size: clamp(39px, 3.75vw, 57px); }
.dispatch h3 { font-size: clamp(26px, 2.3vw, 35px); }
.dispatch .na-service-item:last-child { padding-bottom: 0; }
.text-link { display: inline-flex; gap: 9px; margin-top: 5px; color: var(--na-blue); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.contact-section { padding-block: clamp(42px, 4.6vw, 70px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(25px, 6vw, 88px); }
.contact-intro h2 { font-size: clamp(44px, 4vw, 62px); }
.contact-intro .na-lead { max-width: 34ch; margin: 14px 0 20px; }
.contact-location { color: var(--na-muted); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 4px; font-size: .925rem; font-weight: 700; }
.contact-form :is(input, select, textarea) { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid #b3c7d9; border-radius: 6px; color: var(--na-ink); background: #f9fcfe; font: 400 .95rem/1.45 var(--na-body); }
.contact-form textarea { resize: vertical; }
.contact-form select:invalid { color: var(--na-muted); }
.form-wide { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.form-actions p { width: 100%; color: var(--na-muted); }
.na-form-submit, .link-button { cursor: pointer; }
.link-button { padding: 0; color: inherit; background: transparent; border: 0; font: inherit; text-align: left; }
.form-actions .link-button { color: var(--na-blue); font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.preview-footer { background: var(--na-navy); color: #dbeaf5; }
.footer-content { display: grid; grid-template-columns: 1.38fr 1fr 1fr .8fr; align-items: start; gap: 24px clamp(21px, 4.5vw, 66px); padding-block: clamp(34px, 4.5vw, 60px); font-size: .95rem; }
.footer-content section { min-width: 0; }
.footer-content h2 { margin: 0 0 10px; color: var(--na-gold); font-size: 1rem; font-weight: 700; }
.footer-content p { margin: 0 0 6px; }
.footer-content ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.footer-content a { color: inherit; text-decoration: none; }
.footer-content a:hover, .footer-content .link-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-brand img { display: block; width: min(100%, 239px); height: auto; margin: -15px 0 3px -14px; }
.footer-brand p { max-width: 33ch; margin-bottom: 10px; }
.social-entry { display: flex; align-items: center; gap: 9px; }
.social-entry .icon { width: 18px; height: 18px; }

.floating-actions { position: fixed; z-index: 8; right: clamp(12px, 1.8vw, 26px); top: 44%; transform: translateY(-50%); display: grid; justify-items: center; gap: 11px; }
.action-bubble { position: relative; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1px solid #ffffffa6; border-radius: 50%; color: white; box-shadow: 0 3px 12px #061b3640; cursor: pointer; }
.action-bubble .icon { width: 25px; height: 25px; }
.action-cart { background: var(--na-navy); }
.action-cart:hover { background: var(--na-blue); }
.action-whatsapp { background: #16ab52; text-decoration: none; }
.action-whatsapp:hover { background: #128841; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding-inline: 4px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 20px; background: var(--na-gold); color: var(--na-navy); font: 700 .75rem/1 var(--na-body); }
.cart-count[hidden] { display: none; }
.sr-only { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
dialog { width: min(90vw, 420px); padding: 26px; border: 1px solid var(--na-border); border-radius: 13px; color: var(--na-ink); }
dialog::backdrop { background: #071b3370; }
dialog h2 { margin: 0 0 12px; font: 400 42px/1 var(--na-display); }
dialog p, .order-items { margin: 0 0 15px; }
.order-items { padding-left: 21px; }

@media (max-width: 1130px) {
  .na-header-row { grid-template-columns: minmax(0, 1fr) auto auto; position: relative; }
  .na-header nav { display: none; }
  .na-header .menu-toggle[aria-expanded="true"] + nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    z-index: 9;
    top: 100%;
    right: 0;
    width: min(100%, 350px);
    padding: 10px 20px;
    background: var(--na-navy);
    border: 1px solid #80a8c5;
    border-radius: 8px;
  }
  .na-header nav a { display: flex; align-items: center; width: 100%; min-height: 44px; }
  .menu-toggle { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; background: transparent; color: #eaf4fc; border: 0; border-radius: 6px; cursor: pointer; font: 600 .925rem/1.25 var(--na-body); }
  .menu-icon, .menu-icon::before, .menu-icon::after { width: 17px; height: 1.5px; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
}

@media (max-width: 800px) {
  .na-hero { min-height: auto; }
  .na-hero-copy { padding-bottom: 0; }
  .na-hero h1 { font-size: clamp(49px, 12.8vw, 95px); }
  .na-hero-visual img { bottom: 4%; height: 91%; }
  .na-hero-lead { max-width: 43ch; }
  .catalog-grid { grid-template-columns: 1fr; }
  .product-visual { height: clamp(152px, 44vw, 238px); }
  .product-visual img { height: clamp(128px, 37vw, 200px); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 570px) {
  .na-campaign-row { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; min-height: 72px; padding-block: 7px 4px; }
  .na-campaign-copy { font-size: clamp(.895rem, 3.9vw, 1rem); }
  .quote-link { min-height: 40px; padding: 3px 8px; font-size: .9375rem; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
  .na-header-row { grid-template-columns: 1fr 1fr; min-height: unset; }
  .na-header .na-brand { width: min(300px, 100%); }
  .menu-toggle { justify-self: start; padding-left: 0; }
  .header-actions { gap: 11px; }
  .header-actions .wp-block-button__link { min-height: 44px; padding-inline: 12px; font-size: .875rem; }
  .na-hero-copy { padding-top: 27px; }
  .na-hero-lead { max-width: 39ch; }
  .dispatch h2 { margin-bottom: 14px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-content { column-gap: 22px; font-size: .875rem; }
  .footer-content h2 { font-size: .925rem; }
  .footer-brand img { margin-left: -8px; }
  .action-bubble { width: 44px; height: 44px; }
  .action-bubble .icon { width: 22px; height: 22px; }
  .floating-actions { right: max(7px, env(safe-area-inset-right)); gap: 9px; }
  .cart-count { min-width: 19px; height: 19px; }
  body:has(.contact-form :is(input, select, textarea):focus) .floating-actions { visibility: hidden; }
}


header.wp-block-template-part:has(> .na-campaign) { display: contents; }
body.admin-bar .na-campaign { top: var(--wp-admin--admin-bar--height, 32px); }
:is(.na-campaign, .na-header, .preview-footer) :where(a) { text-underline-offset: 3px; }
.na-home > .na-hero { margin-block-start: clamp(14px, 1.5vw, 24px) !important; }
.na-hero-copy .na-hero-lead { margin-block: 26px; }
.catalog { margin-inline: auto !important; }
.preview-footer .footer-content h2 { font-family: var(--na-body); }
.account-options :is(a, button) { display: flex; align-items: center; padding: 7px 10px; min-height: 42px; border-radius: 4px; color: var(--na-navy); font: 600 .925rem/1.3 var(--na-body); text-decoration: none; }
.account-options a:hover { background: var(--na-mist); }
.product-copy .na-add-product { background: var(--na-navy); color: var(--na-white); border-color: var(--na-navy); }
.product-copy .na-add-product:hover { background: var(--na-blue); color: var(--na-white); }
.product-copy .added_to_cart { margin-inline-start: 9px; color: var(--na-blue); font-size: .875rem; }
.form-actions .contact-hint { width: 100%; color: var(--na-muted); font-size: .875rem; }
.order-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.order-links .na-form-submit { text-decoration: none; }
.order-items li { margin-block: 4px; }
.order-items .link-button { margin-inline-start: 12px; color: var(--na-blue); font-size: .875rem; text-decoration: underline; }
:is(.na-send-request, .na-cart-link, .cart-count)[hidden] { display: none; }

.product-copy .na-button:has(.na-order-action) { width: 100%; }
.na-order-action { display: grid; grid-template-columns: minmax(0, max-content) max-content; align-items: center; gap: 8px 10px; }
.na-order-action .wp-block-button__link { grid-area: 1 / 1; gap: 9px; padding-inline: clamp(10px, 1.3vw, 19px); text-align: center; }
.na-order-action .added_to_cart { grid-area: 2 / 1 / auto / span 2; margin-inline-start: 0; }
.na-quantity { grid-area: 1 / 2; display: grid; grid-template-columns: auto minmax(0, 45px); align-items: center; gap: 5px; min-height: 44px; padding: 3px 6px; border: 1px solid #bed6e8; border-radius: 6px; background: #eef5fa; color: var(--na-navy); font: 700 .75rem/1.2 var(--na-body); }
.na-quantity input { width: 100%; min-height: 34px; min-width: 0; padding: 4px 2px 4px 4px; border: 1px solid #b3c7d9; border-radius: 4px; background: #fff; color: var(--na-navy); font: 600 .875rem/1.2 var(--na-body); text-align: center; }

#order { width: min(calc(100% - 24px), 520px); max-height: calc(100dvh - 24px); }
.na-request-form { margin-top: 14px; }
.na-request-form h3 { margin: 0 0 9px; font: 400 32px/1.05 var(--na-display); }
.na-request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.na-request-fields label { display: grid; align-content: start; gap: 4px; color: var(--na-navy); font-size: .875rem; font-weight: 700; }
.na-request-fields :is(input, select) { width: 100%; min-height: 42px; padding: 7px 9px; border: 1px solid #b3c7d9; border-radius: 6px; background: #f9fcfe; color: var(--na-navy); font: 400 .9375rem/1.3 var(--na-body); }
.na-payment-options { display: grid; gap: 6px; margin: 14px 0; padding: 0; border: 0; }
.na-payment-options legend { margin: 0 0 6px; color: var(--na-navy); font-weight: 700; }
.na-payment-options label { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 8px; padding: 7px 9px; border: 1px solid var(--na-border); border-radius: 6px; cursor: pointer; }
.na-payment-options label:has(:checked) { background: #eef5fa; border-color: #719bbd; }
.na-payment-options input { margin: 4px 0 0; accent-color: var(--na-blue); }
.na-payment-options small { display: block; margin-top: 1px; color: var(--na-muted); }
.na-request-summary { color: var(--na-muted); font-size: .875rem; }
.na-send-request:disabled { opacity: .56; cursor: default; }
.na-keep-shopping { margin-top: 6px; color: var(--na-blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.na-online-payment-note { padding: 9px 13px; border-radius: 6px; background: var(--na-mist); color: var(--na-muted); font-size: .925rem; }

.na-opening-hours { display: grid; gap: 8px; margin: 0 0 10px; }
.na-opening-hours div { display: grid; justify-items: start; gap: 1px; text-align: start; }
.na-opening-hours dd { margin: 0; white-space: nowrap; color: var(--na-ice); }

@media (min-width: 801px) {
  .preview-footer .footer-content { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 44px); }
}

@media (min-width: 801px) and (max-width: 1000px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1150px) {
  .na-order-action .wp-block-button__link { padding-inline: 10px; }
  .na-quantity { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1px; padding: 2px 6px; min-width: 61px; }
  .na-quantity input { min-height: 27px; }
}

@media (max-width: 460px) {
  #order { padding: 18px; }
  .na-request-fields { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .na-hero-copy .na-hero-lead { margin-block: 17px 19px; }
}

@media (max-width: 600px) {
  body.admin-bar .na-campaign { top: 0; }
}
