/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  text-align: center;
  background: url("") center/cover no-repeat fixed,
    linear-gradient(180deg, #0f0f0f, #1a1a1a);
  min-height: 100vh;
}

/* Header Logo */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

header .logo img {
  height: 50px;
}

/* Sticky Navbar */
nav {
  position: sticky;
  top: 0;
  background: rgba(8, 8, 22, 0.55);
  backdrop-filter: blur(28px) saturate(200%) brightness(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 10px 20px;
  z-index: 1000;
}

/* Dropdown Menu Styling */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  min-width: 120px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(12, 12, 28, 0.82);
  backdrop-filter: blur(28px) saturate(180%) brightness(1.06);
  -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
  min-width: 200px;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1001;
  top: 100%;
  left: 0;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  transition: background 0.3s;
  text-align: left;
}

.dropdown-content a:hover {
  background: rgba(255, 71, 71, 0.2);
  color: #ff4747;
}

.nav-dropdown:hover .dropdown-content,
.nav-dropdown:focus-within .dropdown-content {
  display: block;
}

/* Mobile specific adjustments */
@media (max-width: 600px) {
  nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 14px 8px !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  /* Hide non-essential nav items on mobile */
  .customer-portal-btn,
  .disclaimer-container {
    display: none !important;
  }

  /* Keep Menu dropdown compact — first row left */
  .nav-dropdown {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-dropdown .dropdown-toggle {
    width: 100%;
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  /* Cart button — third row, centered */
  .cart-icon-btn {
    order: 100;
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    font-size: 1.1rem;
    padding: 8px 10px;
    margin-top: 4px;
  }

  /* Search bar — second row, full width */
  .search-container {
    order: 99;
    width: 100% !important;
    max-width: none !important;
    margin: 4px 0 0 0 !important;
    display: flex !important;
  }

  #productSearch {
    width: 100%;
    font-size: 0.9rem;
    padding: 8px 12px;
    box-sizing: border-box;
  }
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: 20px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%) brightness(1.05);
  -webkit-backdrop-filter: blur(20px) saturate(160%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Hide the images by default */
.mySlides {
  display: none;
  height: 400px;
}

.mySlides img,
.placeholder-slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(0,0,0,0.2);
}

.placeholder-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1));
  color: rgba(255,255,255,0.5);
  font-family: inherit;
}

.placeholder-icon {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.3;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background: rgba(0,0,0,0.3);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slide-text {
  color: #f2f2f2;
  font-size: 24px;
  padding: 15px 32px;
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  font-weight: bold;
}

/* The dots/bullets/indicators */
.dot-container {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.3);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  border: 1px solid rgba(255,255,255,0.5);
}

.active, .dot:hover {
  background-color: #ff4747;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media (max-width: 600px) {
  .mySlides {
    height: 250px;
  }
  .slide-text {
    font-size: 16px;
    padding: 10px;
  }
}

/* G2G Store Button and Navbar Buttons/Links */
.g2g-btn {
  background: linear-gradient(135deg, rgba(220, 40, 40, 0.38) 0%, rgba(160, 20, 20, 0.28) 100%);
  backdrop-filter: blur(16px) saturate(160%) brightness(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(160%) brightness(1.1);
  color: #fff;
  padding: 10px 18px;
  border-radius: 40px;
  border: 1px solid rgba(255, 100, 80, 0.45);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow:
    0 4px 18px rgba(200, 30, 30, 0.28),
    inset 0 1px 0 rgba(255, 180, 160, 0.35),
    inset 0 -1px 0 rgba(180, 20, 20, 0.15);
  transition: all 0.25s ease;
  user-select: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.g2g-btn:hover {
  background: linear-gradient(135deg, rgba(255, 60, 60, 0.52) 0%, rgba(200, 30, 30, 0.42) 100%);
  border-color: rgba(255, 130, 110, 0.65);
  box-shadow:
    0 6px 24px rgba(220, 40, 40, 0.42),
    inset 0 1px 0 rgba(255, 200, 180, 0.45),
    inset 0 -1px 0 rgba(180, 20, 20, 0.2);
  transform: translateY(-1px);
}

/* Remove default link styles on <a> with g2g-btn */
.g2g-btn[href] {
  border: 1px solid rgba(255, 100, 80, 0.45);
}

/* Optional: to ensure <a> acts like a button */
.g2g-btn[href]:hover {
  text-decoration: none;
}

/* Search Container */
.search-container {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Search input styling - glass effect */
#productSearch {
  width: 40px;
  height: 40px;
  padding: 10px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1) url('https://img.icons8.com/ios-filled/50/ffffff/search--v1.png') no-repeat 10px center;
  background-size: 20px;
  color: transparent;
  font-size: 1rem;
  backdrop-filter: blur(15px) saturate(280%);
  -webkit-backdrop-filter: blur(10px) saturate(280%);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  cursor: pointer;
}

#productSearch::placeholder {
  color: transparent;
  transition: color 0.3s ease;
}

