/* ═══════════════════════════════════════════════════
   MODERN STOREFRONT DESIGN SYSTEM
   Clean, minimal, 2025 e-commerce design
   ═══════════════════════════════════════════════════ */

:root{
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #dcfce7;
  --accent: #2563eb;
  --surface: #ffffff;
  --bg: #f8fafc;
  --bg-warm: #fafaf9;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --danger: #ef4444;
  --warning: #f59e0b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 6px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.16);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --transition: .2s ease;
  --transition-slow: .35s ease;
}

/* ── Reset ─────────────────────────────────────── */
*,*::before,*::after{ box-sizing:border-box; }
body{
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  margin:0; padding:0;
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
}
a{ color:inherit; text-decoration:none; transition:color var(--transition); }
a:hover{ color:var(--primary); }
img{ max-width:100%; height:auto; }
button{ font-family:var(--font); }

/* ── Announcement Bar ─────────────────────────── */
.announce-bar{
  background: var(--text);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  position: relative;
}
.announce-bar .container{ position:relative; }
.announce-bar a{ color:#fff; text-decoration:underline; }
.announce-close{
  position:absolute; right:0; top:50%; transform:translateY(-50%);
  background:none; border:none; color:rgba(255,255,255,.5);
  cursor:pointer; font-size:16px; padding:4px;
  transition:color var(--transition);
}
.announce-close:hover{ color:#fff; }

/* ── Top Bar ──────────────────────────────────── */
.topbar{
  background:#fff;
  border-bottom:1px solid var(--border-light);
  font-size:12px;
  color:var(--text-muted);
  padding:6px 0;
}
.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.topbar-left,.topbar-right{ display:flex; gap:16px; }
.topbar a{
  color:var(--text-muted);
  font-weight:500;
  display:inline-flex;
  align-items:center;
  gap:4px;
  transition:color var(--transition);
}
.topbar a:hover{ color:var(--text); }
.topbar i{ font-size:14px; }
@media(max-width:767px){ .topbar{ display:none; } }

/* ── Header ───────────────────────────────────── */
.site-header{
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
  padding: 0;
}
.site-header.scrolled{
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}
.header-logo img{
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
}
.logo-text{ font-weight:900; font-size:22px; color:var(--text); }
.scrolled .header-logo img{ height:40px; }

/* ── Main Navigation (Desktop) ────────────────── */
.main-nav{
  display:flex;
  align-items:center;
  gap:4px;
}
.nav-link{
  padding:8px 16px;
  font-size:14px;
  font-weight:600;
  color:var(--text-muted);
  border-radius:var(--radius-md);
  transition:all var(--transition);
  white-space:nowrap;
}
.nav-link:hover{ color:var(--text); background:var(--bg); }
.nav-link.active{ color:var(--text); font-weight:700; }
.nav-link.has-dropdown{ display:inline-flex; align-items:center; gap:4px; }

/* ── Mega Menu Dropdown ───────────────────────── */
.nav-dropdown{
  position:relative;
}
.dropdown-mega{
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%) translateY(8px);
  opacity:0;
  visibility:hidden;
  transition:all .25s ease;
  z-index:100;
  padding-top:8px;
}
.nav-dropdown:hover .dropdown-mega{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}
.mega-inner{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  padding:24px;
  display:flex;
  gap:32px;
  min-width:520px;
}
.mega-col{ min-width:140px; }
.mega-title{
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:var(--text-light);
  margin-bottom:12px;
}
.mega-link{
  display:block;
  padding:6px 0;
  font-size:14px;
  font-weight:500;
  color:var(--text-muted);
  transition:all var(--transition);
}
.mega-link:hover{ color:var(--primary); padding-left:4px; }
.mega-promo{ min-width:180px; }
.mega-cta{
  display:inline-block;
  margin-top:12px;
  padding:8px 18px;
  background:var(--primary);
  color:#fff;
  border-radius:var(--radius-md);
  font-weight:700;
  font-size:13px;
  transition:background var(--transition);
}
.mega-cta:hover{ background:var(--primary-dark); color:#fff; }

@media(max-width:991px){
  .main-nav{ display:none; }
}

/* ── Search Overlay ───────────────────────────── */
.search-overlay{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease, padding .3s ease;
  border-top:1px solid var(--border-light);
  padding:0;
}
.search-overlay.open{
  max-height:80px;
  padding:12px 0;
}
.search-overlay-form{
  display:flex;
  align-items:center;
  gap:12px;
}
.search-overlay-form input{
  flex:1;
  border:none;
  outline:none;
  font-size:16px;
  font-weight:500;
  background:transparent;
  padding:8px 0;
}
.search-overlay-close{
  border:none;
  background:var(--bg);
  border-radius:var(--radius-sm);
  padding:6px 10px;
  cursor:pointer;
  color:var(--text-muted);
  font-size:18px;
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-btn{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--bg);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  transition: all var(--transition);
}
.header-btn:hover{
  background: var(--border-light);
  color:var(--primary);
}
.header-badge{
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #fff;
}

/* Mobile menu toggle */
.mobile-toggle{
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--bg);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

@media(max-width:991px){
  .mobile-toggle{ display:flex; }
  .header-logo img{ height:38px; }
}

/* ── Mobile Menu Drawer ───────────────────────── */
.mobile-menu-backdrop{
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.45); z-index:2000;
}
.mobile-menu-backdrop.open{ display:block; }
.mobile-menu{
  position:fixed; top:0; left:0; height:100%; width:320px; max-width:85vw;
  background:#fff; z-index:2001;
  transform:translateX(-100%); transition:transform var(--transition-slow);
  display:flex; flex-direction:column;
  box-shadow: var(--shadow-xl);
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu-header{
  padding:14px 16px;
  border-bottom:1px solid var(--border-light);
  display:flex; justify-content:space-between; align-items:center;
}
.mobile-menu-close{
  border:none; background:var(--bg); border-radius:var(--radius-sm);
  padding:6px 10px; font-size:18px; cursor:pointer;
}
.mobile-menu-body{
  flex:1; overflow-y:auto; padding:16px;
}
.mobile-menu-body .mm-search{
  width:100%; padding:10px 14px;
  border:1px solid var(--border); border-radius:var(--radius-md);
  font-size:14px; margin-bottom:16px;
}
.mobile-menu-body .mm-link{
  display:flex; align-items:center; gap:10px;
  padding:12px 0; border-bottom:1px solid var(--border-light);
  font-weight:600; font-size:15px; color:var(--text);
}
.mobile-menu-body .mm-link i{ font-size:20px; color:var(--text-muted); width:24px; text-align:center; }
.mm-section-title{
  font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.8px;
  color:var(--text-light); padding:16px 0 4px; margin:0;
}
.mm-divider{ height:1px; background:var(--border-light); margin:8px 0; }

/* ── Banner / Hero Slider ─────────────────────── */
.hero-slider{
  position:relative;
  overflow:hidden;
  background:var(--text);
}
.hero-track{
  display:flex;
  transition:transform .6s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
.hero-slide{
  position:relative;
  min-width:100%;
  min-height:520px;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
}
@media(max-width:767px){ .hero-slide{ min-height:380px; } }
@media(max-width:480px){ .hero-slide{ min-height:300px; } }

.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.hero-content{
  position:relative; z-index:2;
  max-width:560px;
  color:#fff;
  padding:40px 0;
}
.hero-badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 14px; border-radius:var(--radius-pill);
  background:rgba(255,255,255,.15); backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  font-size:12px; font-weight:700; color:#fff;
  margin-bottom:16px;
  border:1px solid rgba(255,255,255,.15);
}
.hero-title{
  font-size:clamp(26px, 5vw, 52px);
  font-weight:900;
  line-height:1.1;
  margin:0 0 14px;
  letter-spacing:-.5px;
}
.hero-subtitle{
  font-size:clamp(14px, 2vw, 17px);
  font-weight:400;
  opacity:.8;
  line-height:1.7;
  margin:0 0 28px;
}
.hero-cta{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 30px;
  border-radius:var(--radius-pill);
  background:#fff;
  color:var(--text);
  font-weight:800;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:all var(--transition);
  box-shadow:0 4px 20px rgba(0,0,0,.2);
  text-decoration:none;
}
.hero-cta:hover{ transform:translateY(-2px); box-shadow:0 8px 30px rgba(0,0,0,.3); color:var(--text); }
.hero-cta-outline{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 30px;
  border-radius:var(--radius-pill);
  background:transparent;
  color:#fff;
  font-weight:700;
  font-size:15px;
  border:2px solid rgba(255,255,255,.4);
  cursor:pointer;
  transition:all var(--transition);
  text-decoration:none;
  margin-left:10px;
}
.hero-cta-outline:hover{ background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.7); color:#fff; }

/* Slider arrows */
.hero-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px;
  border-radius:var(--radius-pill);
  border:none;
  background:rgba(255,255,255,.15);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  color:#fff;
  font-size:22px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  z-index:10;
  transition:all var(--transition);
}
.hero-arrow:hover{ background:rgba(255,255,255,.3); }
.hero-arrow.prev{ left:20px; }
.hero-arrow.next{ right:20px; }
@media(max-width:767px){ .hero-arrow{ width:38px; height:38px; font-size:18px; } .hero-arrow.prev{left:10px;} .hero-arrow.next{right:10px;} }

/* Slider dots */
.hero-dots{
  position:absolute; bottom:20px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px; z-index:10;
}
.hero-dot{
  width:10px; height:10px;
  border-radius:var(--radius-pill);
  background:rgba(255,255,255,.35);
  border:none;
  cursor:pointer;
  transition:all var(--transition);
  padding:0;
}
.hero-dot.active{ background:#fff; width:28px; }

/* Overlay image (floating product) */
.hero-float-img{
  position:absolute; right:8%; bottom:0;
  max-height:80%; max-width:40%;
  z-index:3;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.3));
  pointer-events:none;
}
@media(max-width:991px){ .hero-float-img{ display:none; } }

