:root {
  --blue: #06479f;
  --blue-deep: #052d69;
  --blue-ink: #071a33;
  --sky: #eaf3ff;
  --paper: #f7f9fc;
  --white: #ffffff;
  --ink: #101c2c;
  --muted: #657184;
  --line: #dce4ef;
  --green: #179c62;
  --radius: 18px;
  --shadow: 0 22px 55px rgba(4, 31, 70, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; inset: 12px auto auto 12px; z-index: 1000;
  padding: 10px 16px; background: var(--white); border: 2px solid var(--blue);
  transform: translateY(-150%); transition: .2s;
}
.skip-link:focus { transform: none; }

.topbar {
  min-height: 35px; padding: 6px clamp(18px, 4vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--blue-deep); color: #dceaff; font-size: .78rem;
}
.topbar p { margin: 0; }
.topbar a { color: white; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.5); }

.site-header {
  height: 84px; padding: 0 clamp(18px, 4vw, 64px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6,71,159,.09);
}
.brand { width: 164px; justify-self: center; }
.brand img { width: 100%; height: 48px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 26px; justify-self: start; }
.desktop-nav a, .desktop-nav button {
  border: 0; background: transparent; cursor: pointer; font-weight: 650; font-size: .94rem;
  position: relative; padding: 10px 0;
}
.desktop-nav a::after, .desktop-nav button::after {
  content: ""; position: absolute; right: 0; left: 0; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transition: transform .2s;
}
.desktop-nav a:hover::after, .desktop-nav button:hover::after, .desktop-nav .active::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-button {
  width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line);
  background: var(--white); border-radius: 50%; cursor: pointer; transition: .2s;
}
.icon-button:hover { border-color: var(--blue); color: var(--blue); }
.icon-button svg, .cart-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-button {
  min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 5px 7px 5px 14px;
  background: var(--blue-ink); color: white; border: 0; border-radius: 999px; cursor: pointer;
}
.cart-button b { min-width: 30px; height: 30px; display: grid; place-items: center; background: var(--blue); border-radius: 50%; font-size: .82rem; }
.cart-button span { font-weight: 700; font-size: .9rem; }
.menu-toggle { display: none; }
.mobile-nav { position: fixed; top: 118px; right: 0; left: 0; z-index: 49; padding: 16px 22px 24px; background: white; box-shadow: var(--shadow); }
.mobile-nav a, .mobile-nav button { width: 100%; display: block; text-align: right; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); background: none; font-weight: 700; }