#productSearch:focus,
#productSearch:not(:placeholder-shown) {
  width: 280px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.15);
  background-position: -40px center; /* Move icon out when focused */
  border-color: #ffffff;
  padding-left: 15px;
  cursor: text;
  box-shadow: 0 0 10px #ff4747;
}

#productSearch:focus::placeholder,
#productSearch:not(:placeholder-shown)::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
  .search-container {
    width: 90%;
    justify-content: center;
    order: 3;
    margin: 10px 0 0 0;
  }

  #productSearch {
    width: 100%; /* Full width on mobile by default or keep compact? User said 'extends smoothly' */
    color: #fff;
    padding-left: 35px;
    background-position: 10px center;
  }

  #productSearch::placeholder {
    color: rgba(255, 255, 255, 0.6);
  }
}

/* Dropdown styling - glass effect */
#searchResults {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 0 0 20px 20px;
  backdrop-filter: blur(2px) saturate(200%);
  -webkit-backdrop-filter: blur(2px) saturate(200%);
  box-shadow: 0 8px 25px rgb(237, 237, 237, 0.3);
  max-height: 240px;
  overflow-y: auto;
  z-index: 1100;
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

#searchResults li {
  padding: 12px 20px;
  cursor: pointer;
  font-size: 1rem;
  color: #ffdd57;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease;
}

#searchResults li:hover {
  background: rgba(255, 71, 71, 0.8);
  color: #fff;
}

#searchResults li.no-results {
  cursor: default;
  color: #aaa;
  font-style: italic;
  border: none;
}

/* Highlight product on dropdown click */
.product-card.highlight {
  box-shadow: 0 0 20px 5px #ff4747;
  transition: box-shadow 0.3s ease-in-out;
}

/* Category Headers */
.category h1 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  text-align: center;
  color: #fff;
}

.category h2 {
  font-size: 1.4rem;
  margin: 20px 0 10px;
  color: #fff;
}

/* Product Section */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  padding: 20px;
  max-width: 1280px;
  margin: auto;
}

/* Product Card — uniform height, professional layout */
.product-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  opacity: 1;
  transform: translateY(0);
  width: 100%;
  max-width: 100%;
  margin: 0;
  position: relative;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  height: 100%;
}

