/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f5f7fa;
  color: #1a1a2e;
  padding-bottom: 76px; /* space for bottom nav */
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   GLASSMORPHISM UTILITY (used on many elements)
   ============================================================ */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

/* ============================================================
   HEADER (iPhone‑style glass)
   ============================================================ */
.store-header {
  background: rgba(0, 122, 255, 0.12);        /* translucent blue */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 8px 16px;
}


.store-header .logo-area p,
.store-header .header-actions .action-link,
.store-header .header-actions .user-name,
.store-header .header-actions .user-link,
.store-header .hamburger-btn,
.store-header .header-nav a {
  color: #000000 !important;
}

.store-header .header-actions .user-link.login-link {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
}

.store-header .header-actions .user-link:not(.login-link) {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
}

.store-header .search-row {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.store-header .search-row input {
  color: white;
}
.store-header .search-row input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.store-header .search-row button {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.store-header .header-nav a {
  color: rgba(255, 255, 255, 0.85);
}
.store-header .header-nav a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}





.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-area img {
  height: 36px;
  width: auto;
}
.logo-area p {
  font-size: 12px;
  color: #6c7a89;
  margin: 0;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #2c3e50;
  transition: 0.2s;
  position: relative;
}
.header-actions .action-link:hover {
  color: #007aff;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #ff3b30;
  color: white;
  font-size: 11px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.hamburger-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #2c3e50;
  cursor: pointer;
  display: none;
}

/* User info dropdown */
.user-info-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
}
.user-info-dropdown .user-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}
.user-info-dropdown .user-link {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 30px;
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
}
.user-info-dropdown .user-link.login-link {
  background: #007aff;
  color: white;
}

/* Search row */
.search-row {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 4px;
  margin: 8px 0 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.search-row input {
  flex: 1;
  border: none;
  padding: 10px 16px;
  font-size: 15px;
  background: transparent;
  outline: none;
  color: #1a1a2e;
}
.search-row input::placeholder {
  color: #a0aec0;
}
.search-row button {
  background: #007aff;
  border: none;
  border-radius: 30px;
  padding: 8px 18px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}
.search-row button:hover {
  background: #005bbf;
}

/* Navigation links */
.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(0,0,0,0.04);
  margin-top: 4px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #4a5a6a;
  padding: 4px 0;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
}
.header-nav a:hover {
  color: #007aff;
  border-bottom-color: #007aff;
}

/* Mobile menu */
@media (max-width: 768px) {
  .hamburger-btn { display: block; }
  .header-nav {
    display: none;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 16px;
    margin-top: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  }
  .header-nav.open { display: flex; }
  .header-nav a {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .logo-area p { display: none; }
}

/* ============================================================
   BANNER (Hot Deal)
   ============================================================ */
.featured-banner {
  background: linear-gradient(135deg, #e8f0fe, #ffffff);
  border-radius: 30px;
  padding: 30px 40px;
  margin: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.3);
}
.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.banner-text h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
}
.banner-text .highlight {
  color: #007aff;
}
.banner-text p {
  color: #4a5a6a;
  font-size: 16px;
}
.banner-buttons button {
  background: #007aff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}
.banner-buttons button:hover {
  background: #005bbf;
  transform: scale(1.02);
}
.banner-link {
  color: #007aff;
  font-weight: 500;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  border-radius: 40px;
  margin: 0 20px 30px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2c3e50;
  font-weight: 500;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 24px;
  padding: 16px;
  transition: 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,122,255,0.12);
  border-color: rgba(0,122,255,0.2);
}
.card .gallery img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 16px;
  background: #f8fafc;
}
.card h3 {
  font-size: 18px;
  margin: 12px 0 4px;
  color: #1a1a2e;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.current-price {
  color: #007aff;
  font-size: 22px;
  font-weight: 700;
}
.old-price {
  color: #a0aec0;
  text-decoration: line-through;
}


.flash-pricing .original,
.original {
    text-decoration: line-through;
    color: #a0aec0;   /* grey colour to make it look "cancelled" */
}


.discount-badge {
  background: #ff3b30;
  color: white;
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
}

/* Product badges */
.card .sale,
.card .new-badge,
.card .hot-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  z-index: 2;
}
.card .sale { background: #ff3b30; color: white; }
.card .new-badge { background: #007aff; color: white; }
.card .hot-badge { background: #ff6b00; color: white; }

.stock-indicator {
  font-size: 12px;
  margin: 4px 0;
}
.stock-indicator.low { color: #ff3b30; }
.stock-indicator:not(.low) { color: #2e7d32; }

.delivery-badge {
  display: inline-block;
  background: rgba(46,125,50,0.1);
  color: #2e7d32;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 11px;
  margin: 6px 0;
  font-weight: bold;
}

/* ============================================================
   BUTTONS – GLASSY EFFECT (all buttons)
   ============================================================ */
button,
.buy,
.add-cart-btn,
.checkout-btn,
.account-btn,
.pay-btn,
.add-bundle-btn,
.load-more-btn,
.banner-buttons button,
.promo-apply-btn,
.promo-remove-btn,
.logout-btn,
.login-btn,
.save-btn,
.cancel-btn,
.edit-btn,
.delete-btn,
.move-btn,
.save-btn,
.whatsapp,
.wa-btn {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  color: #1a1a2e !important;
  transition: all 0.25s ease !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border-radius: 30px !important;
  padding: 12px 24px !important;
}

/* Hover state for glass buttons */
button:hover,
.buy:hover,
.add-cart-btn:hover,
.checkout-btn:hover,
.account-btn:hover,
.pay-btn:hover,
.add-bundle-btn:hover,
.load-more-btn:hover,
.banner-buttons button:hover,
.promo-apply-btn:hover,
.promo-remove-btn:hover,
.logout-btn:hover,
.login-btn:hover,
.save-btn:hover,
.cancel-btn:hover,
.edit-btn:hover,
.delete-btn:hover,
.move-btn:hover,
.save-btn:hover,
.whatsapp:hover,
.wa-btn:hover {
  background: rgba(255, 255, 255, 0.45) !important;
  border-color: rgba(0, 122, 255, 0.3) !important;
  box-shadow: 0 8px 30px rgba(0, 122, 255, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Special case: buttons that need a primary colour (e.g., "Shop Now") */
.banner-buttons button,
.checkout-btn,
.account-btn,
.pay-btn,
.add-bundle-btn,
.login-btn,
.save-btn {
  background: rgba(0, 122, 255, 0.2) !important;
  border-color: rgba(0, 122, 255, 0.3) !important;
  color: #007aff !important;
}
.banner-buttons button:hover,
.checkout-btn:hover,
.account-btn:hover,
.pay-btn:hover,
.add-bundle-btn:hover,
.login-btn:hover,
.save-btn:hover {
  background: rgba(0, 122, 255, 0.3) !important;
}

/* Danger buttons (delete, clear) – keep red tint */
.delete-btn,
.remove-btn,
.logout-btn,
.promo-remove-btn {
  background: rgba(255, 59, 48, 0.15) !important;
  border-color: rgba(255, 59, 48, 0.25) !important;
  color: #ff3b30 !important;
}
.delete-btn:hover,
.remove-btn:hover,
.logout-btn:hover,
.promo-remove-btn:hover {
  background: rgba(255, 59, 48, 0.25) !important;
}

/* WhatsApp button – keep green */
.whatsapp,
.wa-btn {
  background: rgba(37, 211, 102, 0.2) !important;
  border-color: rgba(37, 211, 102, 0.3) !important;
  color: #25d366 !important;
}
.whatsapp:hover,
.wa-btn:hover {
  background: rgba(37, 211, 102, 0.3) !important;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-title {
  font-size: 36px;
  text-align: center;
  margin: 30px 0;
  color: #1a1a2e;
}
.cart-item {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
  padding: 20px;
  margin: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.cart-item-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 2;
}
.cart-item-image {
  width: 60px;
  height: 60px;
  background: #f0f4f8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-item-details h3 {
  margin: 0;
  color: #1a1a2e;
}
.cart-item-details p {
  color: #6c7a89;
  margin: 0;
}
.cart-item-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 30px;
}
.cart-qty-controls button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: none;
  font-size: 18px;
  cursor: pointer;
}
.cart-item-total {
  font-weight: bold;
  font-size: 18px;
  color: #007aff;
  min-width: 70px;
  text-align: right;
}
.remove-btn {
  background: rgba(255,59,48,0.15);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 16px;
  cursor: pointer;
  color: #ff3b30;
}

#savedSection h2 {
  color: #1a1a2e;
  font-size: 20px;
  margin-bottom: 15px;
}
.saved-item {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  padding: 15px;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.saved-item-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 2;
}
.saved-item-image {
  width: 60px;
  height: 60px;
  background: #f0f4f8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.saved-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.saved-item-details h3 {
  margin: 0;
  color: #1a1a2e;
}
.saved-item-details p {
  color: #6c7a89;
  margin: 0;
}
.saved-item-total {
  font-weight: bold;
  font-size: 16px;
  color: #007aff;
}
.move-btn {
  background: rgba(0,122,255,0.15);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 16px;
  cursor: pointer;
  color: #007aff;
}

#cartSummary {
  max-width: 700px;
  margin: 20px auto;
  padding: 0 20px;
}
#cartSummary > div {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
#cartSummary .promo-section {
  margin-top: 15px;
}
.promo-input-group {
  display: flex;
  gap: 8px;
}
.promo-input-group input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 30px;
  border: 1px solid #ddd;
  background: white;
}
.promo-apply-btn {
  background: rgba(0,122,255,0.15);
  border: 1px solid rgba(0,122,255,0.3);
  color: #007aff;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
}

/* ============================================================
   CHECKOUT, ACCOUNT, PAYMENT PAGES
   ============================================================ */
.checkout-wrapper,
.account-wrapper,
.payment-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.checkout-form,
.account-form,
.payment-box {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.checkout-form h2,
.account-form h2,
.payment-box h2 {
  color: #1a1a2e;
  margin: 0 0 20px;
}
.form-group label {
  display: block;
  color: #4a5a6a;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: white;
  color: #1a1a2e;
  font-size: 15px;
  transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #007aff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}

/* Dashboard */
.dashboard-wrapper {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
}
.dashboard-header h1 {
  color: #1a1a2e;
  margin: 0;
  font-size: 28px;
}
.dashboard-header h1 span {
  color: #007aff;
}
.order-history,
.wishlist-section {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
}
.order-history h2,
.wishlist-section h2 {
  color: #1a1a2e;
  margin: 0 0 20px;
}
.order-card {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 15px;
}
.order-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.order-id { color: #4a5a6a; font-size: 13px; }
.order-date { color: #6c7a89; font-size: 13px; }
.order-items { color: #4a5a6a; font-size: 14px; padding-left: 10px; border-left: 3px solid #007aff; }
.order-total { color: #007aff; font-weight: bold; font-size: 18px; margin-top: 10px; }

.dashboard-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.dashboard-link {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 15px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  color: #1a1a2e;
  transition: 0.3s;
}
.dashboard-link:hover {
  background: rgba(255,255,255,0.9);
  border-color: #007aff;
  transform: translateY(-2px);
}




/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,0.04);
  padding: 30px 20px;
  text-align: center;
  color: #1a1a2e;
  margin-top: 40px;
}
footer h2 {
  margin: 0 0 6px;
  color: #1a1a2e;
}
.social-links img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}


/* ============================================================
   BUNDLES – FULL WIDTH + GLASS EFFECT
   ============================================================ */

/* Grid – full width, no margins */
.bundles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Card – glass background, rounded corners */
.bundle-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
    transition: 0.3s;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.bundle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,122,255,0.08);
}

/* Image area – full width, no glass overlay on images */
.bundle-image {
    position: relative;
    height: 450px;
    width: 100%;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    overflow: hidden;
    flex-shrink: 0;
}

/* Slideshow fills the image area */
.bundle-slideshow {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

.slideshow-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* THIS IS THE ONLY RULE FOR SLIDE IMAGES – it uses 'cover' to fill the block */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* ← forces image to fill entire container */
    background: #0a0a0a;
}

/* Glass effect on the save badge */
.bundle-save-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(229, 168, 46, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #111;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 30px;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Slideshow navigation buttons – visible and well‑positioned */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    line-height: 1;
}
.slide-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}
.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }

/* Dots (indicators) */
.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slide-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}
.slide-dots .dot.active {
    background: #e5a82e;
    border-color: white;
    transform: scale(1.2);
}
.slide-dots .dot:hover {
    background: rgba(229, 168, 46, 0.6);
}

