:root {
  --bg: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --cyan: #00d4ff;
  --cyan-dark: #00a8cc;
  --blue: #3b82f6;
  --text: #e2e8f0;
  --text-muted: #ffffff;
  --border: #1e293b;
  --red: #ef4444;
  --green: #22c55e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4, .logo span {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}

/* Top bar */
.top-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.5rem 1rem;
  background: #0f172a;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

/* Header */
.header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  color: var(--cyan);
  letter-spacing: 1px;
  white-space: nowrap;
}
.logo img {
  height: 36px;
  width: auto;
}

.search-wrap {
  flex: 1;
  display: flex;
  max-width: 520px;
  position: relative;
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.search-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.7rem 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
}
.search-btn {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border: none;
  border-radius: 999px;
  color: #000;
  font-weight: 700;
  margin: 0.2rem;
  padding: 0 1.5rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}
.search-btn:hover { opacity: 0.9; }

.search-results {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 110;
  max-height: 360px;
  overflow-y: auto;
  padding: 0.35rem;
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.search-results[hidden] { display: none; }
.search-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.55rem;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  font: inherit;
}
.search-result:hover,
.search-result:focus-visible { background: var(--bg-card-hover); outline: none; }
.search-result img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
  border-radius: 0.35rem;
  background: var(--bg);
}
.search-result-info { min-width: 0; display: grid; gap: 0.1rem; }
.search-result-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-price { color: var(--cyan); font-size: 0.85rem; }
.search-empty { padding: 0.75rem; color: var(--text-muted); text-align: center; }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0f172a;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: border-color 0.2s;
}
.cart-btn:hover { border-color: var(--cyan); }

/* Categories */
.categories {
  display: flex;
  gap: 0.6rem;
  padding: 1rem 2rem;
  overflow-x: auto;
  background: #0a0e1a;
  border-bottom: 1px solid var(--border);
}
.cat-pill {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.2s;
}
.cat-pill:hover, .cat-pill.active {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #000;
  border-color: transparent;
}

/* Hero */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
  padding: 1rem 1rem;
}

.hero-slider {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  min-height: 340px;
  width: 100%;
  height: 420px;
  border: 1px solid var(--border);
}
.hero-slide {
  padding: 2.5rem;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?w=1200&q=80') center/cover;
  position: relative;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.6) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.badge {
  display: inline-block;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.hero-content h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.highlight { color: var(--cyan); }
.hero-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.hero-btns {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #000;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.7rem 1.5rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--cyan); }

.hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.dot.active { background: var(--cyan); width: 20px; border-radius: 4px; }

/* Flash deals */
.flash-deals {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: rgba(8, 14, 28, 0.829);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.flash-deals::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 14, 28, 0.58);
  pointer-events: none;
}
.flash-deals-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flash-deals > :not(.flash-deals-video) {
  position: relative;
}
.flash-deals-highlight {
  animation: flash-deals-glow 1.8s ease-out;
}
@keyframes flash-deals-glow {
  0%, 100% {
    border-color: var(--border);
    box-shadow: 0 0 0 rgba(0, 212, 255, 0);
  }
  35% {
    border-color: rgba(0, 212, 255, 0.9);
    box-shadow: 0 0 34px rgba(0, 212, 255, 0.55), inset 0 0 20px rgba(59, 130, 246, 0.16);
  }
}
.flash-deals h3 {
  color: #f87171;
  font-size: 1.1rem;
}
.deal-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -0.4rem;
}
.deal-item {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}
.deal-item:hover { background: var(--bg-card-hover); }
.deal-item img {
  width: 48px;
  height: 48px;
  border-radius: 0.4rem;
  object-fit: cover;
}
.deal-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.deal-item strong {
  color: var(--cyan);
  font-size: 0.95rem;
}
.rush-box {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 0.6rem;
  padding: 0.8rem;
  margin-top: auto;
}
.rush-box span { font-size: 1.4rem; }
.rush-box strong { display: block; font-size: 0.95rem; }
.rush-box p { font-size: 0.8rem; color: var(--text-muted); }