/* The actual 'liquid glass' effect on a pseudo-element */
.product-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 20px;

  /* Glossy glass: gradient from lighter top to transparent */
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(22px) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.1);

  filter: url(#liquid-glass-effect);
  -webkit-filter: url(#liquid-glass-effect);

  /* Strong top-edge gloss highlight */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 1px 0 0 rgba(255, 255, 255, 0.15),
    inset 0 0 12px rgba(255, 255, 255, 0.04);
}

/* Optional: For hover effect */
.product-card:hover::after {
    /* Subtle change to the effect on hover */
    filter: url(#liquid-glass-effect-hover);
    -webkit-filter: url(#liquid-glass-effect-hover);
}
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  transition: transform 0.3s ease;
}
.product-card:hover img { transform: scale(1.04); }

.product-card h2 {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 4px 0 10px;
  color: #fff;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card p {
  font-size: 0.95rem;
  margin: 4px 0;
  color: #e1dfe1;
}
.product-card .price-lkr {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 6px 0 4px;
  letter-spacing: 0.2px;
}
.product-card .promo-original-price {
  font-size: 0.82rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin: 0 0 2px;
}
.product-card .qty-controls {
  margin: 10px auto 12px;
}
.product-card .purchase-btn,
.product-card .contact-sale-btn {
  margin-top: auto;
}

/* Quantity controls */
.product-card .qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 3px;
  margin: 10px auto 12px;
}
.product-card .qty-btn {
  background: transparent;
  border: none;
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
}
.product-card .qty-btn:hover { background: rgba(220,38,38,0.6); }
.product-card .qty-input {
  background: transparent;
  border: none;
  color: #fff;
  width: 36px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  outline: none;
}

/* Purchase button — primary CTA */
.product-card .purchase-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #DC2626, #b91c1c);
  border: none;
  color: #fff;
  padding: 11px 16px;
  border-radius: 12px;
  cursor: pointer;
  margin: 6px 0 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 14px rgba(220,38,38,0.35);
}
.product-card .purchase-btn:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(220,38,38,0.5);
}
.product-card .purchase-note {
  display: block;
  font-size: 0.72rem;
  color: #9ca3af;
  margin: 2px 0 8px;
  letter-spacing: 0.3px;
}

/* PayPal Button Styling */
.product-card .paypal-btn {
  background: #0070ba;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  margin-bottom: 10px;
  margin-top: 5px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
}

.product-card .paypal-btn:hover {
  background: #005ea6;
}

/* Button container for better spacing */
.product-card .button-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}

/* Product Description */
.product-card .description {
  font-size: 0.8rem;
  color: #ccc;
  margin: 5px 0 15px;
  line-height: 1.2;
  text-align: left;
  list-style: none;
}

.product-card .description li {
  margin: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.product-card .description li::before {
  content: '•';
  font-weight: bold;
  color: #fff;
  font-size: 1.2rem;
  line-height: 0.8;
}

/* Hover Effect */
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow:
    0 18px 38px rgba(0,0,0,0.5),
    0 0 0 1px rgba(220,38,38,0.18);
}

/* Out of Stock Badge */
.badge.out-of-stock {
  background: red;
  color: white;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 15px;
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Stock Labels */
.stock-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 12px;
  font-size: 0.85rem;
  font-weight: bold;
  color: white;
  border-radius: 15px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.stock-label.limited {
  background: orange;
}

.stock-label.out {
  background: red;
}


/* Product Scroll Animation */
.product-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Base */
.site-footer {
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, rgba(229, 57, 53, 0.12), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(229, 57, 53, 0.08), transparent 55%),
    linear-gradient(180deg, #0d0d0f 0%, #07070a 100%);
  color: #e6e6e9;
  padding: 56px 24px 24px;
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  border-top: 1px solid rgba(229, 57, 53, 0.25);
  margin-top: 60px;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #e53935, transparent);
}

/* Footer Container */
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 0.8fr;
  gap: 48px;
  align-items: flex-start;
}

/* Section Headings (shared) */
.footer-info h3,
.footer-logo h4,
.footer-links h4 {
  position: relative;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 22px;
  padding-bottom: 12px;
}
.footer-info h3::after,
.footer-logo h4::after,
.footer-links h4::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: linear-gradient(90deg, #e53935, transparent);
  border-radius: 2px;
}

/* ── LEFT: Company Info ── */
.footer-info h3 { font-size: 1.2rem; }
.footer-info p {
  margin: 10px 0;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem;
  color: #c2c2c8; line-height: 1.5;
}
.footer-info p a {
  color: #c2c2c8; text-decoration: none;
  transition: color 0.2s ease;
}
.footer-info p a:hover { color: #ff6b6b; }
.footer-icon {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  object-fit: contain;
}

/* ── Social Icons ── */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(229, 57, 53, 0.15);
  border-color: rgba(229, 57, 53, 0.5);
}
.footer-social img {
  width: 18px; height: 18px;
  object-fit: contain;
  opacity: 0.95;
}

