/* ═══════════════════════════════════════════════════════
   S.TECH STORE — styles.css
   Theme: S.Tech Brand — Black Header/Footer · White Body · Red Accents
   Matching: photo reference exactly
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  --accent:     #e8000e;
  --accent2:    #cc0008;
  --accent3:    #ff1a27;
  --accent-glow: rgba(232,0,14,0.18);

  --bg-deep:    #f0f2f5;
  --bg-mid:     #e8eaed;
  --bg-card:    #ffffff;
  --bg-card2:   #f7f8fa;

  --text-primary:   #111111;
  --text-secondary: #555555;
  --text-muted:     #999999;

  --border:   #e2e5ea;
  --border2:  rgba(232,0,14,0.2);

  --success: #00b87a;
  --danger:  #e53935;
  --warning: #f59e0b;

  --card-shadow: 0 2px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --card-hover:  0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(232,0,14,0.08);
  --glow-shadow: 0 4px 24px rgba(232,0,14,0.28);

  --font-body:    'Nunito', sans-serif;
  --font-display: 'Barlow', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-price:   'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: #f0f2f5;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0f2f5; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::selection { background: var(--accent); color: #fff; }

/* ─── PAGES ─── */
.page { display: none; min-height: 100vh; }
.page.active { display: block; animation: pageIn 0.4s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.bg-grid { display: none; }
.bg-orb  { display: none; }

/* ══════════════════════════════════════════
   TOP ANNOUNCEMENT BAR (red, like S.Tech)
══════════════════════════════════════════ */
.announcement-bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 2rem;
  letter-spacing: 0.5px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
}
.announcement-bar a { color: #fff; text-decoration: underline; font-size: 0.76rem; }

/* ══════════════════════════════════════════
   NAVBAR — BLACK background, white text
══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 34px; /* below announcement bar */
  left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111111;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  transition: all 0.3s;
}

/* If no announcement bar, offset changes */
body > nav { top: 0; }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 0; align-items: center; }
.nav-link {
  color: #cccccc;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  padding: 8px 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: var(--accent);
}
/* No underline — block hover like in photo */
.nav-link::after { display: none; }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; }

.cart-btn {
  position: relative;
  background: var(--accent);
  border: none;
  color: #fff;
  padding: 8px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cart-btn:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: var(--glow-shadow); }
.cart-count {
  position: absolute; top: -7px; right: -7px;
  background: #fff; color: var(--accent);
  font-size: 0.6rem; font-weight: 900; border-radius: 50%;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--accent);
}