/* Shop by category */
.shop-category {
  padding: 1.5rem 2rem;
}
.shop-category h2 {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-card:hover {
  border-color: var(--cyan);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.cat-card span {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
}
.cat-card p {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Custom banner */
.custom-banner {
  margin: 1rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.custom-left {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.custom-left .icon {
  font-size: 1.8rem;
  background: rgba(0, 212, 255, 0.15);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
}
.custom-left h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.custom-left h3 span, .custom-left h3 {
  color: var(--text);
}
.custom-left p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
}

/* Products */
.products-section {
  padding: 1.5rem 2rem 3rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.section-header h2 { font-size: 1.5rem; }
#itemCount { color: var(--text-muted); font-size: 0.9rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}
.fashion-product-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.product-card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.product-card.scroll-reveal:not(.is-visible) {
  opacity: 0;
  translate: 0 34px;
}
.product-card.scroll-reveal.is-visible {
  animation: storeProductRise 650ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes storeProductRise {
  from { opacity: 0; translate: 0 34px; }
  to { opacity: 1; translate: 0 0; }
}
.product-img {
  position: relative;
  aspect-ratio: 1;
  background: #0f172a;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-img .product-img-secondary {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s;
}
.product-card:hover .product-img-secondary,
.product-card:focus-within .product-img-secondary { opacity: 1; }
.product-card:hover .product-img img { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .product-card.scroll-reveal,
  .product-card.scroll-reveal.is-visible {
    animation: none !important;
    opacity: 1 !important;
    translate: none !important;
  }
}
.badge-discount {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  right: 0.7rem;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
}
.badge-wholesale {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--cyan);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
}
.product-info {
  padding: 1rem 1.1rem 1.2rem;
}
.product-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-family: 'Rajdhani', sans-serif;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.price {
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.15rem;
}
.old-price {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.9rem;
}
.rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.rating span { color: #fbbf24; }
.add-btn {
  width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #000;
  border: none;
  padding: 0.7rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
}
.add-btn:hover { opacity: 0.9; }

/* Footer */
.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3rem 2rem 2rem;
  background: #0a0e1a;
  border-top: 1px solid var(--border);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.8rem;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
}

/* Social icons */
.social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0f172a;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
}

.social-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 900px) {
  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 560px) {
  .footer {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* Cart sidebar */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 200;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.cart-sidebar.open { right: 0; }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.1rem; }
#closeCart {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}
.cart-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem;
  background: #0f172a;
  border-radius: 0.6rem;
  margin-bottom: 0.8rem;
  align-items: center;
}
.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: 0.4rem;
  object-fit: cover;
}
.cart-item-info { flex: 1; }
.cart-item-info p { font-size: 0.9rem; margin-bottom: 0.2rem; }
.cart-item-info strong { color: var(--cyan); }
.qty-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
}
.qty-control button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 0.3rem;
  cursor: pointer;
  font-size: 1rem;
}
.remove-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
}
.cart-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border);
}
.subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.checkout-btn { width: 100%; padding: 0.9rem; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  padding: 1rem;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.product-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.modal-overlay.open .product-modal { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .product-modal { transition-duration: 0.01ms; }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #0f172a;
  border: 1px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  font-size: 1.1rem;
}
.modal-body {
  display: contents;
}
.modal-img {
  position: relative;
}
.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}
.modal-details {
  padding: 2rem;
}
.modal-details h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
}
.modal-price {
  color: var(--cyan);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.8rem 0;
}
.modal-desc {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.qty-row .qty-control button {
  width: 32px;
  height: 32px;
}
.delivery-info {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.modal-add {
  width: 100%;
  padding: 0.9rem;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 150;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.05); }

/* Responsive */
 @media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; }
  .flash-deals { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer { grid-template-columns: 1fr 1fr; }
  .product-modal { grid-template-columns: 1fr; }
  .modal-img #modalMainImage { height: 280px; }
}
@media (max-width: 640px) {
  .header { flex-wrap: wrap; padding: 0.8rem 1rem; }
  .search-wrap { order: 3; width: 100%; max-width: none; }
  .categories { padding: 0.8rem 1rem; }
  .hero-section, .shop-category, .products-section { padding-left: 1rem; padding-right: 1rem; }
  .custom-banner { flex-direction: column; margin: 1rem; padding: 1.2rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr; padding: 2rem 1rem; }
  .hero-content h1 { font-size: 1.8rem; }
}
/* Hero slide background support */
.hero-slide {
  padding: 2.5rem;
  height: 100%;
  display: none;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slide.active {
  display: flex;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.6) 60%, transparent 100%);
}
#checkoutForm .form-group {
  margin-bottom: 0.7rem;
}
#checkoutForm input,
#checkoutForm textarea {
  width: 100%;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 0.45rem;
  padding: 0.6rem 0.8rem;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}