/* ── MIDDLE: Partners & Reviews ── */
.footer-logo { text-align: left; }

.partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.partner-logos a {
  display: flex; align-items: center; justify-content: center;
  height: 64px; padding: 10px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.partner-logos a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(229, 57, 53, 0.5);
}
.partner-logos img {
  max-height: 38px; max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: none;
}

/* Google Rating Card */
.google-rating {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px;
  margin: 0 0 20px;
}
.google-rating .stars {
  font-size: 1.15rem; color: #ffc107;
  display: inline-block; letter-spacing: 3px;
  margin-right: 6px;
}
.google-rating .rating-text {
  font-size: 0.95rem; color: #fff; font-weight: 600;
  display: inline-block; vertical-align: middle;
}
.google-rating .review-count {
  margin: 6px 0 0; font-size: 0.82rem; color: #888;
}
.google-rating .review-count a {
  color: #b3d9ff; text-decoration: none;
}
.google-rating .review-count a:hover { color: #ff6b6b; }

/* Payment Logos Strip */
.payment-logos {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.payment-logos img {
  height: 24px; width: auto; object-fit: contain;
  opacity: 0.85;
  filter: brightness(1.05);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.payment-logos img:hover { opacity: 1; transform: scale(1.08); }

/* ── RIGHT: Legal Links ── */
.footer-links ul {
  list-style: none; padding: 0; margin: 0;
}
.footer-links ul li { margin: 0 0 10px; }
.footer-links ul li a {
  position: relative;
  color: #c2c2c8; text-decoration: none;
  font-size: 0.9rem;
  padding-left: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links ul li a::before {
  content: '›';
  position: absolute; left: 0; top: -2px;
  color: #e53935; font-weight: 700;
  transition: transform 0.2s ease;
}
.footer-links ul li a:hover {
  color: #fff; padding-left: 18px;
}
.footer-links ul li a:hover::before { transform: translateX(2px); }

/* ── Footer Bottom ── */
.footer-bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: #888;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.footer-bottom .site-version {
  display: inline-block;
  margin: 0 6px;
  padding: 2px 8px;
  background: rgba(229, 57, 53, 0.1);
  color: #ff8a8a;
  border-radius: 4px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
}

/* Responsive Footer */
@media (max-width: 980px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer { padding: 40px 18px 18px; }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }
  .footer-logo { text-align: left; }
  .partner-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom { font-size: 0.75rem; }
}

/* Scroll to Top Button - Removed Red and Added Glass Effect */
#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  font-size: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

@media (max-width: 600px) {
  #scrollToTopBtn {
    bottom: 15px;
    left: 15px;
    font-size: 20px;
    padding: 8px 15px;
  }
}

.purchase-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

/* Info Button Styling */
.info-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-family: serif;
  font-style: italic;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.info-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Product Info Popup */
#productInfoPopup .popup-content {
  max-width: 550px;
  text-align: left;
}

#productInfoPopup .popup-title {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

#productInfoPopup .info-details {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.popup-description {
  list-style: none;
  padding: 0;
}

.popup-description li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.popup-description li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #007bff;
  font-weight: bold;
}
.disclaimer-container {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.disclaimer-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 12px;
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  max-width: 45px; /* Initial width only showing icon */
  white-space: nowrap;
}

