:root {
  --navy: #071a35;
  --navy-2: #0c2e57;
  --blue: #0799c7;
  --aqua: #27d3df;
  --mint: #5ce0a3;
  --paper: #f4f9fc;
  --white: #ffffff;
  --ink: #0a213b;
  --muted: #65758a;
  --line: #dce9f1;
  --shadow: 0 20px 55px rgba(7, 26, 53, .11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 9%, rgba(39, 211, 223, .15), transparent 24rem),
    linear-gradient(180deg, #edf8fc 0, var(--paper) 28rem, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px max(22px, calc((100vw - 1160px) / 2));
  background: rgba(7, 26, 53, .96);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}

.brand { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.brand-logo-crop { position: relative; width: 92px; height: 60px; overflow: hidden; flex: 0 0 auto; border-radius: 15px; background: #f7fbfd; }
.brand-logo-crop img { position: absolute; width: 285px; max-width: none; height: auto; left: 50%; top: -19px; transform: translateX(-50%); }
.brand-label strong { display: block; letter-spacing: -.04em; font-size: 1.25rem; line-height: 1; }
.brand-label strong span { color: var(--aqua); }
.brand small { display: block; color: #a9c4dc; letter-spacing: .2em; font-size: .65rem; margin-top: 4px; }

.customer-topbar { flex-wrap: wrap; gap: 12px 24px; }
.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 0; }
.contact-number { color: white; font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.3; text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.phone-link, .whatsapp-link {
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 48px;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 800;
}
.phone-link { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.whatsapp-link { color: var(--navy); background: var(--mint); }
.phone-link svg, .whatsapp-link svg { width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; }
.phone-link:hover { background: rgba(255,255,255,.18); }
.whatsapp-link:hover { background: #8aebbb; }
.contact-number:hover { text-decoration: underline; text-underline-offset: 5px; }
.phone-link:focus-visible, .whatsapp-link:focus-visible, .contact-number:focus-visible { outline: 3px solid white; outline-offset: 4px; }

.page-shell { width: min(1160px, calc(100% - 36px)); margin: 0 auto; padding: 32px 0 90px; }
.intro { margin: 0 0 26px; }
.eyebrow { margin: 0 0 16px; color: var(--blue); text-transform: uppercase; font-weight: 800; letter-spacing: .1em; font-size: .78rem; }
.eyebrow span { display: inline-block; width: 28px; height: 2px; background: var(--blue); vertical-align: middle; margin-right: 10px; }
h1 { margin: 0; color: var(--navy); font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.15; letter-spacing: -.04em; }
h1 em { color: var(--blue); font-style: normal; font-weight: 500; }
.intro-note { max-width: 56ch; margin: 10px 0 0; color: var(--navy-2); font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.minimum-order-notice { margin: 12px 0 0; color: var(--navy); font-size: .9375rem; line-height: 1.5; }

.qr-share { margin-top: 18px; max-width: 640px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.qr-share summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 13px 16px; color: var(--navy); font-size: 1rem; font-weight: 750; cursor: pointer; list-style: none; }
.qr-share summary::-webkit-details-marker { display: none; }
.qr-share summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; line-height: 1; }
.qr-share[open] summary::after { content: "−"; }
.qr-share summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.qr-share summary:focus-visible, .qr-download:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 12px; }
.qr-share-content { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding: 4px 18px 18px; }
.qr-share-content > img { display: block; width: 245px; max-width: 100%; height: auto; flex: 0 1 245px; margin-inline: auto; }
.qr-share-content > div { flex: 1 1 220px; min-width: 0; }
.qr-share-content h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.25rem; }
.qr-share-content p { margin: 0 0 16px; color: var(--navy-2); font-size: 1rem; line-height: 1.6; }
.qr-download { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 12px; background: var(--navy); color: white; font-size: 1rem; font-weight: 750; text-decoration: none; }
.qr-download:hover { background: var(--navy-2); }

.app-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr); gap: 26px; align-items: start; }
.catalog, .order-card { background: rgba(255,255,255,.88); border: 1px solid rgba(209, 228, 239, .9); box-shadow: var(--shadow); border-radius: var(--radius); }
.catalog { padding: 27px; }
.order-panel { position: sticky; top: 140px; }
.order-card { overflow: hidden; }
.order-card > .section-head { padding: 26px 26px 20px; }

.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 22px; }
.section-head > div { display: flex; align-items: center; gap: 11px; }
.section-head h2 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }
.section-head p { margin: 0; color: var(--muted); font-size: .85rem; }
.section-head.compact { margin: 0; border-bottom: 1px solid var(--line); }
.step-number { font-size: .7rem; font-weight: 900; color: var(--blue); letter-spacing: .08em; }
.text-button { border: 0; background: transparent; color: var(--muted); font-size: .82rem; padding: 7px; }
.text-button:hover { color: #c0392b; }

.brand-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 22px; scrollbar-width: none; }
.brand-tabs::-webkit-scrollbar { display: none; }
.brand-tab { border: 1px solid var(--line); background: #f7fbfd; color: var(--muted); padding: 10px 17px; border-radius: 999px; font-weight: 700; min-width: max-content; }
.brand-tab.active { color: white; border-color: var(--navy); background: var(--navy); box-shadow: 0 7px 18px rgba(7,26,53,.18); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.product-card { border: 1px solid var(--line); border-radius: 17px; background: white; padding: 14px; min-width: 0; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-2px); border-color: #abdce9; box-shadow: 0 11px 24px rgba(7,55,85,.08); }
.product-image { height: 205px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #f5fbfd, #eef7fa); margin-bottom: 14px; }
.product-image img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; padding: 6px; }
.product-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.product-brand { display: inline-block; color: var(--blue); font-size: .69rem; letter-spacing: .1em; font-weight: 900; text-transform: uppercase; margin-bottom: 7px; }
.product-card h3 { margin: 0; font-size: 1.04rem; letter-spacing: -.025em; }
.pack { display: block; color: var(--muted); font-size: .78rem; margin-top: 5px; }
.price { color: var(--navy); white-space: nowrap; font-size: 1.2rem; font-weight: 850; letter-spacing: -.03em; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.quantity { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.quantity button { width: 31px; height: 31px; border: 0; border-radius: 9px; background: #edf7fa; color: var(--navy); font-weight: 900; font-size: 1.18rem; }
.quantity button:hover { background: #d9f1f5; }
.quantity output { width: 25px; text-align: center; font-weight: 850; }
.add-label { color: var(--muted); font-size: .74rem; }

.empty-cart { text-align: center; padding: 30px 24px 33px; color: var(--muted); }
.empty-drop { width: 43px; height: 43px; border-radius: 50% 50% 50% 12%; transform: rotate(45deg); display: grid; place-items: center; margin: 0 auto 15px; background: #e8f7fa; color: var(--blue); font-size: 1.35rem; font-weight: 400; }
.empty-drop::first-letter { transform: rotate(-45deg); }
.empty-cart p { color: var(--ink); font-weight: 750; margin: 0 0 4px; }
.empty-cart small { font-size: .8rem; }
.cart-items { padding: 10px 26px 7px; max-height: 220px; overflow-y: auto; }
.cart-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf2f5; }
.cart-line:last-child { border-bottom: 0; }
.cart-line-name { min-width: 0; }
.cart-line-name strong { display: block; font-size: .84rem; line-height: 1.25; }
.cart-line-name small { color: var(--muted); font-size: .72rem; }
.cart-line-price { text-align: right; white-space: nowrap; font-size: .86rem; font-weight: 850; }
.cart-line-price small { display: block; color: var(--blue); font-size: .7rem; margin-top: 3px; }
.total-row { background: var(--navy); color: white; display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; }
.total-row span { color: #b8cce0; font-size: .85rem; }
.total-row strong { font-size: 1.4rem; }
.minimum-order-message { margin: 0; padding: 14px 26px; background: #fff7e8; color: #70450a; font-size: .9375rem; line-height: 1.5; border-bottom: 1px solid var(--line); }
.minimum-order-message.minimum-reached { background: #ecfaf2; color: #15643d; }

#order-form { padding: 23px 26px 27px; }
.form-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.form-title h3 { margin: 0; font-size: 1rem; }
label { display: block; color: #34485d; font-size: .78rem; font-weight: 750; margin-bottom: 13px; }
.optional { float: right; color: #8493a3; font-weight: 500; }
input, textarea, select { display: block; width: 100%; margin-top: 7px; background: #f7fafc; color: var(--ink); border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; font-size: .9rem; outline: none; resize: vertical; }
input:focus, textarea:focus, select:focus { background: white; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,153,199,.12); }
.field-error { border-color: #d64242 !important; box-shadow: 0 0 0 3px rgba(214,66,66,.1) !important; }
.order-submit-button { width: 100%; border: 0; border-radius: 13px; padding: 14px 15px; background: #14a666; color: white; font-weight: 850; display: flex; align-items: center; justify-content: center; gap: 9px; box-shadow: 0 11px 23px rgba(20,166,102,.22); transition: transform .15s ease, background .15s ease; }
.order-submit-button:hover:not(:disabled) { background: #108956; transform: translateY(-1px); }
.order-submit-button:disabled { background: #e4eaf0; color: #526273; cursor: not-allowed; box-shadow: none; }
.order-submit-button svg { width: 21px; fill: currentColor; }
.form-help { color: var(--muted); font-size: .69rem; line-height: 1.45; text-align: center; margin: 11px 12px 0; }
.delivery-location { margin: 14px 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #f0f8fc; }
.delivery-location > p:first-child { margin: 0 0 8px; font-size: 1rem; line-height: 1.5; }
.location-help { margin: 8px 0 0; color: #426075; font-size: .875rem; line-height: 1.5; }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.location-actions button, .location-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; border: 1px solid #92b4c7; border-radius: 9px; background: white; color: #153e5e; font-size: .875rem; font-weight: 600; text-align: center; }
.location-actions #share-location { background: var(--navy); border-color: var(--navy); color: white; }
.location-actions button:disabled { opacity: .6; cursor: default; }
.location-actions :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.location-actions [hidden] { display: none; }

.mobile-cart { display: none; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--navy); color: white; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s ease; text-align: center; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
footer { width: min(1160px, calc(100% - 36px)); margin: 0 auto; padding: 25px 0 35px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; letter-spacing: .06em; }
footer a { color: var(--navy); text-decoration: none; font-weight: 800; }

@media (max-width: 850px) {
  body { padding-bottom: 82px; }
  .page-shell { width: min(100% - 24px, 660px); padding-top: 26px; }
  .intro { margin-bottom: 24px; }
  h1 { font-size: clamp(2.25rem, 9vw, 3.5rem); }
  .product-image { height: 190px; }
  .app-layout { display: block; }
  .catalog { padding: 20px 14px; }
  .order-panel { position: static; margin-top: 18px; scroll-margin-top: 88px; }
  .mobile-cart { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 17px; border-radius: 17px; background: rgba(7,26,53,.97); color: white; box-shadow: 0 14px 42px rgba(4,19,38,.36); backdrop-filter: blur(12px); }
  .mobile-cart[hidden] { display: none; }
  .mobile-cart div { display: flex; flex-direction: column; gap: 1px; }
  .mobile-cart span { color: #b7cfe2; font-size: .72rem; }
  .mobile-cart strong { font-size: 1.05rem; }
  .mobile-cart button { border: 0; background: var(--mint); color: #063120; border-radius: 11px; font-weight: 850; padding: 12px 16px; }
  .mobile-cart button:disabled { background: #334861; color: #d1dce6; cursor: not-allowed; }
  .mobile-cart #mobile-minimum { font-size: .875rem; }
  .toast { bottom: 98px; }
  footer { padding-bottom: 18px; }
}

@media (max-width: 700px) {
  .customer-topbar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .customer-topbar .brand-label { display: none; }
  .header-contact { display: contents; }
  .contact-number { font-size: clamp(1.375rem, 5.4vw, 1.875rem); text-align: right; }
  .contact-actions { grid-column: 1 / -1; width: 100%; }
  .order-panel { scroll-margin-top: 180px; }
}

@media (max-width: 520px) {
  .topbar { min-height: 66px; padding: 10px 14px; }
  .brand-logo-crop { width: 76px; height: 50px; border-radius: 12px; }
  .brand-logo-crop img { width: 240px; top: -16px; }
  .brand-label { display: none; }
  .brand small { font-size: .56rem; }
  .intro { margin-bottom: 25px; }
  .eyebrow { font-size: .69rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 16px; }
  .section-head p { display: none; }
  .order-card > .section-head, #order-form { padding-left: 19px; padding-right: 19px; }
  .cart-items { padding-left: 19px; padding-right: 19px; }
  .total-row { padding-left: 19px; padding-right: 19px; }
  .minimum-order-message { padding-left: 19px; padding-right: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

[hidden] { display: none !important; }
.order-success { padding: 24px; line-height: 1.6; overflow-wrap: anywhere; }
.order-success h3 { color: #086f5a; font-size: 1.4rem; margin-top: 0; }
.order-card.order-complete > :not(#order-success) { display: none; }
.order-error { background: #fff1f0; color: #9a2525; padding: 12px; border-radius: 10px; line-height: 1.5; }
.new-order-button { width: 100%; min-height: 44px; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: 12px; }
footer { flex-wrap: wrap; gap: 16px; }
.tracking-entry { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 16px; padding: 12px 20px; border: 1px solid var(--navy); border-radius: 12px; background: var(--navy); color: white; text-decoration: none; font-size: 1rem; font-weight: 750; }
.tracking-entry:hover { background: var(--navy-2); }
.tracking-entry:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.order-success .tracking-entry { width: 100%; margin: 0 0 12px; }

.product-image-label{display:grid;gap:8px;text-align:center;color:#123f69;padding:24px}.product-image-label strong{font-size:2rem;font-weight:800;letter-spacing:.04em}.product-image-label span{font-size:1.15rem;font-weight:600}

.product-brand{font-size:1.2rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}

.brand-tab[data-brand]:not([data-brand="all"]){font-size:1rem;font-weight:800;text-transform:uppercase}