#checkoutForm input:focus,
#checkoutForm textarea:focus {
  border-color: #00d4ff;
}
.option-group {
  margin-bottom: 1.1rem;
}
.option-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.option-btn {
  background: #0f172a;
  border: 1px solid #1e293b;
  color: #e2e8f0;
  padding: 0.4rem 0.9rem;
  border-radius: 0.4rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.option-btn:hover {
  border-color: var(--cyan);
}
.option-btn.active {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #000;
  border-color: transparent;
  font-weight: 600;
}
/* ===== Product Modal Image + Thumbnails ===== */
.modal-img {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0f172a;
}

.modal-img #modalMainImage {
  width: 100%;
  height: 380px;               /* fixed height for main image */
  object-fit: cover;
  display: block;
}

/* ===== Thumbnail Gallery ===== */
.thumb-gallery {
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem;
  background: #0a0e1a;
  overflow-x: auto;
  border-top: 1px solid var(--border);
}

.modal-rating-section {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
}

.modal-rating-section > .rating { margin: 0 0 0.9rem; }
.modal-rating-section .review-box { margin: 0; padding-top: 1rem; border-top: 1px solid var(--border); }

.thumb {
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  object-fit: cover !important;
  border-radius: 0.45rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  display: block;
}

.thumb:hover {
  border-color: var(--cyan);
}

.thumb.active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.4);
}
/* ===== Loading Spinner ===== */
.loading-spinner {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.loading-spinner .spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(0, 212, 255, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1rem;
}

.loading-spinner p {
  font-size: 0.95rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-spinner.hidden {
  display: none;
}
/* ===== Review Form ===== */
.review-box {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.review-box h4 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
  font-family: 'Rajdhani', sans-serif;
}

.review-box .form-group {
  margin-bottom: 0.7rem;
}

.review-box label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.review-box select,
.review-box textarea {
  width: 100%;
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  padding: 0.55rem 0.8rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.review-box select:focus,
.review-box textarea:focus {
  border-color: var(--cyan);
}
/* ===== Existing Reviews ===== */
.review-item {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.7rem;
}

.review-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.review-comment {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.review-date {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.flash-deals .countdown {
  font-size: 0.9rem;
  color: #fbbf24;
  font-weight: 600;
  margin: 0.3rem 0 0.8rem;
  letter-spacing: 0.3px;
}
/* Social Media Icons */
.social-links {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none;
  padding: 0 !important;
  line-height: 0 !important;
  transition: all 0.25s ease;
  border: none;
}

.social-btn svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

/* Instagram glow */
.social-btn[title="Instagram"] {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 0 12px rgba(225, 48, 108, 0.55), 0 0 24px rgba(225, 48, 108, 0.25);
}

.social-btn[title="Instagram"]:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.8), 0 0 36px rgba(225, 48, 108, 0.4);
}

/* Facebook glow */
.social-btn[title="Facebook"] {
  background: #1877f2;
  color: #fff;
  box-shadow: 0 0 12px rgba(24, 119, 242, 0.55), 0 0 24px rgba(24, 119, 242, 0.25);
}

.social-btn[title="Facebook"]:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 0 18px rgba(24, 119, 242, 0.8), 0 0 36px rgba(24, 119, 242, 0.4);
}
/* Auth Modal */
.auth-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  position: relative;
}

.auth-modal h2 {
  margin-bottom: 0.3rem;
}

.auth-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.auth-modal input {
  width: 100%;
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  color: var(--text);
  margin-bottom: 0.7rem;
  font-family: inherit;
}

.auth-switch {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--cyan);
  text-decoration: none;
}