/* Body */
.bundle-body {
    padding: 30px 35px 35px;
}

.bundle-body h3 {
    font-size: 28px;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.bundle-desc {
    font-size: 18px;
    color: #4a5a6a;
    margin: 0 0 20px;
    line-height: 1.6;
}

/* Items grid */
.bundle-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin: 0 0 20px;
}

.bundle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.03);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

.bundle-item .item-icon {
    font-size: 20px;
}
.bundle-item .item-name {
    font-size: 16px;
    color: #1a1a2e;
}

/* Pricing */
.pricing {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 10px 0 20px;
}

.pricing .old-price {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 20px;
}

.pricing .sale-price {
    color: #007aff;
    font-size: 36px;
    font-weight: 700;
}

.pricing .save-badge {
    background: #2e7d32;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 20px;
    border-radius: 30px;
}

/* Add button – glassy */
.add-bundle-btn {
    background: rgba(0,122,255,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(0,122,255,0.3);
    color: #007aff;
    padding: 18px;
    border-radius: 30px;
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.add-bundle-btn:hover {
    background: rgba(0,122,255,0.25);
}

/* Responsive – reduce height on smaller screens */
@media (max-width: 768px) {
    .bundle-image {
        height: 280px;
    }
    .bundle-body h3 {
        font-size: 22px;
    }
    .pricing .sale-price {
        font-size: 28px;
    }
    .bundle-body {
        padding: 20px;
    }
}

@media (max-width: 450px) {
    .bundle-image {
        height: 200px;
    }
    .slide-btn {
        padding: 8px 12px;
        font-size: 18px;
    }
}



/* ============================================================
   BOTTOM NAV (already provided by app-nav.js)
   ============================================================ */
#bottomNav {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(0,0,0,0.05);
}
.nav-item {
  color: #6c7a89;
}
.nav-item.active {
  color: #007aff;
}
.nav-item .nav-badge {
  background: #ff3b30;
  color: white;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.lightbox.active {
  display: flex;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
.lightbox-content img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox-nav button {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  margin: 0 10px;
}
.lightbox-nav button:hover {
  background: rgba(255,255,255,0.3);
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 768px) {
  .featured-banner { padding: 20px; margin: 10px; }
  .banner-text h1 { font-size: 28px; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px; }
  .product-page { flex-direction: column; padding: 12px; }
  #mainProductImage { height: 280px; }
  .checkout-wrapper { grid-template-columns: 1fr; }
  .cart-item { flex-direction: column; align-items: stretch; }
  .cart-item-left { flex-direction: row; }
  .cart-item-right { justify-content: space-between; }
  .bundle-image { height: 180px; }
}

@media (max-width: 450px) {
  .products { grid-template-columns: 1fr; }
  .card .gallery img { height: 150px; }
  .nav-item { padding: 4px 6px; min-width: 44px; }
  .nav-item .nav-icon { font-size: 18px; }
  .nav-item .nav-label { font-size: 9px; }
  #bottomNav { height: 56px; }
}

/* ============================================================
   TOAST NOTIFICATIONS (keep as is)
   ============================================================ */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: 12px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  max-width: 400px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-success { border-left: 4px solid #2e7d32; }
.toast-error { border-left: 4px solid #ff3b30; }
.toast-info { border-left: 4px solid #007aff; }
.toast .toast-close {
  background: none;
  border: none;
  color: #888;
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
}
@media (max-width: 600px) {
  .toast { bottom: 80px; right: 16px; left: 16px; max-width: none; }
}

/* ============================================================
   ADMIN PAGE – keep dark style for admin (optional)
   ============================================================ */
.admin-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}
.admin-header {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  padding: 15px 20px;
}
.admin-tabs button {
  background: transparent;
  border: none;
  padding: 10px 25px;
  color: #4a5a6a;
}
.admin-tabs button.active {
  color: #007aff;
  border-bottom: 3px solid #007aff;
}
.admin-table-wrapper {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 15px;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  color: #1a1a2e;
}
.admin-table th {
  color: #007aff;
  border-bottom: 2px solid rgba(0,0,0,0.05);
}
.admin-table td {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.admin-table tr:hover td {
  background: rgba(0,122,255,0.04);
}
/* Keep admin form glassy */
.product-form {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255,255,255,0.4);
}


/* Force product images to be consistent */
.card .gallery img,
.flash-products .card .gallery img,
.related-products .card .gallery img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 8px;
}

/* Bundle slideshow images */
.bundle-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f0f4f8;
}




/* ============================================================
   FIX: Consistent product & flash images
   ============================================================ */

/* All product cards */
.card .gallery img,
.flash-products .card .gallery img,
.related-products .card .gallery img,
.product-link .card .gallery img {
    width: 100%;
    height: 200px !important;
    object-fit: contain !important;
    background: #f8fafc;
    border-radius: 8px;
    display: block;
}

/* Flash deals specific – ensure grid works */
.flash-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flash-products .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.flash-products .card .gallery {
    flex-shrink: 0;
}

.flash-products .card .gallery img {
    height: 180px !important;
}

/* Make all product cards equal height */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.products .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 24px;
    padding: 16px;
    transition: 0.25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.products .card .gallery {
    flex-shrink: 0;
}

.products .card .gallery img {
    height: 200px !important;
}

.products .card .add-cart-btn {
    margin-top: auto;
}



.bundle-image {
    position: relative;
    height: 280px; /* Fixed height – no more 60vh! */
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    overflow: hidden;
    flex-shrink: 0; /* Prevents the image area from shrinking */
}

.bundle-slideshow {
    height: 100%;
    width: 100%;
}

.slideshow-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}






.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}
.slide-btn:hover {
    background: rgba(0,0,0,0.8);
}
.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }



/* ============================================================
   PRODUCT CARD – MINI SLIDESHOW
   ============================================================ */

.card-slideshow {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 16px;
    background: #f8fafc;
}

.card-slideshow-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.card-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.card-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Navigation arrows */
.card-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
    line-height: 1;
}
.card-slide-btn:hover {
    background: rgba(0,0,0,0.7);
}
.card-slide-btn.prev { left: 8px; }
.card-slide-btn.next { right: 8px; }

/* Dots */
.card-slide-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}
.card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.2);
}
.card-dot.active {
    background: #e5a82e;
    transform: scale(1.2);
}
.card-dot:hover {
    background: rgba(229,168,46,0.8);
}

/* Adjust card image height on mobile */
@media (max-width: 768px) {
    .card-slideshow {
        height: 180px;
    }
}
@media (max-width: 450px) {
    .card-slideshow {
        height: 150px;
    }
}



/* ============================================================
   CORRECTED MOBILE RESPONSIVE STYLES (no forced zoom)
   ============================================================ */

