:root{font:16px system-ui,sans-serif;color:#142642;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;padding:1rem max(1rem,calc((100% - 1200px)/2));background:white;border-bottom:1px solid #dce5f0}header img{max-width:40vw;height:auto}a{color:#0956b7}main{max-width:1232px;margin:auto;padding:1rem}.intro{padding:1rem 0 2rem}h1{font-size:clamp(2rem,6vw,3.4rem);margin:0}.layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:1.4rem;align-items:start}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:1rem;margin-top:1rem}article,.checkout,.confirmation{background:#fff;border:1px solid #dce5f0;border-radius:1rem;overflow:hidden}article[hidden]{display:none}.card,.checkout,.confirmation{padding:1.2rem}h2{font-size:1.1rem}article small{color:#335877}.cover,.placeholder{width:100%;height:190px;object-fit:contain;background:#edf4ff}.placeholder{display:grid;place-items:center;color:#1c4d88;font-weight:700}.gallery{display:flex;flex-wrap:wrap;gap:8px}.gallery img{width:70px;height:70px;object-fit:contain}input,textarea{font:inherit;border:1px solid #aabdd3;border-radius:.5rem;padding:.6rem;width:100%;min-width:0}label{display:block;margin-bottom:.3rem}button,.button{font:inherit;cursor:pointer;display:inline-block;background:#075bd8;color:white;border:0;border-radius:.5rem;padding:.6rem .85rem;text-decoration:none}.quantity{display:flex;gap:6px}.errorlist{color:#a82339;padding-left:1.2rem}.confirmation{margin:3rem auto;max-width:600px}summary{cursor:pointer}#store-items{padding-left:1.1rem}@media(max-width:740px){.layout{grid-template-columns:1fr}}

.product-cover,.product-name{display:block;width:100%;padding:0;border:0;border-radius:0;background:none;color:inherit;text-align:left}
.product-cover .cover{display:block}.product-name{font-weight:700;overflow-wrap:anywhere}.product-name:hover{text-decoration:underline}
.card small{display:inline-block;background:#eaf0f8;border-radius:1rem;padding:.3rem .65rem}.card strong{color:#075bd8}
#store-product-dialog{width:min(660px,calc(100% - 2rem));max-height:90vh;border:1px solid #dce5f0;border-radius:1rem;padding:clamp(1rem,4vw,1.6rem);color:inherit}
#store-product-dialog::backdrop{background:#132742a8}
.product-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.product-dialog-header h2{margin:0;overflow-wrap:anywhere}.product-dialog-header button{background:#fff;color:#142642;border:1px solid #c7d6e8}
#store-product-photo{width:100%;height:min(44vh,380px);object-fit:contain;background:#f4f7fb}
#store-product-thumbnails{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.7rem}
#store-product-thumbnails button{padding:.2rem;background:white;border:2px solid #dce5f0}
#store-product-thumbnails button[aria-pressed=true]{border-color:#075bd8}
#store-product-thumbnails img{display:block;width:55px;height:44px;object-fit:contain}
#store-product-specifications{white-space:pre-wrap;overflow-wrap:anywhere}

.store-nav{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;justify-content:flex-end}
.store-nav form{margin:0}.store-nav button{padding:.4rem .65rem}
.store-history{display:grid;gap:1rem}.store-history article{overflow-wrap:anywhere}

.order-summary{padding:0;border-color:#d4e2f5;box-shadow:0 12px 32px #203b6410}
.summary-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1.15rem 1.2rem;background:linear-gradient(125deg,#122442,#174a85);color:#fff}
.summary-heading h2{margin:0;font-size:1.2rem}
.summary-count{padding:.3rem .55rem;border:1px solid #ffffff65;border-radius:999px;font-size:.75rem;white-space:nowrap;background:#ffffff15}
.order-summary #store-items{list-style:none;margin:0;padding:0 1.2rem}
.summary-items li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.7rem;padding:.85rem 0;border-bottom:1px solid #e7edf6}
.summary-quantity{align-self:start;background:#eaf2ff;color:#154c9c;border-radius:.5rem;font-weight:700;padding:.3rem .45rem;font-size:.8rem}
.summary-description{display:grid;gap:.35rem;font-size:.85rem;overflow-wrap:anywhere}
.summary-description strong{font-size:.9rem}
.summary-empty{padding:1rem 1.2rem;margin:0;color:#53657d;font-size:.88rem}
.summary-total{display:flex;justify-content:space-between;align-items:center;gap:.65rem;flex-wrap:wrap;background:#f0f6ff;margin:.85rem 1.2rem 0;padding:.8rem;border-radius:.65rem}
.summary-total span{font-size:.85rem;color:#335477}
.summary-total strong{color:#074daf;font-size:1.35rem;font-variant-numeric:tabular-nums}
.summary-actions{padding:1rem 1.2rem 1.2rem}
.summary-actions p{font-size:.9rem;line-height:1.5}
.summary-actions p:first-child{margin-top:0}
.summary-actions .button,.summary-actions button,.summary-secondary{display:block;width:100%;text-align:center}
.summary-secondary{margin-top:.55rem;padding:.55rem;border:1px solid #c8d9ed;border-radius:.5rem;text-decoration:none}
.summary-secondary:hover{background:#f0f6ff}

.store-contact{position:fixed;right:1rem;bottom:max(1rem,env(safe-area-inset-bottom));z-index:5}
body:has(.store-contact) main{padding-bottom:5rem}
.store-contact summary{list-style:none;min-height:44px;display:grid;place-items:center;padding:.65rem 1.2rem;border-radius:999px;background:#116447;color:white;font-weight:700;box-shadow:0 .4rem 1.3rem #112b3350}
.store-contact summary::-webkit-details-marker{display:none}
.store-contact summary:hover,.store-contact-panel a:hover{background:#0b5038}
.store-contact summary:focus-visible,.store-contact-panel a:focus-visible{outline:3px solid #1476a8;outline-offset:3px}
.store-contact-panel{position:absolute;right:0;bottom:calc(100% + .7rem);width:min(285px,calc(100vw - 2rem));background:white;border:1px solid #dce5f0;border-radius:1rem;padding:1rem;box-shadow:0 .5rem 2rem #112b332d}
.store-contact-panel p{font-size:.9rem;line-height:1.5;margin:.55rem 0 .85rem}
.store-contact-panel a{display:block;background:#116447;color:white;text-align:center;padding:.7rem;border-radius:.55rem;text-decoration:none;font-weight:650}

@media (prefers-reduced-motion: no-preference) {
  .store-contact:not([open]) summary {
    animation: store-whatsapp-pulse 2.2s ease-out 1s 3;
  }

  @keyframes store-whatsapp-pulse {
    0%, 100% { box-shadow: 0 .4rem 1.3rem #112b3350, 0 0 0 0 #21a87265; }
    70% { box-shadow: 0 .4rem 1.3rem #112b3350, 0 0 0 .65rem #21a87200; }
  }
}
.store-status-cancelled{display:inline-block;padding:.25rem .55rem;border-radius:999px;background:#ffe4e8;color:#92182f}