.auth-modal .error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-name {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  position: relative;
}

.auth-modal h2 { margin-bottom: 0.3rem; }
.auth-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.2rem; }
.auth-modal input {
  width: 100%;
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  color: var(--text);
  margin-bottom: 0.7rem;
  font-family: inherit;
}
.auth-switch { text-align: center; margin-top: 1rem; font-size: 0.9rem; color: var(--text-muted); }
.auth-switch a { color: var(--cyan); text-decoration: none; }
.auth-modal .error { color: #ef4444; font-size: 0.85rem; margin-top: 0.6rem; }

.my-orders-item {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 0.7rem;
}
.add-btn:disabled,
.modal-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #64748b !important;
}
.stock-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: #22c55e;
  font-weight: 600;
  margin: 0.3rem 0 0.5rem;
}

.stock-badge.out {
  color: #ef4444;
}
.track-btn {
  white-space: nowrap;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
}

@media (max-width: 700px) {
  .track-btn {
    display: none; /* hide on very small screens if crowded */
  }
}
.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Header account and tracking controls use glass without glow */
.header-user .btn-outline,
#myOrdersBtn,
#logoutBtn,
#openAuthBtn,
#myOrdersBtnMobile,
#logoutBtnMobile,
#openAuthBtnMobile,
.track-btn {
  color: var(--text);
  background: rgba(17, 24, 39, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-user .btn-outline:hover,
#myOrdersBtn:hover,
#logoutBtn:hover,
#openAuthBtn:hover,
#myOrdersBtnMobile:hover,
#logoutBtnMobile:hover,
#openAuthBtnMobile:hover,
.track-btn:hover {
  color: #fff;
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: none;
}

/* Cart button — soft cyan glow */
.cart-btn {
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.25), 0 0 18px rgba(0, 212, 255, 0.1);
  transition: all 0.25s ease;
}

.cart-btn:hover {
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.5), 0 0 28px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

/* Space between Track Order and Cart */
.header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.track-btn {
  margin-left: 0.15rem;
  margin-right: 0.15rem;
}

.cart-btn {
  margin-left: 0.15rem;
}
/* ===== MOBILE MENU ===== */
.header-mobile-right {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: 0.2s;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100vh;
  background: #0f172a;
  border-left: 1px solid var(--border);
  z-index: 210;
  padding: 1.2rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: var(--cyan);
}

.mobile-menu-header button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-menu-link {
  display: block;
  padding: 0.85rem 1rem;
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.mobile-menu-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.mobile-menu-user {
  margin-bottom: 0.4rem;
}

.mobile-menu-user .btn-outline,
.mobile-menu-user button {
  width: 100%;
  margin-bottom: 0.4rem;
}

/* Desktop / Mobile switch */
.header-actions-desktop {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

@media (max-width: 900px) {
  .header-actions-desktop {
    display: none;
  }
  .header-mobile-right {
    display: flex;
  }
  .search-wrap {
    max-width: none;
    flex: 1;
  }
  .search-wrap input {
    font-size: 0.85rem;
    padding: 0.55rem 0.8rem;
  }
  .search-btn {
    padding: 0.55rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 520px) {
  .logo span {
    display: none;
  }
  .top-bar {
    font-size: 0.75rem;
    gap: 0.8rem;
  }
}
/* Logo glow */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.55))
          drop-shadow(0 0 14px rgba(0, 212, 255, 0.3));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.logo span {
  color: var(--cyan);
  text-shadow:
    0 0 8px rgba(0, 212, 255, 0.6),
    0 0 18px rgba(0, 212, 255, 0.35);
  transition: text-shadow 0.25s ease;
}

.logo:hover img {
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.85))
          drop-shadow(0 0 22px rgba(0, 212, 255, 0.45));
  transform: scale(1.04);
}