/* Tablets & small laptops */
@media (max-width: 992px) {
  .hero-slide {
    height: 350px !important;
  }
  .hero-overlay h1 {
    font-size: 32px !important;
  }
  .hero-overlay p {
    font-size: 16px !important;
  }
  .checkout-wrapper {
    grid-template-columns: 1fr !important;
  }
  .products {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  /* Header – show hamburger, stack nav */
  .hamburger-btn {
    display: block !important;
  }
  .header-nav {
    display: none !important;
    flex-direction: column !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
    margin-top: 8px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
  }
  .header-nav.open {
    display: flex !important;
  }
  .header-nav a {
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  }
  .logo-area p {
    display: none !important;
  }

  /* Fix user info – no more clipping */
  .header-actions {
    gap: 6px !important;
    flex-wrap: wrap !important;
  }
  .user-info-dropdown {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 4px !important;
  }
  .user-info-dropdown .user-name {
    font-size: 12px !important;
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 70px !important;
  }
  .user-info-dropdown .user-link {
    font-size: 11px !important;
    padding: 2px 8px !important;
  }

  /* Hero */
  .hero-carousel {
    border-radius: 12px !important;
    margin: 10px !important;
  }
  .hero-slide {
    height: 280px !important;
    min-height: 220px !important;
  }
  .hero-overlay {
    padding: 20px 25px !important;
  }
  .hero-overlay h1 {
    font-size: 26px !important;
    max-width: 100% !important;
  }
  .hero-overlay p {
    font-size: 14px !important;
    max-width: 100% !important;
  }
  .float-card {
    display: none !important;
  }

  /* Trust strip, sections – reduce margins */
  .trust-strip,
  .bundles-section,
  .flash-deals,
  .all-products-section,
  .newsletter {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
  .trust-strip {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 15px !important;
  }

  /* Product grids – 2 columns */
  .products {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    padding: 10px !important;
  }
  .flash-products {
    grid-template-columns: 1fr 1fr !important;
  }
  .card .gallery img {
    height: 140px !important;
  }

  /* Checkout – single column */
  .checkout-wrapper {
    grid-template-columns: 1fr !important;
  }

  /* Cart items – stack properly */
  .cart-item {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 15px !important;
    margin: 10px !important;
  }
  .cart-item-left {
    flex-direction: row !important;
  }
  .cart-item-right {
    justify-content: space-between !important;
    flex-wrap: wrap !important;
  }
  .cart-item-total {
    min-width: auto !important;
    text-align: left !important;
  }
  .cart-summary {
    padding: 0 10px !important;
  }
  .cart-summary-card {
    padding: 18px !important;
  }

  /* Bundle cards */
  .bundle-image {
    height: 200px !important;
  }
  .bundle-body {
    padding: 18px !important;
  }
  .bundle-body h3 {
    font-size: 20px !important;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }
  .footer-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .footer-logo p {
    white-space: normal !important;
  }
  .footer-copy {
    white-space: normal !important;
  }
}

/* Small phones (below 480px) */
@media (max-width: 480px) {
  .products {
    grid-template-columns: 1fr !important;
  }
  .flash-products {
    grid-template-columns: 1fr !important;
  }
  .hero-slide {
    height: 220px !important;
    min-height: 180px !important;
  }
  .hero-overlay h1 {
    font-size: 20px !important;
  }
  .hero-overlay p {
    font-size: 12px !important;
  }
  .hero-cta {
    font-size: 12px !important;
    padding: 6px 16px !important;
  }
  .hero-arrow {
    padding: 6px 10px !important;
    font-size: 14px !important;
  }
  .card .gallery img {
    height: 120px !important;
  }
  .checkout-form,
  .checkout-summary {
    padding: 16px !important;
  }
  .newsletter {
    padding: 15px !important;
  }
  .newsletter-form {
    flex-direction: column !important;
  }
  .newsletter-form input[type="email"] {
    width: 100% !important;
  }
  .newsletter-form button {
    width: 100% !important;
  }
  .bundle-image {
    height: 160px !important;
  }
}







/* ============================================================
   HERO CAROUSEL – FULLY RESPONSIVE
   ============================================================ */

.hero-carousel {
  position: relative;
  width: 100%;
  max-height: 550px;
  overflow: hidden;
  border-radius: 20px;
  margin: 20px auto;
  background: #0a0a0a;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

/* Each slide */
.hero-slide {
  display: none;
  position: relative;
  width: 100%;
  height: 450px;
  animation: heroFade 0.6s ease;
}

.hero-slide.active {
  display: block;
}

@keyframes heroFade {
  0% { opacity: 0.4; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}

/* Slide image */
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6) saturate(1.1);
}

/* Overlay – use flexbox for perfect centering */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 50px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
  color: white;
  z-index: 2;
  max-width: 60%;
}

/* Tag */
.hero-overlay .hero-tag {
  display: inline-block;
  background: #e5a82e;
  color: #111;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 30px;
  width: fit-content;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* Heading – responsive */
.hero-overlay h1 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
}

.hero-overlay h1 .highlight {
  color: #e5a82e;
}

/* Paragraph */
.hero-overlay p {
  font-size: 18px;
  opacity: 0.9;
  margin: 0 0 20px;
}

/* CTA Button */
.hero-cta {
  display: inline-block;
  background: #e5a82e;
  color: #111;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
  width: fit-content;
  border: none;
  cursor: pointer;
}

.hero-cta:hover {
  background: #f5b83e;
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(229, 168, 46, 0.3);
}

/* Navigation arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 14px 20px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
  line-height: 1;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}

.hero-dot.active {
  background: #e5a82e;
  border-color: white;
  transform: scale(1.25);
}

.hero-dot:hover {
  background: rgba(229, 168, 46, 0.7);
}

/* ============================================================
   FLOATING PRODUCT CARD
   ============================================================ */

.float-card {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 18px 22px 22px;
  max-width: 260px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: floatUp 0.8s ease 0.4s both;
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.float-card-image {
  width: 100%;
  height: 100px;
  background: #f0f4f8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.float-card-body h4 {
  margin: 8px 0 2px;
  font-size: 18px;
  color: #1a1a2e;
}

.float-card-rating {
  font-size: 14px;
  color: #f5a623;
}

.float-card-rating span {
  color: #888;
  font-size: 12px;
}

.float-card-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}

.float-card-price .old {
  color: #a0aec0;
  text-decoration: line-through;
  font-size: 14px;
}

.float-card-price .new {
  color: #007aff;
  font-size: 22px;
  font-weight: 700;
}

.float-card-btn {
  background: #007aff;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-size: 14px;
  width: 100%;
}

.float-card-btn:hover {
  background: #005bbf;
  transform: scale(1.02);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablets and small laptops */
@media (max-width: 992px) {
  .hero-slide {
    height: 380px;
  }
  
  .hero-overlay h1 {
    font-size: 32px;
  }
  
  .hero-overlay p {
    font-size: 16px;
  }
  
  .float-card {
    bottom: 20px;
    right: 20px;
    max-width: 220px;
    padding: 14px 16px 18px;
  }
  
  .float-card-image {
    height: 80px;
  }
  
  .float-card-body h4 {
    font-size: 16px;
  }
  
  .float-card-price .new {
    font-size: 18px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .hero-slide {
    height: 320px;
  }
  
  .hero-carousel {
    border-radius: 12px;
    margin: 10px;
  }
  
  .hero-overlay {
    padding: 24px 28px;
    max-width: 80%;
  }
  
  .hero-overlay h1 {
    font-size: 26px;
  }
  
  .hero-overlay p {
    font-size: 14px;
    max-width: 100%;
  }
  
  .hero-arrow {
    padding: 10px 14px;
    font-size: 18px;
  }
  
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  
  .float-card {
    display: none; /* Hide on mobile */
  }
  
  .hero-dots {
    bottom: 12px;
    gap: 6px;
  }
  
  .hero-dot {
    width: 10px;
    height: 10px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-slide {
    height: 260px;
    min-height: 200px;
  }
  
  .hero-overlay {
    padding: 16px 20px;
    max-width: 90%;
  }
  
  .hero-overlay .hero-tag {
    font-size: 9px;
    padding: 3px 12px;
    margin-bottom: 6px;
  }
  
  .hero-overlay h1 {
    font-size: 20px;
    margin-bottom: 4px;
  }
  
  .hero-overlay p {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .hero-cta {
    font-size: 13px;
    padding: 8px 20px;
  }
  
  .hero-arrow {
    padding: 6px 10px;
    font-size: 14px;
  }
  
  .hero-dot {
    width: 8px;
    height: 8px;
  }
}

/* ============================================================
   FLOATING PRODUCT CARD (on first slide)
   ============================================================ */

.float-card {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 18px 22px 22px;
  max-width: 260px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
  z-index: 5;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: floatUp 0.8s ease 0.4s both;
}
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.float-card-image {
  width: 100%;
  height: 100px;
  background: #f0f4f8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.float-card-body h4 {
  margin: 8px 0 2px;
  font-size: 18px;
  color: #1a1a2e;
}
.float-card-rating {
  font-size: 14px;
  color: #f5a623;
}
.float-card-rating span {
  color: #888;
  font-size: 12px;
}
.float-card-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}
.float-card-price .old {
  color: #a0aec0;
  text-decoration: line-through;
  font-size: 14px;
}
.float-card-price .new {
  color: #007aff;
  font-size: 22px;
  font-weight: 700;
}
.float-card-btn {
  background: #007aff;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-size: 14px;
  width: 100%;
}
.float-card-btn:hover {
  background: #005bbf;
  transform: scale(1.02);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .hero-carousel,
  .hero-slide {
    height: 380px;
  }
  .hero-overlay h1 {
    font-size: 32px;
  }
  .hero-overlay p {
    font-size: 16px;
  }
  .float-card {
    bottom: 20px;
    right: 20px;
    max-width: 220px;
    padding: 14px 16px 18px;
  }
  .float-card-image {
    height: 80px;
  }
}

@media (max-width: 768px) {
  .hero-carousel,
  .hero-slide {
    height: 320px;
    border-radius: 12px;
    margin: 10px;
  }
  .hero-overlay {
    padding: 24px 28px;
  }
  .hero-overlay h1 {
    font-size: 26px;
  }
  .hero-overlay p {
    font-size: 14px;
    max-width: 80%;
  }
  .hero-arrow {
    padding: 10px 14px;
    font-size: 18px;
  }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  .float-card {
    display: none; /* hide on mobile to avoid clutter */
  }
  .hero-dots {
    bottom: 12px;
    gap: 6px;
  }
  .hero-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .hero-carousel,
  .hero-slide {
    height: 260px;
  }
  .hero-overlay h1 {
    font-size: 20px;
  }
  .hero-overlay p {
    font-size: 12px;
    max-width: 100%;
  }
  .hero-cta {
    font-size: 14px;
    padding: 8px 20px;
  }
}



/* ============================================================
   PREMIUM FOOTER WITH PRODUCT SLIDER
   ============================================================ */

.footer-premium {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2px solid rgba(229, 168, 46, 0.6);
  box-shadow: 0 -8px 40px rgba(229, 168, 46, 0.08);
  padding: 30px 20px 20px;
  margin-top: 40px;
}

/* Slider wrapper */
.footer-slider-wrapper {
  max-width: 1200px;
  margin: 0 auto 25px;
  text-align: center;
}
.footer-slider-wrapper h2 {
  color: #1a1a2e;
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* Glass golden slider container */
.footer-slider-container {
  position: relative;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(229, 168, 46, 0.4);
  border-radius: 20px;
  padding: 12px 0;
  box-shadow: 0 8px 32px rgba(229, 168, 46, 0.08);
  overflow: hidden;
}

/* Track – horizontal scroll */
.footer-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.footer-slider-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* Each product card in footer – small */
.footer-product-card {
  flex: 0 0 180px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(229, 168, 46, 0.2);
  transition: 0.3s;
}
.footer-product-card:hover {
  transform: translateY(-4px);
  border-color: #e5a82e;
  box-shadow: 0 8px 24px rgba(229, 168, 46, 0.15);
}
.footer-product-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
}
.footer-product-card h4 {
  font-size: 14px;
  margin: 6px 0 2px;
  color: #1a1a2e;
}
.footer-product-card .price {
  font-size: 16px;
  font-weight: 700;
  color: #007aff;
}
.footer-product-card .old-price {
  font-size: 12px;
  color: #a0aec0;
  text-decoration: line-through;
  margin-right: 6px;
}

/* Navigation buttons – glass golden */
.footer-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(229, 168, 46, 0.3);
  color: #1a1a2e;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.footer-slide-btn:hover {
  background: #e5a82e;
  color: #111;
  border-color: #e5a82e;
}
.footer-slide-btn.prev { left: 6px; }
.footer-slide-btn.next { right: 6px; }

/* Dots */
.footer-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.footer-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(229, 168, 46, 0.3);
  transition: 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}
.footer-slider-dots .dot.active {
  background: #e5a82e;
  border-color: white;
  transform: scale(1.2);
}

/* Bottom footer info */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo img {
  height: 30px;
  width: auto;
}
.footer-logo p {
  font-size: 12px;
  color: #6c7a89;
}
.footer-links a {
  color: #4a5a6a;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
}
.footer-links a:hover {
  color: #e5a82e;
}
.footer-social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: 0.3s;
}
.footer-social img:hover {
  filter: grayscale(0);
  transform: scale(1.1);
}
.footer-copy {
  color: #888;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-product-card {
    flex: 0 0 140px;
  }
  .footer-product-card img {
    height: 90px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-slide-btn {
    padding: 6px 10px;
    font-size: 16px;
  }
}
@media (max-width: 450px) {
  .footer-product-card {
    flex: 0 0 120px;
  }
  .footer-product-card img {
    height: 70px;
  }
}




/* ============================================================
   FOOTER BACKGROUND SLIDESHOW
   ============================================================ */

.footer-premium {
  position: relative;
  overflow: hidden; /* contain the slideshow */
  background: none; /* remove any solid background */
  border-top: 2px solid rgba(229, 168, 46, 0.6);
  box-shadow: 0 -8px 40px rgba(229, 168, 46, 0.08);
  padding: 30px 20px 20px;
  margin-top: 40px;
}

/* Background slideshow container – covers the entire footer */
.footer-bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.footer-bg-slideshow .bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.footer-bg-slideshow .bg-slide.active {
  opacity: 1;
}

/* Dark overlay – improves text readability */
.footer-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* All footer content sits on top (z-index: 2) */
.footer-content {
  position: relative;
  z-index: 2;
}

/* Ensure product slider text is readable */
.footer-slider-wrapper h2 {
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.footer-product-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
}
.footer-bottom {
  border-top-color: rgba(255,255,255,0.15);
}
.footer-logo p,
.footer-links a,
.footer-copy {
  color: rgba(255,255,255,0.9);
}
.footer-links a:hover {
  color: #e5a82e;
}
.footer-social img {
  filter: brightness(0) invert(1) grayscale(1) opacity(0.7);
}
.footer-social img:hover {
  filter: brightness(0) invert(1) grayscale(0) opacity(1);
}


/* ============================================================
   NEWSLETTER SECTION – Glass + Golden Accents
   ============================================================ */

.newsletter {
  max-width: 600px;
  margin: 30px auto 40px;
  padding: 30px 35px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(229, 168, 46, 0.6);
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(229, 168, 46, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(229, 168, 46, 0.18);
}

.newsletter h2 {
  font-size: 28px;
  color: #1a1a2e;
  margin-bottom: 8px;
  font-weight: 700;
}

.newsletter p {
  color: #4a5a6a;
  font-size: 16px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1 1 220px;
  padding: 14px 20px;
  border-radius: 30px;
  border: 1px solid rgba(229, 168, 46, 0.3);
  background: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  color: #1a1a2e;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input[type="email"]:focus {
  border-color: #e5a82e;
  box-shadow: 0 0 0 3px rgba(229, 168, 46, 0.15);
}

.newsletter-form button {
  background: linear-gradient(135deg, #e5a82e, #d4911e) !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: 30px !important;
  color: #111 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 4px 16px rgba(229, 168, 46, 0.3) !important;
}

.newsletter-form button:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 8px 28px rgba(229, 168, 46, 0.4) !important;
}



/* ============================================================
   GOLDEN FRAME – Surrounds the whole page
   ============================================================ */

.page-wrapper {
  max-width: 1440px;                /* Keeps it centered on wide screens */
  margin: 12px auto;               /* Centers the frame */
  padding: 6px;                    /* Inner spacing between border and content */
  border: 2.5px solid rgba(229, 168, 46, 0.7);  /* Solid golden border */
  border-radius: 32px;             /* Rounded corners */
  background: rgba(255, 255, 255, 0.04); /* Very subtle glass fill */
  backdrop-filter: blur(2px);      /* Slight blur to make it feel like glass */
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 
    0 0 50px rgba(229, 168, 46, 0.08),  /* Outer golden glow */
    inset 0 0 50px rgba(229, 168, 46, 0.03); /* Inner golden glow */
  transition: box-shadow 0.3s ease;
}

/* Optional: Enhance the glow on hover */
.page-wrapper:hover {
  box-shadow: 
    0 0 70px rgba(229, 168, 46, 0.15),
    inset 0 0 50px rgba(229, 168, 46, 0.05);
}



html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  max-width: 1440px;
  margin: 12px auto;
  padding: 6px 6px 0 6px;   /* Remove bottom padding – footer will touch the bottom edge */
  border: 2.5px solid rgba(229, 168, 46, 0.7);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 0 50px rgba(229, 168, 46, 0.08), inset 0 0 50px rgba(229, 168, 46, 0.03);
}

main {
  flex: 1 0 auto;  /* Pushes the footer down */
}



/* ============================================================
   DARK SECTIONS – Smart Bundles, Flash Deals, All Products
   ============================================================ */

.bundles-section,
.flash-deals,
.all-products-section {
  background: rgba(20, 20, 30, 0.85);     /* dark glass */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 30px;
  padding: 30px 20px;
  margin: 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Section headers inside these areas – make them light */
.bundles-section .section-header h2,
.flash-deals .flash-header h2,
.all-products-section .section-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bundles-section .section-header .view-all {
  color: #e5a82e !important;
}

.flash-deals .flash-timer {
  color: #f5a623 !important;
}

/* Category filters – dark background, light text */
.category-filters a {
  color: rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: 30px;
  transition: 0.3s;
}
.category-filters a:hover,
.category-filters a.active {
  background: rgba(229, 168, 46, 0.2);
  color: #e5a82e !important;
}

/* Product cards inside these sections – keep glass but adjust border */
.bundles-section .bundle-card,
.flash-deals .card,
.all-products-section .card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bundles-section .bundle-card .bundle-body h3,
.flash-deals .card h3,
.all-products-section .card h3 {
  color: #ffffff !important;
}

.bundles-section .bundle-card .bundle-desc,
.flash-deals .card .product-desc,
.all-products-section .card .product-desc {
  color: #cccccc !important;
}

.bundles-section .bundle-card .pricing .sale-price,
.flash-deals .card .current-price,
.all-products-section .card .current-price {
  color: #e5a82e !important;
}

.bundles-section .bundle-card .pricing .old-price,
.flash-deals .card .old-price,
.all-products-section .card .old-price {
  color: #888 !important;
}

.bundles-section .bundle-card .bundle-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}
.bundles-section .bundle-card .bundle-item .item-name {
  color: #ddd;
}

/* Flash deals badge and stock indicator */
.flash-deals .card .flash-badge {
  background: #ff6b00;
  color: #fff;
}
.flash-deals .card .stock-indicator {
  color: #ffaa00 !important;
}

/* All Products – adjust the "All Products" heading */
.all-products-section .section-title {
  color: #ffffff !important;
  font-size: 28px;
  margin-bottom: 10px;
}

/* Optional: give these sections a subtle inner glow */
.bundles-section,
.flash-deals,
.all-products-section {
  box-shadow: inset 0 0 60px rgba(229, 168, 46, 0.03), 0 8px 32px rgba(0,0,0,0.2);
}


/* ============================================================
   CLOSE THE GAP – Newsletter & Footer
   ============================================================ */

.newsletter {
  margin-bottom: 10px !important;   /* was 40px – reduces the gap */
}

.footer-premium {
  margin-top: 15px !important;      /* was 40px – pulls the footer up */
}

/* Optional: keep a tiny gap so they don't touch, but it's now just 20px total */




/* ============================================================
   HEADER – GREY GLASS OVERRIDE
   ============================================================ */

.store-header {
  background: rgba(190, 190, 200, 0.30) !important;  /* grey glass */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Search bar – light background, grey border */
.store-header .search-row {
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Search button – grey tint */
.store-header .search-row button {
  background: rgba(80, 80, 80, 0.20) !important;
  color: #000000 !important;
}
.store-header .search-row button:hover {
  background: rgba(80, 80, 80, 0.40) !important;
}

/* Hover effects – change from blue to dark grey */
.store-header .header-actions .action-link:hover {
  color: #333333 !important;
}

.store-header .header-nav a:hover {
  color: #333333 !important;
  border-bottom-color: #333333 !important;
}

/* Login / Register buttons – grey glass */
.store-header .header-actions .user-link.login-link {
  background: rgba(80, 80, 80, 0.20) !important;
  color: #000000 !important;
}
.store-header .header-actions .user-link:not(.login-link) {
  background: rgba(80, 80, 80, 0.08) !important;
  color: #000000 !important;
}





/* ============================================================
   SILVER‑WHITE GLASS BACKGROUND (iPhone‑style)
   ============================================================ */

body {
  background: linear-gradient(145deg, #f4f6fa 0%, #e8ebf0 100%) !important;
  /* Soft silver‑white gradient */
  min-height: 100vh;
}

.page-wrapper {
  background: rgba(255, 255, 255, 0.45) !important;   /* light glass fill */
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 2.5px solid rgba(229, 168, 46, 0.55) !important;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.04),
              inset 0 0 80px rgba(255, 255, 255, 0.5) !important;
  border-radius: 32px;
}

/* Optional: make the glass utility match the new theme */
.glass {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}




/* ============================================================
   LIGHT GREY GLASS SECTIONS (Bundles, Flash Deals, All Products)
   ============================================================ */

.bundles-section,
.flash-deals,
.all-products-section {
  background: rgba(240, 242, 245, 0.55) !important;   /* light grey glass */
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 30px;
  padding: 30px 20px;
  margin: 30px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255,255,255,0.6) !important;
}

/* Section headers – dark text for contrast */
.bundles-section .section-header h2,
.flash-deals .flash-header h2,
.all-products-section .section-title {
  color: #1a1a2e !important;
  text-shadow: none !important;
}

.bundles-section .section-header .view-all {
  color: #007aff !important;
}

.flash-deals .flash-timer {
  color: #4a5a6a !important;
}

/* Category filters – light background, dark text */
.category-filters a {
  color: #1a1a2e !important;
  background: rgba(255, 255, 255, 0.5);
  padding: 6px 16px;
  border-radius: 30px;
  transition: 0.3s;
  backdrop-filter: blur(4px);
}
.category-filters a:hover,
.category-filters a.active {
  background: rgba(0, 122, 255, 0.15);
  color: #007aff !important;
}

/* Product cards inside these sections – light glass */
.bundles-section .bundle-card,
.flash-deals .card,
.all-products-section .card {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.bundles-section .bundle-card .bundle-body h3,
.flash-deals .card h3,
.all-products-section .card h3 {
  color: #1a1a2e !important;
}

.bundles-section .bundle-card .bundle-desc,
.flash-deals .card .product-desc,
.all-products-section .card .product-desc {
  color: #4a5a6a !important;
}

.bundles-section .bundle-card .pricing .sale-price,
.flash-deals .card .current-price,
.all-products-section .card .current-price {
  color: #007aff !important;
}

.bundles-section .bundle-card .pricing .old-price,
.flash-deals .card .old-price,
.all-products-section .card .old-price {
  color: #a0aec0 !important;
}

.bundles-section .bundle-card .bundle-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}
.bundles-section .bundle-card .bundle-item .item-name {
  color: #1a1a2e;
}

/* Flash deals badge – keep orange */
.flash-deals .card .flash-badge {
  background: #ff6b00;
  color: #fff;
}
.flash-deals .card .stock-indicator {
  color: #d62828 !important;
}

/* All Products – heading */
.all-products-section .section-title {
  color: #1a1a2e !important;
  font-size: 28px;
  margin-bottom: 10px;
}

/* Bundle save badge – keep golden */
.bundle-save-badge {
  background: rgba(229, 168, 46, 0.9) !important;
  color: #111 !important;
}




/* ============================================================
   HIDE FOOTER SLIDER CONTROLS (Arrows & Dots)
   ============================================================ */

.footer-slide-btn,
.footer-slider-dots {
  display: none !important;
}




/* ============================================================
   FOOTER SLIDER – TRANSPARENT (show background image)
   ============================================================ */

/* Make the entire slider wrapper transparent */
.footer-slider-wrapper {
  background: transparent !important;
  box-shadow: none !important;
}

/* Remove the container's background, border, shadow, and padding */
.footer-slider-container {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Make the heading text light so it's readable on the background */
.footer-slider-wrapper h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6) !important;
}

/* If you still have product cards, keep them slightly glassy but light */
.footer-product-card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}