.disclaimer-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.disclaimer-text {
  opacity: 0;
  width: 0;
  transition: all 0.4s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.disclaimer-btn:hover {
  max-width: 150px; /* Expand to show text */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  gap: 8px;
  padding-right: 15px;
}

.disclaimer-btn:hover .disclaimer-text {
  opacity: 1;
  width: auto;
}

@media (max-width: 600px) {
  .disclaimer-container {
    width: 90%;
    justify-content: center;
    margin: 5px 0;
  }
  .disclaimer-btn {
    max-width: 150px;
    padding-right: 15px;
    gap: 8px;
  }
  .disclaimer-text {
    opacity: 1;
    width: auto;
  }
}
  /* Contact Sale Button */
  .contact-sale-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 20px;
    margin-top: 10px;
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
  }

  .contact-sale-btn:hover {
    background: rgba(37, 211, 102, 0.25);
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  }

  .contact-sale-btn::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url("https://img.icons8.com/color/48/whatsapp--v1.png");
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* Sold Count Badge */
  .sold-count-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 14px;
    background: rgba(255, 60, 60, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.2);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 180, 160, 0.9);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .sold-count-badge .sold-icon {
    font-size: 0.82rem;
  }

  .sold-count-badge .sold-num {
    color: #ff7a5a;
    font-weight: 700;
  }

  /* Mobile Menu Toggle (3 Dots) */
  .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
  }

  .mobile-menu-toggle .dot {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }

  /* Responsive Navigation */
  @media (max-width: 768px) {
    .mobile-menu-toggle {
      display: flex;
    }

    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(15px);
      flex-direction: column;
      padding: 20px;
      gap: 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
      display: flex;
    }

    .nav-dropdown, .customer-portal-btn, .disclaimer-container {
      width: 100%;
    }

    .g2g-btn, .disclaimer-btn {
      width: 100%;
      justify-content: center;
    }
  }

  @media (max-width: 768px) {
    .nav-links {
      display: none !important;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background: rgba(10, 10, 30, 0.98) !important;
      flex-direction: column;
      padding: 20px;
      z-index: 9999 !important;
      backdrop-filter: blur(20px);
    }
    .nav-links.active {
      display: flex !important;
    }
    .mobile-menu-toggle {
      display: flex !important;
      z-index: 10000 !important;
      cursor: pointer;
    }
  }

/* USD Price Display */
.price-usd {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: -8px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

/* ── Mega Category Banner ── */
.mega-category {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ff3b3b, #ff8a3b, #ff3b3b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 48px 0 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 59, 59, 0.25);
  text-transform: uppercase;
}
.mega-category-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ── Promotions / Discounts Section ── */
.promo-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b35, #f7c59f, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.promo-section-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.promo-card {
  position: relative;
  border: 1px solid rgba(255, 160, 60, 0.55) !important;
  box-shadow:
    0 0 28px rgba(255, 100, 30, 0.28),
    0 8px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 210, 120, 0.35),
    inset 0 -1px 0 rgba(255, 140, 50, 0.1) !important;
}

.promo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff4500, #ff8c00);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(255, 69, 0, 0.45);
  z-index: 2;
}

.promo-original-price {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  margin-bottom: 2px;
  margin-top: 4px;
}

/* ── Bundle Card Dual Images ── */
.bundle-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 4px;
}

.bundle-img {
  width: 42%;
  max-width: 120px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  padding: 6px;
}

.bundle-plus {
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.bundle-includes {
  font-size: 0.75rem;
  color: rgba(255, 200, 100, 0.85);
  margin-bottom: 4px;
  font-style: italic;
}

/* ── Dropdown Divider & Mobile Search ── */
.dropdown-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 6px 0;
}

.dropdown-search-wrap {
  padding: 6px 8px 4px;
  position: relative;
}

.dropdown-search-wrap input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 12px;
  outline: none;
}

.dropdown-search-wrap input::placeholder {
  color: rgba(255,255,255,0.5);
}

.mobile-search-results {
  width: 100%;
  top: calc(100% + 2px);
}