.logo:hover span {
  text-shadow:
    0 0 12px rgba(0, 212, 255, 0.9),
    0 0 28px rgba(0, 212, 255, 0.5);
}
.header .logo {
  cursor: pointer;
}
.footer-brand .map-embed {
  margin-top: 0.9rem;
  width: 100%;
  max-width: 260px;      /* keeps it in the left column */
  height: 140px;         /* shorter */
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.footer-brand .map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-brand .map-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--cyan);
  text-decoration: none;
}

.footer-brand .map-link:hover {
  text-decoration: underline;
}

/* safety: never let map break the whole footer */
.footer iframe {
  max-width: 100%;
}
.hero-slide {
  position: relative;
  overflow: hidden;
}

.hero-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 14, 26, 0.92) 0%,
    rgba(10, 14, 26, 0.55) 55%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-slide .hero-content {
  position: relative;
  z-index: 2;
}

.footer-brand .map-embed {
  margin-top: 0.9rem;
  width: 100%;
  max-width: 260px;
  height: 140px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.footer-brand .map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.footer-brand .map-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--cyan);
  text-decoration: none;
}
.hero-slider {
  position: relative;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.4);
  background: rgba(10, 14, 26, 0.75);
  color: var(--cyan, #00d4ff);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.hero-arrow:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--cyan, #00d4ff);
}

.hero-prev { left: 0.75rem; }
.hero-next { right: 0.75rem; }

@media (max-width: 600px) {
  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}
