/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #faf8f0; color: #1a1a1a; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== VARIABLES ===== */
:root {
  --yellow: #F5C842;
  --yellow-light: #FFD95A;
  --yellow-dark: #D9A800;
  --carbon: #3D3D3D;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --light-gray: #faf8f0;
  --yellow-soft: #fffbe8;
  --white: #ffffff;
  --border: #e8e2cc;
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --radius: 12px;
  --radius-sm: 8px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ===== HEADER TOP ===== */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: var(--shadow); }
.header-top { background: var(--carbon); color: #ccc; font-size: 12px; padding: 6px 0; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }

/* ===== HEADER MAIN ===== */
.header-main { padding: 14px 0; border-bottom: 1px solid var(--border); background: var(--white); }
.header-inner { display: flex; align-items: center; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; }
.logo-name { display: block; font-size: 20px; font-weight: 800; color: var(--dark); line-height: 1; }
.logo-sub { display: block; font-size: 11px; color: var(--carbon); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.search-bar { flex: 1; display: flex; max-width: 520px; border: 2px solid var(--border); border-radius: 50px; overflow: hidden; transition: border-color .2s; }
.search-bar:focus-within { border-color: var(--yellow-dark); }
.search-bar input { flex: 1; padding: 10px 18px; font-size: 14px; outline: none; border: none; background: var(--white); }
.search-bar button { background: var(--yellow); color: var(--dark); padding: 10px 18px; font-size: 16px; transition: background .2s; font-weight: 700; }
.search-bar button:hover { background: var(--yellow-light); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-icon { position: relative; font-size: 22px; padding: 8px; border-radius: 50%; transition: background .2s; }
.btn-icon:hover { background: var(--light-gray); }
.badge { position: absolute; top: 0; right: 0; background: var(--carbon); color: var(--yellow); font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.btn-account { background: var(--yellow); color: var(--dark); padding: 9px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; transition: background .2s; }
.btn-account:hover { background: var(--yellow-light); }

/* ===== NAV ===== */
.nav { background: var(--white); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; gap: 4px; padding: 0; overflow-x: auto; }
.nav-link { padding: 12px 16px; font-size: 13px; font-weight: 500; color: var(--gray); border-bottom: 3px solid transparent; white-space: nowrap; transition: all .2s; }
.nav-link:hover, .nav-link.active { color: var(--dark); border-bottom-color: var(--yellow); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background: #1a1a1a;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('frente.jpeg') center center / cover no-repeat;
  opacity: .28;
  filter: grayscale(20%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,.75) 0%, rgba(61,61,61,.55) 50%, rgba(26,26,26,.75) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; background: var(--yellow); color: var(--dark); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.hero h1 { font-size: 52px; font-weight: 800; color: white; line-height: 1.1; margin-bottom: 16px; }
.hero h1 .highlight { color: var(--yellow); }
.hero p { color: #bbb; font-size: 16px; line-height: 1.6; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; margin-bottom: 36px; }
.btn-primary { background: var(--yellow); color: var(--dark); padding: 12px 26px; border-radius: 50px; font-size: 14px; font-weight: 700; transition: all .2s; }
.btn-primary:hover { background: var(--yellow-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,200,66,.45); }
.btn-secondary { background: transparent; color: white; padding: 12px 26px; border-radius: 50px; font-size: 14px; font-weight: 600; border: 2px solid rgba(255,255,255,.3); transition: all .2s; }
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.hero-stats { display: flex; gap: 28px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { color: var(--yellow); font-size: 20px; font-weight: 800; }
.hero-stats span { color: #888; font-size: 12px; }

.hero-image { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; }

/* ===== STORE CIRCLE ===== */
.store-circle-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* anillo exterior giratorio */
.store-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ring-outer {
  width: 408px; height: 408px;
  border: 3px dashed rgba(245,200,66,.5);
  animation: spinRing 12s linear infinite;
}
.ring-mid {
  width: 386px; height: 386px;
  border: 2px solid rgba(245,200,66,.15);
  animation: pulseRing 2.8s ease-in-out infinite;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulseRing {
  0%, 100% { transform: scale(1);    opacity: .3; }
  50%       { transform: scale(1.05); opacity: .8; }
}

/* imagen circular */
.store-circle {
  width: 360px; height: 360px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 4px solid var(--yellow);
  box-shadow: 0 0 0 6px rgba(245,200,66,.15), 0 16px 48px rgba(0,0,0,.5);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s;
}
.store-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.store-circle:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 8px rgba(245,200,66,.3), 0 24px 60px rgba(0,0,0,.6);
}
.store-circle:hover img { transform: scale(1.1); }

/* overlay al hover */
.store-circle-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(26,26,26,.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity .35s;
  backdrop-filter: blur(4px);
}
.store-circle:hover .store-circle-overlay { opacity: 1; }
.store-circle-overlay i    { font-size: 28px; color: var(--yellow); }
.store-circle-overlay span { color: white; font-size: 15px; font-weight: 700; }
.store-circle-overlay small{ color: #ccc; font-size: 12px; text-align: center; line-height: 1.5; }

/* badges flotantes */
.store-badge {
  position: absolute;
  background: var(--yellow);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  white-space: nowrap;
  animation: floatBadge 3s ease-in-out infinite;
}
.badge-top    { top: 10px;    right: -10px; animation-delay: 0s; }
.badge-bottom { bottom: 10px; left: -10px;  animation-delay: 1.5s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* ===== QUICK CATEGORIES ===== */
.quick-cats { padding: 32px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.cats-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: var(--radius); border: 2px solid var(--border); background: var(--white); transition: all .2s; font-size: 13px; font-weight: 500; color: var(--dark); }
.cat-card:hover { border-color: var(--yellow); background: var(--yellow-soft); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-emoji { font-size: 28px; }

/* ===== OFFERS BANNER ===== */
.offers-banner { padding: 40px 0; }
.banner-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.banner-card { border-radius: var(--radius); padding: 28px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; position: relative; }
.banner-card > div { z-index: 1; }
.banner-orange { background: linear-gradient(135deg, var(--carbon), #555); color: white; }
.banner-blue { background: linear-gradient(135deg, #1e3a5f, #2563eb); color: white; }
.banner-green { background: linear-gradient(135deg, #14532d, #16a34a); color: white; }
.banner-tag { display: inline-block; background: rgba(255,255,255,.25); font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.banner-orange .banner-tag { background: var(--yellow); color: var(--dark); }
.banner-card h3 { font-size: 20px; font-weight: 800; line-height: 1.2; margin-bottom: 6px; }
.banner-card p { font-size: 13px; opacity: .85; margin-bottom: 14px; }
.banner-emoji { font-size: 64px; opacity: .6; flex-shrink: 0; }
.btn-white { background: white; color: var(--dark); padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; transition: all .2s; }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow); background: var(--yellow); }
.banner-orange .btn-white { background: var(--yellow); }
.banner-orange .btn-white:hover { background: var(--yellow-light); }

/* ===== PRODUCTS ===== */
.products-section { padding: 40px 0 60px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-header h2 { font-size: 26px; font-weight: 800; }
.section-header p { color: var(--gray); font-size: 13px; margin-top: 2px; }
.sort-bar select { padding: 9px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-family: inherit; outline: none; cursor: pointer; background: white; }
.sort-bar select:focus { border-color: var(--yellow-dark); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--yellow); }
.product-img { background: var(--light-gray); height: 180px; display: flex; align-items: center; justify-content: center; font-size: 72px; position: relative; }
.product-tag { position: absolute; top: 10px; left: 10px; background: var(--carbon); color: var(--yellow); font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 50px; text-transform: uppercase; }
.product-tag.new { background: var(--yellow); color: var(--dark); }
.product-fav { position: absolute; top: 10px; right: 10px; background: white; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: var(--shadow); transition: all .2s; cursor: pointer; }
.product-fav:hover { transform: scale(1.15); }
.product-fav.active { color: red; }

.product-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 11px; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.product-name { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; flex: 1; }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.product-rating .stars { color: #D9A800; }
.product-price-row { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 12px; }
.product-price { font-size: 20px; font-weight: 800; color: var(--dark); }
.product-old-price { font-size: 13px; color: #9ca3af; text-decoration: line-through; }
.product-discount { font-size: 11px; font-weight: 700; color: #16a34a; background: #dcfce7; padding: 2px 7px; border-radius: 50px; }
.product-cuotas { font-size: 11px; color: var(--gray); margin-bottom: 14px; }
.product-cuotas span { color: var(--carbon); font-weight: 700; }

.btn-add { background: var(--yellow); color: var(--dark); width: 100%; padding: 10px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; transition: all .2s; }
.btn-add:hover { background: var(--yellow-light); }
.btn-add.added { background: var(--carbon); color: var(--yellow); }
.btn-sin-stock { background: #f3f4f6 !important; color: #9ca3af !important; cursor: not-allowed !important; border: 1px solid #e5e7eb; }

.no-results { text-align: center; padding: 60px 20px; }
.no-results span { font-size: 48px; display: block; margin-bottom: 12px; }
.no-results p { color: var(--gray); font-size: 16px; margin-bottom: 20px; }

/* ===== WHY US ===== */
.why-us { background: var(--carbon); padding: 60px 0; }
.why-us h2 { text-align: center; color: white; font-size: 28px; font-weight: 800; margin-bottom: 36px; }
.why-us h2 span { color: var(--yellow); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 28px 20px; background: rgba(255,255,255,.06); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); transition: all .2s; }
.why-card:hover { background: rgba(245,200,66,.12); border-color: rgba(245,200,66,.4); transform: translateY(-2px); }
.why-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.why-card h4 { color: white; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.why-card p { color: #aaa; font-size: 13px; line-height: 1.6; }

/* ===== FOOTER ===== */
.footer { background: #1a1a1a; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-name { color: white; }
.footer-brand p { color: #666; font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.social-links { display: flex; gap: 10px; font-size: 20px; }
.social-links a:hover { transform: scale(1.2); display: inline-block; }
.footer-col h4 { color: var(--yellow); font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a, .footer-col ul li { color: #666; font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 18px 0; background: #111; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: #444; font-size: 12px; }

/* ===== CART SIDEBAR ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar { position: fixed; right: 0; top: 0; height: 100%; width: 380px; background: white; z-index: 201; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.cart-sidebar.open { transform: translateX(0); }
.cart-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--yellow-soft); }
.cart-header h3 { font-size: 18px; font-weight: 700; }
.cart-header button { font-size: 20px; color: var(--gray); padding: 4px 8px; border-radius: 6px; }
.cart-header button:hover { background: var(--border); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty span { font-size: 48px; display: block; margin-bottom: 12px; }
.cart-empty p { color: var(--gray); margin-bottom: 20px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item-emoji { font-size: 36px; background: var(--yellow-soft); border-radius: 8px; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--carbon); }
.cart-item-controls { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn { background: var(--light-gray); border-radius: 6px; width: 26px; height: 26px; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: background .2s; border: 1px solid var(--border); }
.qty-btn:hover { background: var(--yellow); }
.qty-val { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { margin-left: auto; color: #ef4444; font-size: 13px; font-weight: 500; }
.cart-item-remove:hover { text-decoration: underline; }
.cart-footer { padding: 16px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 16px; }
.cart-total strong { font-size: 22px; font-weight: 800; }
.full-width { width: 100%; padding: 13px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin-bottom: 8px; }

/* ===== FONT AWESOME – SIZING & PLACEMENT ===== */

/* Header top */
.header-top i { font-size: 12px; margin-right: 4px; }

/* Search button */
.search-bar button i { font-size: 15px; }

/* Header action buttons */
.btn-icon i { font-size: 20px; }
.btn-account i { font-size: 13px; margin-right: 4px; }

/* Nav links */
.nav-link i { font-size: 12px; margin-right: 4px; }

/* Category cards */
.cat-icon { font-size: 26px; display: block; margin-bottom: 2px; }

/* Hero cards */
.hero-icon i { font-size: 34px; color: var(--yellow); }

/* Banners */
.banner-fa-icon { font-size: 72px; opacity: .45; flex-shrink: 0; }

/* Why us */
.why-icon { font-size: 34px; display: block; margin-bottom: 12px; color: var(--yellow); }

/* Footer social */
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #aaa;
  font-size: 15px; transition: all .2s;
}
.social-links a:hover { background: var(--yellow); color: var(--dark); transform: translateY(-2px); }

/* Footer contact icons */
.fc-icon { width: 16px; color: var(--yellow); font-size: 13px; margin-right: 6px; }

/* Pago cards */
.pago-icon { font-size: 30px; color: var(--carbon); display: block; margin-bottom: 8px; }

/* Cart / Checkout icons */
.cart-header i, .modal-header i { font-size: 18px; margin-right: 6px; }
.cart-header button i, .modal-header button i { font-size: 16px; margin: 0; }
.pay-opt i { font-size: 15px; margin-right: 6px; color: var(--carbon); }

/* Success icon */
.success-icon i { font-size: 52px; color: #16a34a; }

/* No results */
.no-results i { font-size: 48px; color: #ccc; display: block; margin-bottom: 12px; }

/* Show more arrow */
#showMoreArrow { font-size: 13px; transition: transform .2s; }
.btn-show-more.expanded #showMoreArrow { transform: rotate(180deg); }

/* ===== GRID LOADING ===== */
.grid-loading {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; padding: 60px 20px;
  color: var(--gray); font-size: 15px;
}
.grid-loading i { font-size: 36px; color: var(--yellow); }

/* ===== SHOW MORE ===== */
.show-more-wrap { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.show-more-line { flex: 1; height: 1px; background: var(--border); }
.btn-show-more {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 12px 28px; border-radius: 50px; font-size: 14px; font-weight: 700;
  border: 2px solid var(--carbon); color: var(--carbon); background: var(--white);
  transition: all .2s;
}
.btn-show-more:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-show-more.expanded { border-color: var(--border); color: var(--gray); }
.btn-show-more.expanded:hover { background: var(--light-gray); border-color: var(--border); }
#showMoreCount { font-size: 12px; color: var(--gray); font-weight: 500; }
#showMoreArrow { font-size: 16px; }

/* ===== PINNED CARD ===== */
.product-card:has(.product-tag.pinned) { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); }
.product-tag.pinned { background: var(--yellow); color: var(--dark); }

/* ===== MODAL FORMAS DE PAGO ===== */
.pagos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.pago-card { border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 16px; text-align: center; transition: all .2s; }
.pago-card:hover { border-color: var(--yellow); background: var(--yellow-soft); transform: translateY(-2px); }
.pago-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.pago-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.pago-card p  { font-size: 12px; color: var(--gray); line-height: 1.5; }
.pagos-nota { background: var(--yellow-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; font-size: 13px; line-height: 1.8; }
@media (max-width: 480px) { .pagos-grid { grid-template-columns: 1fr; } }

/* ===== LOW STOCK TAG ===== */
.low-stock { font-size: 11px; color: #92400e; background: #fef9c3; padding: 2px 8px; border-radius: 50px; margin-bottom: 8px; font-weight: 600; }

/* ===== CHECKOUT MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%); background: white; border-radius: var(--radius); width: 540px; max-width: 96vw; max-height: 92vh; overflow-y: auto; z-index: 301; box-shadow: 0 20px 60px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transition: all .3s; }
.modal.open { opacity: 1; pointer-events: all; transform: translate(-50%, -50%); }
.modal-header { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: var(--yellow-soft); border-radius: var(--radius) var(--radius) 0 0; position: sticky; top: 0; }
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-header button { font-size: 20px; color: var(--gray); padding: 3px 9px; border-radius: 6px; }
.modal-header button:hover { background: var(--border); }
.modal-body { padding: 20px; }

.step-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gray); margin-bottom: 16px; display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--carbon); text-transform: uppercase; letter-spacing: .4px; }
.form-group input, .form-group textarea {
  padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--yellow-dark); }

.payment-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-opt { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; font-weight: 500; transition: all .2s; }
.pay-opt:has(input:checked) { border-color: var(--yellow-dark); background: var(--yellow-soft); font-weight: 700; }
.pay-opt input { accent-color: var(--yellow-dark); }

.ck-summary { background: var(--yellow-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-top: 18px; }
.ck-summary strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.ck-item { display: flex; justify-content: space-between; font-size: 13px; padding: 4px 0; color: var(--carbon); }
.ck-total-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 15px; font-weight: 800; }

/* order success */
.order-success { text-align: center; padding: 10px 0; }
.success-icon { font-size: 52px; margin-bottom: 12px; }
.order-success h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.order-success > p { color: var(--gray); margin-bottom: 18px; }
.order-box { background: var(--yellow-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; text-align: left; margin-bottom: 14px; }
.order-detail-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px; border-bottom: 1px solid var(--border); }
.order-detail-row:last-child { border: none; }
.order-detail-row.total { font-size: 15px; font-weight: 800; padding-top: 10px; margin-top: 4px; }
.order-detail-row span { color: var(--gray); }
.order-items-list { margin-top: 8px; font-size: 12px; color: var(--carbon); display: flex; flex-direction: column; gap: 2px; }
.order-contact { font-size: 13px; color: var(--gray); margin-bottom: 16px; }

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--carbon); color: var(--yellow); padding: 12px 24px; border-radius: 50px; font-size: 13px; font-weight: 600; z-index: 999; transition: transform .3s; pointer-events: none; white-space: nowrap; border: 2px solid var(--yellow); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-image { display: flex; margin-top: 20px; }
  .store-circle-wrap { width: 280px; height: 280px; }
  .store-circle { width: 240px; height: 240px; }
  .ring-outer { width: 272px; height: 272px; }
  .ring-mid   { width: 258px; height: 258px; }
  .banner-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .header-top { display: none; }
  .btn-account { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-sidebar { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero h1 { font-size: 30px; }
}