.hero {
  min-height: 330px; margin: 24px clamp(18px, 4vw, 64px) 0;
  display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue) 70%); color: white;
  border-radius: 28px; box-shadow: var(--shadow);
}
.hero-copy { padding: clamp(34px, 5vw, 72px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hero .eyebrow { color: #bcd7ff; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero h1 { margin: 10px 0 12px; max-width: 500px; font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: 1.03; letter-spacing: -.055em; }
.hero-copy p { max-width: 440px; margin: 0 0 24px; color: #dceaff; font-size: 1.02rem; }
.primary-link { display: inline-flex; gap: 12px; align-items: center; padding: 12px 18px; background: white; color: var(--blue-deep); border-radius: 999px; font-weight: 800; }
.primary-link span { transition: transform .2s; }
.primary-link:hover span { transform: translateX(-4px); }
.hero-visual { position: relative; min-height: 330px; background: radial-gradient(circle at 46% 45%, rgba(255,255,255,.24), transparent 56%); }
.hero-visual::after { content: ""; position: absolute; right: 6%; left: 6%; bottom: 22px; height: 16px; background: rgba(1,16,45,.32); filter: blur(12px); border-radius: 50%; }
.hero-visual img { width: min(720px, 92%); position: absolute; left: 3%; bottom: -16%; z-index: 2; transform: rotate(-7deg); filter: drop-shadow(0 28px 24px rgba(0,0,0,.25)); mix-blend-mode: multiply; }
.hero-number { position: absolute; left: 6%; top: -30px; font-size: clamp(10rem, 22vw, 20rem); line-height: 1; font-weight: 900; color: rgba(255,255,255,.08); letter-spacing: -.09em; }
.hero-stamp { position: absolute; left: 11%; top: 15%; z-index: 3; width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; display: grid; place-content: center; text-align: center; font-weight: 900; line-height: 1.1; transform: rotate(-9deg); }
.hero-stamp small { font-size: .58rem; letter-spacing: .18em; }

.shop-section, .deals-section { padding: 72px clamp(18px, 4vw, 64px); max-width: 1520px; margin: auto; }
.deals-section { max-width: none; margin-top: 56px; background: linear-gradient(135deg, #e9f2ff, #f8fbff 52%, #dceaff); border-block: 1px solid #cfdef0; }
.deals-section > * { max-width: 1392px; margin-inline: auto; }
.deals-heading p { color: var(--blue-deep); }
.deals-grid { margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; }
.section-heading h2 { margin: 6px 0 0; font-size: clamp(1.9rem, 3vw, 3.2rem); letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-weight: 650; }
.shop-toolbar { display: grid; grid-template-columns: minmax(240px, 1fr) auto minmax(170px, .4fr); gap: 16px; align-items: center; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 28px; }
.search-box { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--paper); border-radius: 12px; }
.search-box svg { width: 20px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.category-filters { display: flex; gap: 7px; }
.filter-chip { border: 1px solid var(--line); padding: 9px 15px; border-radius: 999px; background: white; cursor: pointer; font-weight: 700; white-space: nowrap; }
.filter-chip:hover, .filter-chip.active { color: white; background: var(--blue); border-color: var(--blue); }
.select-wrap { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); font-size: .83rem; }
.select-wrap select { width: 100%; border: 0; background: transparent; color: var(--ink); outline: 0; font-weight: 700; cursor: pointer; }

.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .24s, box-shadow .24s, border-color .24s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(6,71,159,.24); }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f4f8; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-media img { transform: scale(1.035); }
.discount-marker { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 7px 11px; border-radius: 999px; background: #db2448; color: white; font-size: .72rem; font-weight: 900; box-shadow: 0 6px 18px rgba(150,19,47,.18); }
.product-favorite { position: absolute; top: 12px; left: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255,255,255,.9); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.product-favorite.active { color: #e33f67; }
.product-info { padding: 17px; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .76rem; }
.product-info h3 { margin: 6px 0 3px; font-size: 1.08rem; line-height: 1.35; }
.product-pricing { min-height: 28px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.product-price { display: block; color: var(--blue); font-weight: 900; font-size: 1.06rem; }
.product-pricing del { color: #8994a4; font-size: .78rem; }
.deal-card { border-color: rgba(6,71,159,.2); box-shadow: 0 14px 38px rgba(4,31,70,.08); }
.size-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 15px 0; }
.size-row > span { color: var(--muted); font-size: .75rem; margin-left: 3px; }
.size-button { min-width: 35px; height: 33px; border: 1px solid var(--line); background: white; border-radius: 9px; cursor: pointer; font-size: .78rem; font-weight: 750; }
.size-button:hover, .size-button.selected { background: var(--blue); color: white; border-color: var(--blue); }
.add-button { width: 100%; min-height: 45px; border: 0; border-radius: 11px; background: var(--blue-ink); color: white; cursor: pointer; font-weight: 800; transition: background .2s, transform .1s; }
.add-button:hover { background: var(--blue); }
.add-button:active { transform: scale(.98); }
.add-button.needs-size { background: #e9edf3; color: #566173; }
.empty-state { padding: 54px 20px; text-align: center; border: 1px dashed #b6c6da; border-radius: 18px; background: white; }
.empty-state h3 { margin: 0; }
.empty-state p { color: var(--muted); }
.empty-state button { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--blue); color: white; font-weight: 700; cursor: pointer; }

.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 clamp(18px, 4vw, 64px) 64px; background: #bed0e6; border: 1px solid #bed0e6; border-radius: 20px; overflow: hidden; }
.service-strip article { display: flex; gap: 16px; align-items: center; padding: 24px; background: var(--sky); }
.service-strip article > span { font-weight: 900; color: var(--blue); font-size: 1.4rem; }
.service-strip strong { display: block; }
.service-strip p { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }
.site-footer { min-height: 180px; padding: 36px clamp(18px, 4vw, 64px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--blue-ink); color: white; }
.site-footer img { width: 150px; height: 55px; object-fit: contain; justify-self: start; filter: grayscale(1) brightness(3); }
.site-footer p { color: #b8c8dc; }
.site-footer span { justify-self: end; color: #9db0c8; font-size: .8rem; }

.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(5,20,42,.5); backdrop-filter: blur(3px); }
.cart-drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(440px, 100%); padding: 24px; display: flex; flex-direction: column; background: white; box-shadow: 24px 0 70px rgba(0,0,0,.22); transform: translateX(-105%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
.cart-drawer.open { transform: none; visibility: visible; }
.drawer-head, .modal-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2, .modal-head h2 { margin: 4px 0 0; font-size: 1.65rem; }
.close-button { font-size: 1.65rem; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 0; }
.cart-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 74px; height: 74px; object-fit: cover; border-radius: 12px; background: var(--paper); }
.cart-item h3 { margin: 0 0 3px; font-size: .91rem; }
.cart-item p { margin: 0; color: var(--muted); font-size: .75rem; }
.quantity-controls { display: flex; align-items: center; gap: 5px; margin-top: 7px; }
.quantity-controls button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 7px; background: white; cursor: pointer; }
.quantity-controls span { min-width: 22px; text-align: center; font-weight: 800; font-size: .8rem; }
.cart-item-price { text-align: left; }
.cart-item-price strong { display: block; color: var(--blue); font-size: .84rem; white-space: nowrap; }
.remove-item { margin-top: 8px; border: 0; background: none; color: #9a4054; cursor: pointer; font-size: .72rem; }
.cart-empty { margin: auto; text-align: center; max-width: 270px; color: var(--muted); }
.cart-empty svg { width: 64px; margin: 0 auto 16px; fill: none; stroke: #8ea3bd; stroke-width: 2; }
.cart-empty strong { display: block; color: var(--ink); font-size: 1.15rem; }
.cart-empty p { font-size: .88rem; }
.cart-summary { padding-top: 18px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; align-items: center; font-size: 1.08rem; }
.cart-summary strong { font-size: 1.35rem; color: var(--blue); }
.cart-summary p { margin: 4px 0 15px; color: var(--muted); font-size: .75rem; }
.checkout-button, .whatsapp-button { width: 100%; min-height: 52px; border: 0; border-radius: 12px; color: white; font-weight: 850; cursor: pointer; }
.checkout-button { background: var(--blue); }

.checkout-modal { position: fixed; inset: 50% auto auto 50%; z-index: 110; width: min(650px, calc(100% - 28px)); max-height: calc(100vh - 28px); overflow-y: auto; padding: 26px; background: white; border-radius: 22px; box-shadow: var(--shadow); transform: translate(-50%, -46%) scale(.98); opacity: 0; visibility: hidden; transition: .24s; }
.checkout-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.checkout-intro { color: var(--muted); margin: 18px 0; font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 6px; font-weight: 700; font-size: .82rem; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid small { color: var(--muted); font-weight: 500; }
.form-grid input, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; outline: 0; background: var(--paper); resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6,71,159,.1); }
.form-error { padding: 10px 12px; color: #8d2440; background: #fff0f3; border-radius: 10px; font-size: .82rem; }
.checkout-total { display: flex; justify-content: space-between; margin: 18px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.checkout-total strong { color: var(--blue); font-size: 1.2rem; }
.whatsapp-button { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--green); }
.whatsapp-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.toast { position: fixed; right: 50%; bottom: 26px; z-index: 140; transform: translate(50%, 20px); padding: 11px 18px; background: var(--blue-ink); color: white; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .25s; font-size: .87rem; }
.toast.show { opacity: 1; visibility: visible; transform: translate(50%, 0); }

@media (max-width: 1080px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-toolbar { grid-template-columns: 1fr auto; }
  .category-filters { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; }
  .select-wrap { grid-column: 2; grid-row: 1; }
}

@media (max-width: 780px) {
  .topbar { justify-content: center; }
  .topbar a { display: none; }
  .site-header { height: 74px; grid-template-columns: 1fr auto 1fr; padding: 0 16px; }
  .desktop-nav, #searchFocus, .cart-button span { display: none; }
  .menu-toggle { display: grid; justify-self: start; }
  .brand { width: 128px; }
  .brand img { height: 40px; }
  .header-actions { justify-self: end; }
  .cart-button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; position: relative; }
  .cart-button b { position: absolute; top: -5px; left: -5px; min-width: 21px; height: 21px; font-size: .68rem; border: 2px solid white; }
  .mobile-nav { top: 109px; }
  .hero { grid-template-columns: 1fr; min-height: 520px; margin: 14px; }
  .hero-copy { padding: 34px 26px 10px; }
  .hero h1 { font-size: 2.65rem; }
  .hero-visual { min-height: 250px; }
  .hero-visual img { width: 96%; left: -5%; bottom: -17%; }
  .hero-stamp { left: 7%; top: 5%; width: 68px; height: 68px; }
  .shop-section, .deals-section { padding: 54px 14px; }
  .deals-section { margin-top: 36px; }
  .section-heading { align-items: center; }
  .section-heading h2 { font-size: 2rem; }
  .shop-toolbar { grid-template-columns: 1fr; }
  .search-box, .category-filters, .select-wrap { grid-column: 1; grid-row: auto; }
  .select-wrap { min-height: 40px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-info { padding: 13px; }
  .product-info h3 { font-size: .94rem; }
  .product-meta { font-size: .68rem; }
  .size-row > span { width: 100%; }
  .size-button { min-width: 31px; height: 31px; }
  .service-strip { grid-template-columns: 1fr; margin: 0 14px 44px; }
  .site-footer { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .site-footer img, .site-footer span { justify-self: center; }
  .site-footer p { margin: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
}

@media (max-width: 430px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 1.16 / 1; }
  .product-card { display: grid; grid-template-columns: 1fr; }
  .hero { min-height: 495px; }
  .section-heading p { font-size: .76rem; }
  .checkout-modal { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
