/* assets/css/style.css */
:root {
  --bg-main: #0b0b0b; --bg-card: #121212; --bg-glass: rgba(0, 0, 0, 0.55);
  --accent: #FFD45A; --accent-soft: rgba(255, 212, 90, 0.25);
  --text-main: #f9fafb; --text-muted: #9ca3af;
  --border-soft: rgba(255, 255, 255, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh; background: radial-gradient(circle at top, #1f2933 0, #020617 55%, #000 100%);
  color: var(--text-main); font-family: "Inter", sans-serif;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* --- HEADER --- */
.header {
  position: sticky; top: 0; z-index: 50; height: 72px;
  background: var(--bg-glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3); display: flex; align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand-main { font-family: "Montserrat", sans-serif; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; }

/* Icons & Buttons */
.header-icons { display: flex; gap: 1rem; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(15, 23, 42, 0.7); border: 1px solid rgba(148, 163, 184, 0.3);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s;
}
.icon-btn:hover { background: #1e293b; transform: translateY(-2px); }
.menu-button { font-size: 1.2rem; cursor: pointer; background: transparent; border: none; color: white; }

/* Badge */
.icon-badge { position: relative; }
.icon-badge::after {
  content: attr(data-count); position: absolute; top: -5px; right: -5px;
  background: #f97316; font-size: 0.65rem; width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* --- OVERLAYS & PANELS --- */
.side-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8); opacity: 0; 
  pointer-events: none; transition: opacity 0.2s; z-index: 60;
}
.side-backdrop.show { opacity: 1; pointer-events: auto; }

.side-panel {
  position: fixed; top: 0; bottom: 0; width: 300px; max-width: 80%; background: #020617;
  z-index: 61; transition: transform 0.25s ease; display: flex; flex-direction: column;
  border-right: 1px solid var(--border-soft); box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
/* Left Panel (Menu) */
.side-panel.left { left: 0; transform: translateX(-100%); }
.side-panel.left.open { transform: translateX(0); }

/* Right Panel (Cart) */
.side-panel.right { right: 0; left: auto; border-right: none; border-left: 1px solid var(--border-soft); transform: translateX(100%); }
.side-panel.right.open { transform: translateX(0); }

.panel-header { padding: 1rem; border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; }
.panel-body { padding: 1rem; overflow-y: auto; flex: 1; }

/* Search Overlay */
.search-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.95); z-index: 70;
  display: flex; justify-content: center; padding-top: 5rem;
  opacity: 0; pointer-events: none; transition: 0.2s;
}
.search-overlay.show { opacity: 1; pointer-events: auto; }
.search-box { width: 100%; max-width: 600px; position: relative; }
.search-input { width: 100%; padding: 1rem 1.5rem; border-radius: 99px; border: 1px solid var(--border-soft); background: #0f172a; color: white; font-size: 1.1rem; outline: none; }

/* Login Overlay */
.login-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 75;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: 0.2s;
}
.login-overlay.show { opacity: 1; pointer-events: auto; }
.login-card { background: #1e293b; padding: 2rem; border-radius: 16px; width: 100%; max-width: 350px; text-align: center; border: 1px solid var(--border-soft); }

/* --- CARDS & GRID --- */
.hero { height: 60vh; position: relative; overflow: hidden; display: flex; align-items: center; }
.section-title { font-family: "Montserrat"; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }

.row-scroll { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; }
.product-card { min-width: 220px; background: var(--bg-card); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-soft); cursor: pointer; transition: 0.2s; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.product-img { height: 260px; width: 100%; object-fit: cover; }
.product-info { padding: 1rem; }

/* Buttons */
.btn-primary { background: linear-gradient(135deg, #facc15, #eab308); color: #111; padding: 0.6rem 1rem; border-radius: 99px; border: none; font-weight: bold; cursor: pointer; width: 100%; display: block; text-align: center; }
.btn-outline { border: 1px solid rgba(255,255,255,0.2); color: white; padding: 0.6rem 1rem; border-radius: 99px; display: block; margin-top: 0.5rem; text-decoration: none; }

/* Cart Items */
.cart-item { display: flex; gap: 10px; margin-bottom: 1rem; background: rgba(255,255,255,0.03); padding: 0.5rem; border-radius: 8px; }
.cart-thumb { width: 50px; height: 60px; object-fit: cover; border-radius: 6px; }