/* ============================================================
   PAYMENT PAGE – FIX LAYOUT & SCRAMBLED TEXT
   ============================================================ */

/* Ensure all content stays within its container */
.payment-wrap,
.pay-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Fix the bank details rows – they should be side by side */
.bank-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.bank-row span:first-child {
  color: #888 !important;
  font-weight: 600 !important;
}

.bank-row span:last-child {
  color: #e5a82e !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Fix copy buttons */
.copy-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #e5a82e !important;
  padding: 2px 12px !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  font-size: 12px !important;
  transition: 0.3s !important;
}

.copy-btn:hover {
  background: rgba(229, 168, 46, 0.2) !important;
}

/* Fix order summary lines */
.order-line {
  display: flex !important;
  justify-content: space-between !important;
  padding: 6px 0 !important;
  color: #aaa !important;
}

.order-total {
  display: flex !important;
  justify-content: space-between !important;
  padding: 12px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-weight: bold !important;
  color: white !important;
  font-size: 18px !important;
}

/* Fix the QR code and PayMe section */
.qr-box {
  text-align: center !important;
  margin: 15px 0 !important;
}

.qr-box img {
  max-width: 200px !important;
  height: auto !important;
  border-radius: 12px !important;
}

.qr-label {
  display: block !important;
  text-align: center !important;
  color: #888 !important;
  font-size: 14px !important;
  margin-top: -5px !important;
}