/* ── Live Exchange Rate Ticker ── */
.rate-ticker {
  background: rgba(5, 5, 18, 0.72);
  backdrop-filter: blur(20px) saturate(180%) brightness(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3), inset 0 -1px 0 rgba(255,255,255,0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  padding: 5px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  letter-spacing: 0.02em;
}

.rate-ticker-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.rate-ticker-sep {
  opacity: 0.35;
}

.rate-ticker-updated {
  opacity: 0.45;
  font-size: 0.72rem;
  margin-left: 4px;
}

/* ── Footer Version Badge ── */
.site-version {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* ── Bundle Deal Time Gate ── */
.bundle-avail-status {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 8px 0 6px;
  text-align: center;
  min-height: 36px;
  line-height: 1.5;
}

.bundle-avail-status small {
  opacity: 0.65;
  font-size: 0.72rem;
}

.bundle-locked {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(60%);
}

.bundle-unlocked {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  filter: none;
}
/* ================= GOOGLE REVIEWS MARQUEE ================= */
.reviews-marquee {
  position: relative;
  margin: 18px auto 28px;
  padding: 18px 0 22px;
  background: linear-gradient(180deg, rgba(20,20,24,0.55), rgba(20,20,24,0.25));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.reviews-marquee-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  max-width: 1280px; margin: 0 auto 14px; padding: 0 22px;
}
.reviews-marquee-title {
  display: flex; align-items: center; gap: 10px;
  color: #f3f4f6; font-size: 15px; font-weight: 500;
  flex-wrap: wrap;
}
.reviews-marquee-title .g-logo { width: 22px; height: 22px; }
.reviews-marquee-title strong { color: #fff; font-weight: 700; }
.reviews-stars {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fbbf24; font-size: 14px; letter-spacing: 1px;
  background: rgba(251,191,36,0.08);
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(251,191,36,0.22);
}
.reviews-stars em { color: #fff; font-style: normal; font-weight: 600; font-size: 13px; }
.reviews-write-btn {
  color: #fff; background: linear-gradient(135deg, #DC2626, #b91c1c);
  font-size: 13px; font-weight: 600; text-decoration: none;
  padding: 8px 16px; border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(220,38,38,0.35);
}
.reviews-write-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(220,38,38,0.5); }

.reviews-track-wrap {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track {
  display: flex; gap: 18px;
  width: max-content;
  padding: 6px 22px;
  animation: reviewsScroll 60s linear infinite;
  will-change: transform;
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
@keyframes reviewsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review-card {
  flex: 0 0 340px;
  background: #ffffff;
  color: #1f2937;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(220,38,38,0.18);
}
.review-head {
  display: flex; align-items: center; gap: 10px;
}
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14px; color: #111827; }
.review-meta { font-size: 12px; color: #6b7280; letter-spacing: 0.3px; }
.review-g, .review-source-google {
  width: 18px; height: 18px; margin-left: auto;
  opacity: 0.85; flex-shrink: 0;
}
.review-source-tp {
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-meta-wrap { min-width: 0; flex: 1; }
.review-avatar-img {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.review-body-empty {
  font-style: italic; color: #6b7280;
}
.review-body-empty strong { color: #fbbf24; font-style: normal; }

/* Header source icons */
.reviews-source-icons {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06);
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}
.reviews-source-icons .g-logo { width: 18px; height: 18px; margin: 0; }
.reviews-source-divider { color: #9ca3af; font-weight: 600; }
.review-body {
  font-size: 13.5px; line-height: 1.55; color: #374151;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .review-card { flex-basis: 280px; padding: 14px; }
  .reviews-marquee-header { padding: 0 14px; }
  .reviews-track { animation-duration: 45s; gap: 14px; padding: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

/* ================= SERVICE STATUS PILL ================= */
.service-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 500;
  color: #e5e7eb;
  margin-left: 4px;
  cursor: help;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.service-status:hover {
  background: rgba(255, 255, 255, 0.08);
}
.service-status .status-label { color: #9ca3af; font-size: 12px; }
.service-status .status-text { font-weight: 700; letter-spacing: 0.3px; }
.service-status .status-dot {
  width: 9px; height: 9px; border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.service-status.online .status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: statusPulseGreen 2s infinite;
}
.service-status.online { border-color: rgba(34, 197, 94, 0.35); }
.service-status.online .status-text { color: #4ade80; }

.service-status.offline .status-dot {
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: statusPulseAmber 2s infinite;
}
.service-status.offline { border-color: rgba(245, 158, 11, 0.35); }
.service-status.offline .status-text { color: #fbbf24; }

@keyframes statusPulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes statusPulseAmber {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

@media (max-width: 900px) {
  .service-status .status-label { display: none; }
  .service-status { padding: 5px 10px; font-size: 12px; }
}
