/* =========================================================
   MY HOME — Hoja de estilos principal
   Paleta extraída del logo de la marca:
   - Azul marino profundo (fondo / estructura)
   - Rojo (acento principal / urgencia / CTA)
   - Dorado (texto de marca / detalles premium)
   - Verde hoja (frescura / envío / naturaleza)
   ========================================================= */

:root{
  --navy-deep:   #050f24;
  --navy:        #0b1b3b;
  --navy-soft:   #142a52;
  --red:         #e31e24;
  --red-dark:    #a8161b;
  --gold:        #f4b41a;
  --gold-light:  #ffd65c;
  --green:       #3caa46;
  --green-dark:  #2c7d34;
  --cream:       #fdf8ee;
  --paper:       #ffffff;
  --ink:         #1b1f2a;
  --ink-soft:    #5b6274;
  --line:        #e7e1d3;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(11,27,59,0.08);
  --shadow-md: 0 10px 30px rgba(11,27,59,0.14);
  --shadow-lg: 0 20px 50px rgba(5,15,36,0.28);

  --font-display: 'Poppins', 'Montserrat', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; letter-spacing:-0.01em; }
.container{ max-width:1240px; margin:0 auto; padding:0 24px; }
.visually-hidden{ position:absolute; width:1px;height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Skyline motif (signature element, from the logo's "M" building shape) ---------- */
.skyline-divider{
  width:100%; height:34px;
  background: var(--navy);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'><path d='M0,20 L0,10 L10,0 L15,6 L15,20 Z M20,20 L20,4 L25,4 L25,20 Z M32,20 L32,0 L38,7 L44,0 L44,20 Z M55,20 L55,8 L60,3 L65,8 L65,20 Z M75,20 L75,6 L80,0 L85,6 L85,20 Z M95,20 L95,10 L100,5 L105,10 L105,20 Z M112,20 L112,3 L120,3 L120,20 Z' fill='black'/></svg>") repeat-x;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'><path d='M0,20 L0,10 L10,0 L15,6 L15,20 Z M20,20 L20,4 L25,4 L25,20 Z M32,20 L32,0 L38,7 L44,0 L44,20 Z M55,20 L55,8 L60,3 L65,8 L65,20 Z M75,20 L75,6 L80,0 L85,6 L85,20 Z M95,20 L95,10 L100,5 L105,10 L105,20 Z M112,20 L112,3 L120,3 L120,20 Z' fill='black'/></svg>") repeat-x;
  -webkit-mask-size: 240px 34px;
  mask-size: 240px 34px;
}

/* =========================== Top bar =========================== */
.topbar{
  background: var(--navy-deep);
  color: #cfd6e6;
  font-size: 13px;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:8px; padding-bottom:8px; gap:12px; flex-wrap:wrap;
}
.topbar-links{ display:flex; gap:18px; flex-wrap:wrap; }
.topbar-links a{ display:flex; align-items:center; gap:6px; transition:color .15s; }
.topbar-links a:hover{ color: var(--gold-light); }
.topbar-links svg{ width:15px; height:15px; flex:none; }

/* =========================== Header =========================== */
.site-header{
  position: sticky; top:0; z-index:60;
  background: var(--navy);
  box-shadow: var(--shadow-sm);
}
.site-header .container{
  display:flex; align-items:center; gap:20px; padding-top:12px; padding-bottom:12px;
}
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand img{ width:52px; height:52px; border-radius:50%; box-shadow:0 0 0 2px var(--red); }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{ font-family:var(--font-display); color:var(--gold); font-size:20px; font-weight:800; letter-spacing:.02em; }
.brand-text span{ color:#a9b3c9; font-size:11px; letter-spacing:.14em; text-transform:uppercase; }

.main-nav{ display:flex; gap:6px; margin-left:12px; flex-wrap:wrap; flex:1; }
.main-nav a{
  color:#dfe4ef; font-size:14px; font-weight:600; padding:8px 12px; border-radius:var(--radius-sm);
  transition: background .15s, color .15s;
}
.main-nav a:hover{ background: var(--navy-soft); color:var(--gold-light); }

.header-actions{ display:flex; align-items:center; gap:10px; flex:none; }
.icon-btn{
  position:relative; background: var(--navy-soft); color:#fff; width:42px; height:42px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  transition: background .15s, transform .15s;
}
.icon-btn:hover{ background: var(--red); transform: translateY(-1px); }
.icon-btn svg{ width:20px; height:20px; }
.cart-count{
  position:absolute; top:-4px; right:-4px; background: var(--gold); color:var(--navy-deep);
  font-size:11px; font-weight:800; min-width:19px; height:19px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; padding:0 3px;
  border:2px solid var(--navy);
}
.menu-toggle{ display:none; }

/* =========================== Hero =========================== */
.hero{
  position:relative; overflow:hidden;
  background: radial-gradient(1100px 500px at 15% -10%, #1a3163 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color:#fff; padding: 64px 0 0;
}
.hero .container{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:40px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px; background:rgba(60,170,70,0.16); color: var(--green);
  border:1px solid rgba(60,170,70,0.4); padding:6px 14px; border-radius:999px; font-size:12.5px; font-weight:700;
  letter-spacing:.03em; margin-bottom:18px;
}
.hero-eyebrow svg{ width:14px; height:14px; }
.hero h1{ font-size:44px; font-weight:800; line-height:1.08; margin-bottom:18px; }
.hero h1 em{ font-style:normal; color: var(--gold); }
.hero p.lead{ color:#c3cadf; font-size:16.5px; max-width:480px; margin-bottom:28px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }

.btn{
  display:inline-flex; align-items:center; gap:9px; padding:13px 24px; border-radius:999px;
  font-weight:700; font-size:14.5px; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn svg{ width:17px; height:17px; }
.btn-primary{ background: var(--red); color:#fff; box-shadow: 0 8px 20px rgba(227,30,36,0.35); }
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-2px); }
.btn-gold{ background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(244,180,26,0.3); }
.btn-gold:hover{ background: var(--gold-light); transform: translateY(-2px); }
.btn-outline{ background:transparent; border:1.5px solid rgba(255,255,255,0.5); color:#fff; }
.btn-outline:hover{ background:rgba(255,255,255,0.1); }
.btn-green{ background: var(--green); color:#fff; box-shadow: 0 8px 20px rgba(60,170,70,0.3); }
.btn-green:hover{ background: var(--green-dark); transform: translateY(-2px); }
.btn-block{ width:100%; justify-content:center; }
.btn:disabled{ opacity:.5; cursor:not-allowed; transform:none !important; }

.hero-stats{ display:flex; gap:28px; }
.hero-stats div strong{ display:block; font-family:var(--font-display); font-size:26px; color:var(--gold); }
.hero-stats div span{ font-size:12.5px; color:#a9b3c9; }

.hero-art{
  position:relative; display:flex; align-items:center; justify-content:center;
}
.hero-badge{
  background:var(--paper); color:var(--navy); border-radius:var(--radius-lg); padding:26px;
  box-shadow: var(--shadow-lg); width:100%; max-width:360px; position:relative;
  border-bottom:6px solid var(--red);
}
.hero-badge .ship-icon{
  width:56px;height:56px;border-radius:50%; background: var(--green); display:flex; align-items:center; justify-content:center;
  margin-bottom:14px; box-shadow:0 8px 18px rgba(60,170,70,0.35);
}
.hero-badge .ship-icon svg{ width:28px; height:28px; color:#fff; }
.hero-badge h3{ font-size:19px; margin-bottom:6px; }
.hero-badge p{ font-size:13.5px; color: var(--ink-soft); margin:0 0 14px; }
.hero-badge .divider{ height:1px; background:var(--line); margin:14px 0; }
.hero-badge .mini-row{ display:flex; justify-content:space-between; font-size:12.5px; color:var(--ink-soft); }

/* =========================== Sections general =========================== */
.section{ padding: 68px 0; }
.section-head{ text-align:center; max-width:640px; margin:0 auto 40px; }
.section-eyebrow{ color: var(--red); font-weight:800; letter-spacing:.12em; text-transform:uppercase; font-size:12.5px; }
.section-head h2{ font-size:32px; margin:10px 0 12px; color: var(--navy); }
.section-head p{ color: var(--ink-soft); font-size:15.5px; }
.bg-navy{ background: var(--navy); color:#fff; }
.bg-navy .section-head h2{ color:#fff; }
.bg-navy .section-head p{ color:#b7bfd4; }

/* =========================== Category grid (deslizable, estilo carrusel) =========================== */
.cat-scroll-wrap{ position:relative; }
.cat-grid{
  display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x proximity; padding:4px 4px 14px;
  -webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.cat-grid::-webkit-scrollbar{ display:none; }
.cat-card{
  flex:0 0 152px; scroll-snap-align:start;
  background: var(--paper); border-radius: var(--radius-md); padding:22px 14px; text-align:center;
  box-shadow: var(--shadow-sm); border:2px solid transparent; transition: transform .18s, box-shadow .18s, border-color .18s;
  position:relative;
}
.cat-card:hover, .cat-card.active{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.cat-card .cat-icon{
  width:58px; height:58px; border-radius:50%; margin:0 auto 12px; display:flex; align-items:center; justify-content:center;
  color:#fff;
}
.cat-card .cat-icon svg{ width:28px; height:28px; }
.cat-card h4{ font-size:14.5px; color: var(--navy); margin-bottom:4px; }
.cat-card span{ font-size:12px; color: var(--ink-soft); }
.cat-card .soon-tag{
  position:absolute; top:10px; right:10px; background: var(--cream); color:var(--red); font-size:9.5px; font-weight:800;
  padding:2px 7px; border-radius:999px; border:1px solid var(--line); letter-spacing:.04em;
}
.cat-scroll-btn{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5; width:40px; height:40px; border-radius:50%;
  background:var(--paper); box-shadow:var(--shadow-md); display:flex; align-items:center; justify-content:center;
  color:var(--navy); transition: background .15s, opacity .15s; opacity:0.95;
}
.cat-scroll-btn:hover{ background: var(--navy); color:#fff; }
.cat-scroll-btn.prev{ left:-18px; }
.cat-scroll-btn.next{ right:-18px; }
.cat-scroll-btn svg{ width:18px; height:18px; }
.cat-scroll-btn.hidden{ display:none; }
@media (max-width: 640px){
  .cat-scroll-btn{ display:none; }
}

/* =========================== Filters / search =========================== */
.filters-bar{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:30px;
  position:sticky; top:78px; z-index:20; background:var(--cream); padding:12px 0;
}
.chip-row{
  display:flex; gap:8px; flex:1; overflow-x:auto; scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:2px;
}
.chip-row::-webkit-scrollbar{ display:none; }
.chip{
  padding:8px 16px; border-radius:999px; background:var(--paper); border:1.5px solid var(--line); font-size:13.5px;
  font-weight:600; color: var(--ink-soft); transition: all .15s; white-space:nowrap; flex:0 0 auto; scroll-snap-align:start;
}
.chip:hover{ border-color: var(--gold); color:var(--navy); }
.chip.active{ background: var(--navy); border-color: var(--navy); color:#fff; }
.search-box{
  display:flex; align-items:center; gap:8px; background:var(--paper); border:1.5px solid var(--line);
  border-radius:999px; padding:9px 16px; min-width:220px;
}
.search-box svg{ width:16px; height:16px; color:var(--ink-soft); flex:none; }
.search-box input{ border:none; outline:none; font-size:13.5px; width:100%; background:transparent; }

/* =========================== Product grid =========================== */
.product-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:22px;
}
.product-card{
  background: var(--paper); border-radius: var(--radius-md); overflow:hidden; box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column; transition: transform .18s, box-shadow .18s;
}
.product-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media{
  aspect-ratio: 1/1; background: linear-gradient(160deg,#f2ede0,#fff); position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center; cursor:zoom-in;
}
.product-media.zoomable:hover img{ transform: scale(1.06); }
.product-media img{ transition: transform .25s ease; }
.zoom-hint{
  position:absolute; bottom:10px; right:10px; width:32px; height:32px; border-radius:50%;
  background:rgba(11,27,59,0.75); color:#fff; display:flex; align-items:center; justify-content:center;
  opacity:0; transition: opacity .15s;
}
.product-media:hover .zoom-hint{ opacity:1; }

/* =========================== Image zoom lightbox =========================== */
.zoom-overlay{
  position:fixed; inset:0; background:rgba(5,15,36,0.88); z-index:150; display:none;
  align-items:center; justify-content:center; padding:30px;
}
.zoom-overlay.show{ display:flex; }
.zoom-close{
  position:absolute; top:22px; right:26px; background:rgba(255,255,255,0.12); color:#fff; width:44px; height:44px;
  border-radius:50%; display:flex; align-items:center; justify-content:center; transition:background .15s;
}
.zoom-close:hover{ background:rgba(255,255,255,0.25); }
.zoom-box{
  max-width:720px; width:100%; background:var(--paper); border-radius:var(--radius-lg); overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.zoom-media{
  width:100%; aspect-ratio:1/1; background:linear-gradient(160deg,#f2ede0,#fff);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.zoom-media img{ width:100%; height:100%; object-fit:contain; }
.zoom-placeholder{ display:none; color:var(--navy-soft); opacity:.5; align-items:center; justify-content:center; }
.zoom-info{ padding:20px 26px 26px; text-align:center; }
.zoom-info h3{ font-size:19px; color:var(--navy); margin-bottom:8px; }
.zoom-price{ font-family:var(--font-display); font-size:26px; font-weight:800; color:var(--red); }
@media (max-width:640px){
  .zoom-overlay{ padding:14px; }
  .zoom-close{ top:10px; right:10px; }
}
.product-media img{ width:100%; height:100%; object-fit:cover; }
.product-media .ph-icon{ width:74px; height:74px; color: var(--navy-soft); opacity:.5; }
.stock-badge{
  position:absolute; top:10px; left:10px; font-size:10.5px; font-weight:800; padding:4px 9px; border-radius:999px;
  letter-spacing:.03em;
}
.stock-badge.ok{ background: rgba(60,170,70,0.14); color: var(--green-dark); }
.stock-badge.low{ background: rgba(244,180,26,0.18); color:#8a5c00; }
.sub-badge{
  position:absolute; bottom:10px; left:10px; background:rgba(11,27,59,0.85); color:#fff; font-size:10px;
  padding:3px 9px; border-radius:999px; font-weight:600;
}
.product-info{ padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-info h4{ font-size:14.5px; color: var(--navy); font-weight:700; line-height:1.3; min-height:38px; }
.product-desc{ font-size:12px; color: var(--ink-soft); line-height:1.4; margin:-2px 0 2px; }
.product-code{ font-size:11px; color: var(--ink-soft); opacity:.75; font-family: monospace; margin:-2px 0 2px; }
.product-price{ font-family:var(--font-display); font-size:20px; font-weight:800; color: var(--red); }
.product-foot{ margin-top:auto; display:flex; align-items:center; gap:8px; }
.qty-stepper{
  display:flex; align-items:center; border:1.5px solid var(--line); border-radius:999px; overflow:hidden; flex:none;
}
.qty-stepper button{ background:var(--cream); width:28px; height:32px; font-weight:800; color:var(--navy); }
.qty-stepper span{ width:26px; text-align:center; font-size:13px; font-weight:700; }
.add-btn{
  flex:1; background: var(--navy); color:#fff; border-radius:999px; padding:9px 10px; font-size:13px; font-weight:700;
  display:flex; align-items:center; justify-content:center; gap:6px; transition: background .15s;
}
.add-btn:hover{ background: var(--red); }
.add-btn svg{ width:15px; height:15px; }

.empty-cat{
  text-align:center; padding:60px 20px; background:var(--paper); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm);
}
.empty-cat .leaf-wrap{
  width:70px;height:70px;border-radius:50%; background: rgba(60,170,70,0.12); display:flex; align-items:center; justify-content:center;
  margin:0 auto 18px;
}
.empty-cat .leaf-wrap svg{ width:32px;height:32px; color:var(--green-dark); }
.empty-cat h3{ color:var(--navy); font-size:19px; margin-bottom:8px; }
.empty-cat p{ color:var(--ink-soft); font-size:14px; max-width:420px; margin:0 auto 20px; }

/* =========================== Free shipping banner =========================== */
.ship-banner{
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  color:#fff; padding:14px 0;
}
.ship-banner .container{ display:flex; align-items:center; justify-content:center; gap:10px; font-size:14px; font-weight:700; text-align:center; flex-wrap:wrap; }
.ship-banner svg{ width:18px; height:18px; }

/* =========================== Location =========================== */
.location-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:34px; align-items:stretch; }
.map-frame{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); border:4px solid var(--paper); min-height:340px; }
.map-frame iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }
.location-info{ background: var(--paper); border-radius:var(--radius-lg); padding:30px; box-shadow: var(--shadow-sm); }
.info-row{ display:flex; gap:14px; margin-bottom:20px; }
.info-row .ic{
  width:42px;height:42px;border-radius:50%; background: var(--cream); color:var(--red); display:flex; align-items:center; justify-content:center; flex:none;
}
.info-row .ic svg{ width:20px;height:20px; }
.info-row h4{ font-size:14.5px; color:var(--navy); margin-bottom:3px; }
.info-row p, .info-row a{ font-size:13.5px; color: var(--ink-soft); }
.info-row a:hover{ color:var(--red); }

/* =========================== Footer =========================== */
.site-footer{ background: var(--navy-deep); color:#a9b3c9; padding: 50px 0 24px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:32px; margin-bottom:30px; }
.footer-grid h4{ color:#fff; font-size:15px; margin-bottom:16px; }
.footer-brand p{ font-size:13.5px; line-height:1.6; max-width:280px; }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.footer-grid ul a{ font-size:13.5px; transition:color .15s; }
.footer-grid ul a:hover{ color: var(--gold-light); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.1); padding-top:20px; font-size:12.5px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* =========================== Cart drawer =========================== */
.overlay{ position:fixed; inset:0; background:rgba(5,15,36,0.55); backdrop-filter: blur(2px); z-index:90; opacity:0; pointer-events:none; transition: opacity .25s; }
.overlay.show{ opacity:1; pointer-events:auto; }

.cart-drawer{
  position:fixed; top:0; right:0; height:100%; width:420px; max-width:92vw; background:var(--paper); z-index:100;
  box-shadow: -10px 0 40px rgba(0,0,0,0.25); transform: translateX(100%); transition: transform .3s ease; display:flex; flex-direction:column;
}
.cart-drawer.show{ transform: translateX(0); }
.cart-head{ padding:20px 22px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:space-between; }
.cart-head h3{ font-size:17px; display:flex; align-items:center; gap:8px; }
.cart-head button{ background:transparent; color:#fff; opacity:.8; }
.cart-head button:hover{ opacity:1; }
.cart-progress-wrap{ padding:16px 22px 0; }
.cart-progress-msg{ font-size:12.5px; color:var(--ink-soft); margin-bottom:8px; display:flex; align-items:center; gap:6px; }
.cart-progress-msg svg{ width:15px;height:15px; color:var(--green-dark); flex:none; }
.progress-track{ height:8px; border-radius:999px; background:var(--line); overflow:hidden; }
.progress-fill{ height:100%; background: linear-gradient(90deg,var(--green-dark),var(--green)); border-radius:999px; transition: width .3s; }

.cart-items{ flex:1; overflow-y:auto; padding:18px 22px; display:flex; flex-direction:column; gap:14px; }
.cart-item{ display:flex; gap:12px; align-items:flex-start; }
.cart-item img{ width:58px; height:58px; border-radius:10px; object-fit:cover; background:var(--cream); flex:none; }
.cart-item .ci-ph{ width:58px;height:58px;border-radius:10px; background:var(--cream); display:flex; align-items:center; justify-content:center; color:var(--navy-soft); flex:none; }
.cart-item .ci-ph svg{ width:26px;height:26px; }
.cart-item-info{ flex:1; min-width:0; }
.cart-item-info h5{ font-size:13.5px; color:var(--navy); font-weight:700; margin-bottom:2px; }
.cart-item-info .ci-price{ font-size:13px; color:var(--red); font-weight:700; }
.cart-item-actions{ display:flex; align-items:center; justify-content:space-between; margin-top:6px; }
.remove-btn{ background:transparent; color:var(--ink-soft); font-size:12px; text-decoration:underline; }
.remove-btn:hover{ color:var(--red); }
.cart-empty{ text-align:center; padding:50px 20px; color:var(--ink-soft); }
.cart-empty svg{ width:52px;height:52px; color:var(--line); margin:0 auto 14px; }

.cart-summary{ padding:18px 22px 22px; border-top:1px solid var(--line); background:var(--cream); }
.sum-row{ display:flex; justify-content:space-between; font-size:13.5px; color:var(--ink-soft); margin-bottom:8px; }
.sum-row.total{ font-size:17px; font-weight:800; color:var(--navy); margin-top:10px; padding-top:10px; border-top:1px dashed var(--line); }
.sum-row.total span:last-child{ color:var(--red); }

/* =========================== Checkout modal =========================== */
.modal-overlay{ position:fixed; inset:0; background:rgba(5,15,36,0.6); z-index:110; display:none; align-items:flex-start; justify-content:center; overflow-y:auto; padding:40px 16px; }
.modal-overlay.show{ display:flex; }
.modal-box{ background:var(--paper); border-radius:var(--radius-lg); width:100%; max-width:520px; box-shadow:var(--shadow-lg); overflow:hidden; }
.modal-head{ background:var(--navy); color:#fff; padding:20px 26px; display:flex; align-items:center; justify-content:space-between; }
.modal-head h3{ font-size:18px; }
.modal-head button{ background:transparent; color:#fff; opacity:.8; }
.modal-body{ padding:26px; }
.form-row{ margin-bottom:16px; }
.form-row label{ display:block; font-size:12.5px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.form-row input, .form-row select{
  width:100%; padding:11px 13px; border-radius:10px; border:1.5px solid var(--line); font-size:14px; font-family:inherit; outline:none; transition:border-color .15s;
}
.form-row input:focus, .form-row select:focus{ border-color: var(--gold); }
.form-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.pay-icons{ display:flex; gap:8px; margin-bottom:14px; }
.pay-icons span{ background:var(--cream); border:1px solid var(--line); border-radius:6px; padding:5px 10px; font-size:11px; font-weight:800; color:var(--ink-soft); }
.note-box{ background:var(--cream); border:1px dashed var(--line); border-radius:10px; padding:12px 14px; font-size:12px; color:var(--ink-soft); margin-top:16px; display:flex; gap:8px; }
.note-box svg{ width:16px;height:16px; flex:none; color:var(--gold); }

.order-success{ text-align:center; padding:10px 6px 4px; }
.order-success .ok-circle{ width:70px;height:70px; border-radius:50%; background:rgba(60,170,70,0.14); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; }
.order-success .ok-circle svg{ width:34px;height:34px; color:var(--green-dark); }
.order-success h3{ font-size:20px; color:var(--navy); margin-bottom:8px; }
.order-success p{ color:var(--ink-soft); font-size:14px; margin-bottom:22px; }
.order-num{ background:var(--cream); border-radius:10px; padding:12px; font-weight:800; letter-spacing:.05em; color:var(--navy); margin-bottom:20px; }

/* toast */
.toast{
  position:fixed; bottom:26px; left:50%; transform: translateX(-50%) translateY(20px); background:var(--navy); color:#fff;
  padding:13px 22px; border-radius:999px; font-size:13.5px; font-weight:600; box-shadow:var(--shadow-lg); z-index:130;
  display:flex; align-items:center; gap:9px; opacity:0; pointer-events:none; transition: all .25s;
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }
.toast svg{ width:17px;height:17px; color:var(--green); }

/* =========================== Social media =========================== */
.social-row{ display:flex; gap:10px; margin-top:6px; flex-wrap:wrap; }
.social-btn{
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: var(--cream); color: var(--navy); border:1px solid var(--line); transition: background .15s, color .15s, transform .15s;
}
.social-btn svg{ width:18px; height:18px; }
.social-btn:hover{ background: var(--red); color:#fff; transform: translateY(-2px); }
.social-btn.on-dark{ background: rgba(255,255,255,0.08); color:#fff; border:1px solid rgba(255,255,255,0.16); }
.social-btn.on-dark:hover{ background: var(--red); }

/* =========================== Announcement banners =========================== */
.hours-banner{
  background: var(--gold); color: var(--navy-deep); padding:16px 0;
}
.hours-banner .container{ display:flex; align-items:center; justify-content:center; gap:10px; text-align:center; flex-wrap:wrap; }
.hours-banner svg{ width:22px; height:22px; flex:none; }
.hours-banner strong{ font-family:var(--font-display); font-size:17px; }
.hours-banner span{ font-size:13.5px; opacity:.85; }

.soon-banner{
  background: var(--navy-deep); color:#fff; padding:13px 0; border-top:1px solid rgba(255,255,255,0.08); border-bottom:1px solid rgba(255,255,255,0.08);
}
.soon-banner .container{ display:flex; align-items:center; justify-content:center; gap:10px; text-align:center; flex-wrap:wrap; font-size:13.5px; }
.soon-banner svg{ width:16px; height:16px; color: var(--gold); flex:none; }
.soon-banner b{ color: var(--gold-light); letter-spacing:.03em; }

.xmas-banner{
  display:block; background: linear-gradient(90deg, #8a1418, var(--red)); color:#fff; padding:14px 0; text-decoration:none;
  transition: filter .15s;
}
.xmas-banner:hover{ filter: brightness(1.08); }
.xmas-banner .container{ display:flex; align-items:center; justify-content:center; gap:10px; text-align:center; flex-wrap:wrap; }
.xmas-banner svg{ width:20px; height:20px; flex:none; }
.xmas-banner strong{ font-family:var(--font-display); font-size:14.5px; }
.xmas-banner span{ font-size:12.5px; opacity:.85; }

.promo-banner{ background: var(--navy); color:#fff; padding:14px 0; }
.promo-banner .container{ display:flex; align-items:center; justify-content:center; gap:14px; text-align:center; flex-wrap:wrap; }
.promo-banner svg{ width:20px; height:20px; flex:none; color: var(--gold); }
.promo-banner .promo-text{ font-size:13px; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.promo-banner .promo-text strong{ color: var(--gold-light); }
.promo-banner .promo-tag{
  background: var(--red); color:#fff; font-size:10.5px; font-weight:800; letter-spacing:.03em;
  padding:4px 10px; border-radius:999px; white-space:nowrap;
}

/* =========================== Delivery method (checkout) =========================== */
.delivery-toggle{ display:flex; gap:10px; margin-bottom:18px; }
.delivery-option{
  flex:1; border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; cursor:pointer; transition: all .15s; text-align:left; background:#fff;
}
.delivery-option svg{ width:18px; height:18px; color:var(--navy-soft); margin-bottom:6px; }
.delivery-option strong{ display:block; font-size:13px; color:var(--navy); }
.delivery-option span{ display:block; font-size:11.5px; color:var(--ink-soft); margin-top:2px; }
.delivery-option.active{ border-color: var(--red); background: rgba(227,30,36,0.05); }
.delivery-option.active svg{ color: var(--red); }
.delivery-option.active strong{ color: var(--red); }

/* =========================== Responsive =========================== */
@media (max-width: 1080px){
  .cat-grid{ grid-template-columns: repeat(3,1fr); }
  .product-grid{ grid-template-columns: repeat(3,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-art{ order:-1; }
  .location-grid{ grid-template-columns:1fr; }
  .main-nav{ display:none; }
}
@media (max-width: 640px){
  .cat-grid{ grid-template-columns: repeat(2,1fr); }
  .product-grid{ grid-template-columns: repeat(2,1fr); }
  .hero h1{ font-size:32px; }
  .topbar .container{ justify-content:center; text-align:center; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .filters-bar{ top:70px; }
  .cart-drawer{ width:100%; }
}
@media (max-width: 460px){
  .cat-grid{ grid-template-columns: repeat(2,1fr); }
  .product-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; }
}

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