/* Fix the divider */
.divider {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin: 20px 0 !important;
}

.divider-line {
  flex: 1 !important;
  height: 1px !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.divider-text {
  color: #666 !important;
  font-size: 14px !important;
  font-weight: bold !important;
  white-space: nowrap !important;
}

/* Fix ref box */
.ref-box {
  background: rgba(229, 168, 46, 0.1) !important;
  border: 1px solid rgba(229, 168, 46, 0.3) !important;
  border-radius: 12px !important;
  padding: 15px !important;
  text-align: center !important;
  margin: 15px 0 !important;
  color: #aaa !important;
}

.ref-box strong {
  color: #e5a82e !important;
  font-size: 20px !important;
  display: block !important;
  margin-top: 5px !important;
}

/* Fix payment button */
.pay-btn {
  width: 100% !important;
  text-align: center !important;
  display: block !important;
  margin: 10px 0 !important;
}

/* Fix WhatsApp button */
.wa-btn {
  width: 100% !important;
  text-align: center !important;
  display: block !important;
  margin: 10px 0 !important;
}

/* Secure note */
.secure-note {
  text-align: center !important;
  color: #666 !important;
  font-size: 13px !important;
  margin-top: 15px !important;
  padding: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.secure-note span {
  margin-right: 6px !important;
}

/* Fix the pay-card itself */
.pay-card {
  background: #151515 !important;
  padding: 30px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(229, 168, 46, 0.2) !important;
  max-width: 600px !important;
  margin: 20px auto !important;
}

.pay-card h2 {
  color: white !important;
  text-align: center !important;
  font-size: 28px !important;
  margin-bottom: 5px !important;
}

.pay-card h2 + p {
  text-align: center !important;
  color: #888 !important;
  margin-bottom: 20px !important;
}

.pay-card h3 {
  color: #e5a82e !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  margin-bottom: 15px !important;
}

/* Fix order summary inside pay-card */
.order-summary {
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 12px !important;
  padding: 15px 20px !important;
  margin: 15px 0 !important;
}

/* Ensure the page wrapper doesn't interfere */
.payment-wrap {
  flex: 1 0 auto !important;
  padding: 20px !important;
}


/* ============================================================
   FIX SEARCH BAR – MAKE TEXT VISIBLE
   ============================================================ */

/* Force search input text to be black and visible */
.store-header .search-row input {
  color: #000000 !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

/* Make placeholder text visible (grey, not white) */
.store-header .search-row input::placeholder {
  color: #888888 !important;
  opacity: 1 !important;
  font-weight: 400 !important;
}

/* Ensure search button text is visible */
.store-header .search-row button {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.08) !important;
}

.store-header .search-row button:hover {
  background: rgba(0, 0, 0, 0.15) !important;
}

/* On focus, keep text black */
.store-header .search-row input:focus {
  color: #000000 !important;
  outline: none !important;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  .store-header .search-row input {
    color: #000000 !important;
  }
}


/* ============================================================
   SAVED FOR LATER – VISIBLE TEXT FIX
   ============================================================ */

/* Main heading – dark colour */
#savedSection h2 {
  color: #1a1a2e !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
}

/* Saved item details – dark text */
.saved-item-details h3 {
  color: #1a1a2e !important;
  font-size: 18px !important;
  margin: 0 !important;
}

.saved-item-details p {
  color: #4a5a6a !important;
  font-size: 14px !important;
  margin: 0 !important;
}

.saved-item-details span {
  color: #888888 !important;
  font-size: 12px !important;
}

/* Saved item total price – make it stand out */
.saved-item-total {
  color: #007aff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

/* Ensure the saved items container background is light but not conflicting */
.saved-item {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px !important;
  padding: 15px !important;
  margin: 10px 0 !important;
}

/* For the "No saved items" message */
#savedSection p {
  color: #666666 !important;
}



/* ============================================================
   RESPONSIVE HERO CAROUSEL – FIX TEXT OVERLAP
   ============================================================ */

/* Hero carousel – use relative height, not fixed */
.hero-carousel {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: 300px !important;
  max-height: 600px !important;
  overflow: hidden;
  border-radius: 20px;
  margin: 20px auto;
  background: #0a0a0a;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.hero-slide {
  display: none;
  position: relative;
  width: 100%;
  height: 400px !important;
  min-height: 300px !important;
  animation: heroFade 0.6s ease;
}

/* Slide image – cover the area properly */
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.65) saturate(1.1);
}

/* Overlay – better padding for all screen sizes */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5% 8% !important;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, transparent 70%);
  color: white;
  z-index: 2;
}

