
:root{
  --blue:#06388f;
  --blue-dark:#03245f;
  --blue-soft:#eaf1ff;
  --yellow:#ffd100;
  --green:#18a83d;
  --red:#e62222;
  --ink:#0d1b3d;
  --muted:#68738c;
  --line:#e4e8f0;
  --surface:#ffffff;
  --bg:#f4f7fb;
  --shadow:0 14px 35px rgba(8,30,76,.12);
  --radius:20px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--ink);
}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
img{max-width:100%;display:block}
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:linear-gradient(135deg,var(--blue-dark),var(--blue));
  box-shadow:0 8px 25px rgba(2,25,75,.22);
}
.topbar-inner{
  max-width:1460px;
  min-height:108px;
  margin:auto;
  padding:12px 28px;
  display:grid;
  grid-template-columns:280px minmax(320px,1fr) auto auto;
  gap:26px;
  align-items:center;
}
.brand img{
  width:260px;
  height:90px;
  object-fit:contain;
  filter:drop-shadow(0 6px 5px rgba(0,0,0,.28));
}
.search-box{
  display:grid;
  grid-template-columns:1fr 60px;
  background:#fff;
  border-radius:13px;
  overflow:hidden;
  box-shadow:0 5px 18px rgba(0,0,0,.16);
}
.search-box input{
  border:0;
  padding:18px 22px;
  outline:none;
  color:var(--ink);
}
.search-box button{
  border:0;
  background:#0a54cc;
  color:#fff;
  font-size:27px;
}
.whatsapp-top{
  color:#fff;
  display:flex;
  align-items:center;
  gap:11px;
  white-space:nowrap;
}
.whatsapp-top small{display:block;opacity:.85}
.whatsapp-top strong{font-size:19px}
.wa-icon{
  width:46px;height:46px;border-radius:50%;
  background:#14c84d;display:grid;place-items:center;
  font-size:25px;border:3px solid #fff;
}
.cart-button{
  position:relative;
  color:#fff;
  background:transparent;
  border:0;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:16px;
}
.cart-button b{
  position:absolute;right:-8px;top:-12px;
  min-width:24px;height:24px;border-radius:30px;
  display:grid;place-items:center;
  background:var(--yellow);color:#00194f;font-size:12px;
}
.nav{
  background:#fff;
  max-width:1460px;
  margin:0 auto;
  border-radius:16px 16px 0 0;
  padding:0 26px;
  display:flex;
  justify-content:center;
  gap:12px;
}
.nav a{
  padding:18px 25px;
  font-size:14px;
  text-transform:uppercase;
  font-weight:900;
  letter-spacing:.03em;
  border-bottom:4px solid transparent;
}
.nav a:hover,.nav a.active{
  color:var(--blue);
  border-bottom-color:var(--yellow);
}
main{max-width:1460px;margin:auto;padding:18px 28px 70px}
.hero{
  min-height:450px;
  border-radius:24px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1.2fr .85fr .55fr;
  align-items:center;
  gap:28px;
  padding:44px 38px;
  background:
    radial-gradient(circle at 46% 10%,rgba(29,117,255,.8),transparent 30%),
    linear-gradient(100deg,#01235e 0%,#06449c 55%,#03163c 100%);
  box-shadow:var(--shadow);
  color:#fff;
}
.eyebrow{
  display:inline-flex;
  font-size:13px;
  font-weight:900;
  letter-spacing:.12em;
  opacity:.9;
  margin-bottom:12px;
}
.eyebrow.dark{color:var(--blue)}
.hero h1{
  font-size:62px;line-height:.96;margin:0 0 20px;
  text-transform:uppercase;letter-spacing:-.04em;
}
.hero mark{background:transparent;color:var(--yellow)}
.hero p{font-size:20px;line-height:1.45;max-width:630px;color:#e5edff}
.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:26px}
.primary-button,.secondary-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 24px;border-radius:12px;
  border:0;font-weight:900;
}
.primary-button{background:var(--yellow);color:#07163c;box-shadow:0 8px 20px rgba(255,209,0,.22)}
.secondary-button{background:#fff;color:var(--blue)}
.hero-benefits{display:flex;gap:24px;flex-wrap:wrap;margin-top:30px;font-weight:700;font-size:14px}
.hero-visual{min-width:0}
.promo-card{
  position:relative;
  width:100%;
  max-width:430px;
  margin:auto;
  border-radius:22px;
  overflow:hidden;
  transform:rotate(-1.5deg);
  box-shadow:0 22px 45px rgba(0,0,0,.35);
  border:6px solid rgba(255,255,255,.95);
}
.promo-card img{aspect-ratio:4/5;object-fit:cover}
.promo-overlay{
  position:absolute;left:12px;right:12px;bottom:12px;
  padding:14px 16px;border-radius:14px;
  background:rgba(0,31,91,.88);
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  backdrop-filter:blur(6px);
}
.promo-overlay span{font-weight:900}
.promo-overlay a{background:var(--yellow);color:#06153a;padding:9px 12px;border-radius:8px;font-weight:900;font-size:13px}
.location-stack{display:flex;flex-direction:column;gap:18px}
.location-card{
  padding:22px;border-radius:18px;
  display:flex;gap:14px;align-items:flex-start;
  box-shadow:0 13px 28px rgba(0,0,0,.2);
}
.location-card.blue{background:#073786}
.location-card.green{background:#0ba62d}
.location-card span{font-size:28px}
.location-card strong{display:block;font-size:18px}
.location-card small{display:block;margin-top:5px;line-height:1.4;color:#eef4ff}
.category-strip{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(8,1fr);
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 8px 25px rgba(15,35,77,.08);
}
.category-card{
  border:0;border-right:1px solid var(--line);
  background:#fff;
  padding:17px 10px;
  display:flex;flex-direction:column;gap:8px;align-items:center;
  font-weight:900;color:var(--ink);
}
.category-card:last-child{border-right:0}
.category-card:hover,.category-card.active{background:var(--blue-soft);color:var(--blue)}
.category-card .category-emoji{font-size:31px}
.catalog-section{padding-top:52px}
.section-heading{
  display:flex;align-items:end;justify-content:space-between;gap:22px;
  margin-bottom:22px;
}
.section-heading h2{font-size:38px;margin:0 0 4px;letter-spacing:-.03em}
.section-heading p{margin:0;color:var(--muted)}
.catalog-controls{display:flex;gap:10px}
.catalog-controls select{
  border:1px solid var(--line);background:#fff;color:var(--ink);
  border-radius:12px;padding:13px 42px 13px 15px;outline:none;
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
}
.product-card{
  position:relative;
  background:#fff;border:1px solid var(--line);
  border-radius:17px;overflow:hidden;
  box-shadow:0 8px 22px rgba(20,41,85,.07);
  display:flex;flex-direction:column;
  min-height:360px;
  transition:.2s ease;
}
.product-card:hover{transform:translateY(-5px);box-shadow:0 18px 34px rgba(20,41,85,.14)}
.product-image{
  height:145px;display:grid;place-items:center;
  background:linear-gradient(145deg,#f6f8ff,#eaf0ff);
  font-size:72px;
}
.product-body{padding:17px;display:flex;flex-direction:column;flex:1}
.product-category{
  color:var(--blue);font-weight:900;font-size:11px;letter-spacing:.08em;text-transform:uppercase;
}
.product-card h3{
  margin:8px 0 5px;font-size:17px;line-height:1.2;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.product-meta{font-size:13px;color:var(--muted);margin:0 0 13px}
.price{font-weight:950;font-size:20px;margin-top:auto}
.status{
  display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;margin:8px 0 12px;
}
.status::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--green)}
.status.low{color:#9b6900}.status.low::before{background:#f1b800}
.status.out{color:#b32121}.status.out::before{background:#e23333}
.add-button{
  border:1px solid #cbd5ea;
  background:#fff;color:var(--blue);
  font-weight:900;border-radius:10px;padding:11px;
}
.add-button:hover{background:var(--blue);color:#fff}
.add-button:disabled{cursor:not-allowed;background:#eee;color:#999;border-color:#ddd}
.load-more-wrap{text-align:center;margin-top:28px}
.dark-button{border:1px solid var(--blue);background:#fff}
.offer-section{
  margin-top:70px;padding:40px;
  display:grid;grid-template-columns:1fr 350px;align-items:center;gap:45px;
  background:linear-gradient(135deg,#064111,#11a72e);
  border-radius:24px;color:#fff;overflow:hidden;
}
.offer-section h2{font-size:42px;margin:0 0 12px}
.offer-section p{font-size:18px;line-height:1.55;max-width:700px;color:#e8ffed}
.offer-section img{
  width:280px;height:280px;object-fit:cover;border-radius:28px;
  margin:auto;transform:rotate(4deg);border:7px solid #fff;
  box-shadow:0 20px 35px rgba(0,0,0,.25);
}
.about-section{
  margin-top:28px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.info-card{
  background:#fff;border:1px solid var(--line);border-radius:17px;padding:25px;
}
.info-card span{font-size:32px}
.info-card h3{margin:12px 0 5px}
.info-card p{margin:0;color:var(--muted);line-height:1.5}
footer{
  background:#041f51;color:#fff;
  padding:48px max(28px,calc((100vw - 1404px)/2));
  display:grid;grid-template-columns:1.2fr .6fr 1fr;gap:50px;
}
footer img{width:250px;height:100px;object-fit:contain}
footer h3{color:var(--yellow)}
footer a,footer p{display:block;color:#dbe5ff;line-height:1.6;margin:5px 0}
.floating-wa{
  position:fixed;right:24px;bottom:24px;z-index:40;
  width:60px;height:60px;border-radius:50%;border:4px solid #fff;
  background:#16b542;color:#fff;font-size:28px;
  box-shadow:0 12px 28px rgba(0,0,0,.25);
}
.cart-panel{
  position:fixed;right:0;top:0;bottom:0;width:min(430px,100vw);
  z-index:100;background:#fff;box-shadow:-15px 0 45px rgba(0,0,0,.2);
  transform:translateX(105%);transition:.25s ease;
  display:flex;flex-direction:column;
}
.cart-panel.open{transform:translateX(0)}
.cart-header{
  padding:22px;background:var(--blue);color:#fff;
  display:flex;justify-content:space-between;align-items:center;
}
.cart-header small{opacity:.8}.cart-header h2{margin:2px 0 0}
.cart-header button{background:transparent;border:0;color:#fff;font-size:22px}
.cart-items{padding:18px;overflow:auto;display:flex;flex-direction:column;gap:12px}
.cart-item{border:1px solid var(--line);border-radius:13px;padding:13px}
.cart-item strong{display:block;padding-right:20px}
.cart-item small{color:var(--muted)}
.cart-item-actions{margin-top:10px;display:flex;align-items:center;justify-content:space-between}
.quantity{display:flex;align-items:center;gap:9px}
.quantity button{width:30px;height:30px;border:1px solid var(--line);background:#fff;border-radius:8px}
.remove{border:0;background:transparent;color:#c92d2d;font-weight:900}
.cart-empty{margin:auto;text-align:center;color:var(--muted)}
.cart-empty span{font-size:60px}
.cart-footer{padding:18px;border-top:1px solid var(--line);margin-top:auto}
.cart-footer p{color:var(--muted);font-size:13px}
.full{width:100%}
.overlay{
  position:fixed;inset:0;background:rgba(2,13,43,.55);z-index:90;
  opacity:0;pointer-events:none;transition:.25s;
}
.overlay.show{opacity:1;pointer-events:auto}
.no-results{
  grid-column:1/-1;text-align:center;background:#fff;border-radius:18px;
  padding:50px;color:var(--muted);
}
@media (max-width:1180px){
  .topbar-inner{grid-template-columns:230px 1fr auto}
  .whatsapp-top{display:none}
  .brand img{width:220px}
  .hero{grid-template-columns:1fr .8fr}
  .location-stack{grid-column:1/-1;flex-direction:row}
  .location-card{flex:1}
  .product-grid{grid-template-columns:repeat(4,1fr)}
  .category-strip{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:850px){
  .topbar-inner{grid-template-columns:1fr auto;padding:9px 16px;gap:12px}
  .brand img{width:190px;height:70px}
  .search-box{grid-column:1/-1;grid-row:2}
  .cart-button span{display:none}
  .nav{overflow:auto;justify-content:flex-start;padding:0 12px}
  .nav a{white-space:nowrap;padding:14px 16px}
  main{padding:14px 14px 45px}
  .hero{grid-template-columns:1fr;padding:32px 24px}
  .hero h1{font-size:46px}
  .hero-visual{display:none}
  .location-stack{grid-column:auto;flex-direction:column}
  .category-strip{grid-template-columns:repeat(4,1fr)}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .section-heading{align-items:stretch;flex-direction:column}
  .catalog-controls{display:grid;grid-template-columns:1fr 1fr}
  .offer-section{grid-template-columns:1fr}
  .offer-section img{display:none}
  .about-section{grid-template-columns:repeat(2,1fr)}
  footer{grid-template-columns:1fr}
}
@media (max-width:520px){
  .hero h1{font-size:38px}
  .hero p{font-size:17px}
  .hero-actions{display:grid}
  .category-strip{grid-template-columns:repeat(2,1fr)}
  .product-grid{grid-template-columns:1fr 1fr;gap:9px}
  .product-card{min-height:330px}
  .product-image{height:115px;font-size:58px}
  .product-body{padding:12px}
  .product-card h3{font-size:14px}
  .catalog-controls{grid-template-columns:1fr}
  .about-section{grid-template-columns:1fr}
}