.search-input {
  background: #1e1e1e;
  border: 1.5px solid #333;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  outline: none;
  width: 200px;
  transition: all 0.3s;
}
.search-input:focus { border-color: var(--accent); width: 240px; box-shadow: 0 0 0 3px rgba(232,0,14,0.15); }
.search-input::placeholder { color: #666; }

/* ══════════════════════════════════════════
   SUB-NAV BAR (white with black text)
   This creates the second nav row in the photo
══════════════════════════════════════════ */
.sub-nav {
  background: #ffffff;
  border-bottom: 1.5px solid #e2e5ea;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 0;
  height: 44px;
  /* positioned below main nav */
}

.sub-nav-link {
  color: #333;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
}
.sub-nav-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.sub-nav-link.active { background: var(--accent); color: #fff; border-bottom-color: var(--accent); }

/* ══════════════════════════════════════════
   HERO — White with diagonal red element
   Matches S.Tech hero exactly
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 60px;
  text-align: left;
  background: #ffffff;
}

/* Big diagonal red shape on right side */
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 48%;
  background: var(--accent);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

/* Inner red-to-black gradient on the shape */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 48%;
  background: linear-gradient(135deg, #cc0008 0%, #880006 60%, #111 100%);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
  opacity: 0.55;
}

/* Diagonal lines overlay on hero shape */
.hero-lines {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 48%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero-lines::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 200%; height: 200%;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 18px,
    rgba(255,255,255,0.04) 18px,
    rgba(255,255,255,0.04) 20px
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  margin-left: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,0,14,0.09);
  border: 1.5px solid rgba(232,0,14,0.28);
  color: var(--accent);
  padding: 5px 16px;
  border-radius: 4px;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}
.hero-badge::before { display: none; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 1.1rem;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero h1 span {
  color: var(--accent);
  display: block;
}

.hero p {
  color: #555;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 440px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero product image floats on the red side */
.hero-3d-scene {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.floating-card {
  position: absolute;
  width: 62px; height: 78px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  animation: floatCard linear infinite;
  opacity: 0.3;
}
.floating-card::after { display: none; }
.fc1 { left: 5%; top: 20%; animation-duration: 12s; }
.fc2 { left: 8%; bottom: 22%; animation-duration: 15s; animation-delay: -5s; }
.fc3 { right: 5%; top: 18%; animation-duration: 10s; animation-delay: -3s; }
.fc4 { right: 10%; bottom: 20%; animation-duration: 14s; animation-delay: -7s; }
.fc5 { left: 25%; top: 8%; animation-duration: 11s; animation-delay: -2s; width: 46px; height: 58px; }
.fc6 { right: 25%; bottom: 8%; animation-duration: 13s; animation-delay: -9s; width: 46px; height: 58px; }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  padding: 11px 26px;
  border-radius: 5px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  border: none;
  transition: all 0.22s;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,0,14,0.30);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,0,14,0.40); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: #111;
  border: 2px solid #111;
}
.btn-outline:hover { background: #111; color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: #fff;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(229,57,53,0.32); }
.btn-success { background: var(--success); color: #fff; font-weight: 800; }
.btn-success:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,184,122,0.32); }
.btn-sm { padding: 7px 15px; font-size: 0.77rem; border-radius: 4px; }

/* ══════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════ */
.section { padding: 56px 2rem; position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 0.6rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: #111;
  position: relative;
  display: inline-block;
}
/* Red underline accent on section titles */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 2.5rem; max-width: 560px; margin-top: 1rem; }
.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-header .section-title::after { display: none; }
.view-all-link {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.view-all-link:hover { gap: 8px; }

/* ══════════════════════════════════════════
   FEATURES STRIP
══════════════════════════════════════════ */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 0;
  background: #fff;
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 1.5rem;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: #fff8f8; }
.feature-icon { font-size: 2rem; flex-shrink: 0; color: var(--accent); }
.feature-title { font-weight: 800; margin-bottom: 0.15rem; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.3px; color: #111; }
.feature-desc { color: var(--text-muted); font-size: 0.74rem; line-height: 1.4; }

/* ══════════════════════════════════════════
   MARQUEE — Red bar like S.Tech
══════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  padding: 10px 0;
  background: var(--accent);
  border: none;
}
.marquee { display: flex; gap: 3rem; animation: marquee 22s linear infinite; width: max-content; }
.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.90);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}
.marquee-item::before { content: '★'; color: rgba(255,255,255,0.5); font-size: 0.55rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════
   CATEGORY CARDS — white cards
══════════════════════════════════════════ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}
.category-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: var(--card-shadow);
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--card-hover);
  background: #fff8f8;
}
.category-card:hover .category-name { color: var(--accent); }
.category-icon { font-size: 2.2rem; margin-bottom: 0.55rem; display: block; transition: transform 0.25s; color: var(--accent); }
.category-card:hover .category-icon { transform: scale(1.15); }
.category-name { font-weight: 800; font-size: 0.78rem; color: #111; text-transform: uppercase; transition: color 0.2s; }
.category-count { color: var(--text-muted); font-size: 0.65rem; margin-top: 0.18rem; font-family: var(--font-mono); }

/* ══════════════════════════════════════════
   PRODUCT CARDS — white cards
══════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}
.product-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.23,1,0.32,1);
  box-shadow: var(--card-shadow);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--card-hover);
}
.product-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s cubic-bezier(0.23,1,0.32,1); }
.product-card:hover .product-img { transform: scale(1.07); }
.product-card:hover .product-img-real { transform: scale(1.07); }
.product-img-emoji { font-size: 5rem; display: flex; align-items: center; justify-content: center; height: 100%; transition: transform 0.3s; }
.product-card:hover .product-img-emoji { transform: scale(1.1); }

/* ─── PRODUCT BADGE ─── */
.product-badge {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 9px; border-radius: 3px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; font-family: var(--font-mono);
}
.badge-new  { background: var(--accent); color: #fff; }
.badge-sale { background: #111; color: #fff; }
.badge-hot  { background: var(--warning); color: #fff; }

.product-wishlist {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.96);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; font-size: 0.88rem;
  opacity: 0; transform: scale(0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-card:hover .product-wishlist { opacity: 1; transform: scale(1); }
.product-wishlist:hover { background: #fff0f0; border-color: var(--accent); }

/* ─── PRODUCT INFO ─── */
.product-info { padding: 1rem; }
.product-category {
  font-size: 0.6rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 0.25rem;
  font-family: var(--font-mono); font-weight: 600;
}
.product-name {
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 800;
  margin-bottom: 0.22rem; line-height: 1.3; color: #111;
}
.product-desc {
  color: var(--text-secondary); font-size: 0.74rem; line-height: 1.4; margin-bottom: 0.75rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-footer { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.product-price {
  font-family: var(--font-price); font-size: 1.1rem; font-weight: 900; color: var(--accent);
}
.product-price-old {
  text-decoration: line-through; color: var(--text-muted);
  font-size: 0.74rem; margin-right: 3px; font-family: var(--font-body);
}
.product-rating { display: flex; align-items: center; gap: 2px; color: #f59e0b; font-size: 0.68rem; }

/* ADD TO CART BUTTON — full width below info */
.add-to-cart-btn {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  background: var(--accent);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.8rem; font-weight: 800;
  transition: all 0.2s; color: #fff;
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.5px;
  margin-top: 0.75rem;
}
.add-to-cart-btn:hover { background: var(--accent2); box-shadow: var(--glow-shadow); }

/* ══════════════════════════════════════════
   PROMO BANNER (Ramadan-style in photo)
══════════════════════════════════════════ */
.promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #111 0%, #1a0000 40%, #111 100%);
  padding: 3rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 2rem;
}

/* Red diagonal element */
.promo-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  background: var(--accent);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.18;
}

/* Diagonal lines on promo */
.promo-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 22px,
    rgba(255,255,255,0.015) 22px,
    rgba(255,255,255,0.015) 24px
  );
  pointer-events: none;
}

.promo-content { position: relative; z-index: 2; }
.promo-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.promo-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.promo-title span { color: var(--accent); }
.promo-desc { color: #aaa; font-size: 0.9rem; margin-bottom: 1.5rem; }

.promo-discount {
  position: relative; z-index: 2;
  text-align: center;
}
.promo-pct {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
}
.promo-off {
  font-size: 1.5rem; font-weight: 900; color: var(--accent);
  text-transform: uppercase; letter-spacing: 4px;
}

/* ══════════════════════════════════════════
   PRODUCT DETAIL MODAL
══════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; animation: overlayIn 0.25s ease; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff; border: 1.5px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 12px; width: 100%; max-width: 860px; max-height: 90vh;
  overflow-y: auto; position: relative;
  animation: modalSlide 0.35s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
@keyframes modalSlide { from { opacity: 0; transform: scale(0.93) translateY(16px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  background: #f5f5f5; border: 1.5px solid var(--border);
  color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: all 0.2s;
}
.modal-close:hover { background: #ffe8e8; color: var(--accent); border-color: var(--accent); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem; }
@media (max-width: 600px) { .modal-body { grid-template-columns: 1fr; } }
.modal-img-section {
  background: #f7f8fa; border-radius: 10px; overflow: hidden;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 8rem; border: 1.5px solid var(--border);
}
.modal-info { display: flex; flex-direction: column; gap: 1rem; }
.modal-category { font-size: 0.65rem; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-family: var(--font-mono); font-weight: 700; }
.modal-title { font-family: var(--font-body); font-size: 1.45rem; font-weight: 800; line-height: 1.2; color: #111; }
.modal-price-row { display: flex; align-items: center; gap: 1rem; }
.modal-price { font-family: var(--font-price); font-size: 1.85rem; font-weight: 900; color: var(--accent); }
.modal-description { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7; }
.modal-specs { background: var(--bg-deep); border-radius: 8px; padding: 1rem; border: 1px solid var(--border); }
.modal-spec-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--border); font-size: 0.82rem; }
.modal-spec-row:last-child { border-bottom: none; }
.modal-spec-key { color: var(--text-muted); }
.modal-spec-val { font-weight: 700; color: #111; }
.qty-control { display: flex; align-items: center; gap: 12px; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 6px;
  background: #f5f5f5; border: 1.5px solid var(--border);
  color: var(--accent); cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.qty-btn:hover { background: rgba(232,0,14,0.08); border-color: var(--accent); }
.qty-num { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; min-width: 28px; text-align: center; }
.modal-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.stock-indicator { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-secondary); }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: stockPulse 1.5s infinite; }
@keyframes stockPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,184,122,0.4); } 50% { box-shadow: 0 0 0 5px rgba(0,184,122,0); } }

/* ══════════════════════════════════════════
   CART SIDEBAR
══════════════════════════════════════════ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.48); backdrop-filter: blur(4px); z-index: 150; display: none; }
.cart-overlay.open { display: block; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cart-sidebar {
  position: fixed; right: 0; top: 0; bottom: 0; width: 420px; max-width: 100vw;
  background: #fff; border-left: 2px solid var(--border);
  z-index: 160; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.38s cubic-bezier(0.23,1,0.32,1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.12);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 3px solid var(--accent);
  display: flex; justify-content: space-between; align-items: center;
  background: #111;
}
.cart-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--bg-deep); }
.cart-item {
  background: #fff; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.85rem; display: flex; gap: 0.8rem; align-items: center;
  transition: border-color 0.2s; animation: slideInRight 0.3s ease; box-shadow: var(--card-shadow);
}
@keyframes slideInRight { from { transform: translateX(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.cart-item:hover { border-color: var(--accent); }
.cart-item-img { font-size: 2rem; flex-shrink: 0; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--bg-deep); border-radius: 6px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #111; }
.cart-item-price { color: var(--accent); font-weight: 900; font-family: var(--font-price); font-size: 0.92rem; }
.cart-item-qty { display: flex; align-items: center; gap: 7px; margin-top: 5px; }
.cart-item-qty-btn { background: var(--bg-deep); border: 1.5px solid var(--border); color: #111; width: 22px; height: 22px; border-radius: 4px; cursor: pointer; font-size: 0.88rem; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.cart-item-qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-remove { color: var(--text-muted); cursor: pointer; font-size: 1rem; transition: color 0.2s; padding: 4px; flex-shrink: 0; }
.cart-remove:hover { color: var(--danger); }
.cart-footer { padding: 1.2rem 1.5rem; border-top: 1.5px solid var(--border); background: #fff; }
.cart-total-row { display: flex; justify-content: space-between; margin-bottom: 0.4rem; font-size: 0.86rem; color: var(--text-secondary); }
.cart-total-main { display: flex; justify-content: space-between; margin-bottom: 1.1rem; font-family: var(--font-price); font-size: 1.28rem; font-weight: 900; color: #111; }
.cart-total-main span:last-child { color: var(--accent); }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.cart-empty-icon { font-size: 3.5rem; margin-bottom: 1rem; }

/* ══════════════════════════════════════════
   FOOTER — BLACK, matching photo exactly
══════════════════════════════════════════ */
footer {
  background: #111111;
  border-top: 3px solid var(--accent);
  padding: 3rem 2rem 0;
  position: relative; z-index: 2;
  overflow: hidden;
}

/* Diagonal lines on footer (like in photo) */
footer::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 35%;
  height: 100%;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 24px,
    rgba(232,0,14,0.04) 24px,
    rgba(232,0,14,0.04) 26px
  );
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  max-width: 1280px; margin: 0 auto 2rem;
  position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 900;
  color: #fff; margin-bottom: 0.6rem;
  text-transform: uppercase; letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px;
}
.footer-brand span { color: var(--accent); }
.footer-tagline { color: #666; font-size: 0.82rem; line-height: 1.55; margin-bottom: 1.25rem; }

.footer-col-title {
  font-weight: 800; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 2px;
  color: #fff; margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1.5px solid rgba(232,0,14,0.4);
  display: flex; align-items: center; gap: 6px;
}
.footer-col-title::before { content: ''; display: inline-block; width: 12px; height: 2px; background: var(--accent); border-radius: 2px; }

.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-link {
  color: #666; font-size: 0.82rem; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  padding: 2px 0;
}
.footer-link::before { content: '›'; color: var(--accent); font-size: 0.9rem; opacity: 0; transition: opacity 0.2s; }
.footer-link:hover { color: var(--accent); padding-left: 4px; }
.footer-link:hover::before { opacity: 1; }

/* Newsletter in footer */
.footer-newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-newsletter input {
  flex: 1; background: #1a1a1a; border: 1px solid #333; color: #fff;
  padding: 9px 12px; border-radius: 5px; font-family: var(--font-body);
  font-size: 0.82rem; outline: none; transition: border-color 0.2s;
}
.footer-newsletter input:focus { border-color: var(--accent); }
.footer-newsletter input::placeholder { color: #555; }
.footer-newsletter button {
  background: var(--accent); color: #fff; border: none;
  padding: 9px 18px; border-radius: 5px; cursor: pointer;
  font-weight: 800; font-size: 0.78rem; font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s; white-space: nowrap;
}
.footer-newsletter button:hover { background: var(--accent2); }

/* Payment icons row */
.footer-payments {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap;
}
.payment-badge {
  background: #1a1a1a; border: 1px solid #2a2a2a;
  border-radius: 5px; padding: 5px 10px;
  font-size: 0.72rem; font-weight: 700; color: #ccc;
  display: flex; align-items: center; gap: 4px;
}

/* Footer social icons */
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 6px;
  background: #1a1a1a; border: 1px solid #2a2a2a;
  color: #888; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; text-decoration: none;
}
.footer-social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding: 1rem 0;
  border-top: 1px solid #1e1e1e;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
  position: relative; z-index: 1;
}
.footer-copy { color: #444; font-size: 0.76rem; font-family: var(--font-mono); }

/* Social buttons (in admin/other areas) */
.social-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 7px; font-size: 0.74rem; font-weight: 700; text-decoration: none; transition: all 0.22s; border: 1px solid transparent; white-space: nowrap; cursor: pointer; text-transform: uppercase; letter-spacing: 0.4px; }
.social-wa { background: rgba(37,211,102,0.1); color: #25d366; border-color: rgba(37,211,102,0.25); }
.social-wa:hover { background: rgba(37,211,102,0.2); border-color: #25d366; transform: translateY(-2px); }
.social-fb { background: rgba(24,119,242,0.1); color: #1877f2; border-color: rgba(24,119,242,0.25); }
.social-fb:hover { background: rgba(24,119,242,0.2); border-color: #1877f2; transform: translateY(-2px); }
.social-ig { background: rgba(225,48,108,0.1); color: #e1306c; border-color: rgba(225,48,108,0.25); }
.social-ig:hover { background: rgba(225,48,108,0.22); border-color: #e1306c; transform: translateY(-2px); }
.social-link-input { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid #333; color: #ddd; padding: 7px 10px; border-radius: 6px; font-family: var(--font-body); font-size: 0.75rem; outline: none; transition: border-color 0.2s; }
.social-link-input:focus { border-color: var(--accent); }
.social-link-input::placeholder { color: #666; }

/* ══════════════════════════════════════════
   ADMIN LOGIN PAGE
══════════════════════════════════════════ */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; background: #f0f2f5; }
.admin-login-card { background: #fff; border: 1.5px solid var(--border); border-top: 3px solid var(--accent); border-radius: 12px; padding: 2.5rem; width: 100%; max-width: 410px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); animation: modalSlide 0.4s ease; }
.admin-login-logo { text-align: center; margin-bottom: 2rem; }
.admin-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(232,0,14,0.07); border: 1px solid rgba(232,0,14,0.2); color: var(--accent); padding: 5px 14px; border-radius: 4px; font-size: 0.67rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-mono); font-weight: 700; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.74rem; font-weight: 800; color: var(--text-secondary); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 1px; }
.form-input { width: 100%; background: #f7f8fa; border: 1.5px solid var(--border); color: #111; padding: 11px 14px; border-radius: 7px; font-family: var(--font-body); font-size: 0.92rem; outline: none; transition: all 0.2s; }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,0,14,0.07); background: #fff; }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 100px; }
select.form-input { cursor: pointer; }
select.form-input option { background: #fff; color: #111; }

/* ══════════════════════════════════════════
   ADMIN PANEL
══════════════════════════════════════════ */
.admin-layout { display: block; min-height: 100vh; background: var(--bg-deep); }
.admin-sidebar { background: #111; border-right: 2px solid #1e1e1e; padding: 1.5rem 1rem; position: fixed; left: 0; top: 0; bottom: 0; width: 248px; overflow-y: auto; z-index: 50; display: flex; flex-direction: column; box-shadow: 4px 0 20px rgba(0,0,0,0.2); }
.admin-main { margin-left: 248px; padding: 2.5rem; min-height: 100vh; width: calc(100% - 248px); box-sizing: border-box; }
@media (max-width: 768px) { .admin-sidebar { position: relative; width: 100%; height: auto; } .admin-main { margin-left: 0; width: 100%; } }
.admin-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid rgba(232,0,14,0.4); text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.admin-logo span { color: var(--accent); }
.admin-nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 6px; cursor: pointer; font-size: 0.84rem; font-weight: 700; transition: all 0.2s; color: #888; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.4px; font-size: 0.78rem; }
.admin-nav-item:hover { background: rgba(232,0,14,0.1); color: var(--accent); }
.admin-nav-item.active { background: var(--accent); color: #fff; border-left: 3px solid rgba(255,255,255,0.3); }
.admin-nav-icon { font-size: 1rem; flex-shrink: 0; }
.admin-logout { margin-top: auto; }

.admin-panel { display: none; }
.admin-panel.active { display: block; animation: pageIn 0.3s ease; }
.admin-page-title { font-family: var(--font-display); font-size: 1.65rem; font-weight: 900; margin-bottom: 0.4rem; text-transform: uppercase; color: #111; }
.admin-page-sub { color: var(--text-secondary); font-size: 0.87rem; margin-bottom: 1.75rem; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.stat-card { background: #fff; border: 1.5px solid var(--border); border-top: 3px solid var(--accent); border-radius: 10px; padding: 1.35rem; transition: all 0.25s; box-shadow: var(--card-shadow); }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--card-hover); }
.stat-icon { font-size: 1.75rem; margin-bottom: 0.6rem; }
.stat-value { font-family: var(--font-price); font-size: 1.75rem; font-weight: 900; color: var(--accent); }
.stat-label { color: var(--text-secondary); font-size: 0.8rem; margin-top: 0.2rem; }

/* Table */
.admin-table-wrap { background: #fff; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: var(--card-shadow); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 11px 14px; text-align: left; font-size: 0.67rem; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; border-bottom: 1.5px solid #333; background: #111; font-weight: 800; }
.admin-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 0.85rem; vertical-align: middle; color: #111; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(232,0,14,0.025); }
.admin-table .product-emoji { font-size: 1.7rem; }

/* Form */
.product-form { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 1.75rem; box-shadow: var(--card-shadow); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.form-full { grid-column: 1 / -1; }
.form-section-title { font-family: var(--font-display); font-weight: 900; font-size: 0.8rem; color: var(--accent); margin-bottom: 0.7rem; padding-bottom: 0.4rem; border-bottom: 1.5px solid var(--border); grid-column: 1/-1; text-transform: uppercase; letter-spacing: 1px; }

/* Tags */
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 4px; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; }
.tag-available { background: rgba(0,184,122,0.1); color: var(--success); border: 1px solid rgba(0,184,122,0.2); }
.tag-unavailable { background: rgba(232,0,14,0.1); color: var(--accent); border: 1px solid rgba(232,0,14,0.2); }
.tag-category { background: rgba(232,0,14,0.08); color: var(--accent); border: 1px solid rgba(232,0,14,0.18); }

/* Notifications */
.notification { position: fixed; top: 76px; right: 18px; z-index: 300; background: #fff; border: 1.5px solid var(--border); border-radius: 8px; padding: 11px 18px; font-size: 0.85rem; font-weight: 600; box-shadow: 0 8px 28px rgba(0,0,0,0.12); max-width: 285px; animation: notifSlide 0.3s ease; display: flex; align-items: center; gap: 10px; color: #111; }
@keyframes notifSlide { from { transform: translateX(26px); opacity: 0; } to { transform: none; opacity: 1; } }
.notif-success { border-left: 3px solid var(--success); }
.notif-error   { border-left: 3px solid var(--danger); }
.notif-info    { border-left: 3px solid var(--accent); }

/* Tabs */
.tabs { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--border); }
.tab { padding: 8px 15px; cursor: pointer; font-size: 0.8rem; font-weight: 800; color: var(--text-muted); transition: all 0.2s; border-bottom: 2px solid transparent; margin-bottom: -2px; text-transform: uppercase; letter-spacing: 0.5px; }
.tab:hover { color: #111; }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb span { cursor: pointer; transition: color 0.2s; }
.breadcrumb span:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--text-muted); }

/* Filter */
.filter-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin-bottom: 2rem; }
.filter-chip { padding: 6px 13px; border-radius: 4px; background: #fff; border: 1.5px solid var(--border); color: var(--text-secondary); font-size: 0.76rem; font-weight: 700; cursor: pointer; transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.4px; box-shadow: var(--card-shadow); }
.filter-chip:hover, .filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

input[type=range] { -webkit-appearance: none; width: 100%; height: 3px; border-radius: 2px; background: var(--border); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); cursor: pointer; box-shadow: 0 0 6px rgba(232,0,14,0.35); }

/* Confirm Dialog */
.confirm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.52); backdrop-filter: blur(6px); z-index: 250; display: none; align-items: center; justify-content: center; }
.confirm-overlay.open { display: flex; }
.confirm-box { background: #fff; border: 1.5px solid var(--border); border-top: 3px solid var(--danger); border-radius: 12px; padding: 1.9rem; max-width: 365px; width: 100%; text-align: center; animation: modalSlide 0.3s ease; box-shadow: 0 16px 48px rgba(0,0,0,0.16); }
.confirm-icon { font-size: 2.7rem; margin-bottom: 0.8rem; }
.confirm-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 900; margin-bottom: 0.6rem; text-transform: uppercase; color: #111; }
.confirm-text { color: var(--text-secondary); font-size: 0.87rem; margin-bottom: 1.4rem; }
.confirm-actions { display: flex; gap: 0.75rem; justify-content: center; }

/* Scroll Animations */
.scroll-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.52s ease, transform 0.52s ease; }
.scroll-reveal.revealed { opacity: 1; transform: none; }
.stagger-children > * { opacity: 0; transform: translateY(16px); transition: opacity 0.44s ease, transform 0.44s ease; }
.stagger-children.revealed > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger-children.revealed > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.15s; }
.stagger-children.revealed > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.25s; }
.stagger-children.revealed > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(n+7) { opacity: 1; transform: none; transition-delay: 0.35s; }

/* Misc */
.tilt { transition: transform 0.1s ease; }
.skeleton { background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%); background-size: 200% 100%; animation: skeleton 1.4s infinite; border-radius: 8px; }
@keyframes skeleton { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.pulse-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: stockPulse 1.5s infinite; display: inline-block; }
.neon-border { box-shadow: 0 0 0 2px var(--accent), 0 4px 16px rgba(232,0,14,0.14); }
.gradient-text { background: linear-gradient(135deg, var(--accent), #ff6b6b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

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

  /* Navbar: wrap so search+cart drop to second row */
  nav {
    height: auto;
    padding: 10px 1rem;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-logo { flex: 1 1 auto; }
  .nav-actions {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  /* Override fixed widths so search fills available space */
  .search-input,
  .search-input:focus {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0;
  }
  .cart-btn { flex-shrink: 0; }

  .hero h1 { font-size: 2.2rem; }
  .hero::before, .hero::after, .hero-lines { display: none; }
  .hero { text-align: center; }
  .hero-content { margin-left: 0; }
  .hero-cta { justify-content: center; }
  .modal-body { grid-template-columns: 1fr; }
  .admin-main { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.admin-table-actions { display: flex; gap: 7px; align-items: center; }
.progress-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width 0.5s ease; }
.chip { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 100px; font-size: 0.69rem; font-weight: 800; }

.btn-edit { background: rgba(232,0,14,0.07); color: var(--accent); border: 1.5px solid rgba(232,0,14,0.22); padding: 6px 13px; border-radius: 6px; font-size: 0.77rem; font-weight: 800; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; text-transform: uppercase; }
.btn-edit:hover { background: rgba(232,0,14,0.13); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(232,0,14,0.12); }
.btn-del { background: rgba(229,57,53,0.07); color: var(--danger); border: 1.5px solid rgba(229,57,53,0.22); padding: 6px 11px; border-radius: 6px; font-size: 0.77rem; font-weight: 800; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.btn-del:hover { background: rgba(229,57,53,0.14); transform: translateY(-1px); }

.img-upload-area { border: 2px dashed rgba(232,0,14,0.22); border-radius: 10px; padding: 1.35rem; text-align: center; cursor: pointer; transition: all 0.3s; background: var(--bg-card2); position: relative; overflow: hidden; }
.img-upload-area:hover, .img-upload-area.drag-over { border-color: var(--accent); background: rgba(232,0,14,0.02); }
.img-upload-area input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.img-upload-icon { font-size: 2.1rem; margin-bottom: 0.4rem; }
.img-upload-text { color: var(--text-secondary); font-size: 0.84rem; }
.img-upload-hint { color: var(--text-muted); font-size: 0.7rem; margin-top: 0.2rem; font-family: var(--font-mono); }
.img-preview-wrap { position: relative; border-radius: 9px; overflow: hidden; border: 1.5px solid var(--border); background: var(--bg-card2); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.img-preview { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-preview-remove { position: absolute; top: 7px; right: 7px; width: 27px; height: 27px; border-radius: 50%; background: rgba(255,255,255,0.92); border: 1.5px solid var(--danger); color: var(--danger); cursor: pointer; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.img-preview-remove:hover { background: var(--danger); color: #fff; }
.img-upload-tabs { display: flex; gap: 0; margin-bottom: 1rem; border-radius: 7px; overflow: hidden; border: 1.5px solid var(--border); }
.img-upload-tab { flex: 1; padding: 8px; text-align: center; cursor: pointer; font-size: 0.77rem; font-weight: 700; background: var(--bg-card2); color: var(--text-muted); transition: all 0.2s; text-transform: uppercase; }
.img-upload-tab.active { background: var(--accent); color: #fff; }
.img-tab-panel { display: none; }
.img-tab-panel.active { display: block; }