/* Hero tag – responsive */
.hero-overlay .hero-tag {
  display: inline-block;
  background: #e5a82e;
  color: #111;
  font-weight: 700;
  font-size: clamp(10px, 1.2vw, 14px);
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 30px;
  width: fit-content;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Hero heading – responsive font size */
.hero-overlay h1 {
  font-size: clamp(24px, 5vw, 48px) !important;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.2;
  max-width: 80%;
}

.hero-overlay h1 .highlight {
  color: #e5a82e;
}

/* Hero paragraph – responsive */
.hero-overlay p {
  font-size: clamp(14px, 1.8vw, 20px) !important;
  opacity: 0.9;
  margin: 0 0 15px;
  max-width: 60%;
}

/* Hero CTA button – responsive */
.hero-cta {
  display: inline-block;
  background: #e5a82e;
  color: #111;
  font-weight: 700;
  padding: 10px 28px !important;
  border-radius: 30px;
  text-decoration: none;
  font-size: clamp(14px, 1.2vw, 18px) !important;
  transition: 0.3s;
  width: fit-content;
  border: none;
  cursor: pointer;
}

/* Floating product card – hide on smaller screens */
.float-card {
  display: flex !important;
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 15px 20px 20px;
  max-width: 220px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-direction: column;
  gap: 4px;
  animation: floatUp 0.8s ease 0.4s both;
}

.float-card-image {
  width: 100%;
  height: 80px;
  background: #f0f4f8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.float-card-body h4 {
  margin: 6px 0 2px;
  font-size: 16px !important;
  color: #1a1a2e;
}

.float-card-rating {
  font-size: 12px !important;
  color: #f5a623;
}

.float-card-rating span {
  color: #888;
  font-size: 11px !important;
}

.float-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
}

.float-card-price .old {
  color: #a0aec0;
  text-decoration: line-through;
  font-size: 12px !important;
}

.float-card-price .new {
  color: #007aff;
  font-size: 18px !important;
  font-weight: 700;
}