/* ── Section Titles ───────────────────────────── */
.section{
  padding:60px 0;
}
.section-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:28px;
  gap:12px;
  flex-wrap:wrap;
}
.section-title{
  font-size:24px;
  font-weight:900;
  color:var(--text);
  margin:0;
}
.section-subtitle{
  font-size:14px;
  color:var(--text-muted);
  margin:4px 0 0;
}
.section-link{
  font-size:14px;
  font-weight:700;
  color:var(--primary);
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.section-link:hover{ color:var(--primary-dark); }

/* ── Product Card ─────────────────────────────── */
.product-card{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  overflow:hidden;
  transition:all var(--transition);
  height:100%;
  display:flex;
  flex-direction:column;
}
.product-card:hover{
  border-color:var(--border);
  box-shadow:var(--shadow-md);
  transform:translateY(-2px);
}
.pc-img-wrap{
  position:relative;
  overflow:hidden;
  background:var(--bg);
  aspect-ratio:1/1;
}
.pc-img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.product-card:hover .pc-img{ transform:scale(1.06); }

.pc-badges{
  position:absolute; top:10px; left:10px;
  display:flex; flex-direction:column; gap:4px; z-index:3;
}
.pc-badge{
  display:inline-flex;
  padding:4px 10px;
  border-radius:var(--radius-pill);
  font-size:11px;
  font-weight:800;
}
.pc-badge.sale{ background:var(--danger); color:#fff; }
.pc-badge.new{ background:var(--primary); color:#fff; }

/* Quick View eye button — centered on image */
.pc-actions{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  opacity:0; background:rgba(0,0,0,.05);
  transition:all .25s ease;
  z-index:3;
}
.product-card:hover .pc-actions{ opacity:1; }

@media(max-width:767px){
  .pc-actions{ opacity:1; background:transparent; }
}

.pc-eye-btn{
  width:48px; height:48px; border-radius:50%;
  background:rgba(255,255,255,.92); backdrop-filter:blur(6px);
  border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:22px; color:var(--text);
  box-shadow:0 4px 16px rgba(0,0,0,.12);
  transition:all .2s ease;
}
.pc-eye-btn:hover{ background:var(--primary); color:#fff; transform:scale(1.1); }

/* Add / Buy buttons — below image in card body */
.pc-btn-row{
  display:flex; gap:6px; margin-top:10px;
}
.pc-btn{
  flex:1; display:inline-flex; align-items:center; justify-content:center; gap:5px;
  padding:8px 10px; border-radius:var(--radius-md);
  font-size:12px; font-weight:700; border:none; cursor:pointer;
  transition:all .15s ease; white-space:nowrap;
}
.pc-btn.add{ background:var(--bg); color:var(--text); border:1.5px solid var(--border); }
.pc-btn.add:hover{ border-color:var(--primary); color:var(--primary); }
.pc-btn.buy{ background:var(--primary); color:#fff; }
.pc-btn.buy:hover{ background:var(--primary-dark); }
.pc-btn:disabled{ opacity:.5; cursor:not-allowed; }

/* legacy compat */
.pc-action-btn{ display:none; }
.pc-action-btn.primary,.pc-action-btn.buy-btn,.pc-action-btn.ghost{ display:none; }

.pc-body{
  padding:14px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.pc-name{
  font-weight:700;
  font-size:14px;
  line-height:1.35;
  color:var(--text);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:0;
}
.pc-name a{ color:inherit; }
.pc-name a:hover{ color:var(--primary); }
.pc-price-row{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin-top:auto;
  padding-top:8px;
}
.pc-price{
  font-size:16px;
  font-weight:900;
  color:var(--text);
}
.pc-compare{
  font-size:13px;
  font-weight:600;
  color:var(--text-light);
  text-decoration:line-through;
}

/* ── Horizontal Scroll Track ──────────────────── */
.scroll-track{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
  padding:4px 0;
}
.scroll-track::-webkit-scrollbar{ display:none; }
.scroll-track > *{
  scroll-snap-align:start;
  flex:0 0 auto;
}
.scroll-arrows{
  display:flex;
  gap:6px;
}
.scroll-arrow{
  width:36px; height:36px;
  border-radius:var(--radius-pill);
  border:1px solid var(--border);
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:all var(--transition);
  font-size:18px;
  color:var(--text-muted);
}
.scroll-arrow:hover{ background:var(--bg); border-color:#d1d5db; color:var(--text); }

/* ── Filter Bar ───────────────────────────────── */
.filter-bar{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:14px 18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-bottom:20px;
}
.filter-input{
  padding:8px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  font-size:13px;
  font-weight:500;
  outline:none;
  transition:border-color var(--transition);
  background:#fff;
}
.filter-input:focus{ border-color:var(--primary); }
.filter-select{
  padding:8px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  font-size:13px;
  font-weight:500;
  background:#fff;
  outline:none;
  cursor:pointer;
}
.filter-pill{
  display:inline-flex; align-items:center;
  padding:6px 14px;
  border-radius:var(--radius-pill);
  border:1px solid var(--border);
  background:#fff;
  font-size:12px;
  font-weight:700;
  color:var(--text-muted);
  cursor:pointer;
  transition:all var(--transition);
  white-space:nowrap;
}
.filter-pill:hover{ border-color:#d1d5db; color:var(--text); }
.filter-pill.active{ background:var(--text); border-color:var(--text); color:#fff; }
.filter-btn{
  padding:8px 16px;
  border-radius:var(--radius-md);
  border:none;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:all var(--transition);
}
.filter-btn.dark{ background:var(--text); color:#fff; }
.filter-btn.dark:hover{ background:#1e293b; }
.filter-btn.outline{ background:#fff; border:1px solid var(--border); color:var(--text-muted); }
.filter-btn.outline:hover{ background:var(--bg); }

/* ── Trust Badges ─────────────────────────────── */
.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
@media(max-width:767px){ .trust-grid{ grid-template-columns:repeat(2,1fr); } }
.trust-item{
  text-align:center;
  padding:24px 16px;
  border-radius:var(--radius-lg);
  background:#fff;
  border:1px solid var(--border-light);
}
.trust-icon{
  width:48px; height:48px;
  border-radius:var(--radius-md);
  background:var(--primary-light);
  color:var(--primary);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  margin-bottom:12px;
}
.trust-title{ font-weight:800; font-size:14px; margin:0; }
.trust-desc{ font-size:12px; color:var(--text-muted); margin:4px 0 0; }

/* ── Testimonial Card ─────────────────────────── */
.testimonial-card{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:24px;
  width:340px;
  flex-shrink:0;
}
.tc-stars{ color:var(--warning); font-size:14px; margin-bottom:12px; }
.tc-text{ color:var(--text-muted); font-size:14px; line-height:1.7; margin:0 0 16px; }
.tc-author{
  display:flex; align-items:center; gap:10px;
}
.tc-avatar{
  width:40px; height:40px;
  border-radius:var(--radius-pill);
  object-fit:cover;
  background:var(--bg);
}
.tc-name{ font-weight:700; font-size:14px; }
.tc-role{ font-size:12px; color:var(--text-muted); }
.tc-screenshot{
  width:100%; max-height:200px;
  object-fit:cover;
  border-radius:var(--radius-md);
  margin-top:12px;
  border:1px solid var(--border-light);
  cursor:pointer;
}

/* ── Cart Drawer ──────────────────────────────── */
.cart-drawer{
  position:fixed; top:0; right:0; height:100%; width:400px; max-width:92vw;
  background:#fff; z-index:9999;
  transform:translateX(100%);
  transition:transform var(--transition-slow);
  box-shadow:var(--shadow-xl);
  display:flex;
  flex-direction:column;
}
.cart-drawer.open{ transform:translateX(0); }
.cart-drawer-header{
  padding:16px 18px;
  border-bottom:1px solid var(--border-light);
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(12px);
}
.cart-drawer-body{ flex:1; overflow-y:auto; padding:16px 18px; }
.cart-drawer-footer{
  padding:16px 18px;
  border-top:1px solid var(--border-light);
  background:#fff;
}

.shipping-progress{
  background:var(--bg);
  border-radius:var(--radius-pill);
  padding:10px 14px;
  margin-bottom:14px;
  font-size:12px;
  font-weight:600;
  color:var(--text-muted);
}
.shipping-bar{
  height:4px;
  background:var(--border);
  border-radius:var(--radius-pill);
  margin-top:6px;
  overflow:hidden;
}
.shipping-fill{
  height:100%;
  background:var(--primary);
  border-radius:var(--radius-pill);
  transition:width var(--transition-slow);
}

.cart-item{
  display:flex;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid var(--border-light);
}
.cart-item:last-child{ border-bottom:none; }
.ci-img{
  width:64px; height:64px;
  border-radius:var(--radius-md);
  object-fit:cover;
  background:var(--bg);
  flex-shrink:0;
}
.ci-info{ flex:1; min-width:0; }
.ci-name{ font-weight:700; font-size:14px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ci-price{ font-weight:800; font-size:14px; margin-top:2px; }
.ci-qty{
  display:inline-flex; align-items:center;
  border:1px solid var(--border); border-radius:var(--radius-md);
  margin-top:6px;
}
.ci-qty-btn{
  border:none; background:none;
  padding:4px 10px;
  font-weight:800;
  font-size:16px;
  cursor:pointer;
  color:var(--text-muted);
}
.ci-qty-btn:hover{ color:var(--text); }
.ci-qty-val{ font-weight:800; font-size:13px; min-width:28px; text-align:center; }
.ci-remove{
  border:none; background:none;
  color:var(--text-light);
  cursor:pointer;
  font-size:16px;
  padding:4px;
  transition:color var(--transition);
  align-self:flex-start;
}
.ci-remove:hover{ color:var(--danger); }

.cart-total-row{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:12px;
}
.cart-total-label{ font-weight:600; color:var(--text-muted); }
.cart-total-value{ font-weight:900; font-size:18px; }

.btn-checkout{
  display:block; width:100%; text-align:center;
  padding:14px;
  border-radius:var(--radius-md);
  background:var(--primary);
  color:#fff;
  font-weight:800;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:all var(--transition);
  box-shadow:0 4px 14px rgba(22,163,74,.25);
}
.btn-checkout:hover{ background:var(--primary-dark); color:#fff; }

.btn-clear-cart{
  display:block; width:100%; text-align:center;
  padding:12px;
  border-radius:var(--radius-md);
  background:var(--bg);
  color:var(--text-muted);
  font-weight:700;
  font-size:14px;
  border:1px solid var(--border);
  cursor:pointer;
  margin-top:8px;
  transition:all var(--transition);
}
.btn-clear-cart:hover{ background:var(--border-light); }

/* ── Cart close btn ───────────────────────────── */
.cart-close-btn{
  border:none; background:var(--bg); border-radius:var(--radius-pill);
  width:34px; height:34px; display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:18px; color:var(--text-muted);
  transition:all var(--transition);
}
.cart-close-btn:hover{ background:var(--border-light); color:var(--text); }

/* ── Floating Buttons ─────────────────────────── */
.float-cart{
  position:fixed; right:18px; bottom:24px; z-index:1500;
  width:54px; height:54px;
  border-radius:var(--radius-pill);
  background:var(--primary);
  color:#fff;
  border:none;
  display:flex; align-items:center; justify-content:center;
  font-size:22px;
  cursor:pointer;
  box-shadow:0 6px 20px rgba(22,163,74,.35);
  transition:all var(--transition);
}
.float-cart:hover{ transform:scale(1.08); }

.float-whatsapp{
  position:fixed; left:18px; bottom:24px; z-index:1500;
  width:54px; height:54px;
  border-radius:var(--radius-pill);
  background:#25D366;
  color:#fff;
  border:none;
  display:flex; align-items:center; justify-content:center;
  font-size:24px;
  cursor:pointer;
  box-shadow:0 6px 20px rgba(37,211,102,.35);
  transition:all var(--transition);
  text-decoration:none;
}
.float-whatsapp:hover{ transform:scale(1.08); color:#fff; }
.float-badge{
  position:absolute; top:-5px; right:-5px;
  background:var(--danger); color:#fff;
  font-size:11px; font-weight:800;
  min-width:20px; height:20px;
  border-radius:var(--radius-pill);
  display:flex; align-items:center; justify-content:center;
  padding:0 5px; border:2px solid #fff;
}

/* ── Footer ───────────────────────────────────── */
.site-footer{
  background:var(--text);
  color:#e2e8f0;
  padding:60px 0 0;
}
.footer-title{
  font-weight:800;
  font-size:16px;
  color:#fff;
  margin:0 0 18px;
}
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin-bottom:8px; }
.footer-links a{
  color:#94a3b8;
  font-size:14px;
  font-weight:500;
  transition:color var(--transition);
}
.footer-links a:hover{ color:#fff; }
.footer-desc{
  color:#94a3b8;
  font-size:14px;
  line-height:1.7;
  margin:12px 0 0;
}
.footer-social{
  display:flex; gap:8px; margin-top:16px;
}
.footer-social a{
  width:36px; height:36px;
  border-radius:var(--radius-md);
  border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  color:#94a3b8; font-size:18px;
  transition:all var(--transition);
}
.footer-social a:hover{ background:rgba(255,255,255,.1); color:#fff; }

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:20px 0;
  margin-top:40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.footer-copy{
  font-size:13px;
  color:#64748b;
}
.footer-payments{
  display:flex; gap:8px;
}
.pay-icon{
  display:inline-flex; align-items:center; gap:4px;
  padding:4px 10px; border-radius:var(--radius-sm);
  background:rgba(255,255,255,.08);
  color:#94a3b8; font-size:12px; font-weight:600;
}
.footer-logo-wrap{ display:inline-block; }

/* ── Product Detail ───────────────────────────── */
.pd-gallery{
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:var(--bg);
  border:1px solid var(--border-light);
}
.pd-main-img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  background:#fff;
  display:block;
}
.pd-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px;
  border-radius:var(--radius-pill);
  border:1px solid var(--border);
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; z-index:5;
  font-size:20px;
  color:var(--text-muted);
  transition:all var(--transition);
}
.pd-arrow:hover{ background:#fff; color:var(--text); box-shadow:var(--shadow-sm); }
.pd-arrow.left{ left:10px; }
.pd-arrow.right{ right:10px; }
.pd-thumbs{
  display:flex; gap:8px; margin-top:12px; overflow-x:auto;
  scrollbar-width:none;
}
.pd-thumbs::-webkit-scrollbar{ display:none; }
.pd-thumb{
  width:68px; height:68px;
  border-radius:var(--radius-md);
  object-fit:cover;
  border:2px solid var(--border);
  cursor:pointer;
  flex-shrink:0;
  transition:border-color var(--transition);
}
.pd-thumb.active{ border-color:var(--primary); }
.pd-thumb:hover{ border-color:var(--text-light); }

.pd-info{ }
.pd-title{ font-size:clamp(22px,3vw,30px); font-weight:900; margin:0; line-height:1.2; }
.pd-price-box{ margin-top:16px; display:flex; align-items:baseline; gap:10px; }
.pd-price-main{ font-size:28px; font-weight:900; color:var(--text); }
.pd-price-old{ font-size:16px; font-weight:600; color:var(--text-light); text-decoration:line-through; }
.pd-discount-badge{
  display:inline-flex; padding:4px 10px;
  border-radius:var(--radius-pill);
  background:#fef2f2; color:var(--danger);
  font-size:12px; font-weight:800;
}
.pd-desc{ margin-top:16px; color:var(--text-muted); line-height:1.8; font-size:15px; }
.pd-meta{ margin-top:16px; }
.pd-meta-row{
  display:flex; gap:8px;
  padding:8px 0;
  border-bottom:1px solid var(--border-light);
  font-size:14px;
}
.pd-meta-label{ font-weight:600; color:var(--text-muted); min-width:90px; }
.pd-meta-value{ font-weight:700; color:var(--text); }

.pd-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.pd-qty{
  display:inline-flex; align-items:center;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
}
.pd-qty-btn{
  border:none; background:var(--bg);
  padding:12px 16px;
  font-weight:800; font-size:16px;
  cursor:pointer;
  transition:background var(--transition);
}
.pd-qty-btn:hover{ background:var(--border-light); }
.pd-qty-input{
  width:50px; border:none; text-align:center;
  font-weight:800; font-size:15px; outline:none;
  background:#fff;
}
.btn-add-cart{
  flex:1;
  padding:14px 24px;
  border-radius:var(--radius-md);
  background:var(--primary);
  color:#fff;
  font-weight:800;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:all var(--transition);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.btn-add-cart:hover{ background:var(--primary-dark); }
.btn-add-cart:disabled{ opacity:.5; cursor:not-allowed; }
.btn-buy-now{
  padding:14px 24px;
  border-radius:var(--radius-md);
  background:var(--text);
  color:#fff;
  font-weight:800;
  font-size:15px;
  border:none;
  cursor:pointer;
  transition:all var(--transition);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.btn-buy-now:hover{ background:#1e293b; color:#fff; }

/* ── Breadcrumb ───────────────────────────────── */
.breadcrumb-modern{
  padding:16px 0;
  font-size:13px;
  color:var(--text-muted);
}
.breadcrumb-modern a{ color:var(--text-muted); }
.breadcrumb-modern a:hover{ color:var(--primary); }
.breadcrumb-modern .sep{ margin:0 8px; opacity:.5; }

/* ── Checkout ─────────────────────────────────── */
.checkout-card{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:24px;
}
.checkout-title{
  font-size:20px;
  font-weight:900;
  margin:0 0 20px;
}
.checkout-section-title{
  font-size:13px;
  font-weight:800;
  color:var(--text-muted);
  letter-spacing:.5px;
  text-transform:uppercase;
  margin:24px 0 12px;
  padding-bottom:8px;
  border-bottom:1px solid var(--border-light);
}
.checkout-section-title:first-child{ margin-top:0; }
.form-label-modern{
  font-size:13px;
  font-weight:700;
  color:var(--text);
  margin-bottom:4px;
  display:block;
}
.form-input-modern{
  width:100%;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  font-size:14px;
  font-weight:500;
  outline:none;
  transition:border-color var(--transition), box-shadow var(--transition);
  background:#fff;
}
.form-input-modern:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(22,163,74,.1);
}
.payment-option{
  display:block;
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:14px;
  margin-top:8px;
  cursor:pointer;
  transition:all var(--transition);
}
.payment-option:has(input:checked){
  border-color:var(--primary);
  background:var(--primary-light);
}
.btn-place-order{
  width:100%;
  padding:16px;
  border:none;
  border-radius:var(--radius-md);
  background:var(--primary);
  color:#fff;
  font-weight:900;
  font-size:16px;
  cursor:pointer;
  transition:all var(--transition);
  box-shadow:0 4px 14px rgba(22,163,74,.25);
}
.btn-place-order:hover{ background:var(--primary-dark); }
.btn-place-order:disabled{ opacity:.5; cursor:not-allowed; }

.order-summary-sticky{
  position:sticky;
  top:100px;
}

/* ── FAQ Accordion ────────────────────────────── */
.faq-item{
  border:1px solid var(--border-light);
  border-radius:var(--radius-md);
  background:#fff;
  margin-bottom:8px;
  overflow:hidden;
}
.faq-question{
  padding:16px 18px;
  font-weight:700;
  font-size:15px;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.faq-question:hover{ background:var(--bg); }
.faq-answer{
  padding:0 18px 16px;
  color:var(--text-muted);
  line-height:1.8;
  font-size:14px;
}

/* ── Toast ─────────────────────────────────────── */
.cart-toast{
  position:fixed; right:18px; bottom:90px; z-index:9999;
  display:none;
  background:#fff;
  border:1.5px solid #e5e7eb;
  color:#111;
  padding:0;
  border-radius:16px;
  font-weight:700;
  box-shadow:0 12px 40px rgba(0,0,0,.15);
  width:320px; max-width:calc(100vw - 36px);
  animation:cartToastIn .35s ease-out;
  overflow:hidden;
  font-size:14px;
  box-shadow:var(--shadow-lg);
  max-width:320px;
}

/* ── Quick View Modal ─────────────────────────── */
.qv-backdrop{
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.5);
  backdrop-filter:blur(4px);
  z-index:99999;
  padding:20px;
}
.qv-backdrop.open{ display:flex; align-items:center; justify-content:center; }
.qv-box{
  background:#fff;
  border-radius:var(--radius-xl);
  max-width:900px;
  width:100%;
  max-height:90vh;
  overflow-y:auto;
  position:relative;
  box-shadow:var(--shadow-xl);
  animation:slideUp .3s ease;
}
@keyframes slideUp{
  from{ opacity:0; transform:translateY(20px); }
  to{ opacity:1; transform:translateY(0); }
}
.qv-close{
  position:absolute; top:12px; right:12px;
  border:none; background:var(--bg);
  border-radius:var(--radius-md);
  padding:8px 12px;
  font-weight:800;
  cursor:pointer;
  z-index:2;
  font-size:16px;
}

/* ── Loading Bar ──────────────────────────────── */
.loading-bar{
  height:3px;
  background:var(--border-light);
  border-radius:var(--radius-pill);
  overflow:hidden;
  margin-bottom:16px;
}
.loading-bar .fill{
  height:100%;
  width:30%;
  background:var(--primary);
  border-radius:var(--radius-pill);
  animation:loadPulse 1.2s ease infinite;
}
@keyframes loadPulse{
  0%{ width:10%; margin-left:0; }
  50%{ width:40%; margin-left:30%; }
  100%{ width:10%; margin-left:90%; }
}

/* ── Utilities ────────────────────────────────── */
.empty-state{
  text-align:center;
  padding:40px 20px;
  color:var(--text-muted);
}
.empty-state i{ font-size:48px; opacity:.3; display:block; margin-bottom:12px; }

.glass{
  background:rgba(255,255,255,.8);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

/* Animate in (triggered by IntersectionObserver) */
.animate-in{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .6s ease, transform .6s ease;
}
.animate-in.visible{
  opacity:1;
  transform:translateY(0);
}
