﻿*{box-sizing:border-box}body{margin:0}a{color:#171b67}button,input,select{font:inherit}button{border:0;border-radius:.65rem;background:#171b67;color:white;padding:.65rem .9rem;cursor:pointer;font-weight:650}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #007d99;outline-offset:2px}button:disabled{opacity:.55;cursor:not-allowed}.secondary{background:#edf4fa;color:#171b67;border:1px solid #cddaea}[hidden]{display:none!important}.wrap{width:min(1240px,calc(100% - 3rem));margin:auto}.top{background:white}.bar{display:flex;justify-content:space-between;align-items:center;min-height:72px}.bar img{width:84px;display:block}.bar nav{display:flex;gap:1.4rem}.bar nav a{text-decoration:none;font-weight:650}.hero{background:radial-gradient(ellipse at 90% 15%,#156188 0%,transparent 58%),#171a65;color:white;padding:3rem 0}.hero-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:2rem;align-items:center}.eyebrow{font-size:.875rem;font-weight:750;letter-spacing:.14em;color:#82e5f5}.hero h1{font-size:clamp(2.3rem,5.8vw,4.6rem);line-height:1.02;letter-spacing:-.055em;margin:.55rem 0 1rem}.hero h1 em{font-style:normal;color:#74e3f2}.hero p:last-child{max-width:38rem;color:#e1eafb}.hero-rules{display:grid;grid-template-columns:repeat(2,1fr);gap:.65rem}.hero-rules div{background:#ffffff17;border:1px solid #ffffff38;border-radius:1rem;padding:1rem}.hero-rules strong{display:block;font-size:clamp(1.4rem,3.2vw,2.5rem);white-space:nowrap}.hero-rules span{display:block;font-size:.875rem;color:#e1eafb}.layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(340px,1fr);gap:1.4rem;padding:2rem 0;align-items:start}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-bottom:1rem}.section-heading h2{margin:0;letter-spacing:-.035em}.section-heading span,.muted{color:#4d5e79;font-size:.875rem}.search,.settings{display:grid;grid-template-columns:1fr 1fr;gap:.4rem .8rem;margin-bottom:1rem}.search input,.search select{grid-row:2}.search label,.settings label{font-size:.9rem;font-weight:650}input,select{width:100%;min-width:0;border:1px solid #c6d4e2;border-radius:.65rem;background:white;color:#182344;padding:.65rem .75rem}select{appearance:none;background:white linear-gradient(45deg,transparent 50%,#171b67 50%) right 15px center/5px 5px no-repeat;padding-right:1.6rem}.products{display:grid;grid-template-columns:1fr;gap:.75rem}.product,.cart{background:white;border:1px solid #cddaea;border-radius:1rem;padding:1rem;box-shadow:0 4px 16px #2038520a}.product{display:flex;flex-direction:column;min-width:0}.product h3{margin:.4rem 0 .65rem;overflow-wrap:anywhere}.product .facts{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.7rem}.chip{background:#e8f6f9;border-radius:.4rem;padding:.27rem .45rem;font-size:.875rem;color:#134b60}.product button{margin-top:auto;align-self:start}.product details{font-size:.875rem;margin-bottom:.7rem}.product p{margin:.35rem 0}.cart{position:sticky;top:1rem}.tabs{display:flex;gap:.5rem;overflow:auto;padding:.2rem 0 .55rem}.tabs button{white-space:nowrap}.tabs [aria-current=true]{background:#171b67;color:white}.capacity{height:.75rem;background:#e7eef6;border-radius:1rem;overflow:hidden}.capacity span{display:block;height:100%;background:linear-gradient(90deg,#007d9a,#007d99);transition:width .25s}.line,.amount{display:flex;justify-content:space-between;gap:.65rem;align-items:center;padding:.65rem 0;border-bottom:1px solid #cddaea}.line strong{display:block}.line input{width:5rem;padding:.4rem}.line button{padding:.4rem .65rem}.settings{margin-top:1rem}.settings{grid-template-columns:1fr}.settings select{max-width:12rem}.notice{background:#fff0f0;color:#a21c2a;border-radius:.6rem;padding:.7rem;margin:.65rem 0}.total{background:#171b67;color:white;border-radius:.75rem;padding:1rem;margin:1rem 0}.total strong{display:block;font-size:1.7rem}.footer{padding:1rem 0 2rem;color:#4d5e79;display:flex;gap:1rem;justify-content:space-between}#more{margin-top:.8rem}dialog{border:0;border-radius:1rem;max-width:min(440px,90vw);padding:1.5rem;color:#182344}dialog::backdrop{background:#1018459c}.dialog-actions{display:flex;gap:.6rem;justify-content:end}summary{cursor:pointer}#summary article{border-bottom:1px solid #cddaea;padding:.6rem 0}#summary ul{padding-left:1.2rem}@media(max-width:860px){.layout,.hero-grid{grid-template-columns:1fr}.cart{position:static}.footer{padding-bottom:4.5rem;flex-wrap:wrap}}@media(max-width:500px){.wrap{width:calc(100% - 1.5rem)}.hero{padding:2rem 0}.hero-rules div{padding:.55rem}.hero-rules span{font-size:.8rem}.products{grid-template-columns:1fr}.search{grid-template-columns:1fr}.search input,.search select{grid-row:auto}}

.weight-add{margin-top:auto;display:flex;gap:.6rem;align-items:end;flex-wrap:wrap}.weight-add label{font-size:.875rem;font-weight:650}.weight-add input{display:block;width:5.5rem;margin-top:.2rem}.weight-add button{align-self:end}


body {
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  color: #162344;
  background: #eff4fa;
}
.top { border-bottom: 1px solid #d7e2ef; }
.layout { gap: clamp(1.1rem, 2.6vw, 2rem); }
.section-heading h2 { font-size: 1.5rem; }
.products { gap: .85rem; }
.product {
  border: 1px solid #c8d6e9;
  border-left: 4px solid #697bc3;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 3px 12px #2439620d;
}
.product:hover, .product:focus-within {
  border-color: #7587c3;
  box-shadow: 0 6px 20px #24396219;
}
.product h3 { font-size: 1.2rem; line-height: 1.3; }
.product > .muted { color: #425675; font-weight: 600; }
.product details { color: #384d6a; }
.product details p { line-height: 1.5; }
.cart {
  border-color: #c4d3e8;
  padding: 1.2rem;
  box-shadow: 0 7px 22px #1f376212;
}
button { background: #171b67; color: #fff; }
button:hover { background: #252e8a; }
button.secondary:hover { background: #e1ebfa; }
.tabs button[aria-current="true"]:hover { background: #252e8a; }
.total { background: #171b67; color: #fff; }
.chip { background: #e4f3fa; color: #164b64; }
.regime-note {
  margin: .8rem 0 .25rem;
  padding: .65rem .8rem;
  border-left: 3px solid #96701c;
  border-radius: .45rem;
  background: #fff5dd;
  color: #654710;
  font-size: .9rem;
}
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
.line strong { overflow-wrap: anywhere; }
.weight-add input { width: 6rem; }
dialog { box-shadow: 0 16px 48px #15244838; }
@media (max-width: 500px) {
  .product, .cart { padding: 1rem; }
  .line input { width: 4rem; }
}

.tab-amount {
  display: block;
  margin-top: .2rem;
  font-size: .875rem;
  font-weight: 600;
}
.box-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .65rem;
  padding: .75rem .85rem;
  border: 1px solid #c8d6e9;
  border-radius: .65rem;
  background: #edf4fc;
}
.box-total strong { font-size: 1.15rem; }


.cart-handle, .cart-backdrop { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 860px) {
  body { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  body.cart-open { overflow: hidden; }
  .cart-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9;
    width: 100%;
    border-radius: 0;
    background: #10184588;
  }
  .cart-backdrop:hover { background: #10184588; }
  .cart {
    position: fixed;
    inset: auto 0 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: min(84vh, 45rem);
    height: min(84dvh, 45rem);
    padding: 0;
    border-radius: 1.1rem 1.1rem 0 0;
    box-shadow: 0 -6px 28px #17275b30;
    transform: translateY(var(--cart-offset, calc(100% - 6rem - env(safe-area-inset-bottom))));
    transition: transform .28s cubic-bezier(.22,.75,.25,1);
  }
  .cart.is-open { transform: translateY(var(--cart-offset, 0px)); }
  .cart.is-dragging { transition: none; }
  .cart-handle {
    display: grid;
    flex: 0 0 auto;
    align-content: center;
    gap: .3rem;
    height: calc(6rem + env(safe-area-inset-bottom));
    padding: .5rem 1.15rem calc(.55rem + env(safe-area-inset-bottom));
    border-radius: 1rem 1rem 0 0;
    background: #171b67;
    text-align: left;
    touch-action: none;
    user-select: none;
  }
  .cart-handle:focus-visible { outline-offset: -4px; }
  .cart-grip { width: 2.6rem; height: .25rem; border-radius: 1rem; background: #adbde6; justify-self: center; }
  .cart-preview { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
  .cart-preview-detail { color: #e2e9ff; font-weight: 500; font-size: .875rem; }
  #cart-preview-items { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #cart-preview-points, #cart-preview-total { flex-shrink: 0; }
  .cart-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); }
  .cart:not(.is-open):not(.is-dragging) .cart-content { visibility: hidden; }
  .footer { padding-bottom: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .cart { transition: none; } }

@media (max-width: 860px) {
  .bar { min-height: 54px; }
  .bar img { width: 64px; }
  .bar nav { gap: .85rem; font-size: .875rem; }
  .hero { padding: .8rem 0; }
  .hero-grid { display: block; }
  .hero .eyebrow, .hero .hero-rules { display: none; }
  .hero h1 { font-size: clamp(1.3rem, 5.3vw, 1.85rem); line-height: 1.15; margin: 0; letter-spacing: -.035em; }
  .hero h1 br { display: none; }
  .hero h1 em::before { content: " "; }
  .hero p:last-child { font-size: .875rem; line-height: 1.35; margin: .3rem 0 0; }
  .layout { padding-top: 1rem; }
}

progress.capacity { display: block; appearance: none; width: 100%; border: 0; }
progress.capacity::-webkit-progress-bar { background: #e7eef6; }
progress.capacity::-webkit-progress-value { background: #007d99; border-radius: 1rem; }
progress.capacity::-moz-progress-bar { background: #007d99; border-radius: 1rem; }

.whatsapp-help {
  position: fixed;
  z-index: 8;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: .55rem;
  border-radius: 2rem;
  text-decoration: none;
}
.whatsapp-label {
  padding: .55rem .75rem;
  border: 1px solid #cddaea;
  border-radius: 1rem;
  background: #fff;
  color: #162344;
  font-size: .875rem;
  font-weight: 650;
  box-shadow: 0 3px 12px #17275b26;
}
.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #073921;
  box-shadow: 0 4px 14px #173c2d38;
}
.whatsapp-help:hover .whatsapp-icon { background: #4ae084; }
@media (max-width: 860px) {
  .whatsapp-help { bottom: calc(6.6rem + env(safe-area-inset-bottom)); }
  body.cart-open .whatsapp-help { visibility: hidden; }
}
@media (max-width: 380px) {
  .bar nav { gap: .55rem; flex-wrap: wrap; justify-content: flex-end; }
}