/* ========== SHARED BUTTON MOTION ========== */
.btn-primary,
.btn-outline,
.add-btn,
.cat-pill,
.cart-btn,
.search-btn,
.social-btn,
.menu-toggle,
.hero-arrow,
.ar-launch {
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

/* ========== GLASSMORPHIC (frosted glass) ========== */
.btn-outline,
.cat-pill,
.cart-btn,
.social-btn,
.track-btn,
.menu-toggle,
.hero-arrow {
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-outline:hover,
.cat-pill:hover,
.cart-btn:hover,
.social-btn:hover,
.track-btn:hover,
.hero-arrow:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow:
    0 8px 28px rgba(0, 212, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.cat-pill.active {
  background: rgba(0, 212, 255, 0.18);
  border-color: rgba(0, 212, 255, 0.55);
  color: var(--cyan);
  box-shadow:
    0 0 20px rgba(0, 212, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ========== GLASS + GRADIENT PRIMARY ========== */
.btn-primary,
.add-btn,
.search-btn,
.checkout-btn {
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.95),
    rgba(59, 130, 246, 0.95)
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #041018;
  font-weight: 700;
  box-shadow:
    0 6px 24px rgba(0, 212, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover,
.add-btn:hover,
.search-btn:hover,
.checkout-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(0, 212, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  filter: brightness(1.06);
}

.btn-primary:active,
.add-btn:active,
.search-btn:active,
.btn-outline:active,
.cat-pill:active {
  transform: translateY(1px) scale(0.98);
}

/* ========== NEUMORPHIC (soft 3D on dark) ========== */
.btn-neu,
.cat-card {
  background: #111827;
  border: none;
  box-shadow:
    8px 8px 20px rgba(0, 0, 0, 0.45),
    -6px -6px 16px rgba(40, 55, 80, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-neu:hover,
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow:
    10px 10px 24px rgba(0, 0, 0, 0.5),
    -8px -8px 18px rgba(50, 70, 100, 0.28),
    0 0 20px rgba(0, 212, 255, 0.08);
}

.btn-neu:active,
.cat-card:active {
  transform: translateY(1px);
  box-shadow:
    inset 5px 5px 12px rgba(0, 0, 0, 0.45),
    inset -4px -4px 10px rgba(40, 55, 80, 0.2);
}

/* Optional: pure neumorphic outline buttons */
.btn-outline.neu {
  background: #0f172a;
  border: 1px solid transparent;
  box-shadow:
    6px 6px 14px rgba(0, 0, 0, 0.4),
    -4px -4px 12px rgba(35, 50, 75, 0.22);
}

.btn-outline.neu:hover {
  box-shadow:
    8px 8px 18px rgba(0, 0, 0, 0.45),
    -5px -5px 14px rgba(40, 60, 90, 0.25),
    0 0 16px rgba(0, 212, 255, 0.12);
  color: var(--cyan);
}

/* Disabled */
button:disabled,
.add-btn:disabled {
  opacity: 0.5;
  transform: none !important;
  box-shadow: none !important;
  cursor: not-allowed;
  filter: none !important;
}
.header,
.product-card,
.footer,
.cart-sidebar,
.product-modal {
  background: rgba(8, 14, 28, 0.88);
  backdrop-filter: blur(10px);
}
.shop-categories {
  padding: 1.5rem 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.shop-cat-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  background: linear-gradient(90deg, #e2e8f0, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shop-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

@media (max-width: 900px) {
  .shop-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .shop-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

.shop-cat-card {
  position: relative;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 0.6rem 1rem;
  text-align: center;
  cursor: pointer;
  color: var(--text-muted, #94a3b8);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}

.shop-cat-card[href] {
  display: block;
  text-decoration: none;
}

.shop-cat-card:hover,
.shop-cat-card.active {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(15, 40, 60, 0.7);
  color: #e2e8f0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 212, 255, 0.15);
}

.shop-cat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.shop-cat-card:hover .shop-cat-icon,
.shop-cat-card.active .shop-cat-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
}

.shop-cat-icon svg {
  width: 26px;
  height: 26px;
}

/* Banner */
.shop-cat-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.shop-cat-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shop-cat-banner-icon svg { width: 24px; height: 24px; }

.shop-cat-banner-text {
  flex: 1;
  min-width: 180px;
}

.shop-cat-banner-text strong {
  display: block;
  font-size: 1rem;
  color: #f1f5f9;
  margin-bottom: 0.2rem;
}

.shop-cat-banner-text p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

.shop-cat-wa {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #00d4ff, #3b82f6);
  color: #041018;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.shop-cat-wa:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.35);
}

@media (max-width: 700px) {
  .shop-cat-banner {
    flex-direction: column;
    text-align: center;
  }
}
/* ===== Category bar (green circle area) — centered + glass ===== */
.categories,
.cat-bar,
.category-bar {
  display: flex;
  justify-content: center;      /* center the whole group */
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  margin: 0 auto;
  max-width: 100%;

  /* glass background for the section */
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* each pill / filter button */
.cat-pill,
.categories button,
.category-bar .cat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: #94a3b8;

  /* glassmorphic button */
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.cat-pill:hover,
.categories button:hover {
  transform: translateY(-2px) scale(1.03);
  color: #e2e8f0;
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow:
    0 8px 24px rgba(0, 212, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cat-pill.active,
.categories button.active {
  color: #041018;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.95), rgba(59, 130, 246, 0.9));
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 6px 22px rgba(0, 212, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ===== Header search + action buttons (optional glass) ===== */
.search-btn,
.header .btn-outline,
.header .btn-primary,
.cart-btn {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-btn {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.95), rgba(59, 130, 246, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
}

.header .btn-outline {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header .btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.1);
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header .search-wrap {
  margin: 0 auto; /* pushes search toward center when space allows */
  max-width: 420px;
  flex: 1;
}
/* Staggered pop-in */
@keyframes shopPop {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.shop-cat-card,
.shop-cat-banner {
  opacity: 0;
  animation: shopPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* one-by-one delays */
.shop-cat-card:nth-child(1) { animation-delay: 0.05s; }
.shop-cat-card:nth-child(2) { animation-delay: 0.12s; }
.shop-cat-card:nth-child(3) { animation-delay: 0.19s; }
.shop-cat-card:nth-child(4) { animation-delay: 0.26s; }
.shop-cat-card:nth-child(5) { animation-delay: 0.33s; }
.shop-cat-card:nth-child(6) { animation-delay: 0.40s; }

.shop-cat-banner {
  animation-delay: 0.50s; /* after all 6 cards */
}

/* keep hover working after animation ends */
.shop-cat-card:hover,
.shop-cat-card.active {
  animation: none;
  opacity: 1;
  transform: translateY(-6px) scale(1);
}
.shop-cat-card,
.shop-cat-banner {
  opacity: 0;
  transform: translateY(28px) scale(0.92);
  animation: none;
}

.shop-categories.in-view .shop-cat-card,
.shop-categories.in-view .shop-cat-banner {
  animation: shopPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.shop-categories.in-view .shop-cat-card:nth-child(1) { animation-delay: 0.05s; }
.shop-categories.in-view .shop-cat-card:nth-child(2) { animation-delay: 0.12s; }
.shop-categories.in-view .shop-cat-card:nth-child(3) { animation-delay: 0.19s; }
.shop-categories.in-view .shop-cat-card:nth-child(4) { animation-delay: 0.26s; }
.shop-categories.in-view .shop-cat-card:nth-child(5) { animation-delay: 0.33s; }
.shop-categories.in-view .shop-cat-card:nth-child(6) { animation-delay: 0.40s; }
.shop-categories.in-view .shop-cat-banner { animation-delay: 0.50s; }

/* Portfolio floating button — above WhatsApp */
.portfolio-float {
  position: fixed;
  right: 1.25rem;
  bottom: 5.2rem; /* sits above .wa-float */
  z-index: 91;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 212, 255, 0.55);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(0, 212, 255, 0.35);
  background: rgba(10, 14, 26, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-float:hover {
  transform: scale(1.08);
  box-shadow:
    0 8px 28px rgba(0, 212, 255, 0.45),
    0 0 28px rgba(0, 212, 255, 0.35);
}

/* Keep WhatsApp below it */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
}

.header a.track-btn:hover {
  color: #fff;
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: none;
}

.fashion-pill {
  position: relative;
  isolation: isolate;
  color: #fff !important;
  text-decoration: none;
  background: linear-gradient(135deg, #7f1118, #e11d2e 55%, #ff7043) !important;
  border-color: rgba(255, 150, 130, 0.8) !important;
  box-shadow: 0 0 12px rgba(239, 45, 55, 0.55), inset 0 1px 0 rgba(255, 220, 205, 0.45) !important;
  animation: fashion-fire-glow 1.8s ease-in-out infinite alternate;
}
.fashion-pill:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #991b1b, #ef2939 55%, #ff8a50) !important;
  border-color: #ffc2ad !important;
  transform: translateY(-2px) scale(1.03);
}
@keyframes fashion-fire-glow {
  from { box-shadow: 0 0 8px rgba(239, 45, 55, 0.45), inset 0 1px 0 rgba(255, 220, 205, 0.35); }
  to { box-shadow: 0 0 20px rgba(255, 55, 55, 0.85), 0 0 32px rgba(249, 115, 22, 0.35), inset 0 1px 0 rgba(255, 235, 220, 0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .fashion-pill { animation: none; }
}

html { min-width: 320px; }
body { overflow-x: clip; }
img, video, canvas, svg { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }

@media (max-width: 640px) {
  .top-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.8rem;
    padding-inline: 0.65rem;
    text-align: center;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.75rem;
  }

  .hero-slider {
    height: clamp(300px, 82vw, 380px);
    min-height: 0;
  }

  .hero-slide { padding: clamp(1rem, 5vw, 2rem); }
  .hero-content h1 { font-size: clamp(1.65rem, 7vw, 2.4rem); }

  .products-section,
  .shop-category { padding-inline: 0.75rem; }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .product-info { padding: 0.75rem; }
  .price-row { flex-wrap: wrap; column-gap: 0.4rem; }

  .shop-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-categories { padding: 1rem 0.75rem 1.5rem; }
  .section-header { align-items: flex-start; gap: 0.6rem; }
  .section-header h2 { font-size: 1.2rem; }

  .product-modal { grid-template-columns: minmax(0, 1fr); }
  .modal-img #modalMainImage { height: clamp(200px, 55vw, 300px); min-height: 0; }
  .modal-details { padding: 1rem; }

  .wa-float {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    padding: 0.65rem 0.85rem;
  }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .header { gap: 0.6rem; }
  .categories { padding-inline: 0.65rem; }
}