.float-card-btn {
  background: #007aff;
  color: white;
  border: none;
  padding: 8px 14px !important;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-size: 12px !important;
  width: 100%;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS FOR HERO
   ============================================================ */

/* Tablets */
@media (max-width: 992px) {
  .hero-slide {
    height: 350px !important;
  }
  
  .hero-overlay h1 {
    font-size: clamp(20px, 4vw, 32px) !important;
    max-width: 70%;
  }
  
  .hero-overlay p {
    max-width: 70%;
  }
  
  .float-card {
    max-width: 190px;
    padding: 12px 15px 16px;
    bottom: 20px;
    right: 20px;
  }
  
  .float-card-image {
    height: 65px;
  }
  
  .float-card-body h4 {
    font-size: 14px !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-slide {
    height: 280px !important;
    min-height: 220px !important;
  }
  
  .hero-carousel {
    border-radius: 12px;
    margin: 10px;
  }
  
  .hero-overlay {
    padding: 15px 20px !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 100%);
  }
  
  .hero-overlay h1 {
    font-size: clamp(18px, 4.5vw, 26px) !important;
    max-width: 100%;
  }
  
  .hero-overlay p {
    font-size: clamp(12px, 2vw, 15px) !important;
    max-width: 100%;
  }
  
  .hero-cta {
    padding: 8px 20px !important;
    font-size: clamp(12px, 2vw, 14px) !important;
  }
  
  .hero-overlay .hero-tag {
    font-size: 9px !important;
    padding: 3px 12px;
  }
  
  /* Hide floating card on mobile */
  .float-card {
    display: none !important;
  }
  
  /* Hero arrows – smaller */
  .hero-arrow {
    padding: 8px 12px !important;
    font-size: 16px !important;
  }
  
  .hero-arrow.prev {
    left: 8px;
  }
  .hero-arrow.next {
    right: 8px;
  }
  
  /* Hero dots – smaller */
  .hero-dots {
    bottom: 10px;
    gap: 6px;
  }
  
  .hero-dot {
    width: 8px !important;
    height: 8px !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-slide {
    height: 220px !important;
    min-height: 180px !important;
  }
  
  .hero-overlay h1 {
    font-size: clamp(16px, 4vw, 20px) !important;
  }
  
  .hero-overlay p {
    font-size: clamp(10px, 1.8vw, 12px) !important;
    margin-bottom: 8px;
  }
  
  .hero-cta {
    padding: 6px 16px !important;
    font-size: clamp(10px, 1.8vw, 12px) !important;
  }
  
  .hero-arrow {
    padding: 4px 10px !important;
    font-size: 14px !important;
  }
  
  .hero-overlay .hero-tag {
    font-size: 8px !important;
    padding: 2px 10px;
    margin-bottom: 5px;
  }
}



/* ============================================================
   HERO OVERLAY – FULLY RESPONSIVE FIX
   ============================================================ */

/* Remove the max-width limit so text can flow naturally */
.hero-overlay {
  max-width: 100% !important;
  padding: 30px 40px !important;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%) !important;
}

/* Ensure text wraps properly */
.hero-overlay h1,
.hero-overlay p,
.hero-overlay .hero-tag,
.hero-overlay .hero-cta {
  max-width: 100% !important;
  word-wrap: break-word !important;
}

/* Make sure the hero slide container doesn't clip content */
.hero-slide {
  overflow: hidden !important;
}

/* Responsive adjustments for different screen sizes */

/* Tablets */
@media (max-width: 992px) {
  .hero-overlay {
    padding: 25px 30px !important;
  }
  
  .hero-overlay h1 {
    font-size: clamp(22px, 4.5vw, 34px) !important;
    max-width: 80% !important;
  }
  
  .hero-overlay p {
    font-size: clamp(14px, 1.8vw, 17px) !important;
    max-width: 80% !important;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .hero-overlay {
    padding: 20px 25px !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%) !important;
  }
  
  .hero-overlay h1 {
    font-size: clamp(20px, 4vw, 26px) !important;
    max-width: 100% !important;
  }
  
  .hero-overlay p {
    font-size: clamp(13px, 2vw, 15px) !important;
    max-width: 100% !important;
    margin-bottom: 12px !important;
  }
  
  .hero-overlay .hero-tag {
    font-size: 10px !important;
    padding: 3px 14px !important;
  }
  
  .hero-cta {
    font-size: clamp(12px, 2vw, 14px) !important;
    padding: 8px 22px !important;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-overlay {
    padding: 15px 18px !important;
  }
  
  .hero-overlay h1 {
    font-size: clamp(16px, 4vw, 20px) !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }
  
  .hero-overlay p {
    font-size: clamp(11px, 2vw, 13px) !important;
    margin-bottom: 10px !important;
  }
  
  .hero-overlay .hero-tag {
    font-size: 8px !important;
    padding: 2px 10px !important;
    margin-bottom: 6px !important;
  }
  
  .hero-cta {
    font-size: clamp(10px, 2vw, 12px) !important;
    padding: 6px 16px !important;
  }
  
  /* Make sure the text doesn't overlap */
  .hero-slide {
    height: auto !important;
    min-height: 200px !important;
    max-height: 280px !important;
  }
  
  .hero-carousel {
    max-height: 280px !important;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .hero-overlay {
    padding: 12px 14px !important;
  }
  
  .hero-overlay h1 {
    font-size: 14px !important;
  }
  
  .hero-overlay p {
    font-size: 10px !important;
  }
  
  .hero-overlay .hero-tag {
    font-size: 7px !important;
    padding: 2px 8px !important;
  }
  
  .hero-cta {
    font-size: 9px !important;
    padding: 4px 12px !important;
  }
}


/* ============================================================
   FIX CUT-OFF CONTENT – Newsletter & Footer
   ============================================================ */

/* Ensure the page wrapper has enough padding at the bottom */
.page-wrapper {
  padding-bottom: 20px !important;
}

/* Give the newsletter more breathing room */
.newsletter {
  padding: 25px 30px !important;
  margin: 20px auto 15px !important;
}

.newsletter h2 {
  font-size: 24px !important;
  margin-bottom: 6px !important;
}

.newsletter p {
  font-size: 14px !important;
  margin-bottom: 15px !important;
}

/* Ensure footer content is fully visible */
.footer-content {
  padding-bottom: 10px !important;
}

/* Fix the footer logo text – ensure it's fully visible */
.footer-logo p {
  font-size: 12px !important;
  white-space: nowrap !important;
}

/* Footer links – ensure they're properly spaced */
.footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 20px !important;
  justify-content: center !important;
}

.footer-links a {
  font-size: 13px !important;
  white-space: nowrap !important;
}

/* Ensure the footer copy text is fully visible */
.footer-copy {
  font-size: 12px !important;
  white-space: nowrap !important;
}

/* Fix the footer bottom section spacing */
.footer-bottom {
  padding: 15px 0 5px !important;
  gap: 10px !important;
}

/* Ensure the WhatsApp emoji is properly sized */
.footer-social a {
  font-size: 28px !important;
  display: inline-block !important;
  line-height: 1 !important;
}

/* If bottom nav exists, prevent it from covering content */
#bottomNav {
  position: fixed !important;
  bottom: 0 !important;
  z-index: 999 !important;
}

/* Add extra bottom padding to body if bottom nav is present */
body {
  padding-bottom: 80px !important;
}

/* Responsive fix for smaller screens */
@media (max-width: 768px) {
  .newsletter {
    padding: 20px !important;
    margin: 15px !important;
  }
  
  .newsletter h2 {
    font-size: 20px !important;
  }
  
  .newsletter p {
    font-size: 13px !important;
  }
  
  .newsletter-form input[type="email"] {
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
  
  .newsletter-form button {
    padding: 12px 24px !important;
    font-size: 14px !important;
  }
  
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 8px !important;
  }
  
  .footer-logo p {
    white-space: normal !important;
  }
  
  .footer-copy {
    white-space: normal !important;
  }
}

@media (max-width: 480px) {
  .newsletter {
    padding: 15px !important;
  }
  
  .newsletter h2 {
    font-size: 18px !important;
  }
  
  .newsletter p {
    font-size: 12px !important;
  }
  
  .newsletter-form {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  .newsletter-form input[type="email"] {
    flex: 1 1 auto !important;
    width: 100% !important;
  }
  
  .newsletter-form button {
    width: 100% !important;
  }
}

/* ============================================================
   FINAL HOMEPAGE CLEANUP
   ============================================================ */

:root {
  --site-max-width: 1440px;
  --page-gutter: clamp(12px, 3vw, 24px);
  --section-spacing: clamp(18px, 3vw, 32px);
  --surface-card: rgba(255, 255, 255, 0.82);
  --surface-soft: rgba(255, 255, 255, 0.68);
}

.page-wrapper {
  width: min(calc(100% - 16px), var(--site-max-width)) !important;
  margin: 8px auto !important;
  padding: 6px !important;
  overflow: clip;
}

main {
  width: 100%;
}

.logo-area,
.footer-logo {
  min-width: 0;
}

.logo-area img,
.footer-logo img {
  height: clamp(42px, 5vw, 58px) !important;
  width: auto !important;
  max-width: min(180px, 42vw);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 6px 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.logo-area p,
.footer-logo p {
  font-size: clamp(11px, 1.8vw, 14px) !important;
}

.hero-carousel {
  margin: var(--section-spacing) var(--page-gutter) !important;
  border-radius: 24px !important;
  max-height: none !important;
}

.hero-slide {
  height: clamp(280px, 52vw, 560px) !important;
  min-height: 280px !important;
  max-height: none !important;
}

.hero-overlay {
  display: grid !important;
  align-content: center;
  gap: 10px;
  padding: clamp(20px, 4vw, 48px) !important;
}

.hero-overlay h1 {
  max-width: min(720px, 100%) !important;
  font-size: clamp(24px, 5vw, 52px) !important;
}

.hero-overlay p {
  max-width: min(560px, 100%) !important;
  font-size: clamp(14px, 2vw, 20px) !important;
}

.hero-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.trust-strip,
.bundles-section,
.flash-deals,
.all-products-section,
.newsletter {
  margin-left: var(--page-gutter) !important;
  margin-right: var(--page-gutter) !important;
}

.trust-strip {
  padding: 18px clamp(16px, 3vw, 28px) !important;
  gap: 16px 24px !important;
  border-radius: 24px !important;
}

.trust-item,
.stock-indicator,
.delivery-badge,
.flash-badge,
.bundle-badge,
.add-bundle-btn,
.card-slide-btn,
.slide-btn,
.float-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-header,
.flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.products,
.flash-products {
  width: 100%;
  max-width: 1240px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.products {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.flash-products {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.card,
.bundle-card,
.newsletter,
.trust-strip {
  background: var(--surface-soft) !important;
}

.card .gallery img,
.products .card .gallery img,
.flash-products .card .gallery img {
  aspect-ratio: 4 / 3;
  height: auto !important;
  max-height: 220px;
}

.bundle-card {
  overflow: hidden;
}

.bundle-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 122, 255, 0.12);
  color: #007aff;
  margin-bottom: 12px;
}

.bundle-icon .material-icons,
.bundle-item .item-icon .material-icons {
  font-size: 24px;
}

.bundle-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(255, 107, 0, 0.92);
  color: #fff;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.card-slide-btn,
.slide-btn,
.hero-arrow,
.footer-slide-btn {
  justify-content: center;
}

.footer-social a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: 14px !important;
}

@media (max-width: 992px) {
  .header-top {
    gap: 10px;
  }

  .header-actions {
    gap: 10px;
  }

  .hero-overlay {
    padding: 24px !important;
  }
}

@media (max-width: 768px) {
  .page-wrapper {
    width: min(calc(100% - 8px), var(--site-max-width)) !important;
    border-radius: 22px !important;
  }

  .hero-carousel {
    border-radius: 18px !important;
  }

  .hero-slide {
    height: clamp(260px, 70vw, 420px) !important;
    min-height: 260px !important;
  }

  .trust-strip,
  .bundles-section,
  .flash-deals,
  .all-products-section,
  .newsletter {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  .section-header,
  .flash-header {
    align-items: flex-start;
  }

  .products,
  .flash-products {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  .logo-area img,
  .footer-logo img {
    max-width: 140px;
  }
}

@media (max-width: 540px) {
  .products,
  .flash-products {
    grid-template-columns: 1fr !important;
  }

  .hero-slide {
    height: clamp(220px, 78vw, 320px) !important;
    min-height: 220px !important;
  }

  .hero-overlay {
    padding: 18px !important;
  }

  .hero-overlay h1 {
    font-size: clamp(20px, 7vw, 30px) !important;
  }

  .hero-overlay p {
    font-size: 13px !important;
  }

  .hero-arrow {
    padding: 8px 10px !important;
  }
}


/* ============================================================
   FIX & RESTRUCTURE: CHECKOUT LAYOUT + ORDER SUMMARY
   (Added during audit – these classes had no styling before)
   ============================================================ */

.checkout-title {
  font-size: 34px;
  text-align: center;
  margin: 30px 0 20px;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.checkout-title .material-icons { color: #007aff; font-size: 34px; }

/* Two-column checkout layout on desktop */
.checkout-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Order summary card */
.checkout-summary {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  position: sticky;
  top: 20px;
}
.checkout-summary h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a2e;
  font-size: 20px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.checkout-summary h2 .material-icons { color: #007aff; }

#checkoutItems { display: flex; flex-direction: column; gap: 6px; }

/* Generic summary rows used in both cart + checkout */
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: #4a5a6a;
  padding: 6px 0;
}
.summary-row span:last-child { font-weight: 600; color: #1a1a2e; white-space: nowrap; }

.summary-totals {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.summary-totals hr {
  border: none;
  border-top: 1px dashed rgba(0,0,0,0.15);
  margin: 8px 0;
}
.summary-row.total-row {
  font-size: 19px;
  padding-top: 6px;
}
.summary-row.total-row span { color: #007aff !important; font-weight: 800; }

.back-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #007aff;
  font-weight: 600;
  text-decoration: none;
}
.back-to-cart:hover { text-decoration: underline; }

/* ============================================================
   FIX & RESTRUCTURE: CART ORDER SUMMARY CARD
   ============================================================ */
.cart-summary { max-width: 700px; margin: 24px auto; padding: 0 20px; }
.cart-summary-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.cart-summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: #1a1a2e;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cart-summary-title .material-icons { color: #007aff; }
.cart-summary-rows { display: flex; flex-direction: column; gap: 4px; }
.cart-summary-rows .summary-label { color: #4a5a6a; }
.cart-summary-rows .summary-value { color: #1a1a2e; font-weight: 600; }
.cart-summary-rows .total-row {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 19px;
}
.cart-summary-rows .total-row .summary-label { color: #1a1a2e; font-weight: 700; }
.cart-summary-rows .total-value { color: #007aff !important; font-weight: 800; }

.cart-login-message {
  text-align: center;
  margin: 14px 0;
  background: rgba(0,122,255,0.06);
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,122,255,0.25);
}
.cart-login-message p { color: #1a1a2e; margin: 0; }
.cart-login-message a { color: #007aff; font-weight: 700; }

.cart-summary-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.btn-checkout {
  width: 100%;
  font-size: 16px;
  background: #007aff;
  color: #fff;
  padding: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-checkout:hover { background: #005bbf; transform: translateY(-1px); }
.btn-clear-cart {
  width: 100%;
  font-size: 14px;
  background: #fff;
  color: #c0392b;
  padding: 13px;
  border-radius: 30px;
  border: 1px solid rgba(192,57,43,0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
}
.btn-clear-cart:hover { background: #c0392b; color: #fff; }
.continue-shopping {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  color: #6c7a89;
  text-decoration: none;
  font-size: 14px;
  margin-top: 2px;
}
.continue-shopping:hover { color: #007aff; }

.saved-section { max-width: 700px; margin: 24px auto; padding: 0 20px; }
.saved-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1a1a2e;
  font-size: 20px;
  margin-bottom: 15px;
}
.saved-section-title .material-icons { color: #007aff; }

.promo-message { font-size: 13px; margin-top: 8px; min-height: 16px; }
.promo-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  background: rgba(46,125,50,0.08);
  border: 1px solid rgba(46,125,50,0.3);
  border-radius: 12px;
  padding: 8px 14px;
  color: #2e7d32;
  font-weight: 600;
}
.promo-remove-btn {
  background: transparent;
  border: none;
  color: #c0392b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

/* ============================================================
   DESKTOP-ON-MOBILE PARITY
   Make phones render the SAME layout as PC/Windows.
   This overrides the fragmented mobile breakpoints so the
   structure (multi-column grids, full nav, two-column
   checkout, full hero) is preserved on small screens.
   The whole page is uniformly down-scaled to fit the phone
   width so nothing is hidden or restacked.
   ============================================================ */





/* Fix text wrapping on contact & privacy pages */
main section {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}
main section p,
main section h1,
main section h2 {
  max-width: 100% !important;
  word-wrap: break-word !important;
}



/* ============================================================
   PRODUCT PAGE TABS
   ============================================================ */

.product-tabs-wrapper {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid rgba(229, 168, 46, 0.3);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent !important;
  border: none !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #6c7a89 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  position: relative;
}

.tab-btn:hover {
  color: #1a1a2e !important;
}

.tab-btn.active {
  color: #e5a82e !important;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e5a82e;
  border-radius: 3px 3px 0 0;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Inside each tab, remove extra top margins so they align */
.tab-content section {
  margin-top: 0;
}

/* Make the FAQ items collapsible nicely */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 12px 0;
  cursor: pointer;
}

.faq-item .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1a1a2e;
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 10px;
  color: #4a5a6a;
}

.faq-item.active .faq-answer {
  max-height: 300px; /* enough for most answers */
  padding: 10px 10px 0;
}

.faq-toggle {
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .tab-btn {
    padding: 10px 16px !important;
    font-size: 14px !important;
  }
  .product-tabs-wrapper {
    padding: 0 10px;
  }
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 40px 0 20px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #e5a82e, transparent);
}



/* ============================================================
   GLASS REMOVE BUTTON WITH MATERIAL ICON
   ============================================================ */

.remove-btn {
    background: rgba(255, 59, 48, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 59, 48, 0.25) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.remove-btn:hover {
    background: rgba(255, 59, 48, 0.30) !important;
    border-color: rgba(255, 59, 48, 0.5) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.2) !important;
}

.remove-btn .material-icons {
    font-size: 18px !important;
    color: #ff3b30 !important;
    display: inline-block !important;
    line-height: 1 !important;
}



/* ============================================================
   DETAILED PRODUCT PAGE (Takealot-style)
   ============================================================ */

.product-page-detailed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

/* LEFT: Gallery */
.product-gallery-detailed {
  position: sticky;
  top: 20px;
}

.main-image-detailed {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.main-image-detailed img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  cursor: zoom-in;
  transition: 0.3s;
}

.main-image-detailed img:hover {
  transform: scale(1.02);
}

.zoom-indicator {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.thumbnails-detailed {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.thumbnails-detailed img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.3s;
  background: rgba(255,255,255,0.05);
}

.thumbnails-detailed img:hover {
  border-color: #e5a82e;
}

/* RIGHT: Product Info */
.product-info-detailed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breadcrumb {
  font-size: 13px;
  color: #888;
}

.breadcrumb span {
  color: #e5a82e;
}

.product-info-detailed h1 {
  font-size: 32px;
  margin: 0;
  color: #fff;
}

.brand {
  color: #888;
  font-size: 14px;
  margin: -4px 0 0;
}

.rating-detailed {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-detailed .stars {
  color: #f5a623;
  font-size: 18px;
}

.rating-detailed .rating-count {
  color: #888;
  font-size: 14px;
}

.stock-location {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 4px 0;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 20px;
}

.stock-badge.in-stock {
  background: rgba(46,125,50,0.15);
  color: #4caf50;
}

.stock-badge.out-of-stock {
  background: rgba(214,40,40,0.15);
  color: #d62828;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #888;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
}

.price-detailed {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.current-price-large {
  font-size: 40px;
  font-weight: 700;
  color: #e5a82e;
}

.price-detailed .old-price {
  font-size: 20px;
  color: #888;
  text-decoration: line-through;
}

.price-detailed .discount-badge {
  background: #d62828;
  color: #fff;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.delivery-estimate {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}

.delivery-estimate .material-icons {
  color: #e5a82e;
  font-size: 28px;
}

.delivery-estimate strong {
  color: #fff;
  font-size: 15px;
}

.delivery-estimate .delivery-note {
  color: #888;
  font-size: 13px;
  display: block;
}

.short-description {
  color: #aaa;
  font-size: 16px;
  margin: 4px 0;
}

.key-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #aaa;
}

.feature-item .material-icons {
  color: #4caf50;
  font-size: 18px;
}

.action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 30px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.quantity-selector button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-selector button:hover {
  background: rgba(255,255,255,0.1);
}

.quantity-selector span {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  min-width: 30px;
  text-align: center;
}

.add-to-cart-btn {
  flex: 1;
  min-width: 160px;
  background: linear-gradient(135deg, #e5a82e, #d4911e) !important;
  border: none !important;
  color: #111 !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  padding: 14px 32px !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.add-to-cart-btn:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 8px 30px rgba(229, 168, 46, 0.3) !important;
}

.wishlist-btn {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: #fff !important;
  padding: 14px 24px !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.wishlist-btn:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: #e5a82e !important;
}

.financing {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(229,168,46,0.05);
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(229,168,46,0.1);
  color: #aaa;
  font-size: 14px;
}

.financing .material-icons {
  color: #e5a82e;
}

.financing strong {
  color: #e5a82e;
}

.whatsapp-enquiry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25D366;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 0;
  transition: 0.3s;
}

.whatsapp-enquiry:hover {
  color: #1da851;
}

/* ============================================================
   TABS – Detailed
   ============================================================ */

/* ============================================================
   TABS – Detailed
   ============================================================ */

/* ... keep the tabs-nav and tab-btn CSS above this ... */

.product-info-content h3 {
  color: #1a1a2e;       /* <-- Changed from #fff to dark dark blue/black */
  margin: 20px 0 8px;
  font-size: 18px;
}

.product-info-content p {
  color: #4a5a6a;       /* <-- Changed from #aaa to dark grey */
  line-height: 1.8;
}

.product-info-content ul {
  list-style: none;
  padding: 0;
}

.product-info-content ul li {
  color: #4a5a6a;       /* <-- Changed from #aaa to dark grey */
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* <-- Changed from white border to visible light grey border */
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-info-content ul li::before {
  content: '•';
  color: #e5a82e;
  font-weight: bold;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
  .product-page-detailed {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-gallery-detailed {
    position: static;
  }
  .main-image-detailed img {
    max-height: 350px;
  }
}

@media (max-width: 768px) {
  .product-info-detailed h1 {
    font-size: 24px;
  }
  .current-price-large {
    font-size: 30px;
  }
  .key-features {
    grid-template-columns: 1fr;
  }
  .action-buttons {
    flex-direction: column;
  }
  .add-to-cart-btn {
    min-width: auto;
  }
  .tabs-nav .tab-btn {
    font-size: 13px !important;
    padding: 10px 16px !important;
  }
}



/* ============================================================
   PRODUCT IMAGE CAROUSEL ARROWS
   ============================================================ */

.main-image-detailed {
    position: relative;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0.6;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

/* Hide arrows if only one image */
.main-image-detailed .carousel-arrow {
    display: flex;
}

.main-image-detailed.single-image .carousel-arrow {
    display: none;
}



/* ============================================================
   TAKEALOT-STYLE PRODUCT PAGE
   ============================================================ */
.product-page-takealot {
  display: flex;
  flex-direction: row;
  gap: 20px;
  max-width: 1240px;
  margin: 20px auto;
  padding: 0 20px;
}

/* Left Thumbnail Column */
.product-thumbnails-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 80px;
  flex-shrink: 0;
}
.product-thumbnails-col img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 4px;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.product-thumbnails-col img.active {
  border-color: #007bff; /* Active blue border */
}

/* Center Main Image Column */
.product-image-col {
  flex: 1;
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.product-image-col img {
  max-width: 100%;
  max-height: 550px;
  object-fit: contain;
}
.sale-badge-overlay {
  position: absolute;
  top: 15px;
  left: -5px;
  background: #007bff;
  color: #fff;
  padding: 4px 16px;
  font-weight: bold;
  font-size: 14px;
  transform: rotate(-5deg) skewX(-8deg);
  box-shadow: 2px 2px 5px rgba(0,0,0,0.15);
  z-index: 2;
  border-radius: 2px;
}
.product-image-col .carousel-arrow {
  display: flex;
}
.product-image-col.single-image .carousel-arrow {
  display: none;
}

/* Right Info Column */
.product-info-col-takealot {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-info-col-takealot h1 {
  font-size: 24px;
  color: #1a1a2e;
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.product-info-col-takealot .brand-link {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.product-info-col-takealot .brand-link:hover {
  text-decoration: underline;
}
.product-info-col-takealot .short-desc {
  color: #6c7a89;
  font-size: 14px;
  line-height: 1.5;
}
.rating-row-takealot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin: 4px 0;
}
.rating-row-takealot .stars { color: #f5a623; }
.rating-row-takealot .review-count { color: #6c7a89; }

.stock-row-takealot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 8px;
}
.stock-row-takealot .in-stock {
  font-weight: bold;
  color: #000;
  font-size: 15px;
}
.stock-row-takealot .location-pill {
  background: #f0f2f5;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #333;
}

.price-row-takealot {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
}
.price-row-takealot .current-price {
  font-size: 34px;
  font-weight: 700;
  color: #000;
}
.price-row-takealot .old-price {
  font-size: 20px;
  color: #999;
  text-decoration: line-through;
}

.delivery-row-takealot {
  background: #f8f9fa;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}
.delivery-row-takealot .material-icons { color: #007bff; }
.delivery-row-takealot strong { color: #007bff; font-weight: 600; font-size: 14px; display: block; }
.delivery-row-takealot .delivery-note { color: #6c7a89; font-size: 13px; }

.feature-list-takealot {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list-takealot li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #333;
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.4;
}
.feature-list-takealot li .material-icons {
  color: #4caf50;
  font-size: 20px;
}

.actions-row-takealot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.actions-row-takealot .btn-add-cart {
  width: 100%;
  padding: 16px;
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.actions-row-takealot .btn-add-cart:hover {
  background: #218838;
}
.actions-row-takealot .btn-add-list {
  width: 100%;
  padding: 14px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s;
}
.actions-row-takealot .btn-add-list:hover {
  background: #f8f9fa;
  border-color: #ccc;
}
.actions-row-takealot .btn-add-list i { color: #555; }

.quantity-selector-takealot {
  display: none; /* We hide the standalone +/- and merge it inside the green button in HTML */
}
.finance-box-takealot {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 12px 14px;
  border-radius: 6px;
  margin-top: 4px;
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}
.finance-box-takealot .material-icons { color: #e5a82e; }
.finance-box-takealot strong { color: #e5a82e; font-weight: 600; }

@media (max-width: 992px) {
  .product-page-takealot { flex-direction: column; gap: 20px; }
  .product-thumbnails-col { flex-direction: row; width: 100%; overflow-x: auto; }
  .product-thumbnails-col img { width: 80px; height: 80px; flex-shrink: 0; }
  .product-info-col-takealot { width: 100%; }
}




/* Gallery Image Container with Hover Zoom */
.main-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden; /* Hide the zoomed out parts */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
}

.main-image-container img {
  max-width: 100%;
  max-height: 550px;
  object-fit: contain;
  transition: transform 0.4s ease; /* Smooth zoom */
  cursor: zoom-in;
}

.main-image-container:hover img {
  transform: scale(1.7); /* The 1.7x Zoom you requested */
  cursor: zoom-in;
}

/* Image Counter "Image X of Y" */
.image-counter {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(4px);
  pointer-events: none; /* Don't block clicks */
}



.main-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
}
.main-image-container img {
  max-width: 100%;
  max-height: 550px; /* IMPORTANT: Keeps the image from getting too tall */
  object-fit: contain;
  transition: transform 0.4s ease;
  cursor: zoom-in;
}
