/* ===================================================
   iPlug Digital Solutions — Dark Theme Redesign
   Primary Blue: #15a3ea  |  Dark BG: #080808
   =================================================== */

:root {
  --blue: #15a3ea;
  --blue-glow: rgba(91, 176, 229, 0.35);
  --blue-dim: rgba(91, 176, 229, 0.12);
  --bg-primary: #080808;
  --bg-card: #111111;
  --bg-surface: #0d0d0d;
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --transition: 0.35s ease;
}

body {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary) !important;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../images/products/shopping_phones.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Dark cinematic overlay — sits directly over the photo */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.68) 0%,
    rgba(4, 10, 20, 0.72) 60%,
    rgba(8, 8, 8, 0.88) 100%
  );
  z-index: 1;
}

/* Dot-grid pattern overlay */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91, 176, 229, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 2;
}

/* Ambient blue glow */
.hero-glow-blob {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(91, 176, 229, 0.10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
}

.hero-container {
  position: relative;
  z-index: 3;
}

/* ---- Centered hero text ---- */
.hero-content {
  padding-right: 0;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: rgba(8, 8, 8, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: heroFadeDown 0.6s ease both;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 22px;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
  animation: heroFadeUp 0.7s ease both 0.15s;
}

.hero-accent {
  color: var(--blue);
  text-shadow: 0 0 30px rgba(91, 176, 229, 0.4);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeUp 0.7s ease both 0.28s;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeUp 0.7s ease both 0.4s;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 34px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-hero-primary:hover {
  background: #4aa3d8;
  box-shadow: 0 0 28px rgba(91, 176, 229, 0.5);
  transform: translateY(-2px);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 34px;
  border-radius: 6px;
  border: 1.5px solid var(--blue);
  text-decoration: none !important;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-hero-outline:hover {
  background: var(--blue);
  color: #fff !important;
  transform: translateY(-2px);
}

/* Hero bottom fade into next section */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-surface));
  z-index: 2;
  pointer-events: none;
}

/* Scroll-down cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  color: rgba(255, 255, 255, 0.55) !important;
  transition: color 0.3s ease;
  animation: heroFadeUp 0.8s ease both 0.65s;
}

.hero-scroll-cue:hover {
  color: var(--blue) !important;
}

.hero-scroll-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  animation: scrollBounce 1.6s ease-in-out infinite;
  font-size: 0.85rem;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%       { transform: translateY(5px); opacity: 1; }
}

/* =========================================
   TRENDING NOW (coverflow wrapper)
   ========================================= */
.coverflow-section {
  background: var(--bg-surface) !important;
  padding-top: 72px;
}

.coverflow-section #home {
  background: var(--bg-surface) !important;
}

/* Override nav buttons */
.coverflow-section .nav-button {
  background: rgba(91, 176, 229, 0.1) !important;
  border: 2px solid rgba(91, 176, 229, 0.3) !important;
  color: var(--blue) !important;
}

.coverflow-section .nav-button:hover {
  background: rgba(91, 176, 229, 0.22) !important;
}

/* Blue dots */
.coverflow-section .dot {
  background: rgba(91, 176, 229, 0.3) !important;
}

.coverflow-section .dot.active {
  background: var(--blue) !important;
}

/* Blue play/pause */
.coverflow-section .play-pause-button {
  background: rgba(91, 176, 229, 0.1) !important;
  border: 2px solid rgba(91, 176, 229, 0.3) !important;
  color: var(--blue) !important;
}

.coverflow-section .play-pause-button:hover {
  background: rgba(91, 176, 229, 0.22) !important;
}

/* Blue glow on the active (center) slide */
.coverflow-item.active .cover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 42px rgba(91, 176, 229, 0.28) !important;
}

/* =========================================
   CATEGORIES HEADER
   ========================================= */
.categories-header {
  background: var(--bg-primary);
  text-align: center;
  padding: 72px 24px 0;
}

/* =========================================
   PRODUCT CATEGORIES GRID
   ========================================= */
.product-categories {
  background: var(--bg-primary) !important;
}

.category-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  box-shadow: none !important;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.45s ease !important;
}

.category-card:hover {
  border-color: rgba(91, 176, 229, 0.45) !important;
  box-shadow: 0 0 32px rgba(91, 176, 229, 0.18) !important;
  transform: translateY(-6px) !important;
}

.image-wrap::after {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.15), transparent) !important;
}

.see-more {
  border-color: rgba(91, 176, 229, 0.6) !important;
  color: var(--blue) !important;
  background: transparent !important;
}

.see-more:hover {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
  box-shadow: 0 0 18px rgba(91, 176, 229, 0.45) !important;
}

/* =========================================
   ABOUT / BEST FEATURES
   ========================================= */
.best-features {
  background: var(--bg-surface) !important;
  padding: 80px 0 80px !important;
  margin-top: 0 !important;
}

.best-features .container .row {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.best-features .section-heading {
  border-bottom: none !important;
}

.best-features .section-heading h2 {
  color: var(--text-primary) !important;
}

.best-features .left-content h4 {
  color: var(--blue) !important;
  font-size: 1.05rem !important;
}

.best-features .left-content p {
  color: var(--text-muted) !important;
  font-size: 0.95rem;
  line-height: 1.8;
}

.best-features .left-content strong {
  color: var(--blue) !important;
}

.best-features ul.featured-list {
  list-style: none !important;
  padding: 0 !important;
}

.best-features ul.featured-list li {
  color: var(--text-muted) !important;
  display: block !important;
  padding-left: 20px !important;
  position: relative;
  margin-bottom: 10px !important;
}

.best-features ul.featured-list li::before {
  content: "▸";
  color: var(--blue);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
}

/* Hide original a-tag bullets */
.best-features ul.featured-list li a::before {
  display: none !important;
}

.best-features ul.featured-list li a {
  color: var(--text-muted) !important;
  padding-left: 0 !important;
  font-size: 0.93rem !important;
}

.best-features ul.featured-list li a:hover {
  color: var(--blue) !important;
}

.best-features a.filled-button {
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: 6px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition) !important;
}

.best-features a.filled-button:hover {
  background: #4aa3d8 !important;
  color: #fff !important;
  box-shadow: 0 0 22px rgba(91, 176, 229, 0.45) !important;
  transform: translateY(-2px);
}

/* Blue glow on the about image */
.right-image-glow {
  position: relative;
  display: block;
}

.right-image-glow::after {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: 20px;
  background: radial-gradient(ellipse, rgba(91, 176, 229, 0.18) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.right-image-glow img {
  position: relative;
  z-index: 1;
  border-radius: 10px;
}

/* =========================================
   BRANDS
   ========================================= */
.brands {
  background: var(--bg-primary) !important;
  border-top: 2px solid rgba(91, 176, 229, 0.22) !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  padding: 56px 20px !important;
}

.brand-track img {
  filter: none !important;
  opacity: 1 !important;
}

.brand-track img:hover {
  filter: brightness(0) invert(1) opacity(1) !important;
  transform: scale(1.08) !important;
}

/* =========================================
   CTA BANNER
   ========================================= */
.cta-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.82) 0%, rgba(5, 10, 22, 0.78) 100%) !important;
}

.cta-content h2 {
  font-weight: 700 !important;
  font-size: 2.4rem !important;
  line-height: 1.25 !important;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.cta-content a.filled-button {
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 13px 30px !important;
  border-radius: 6px !important;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition) !important;
}

.cta-content a.filled-button:hover {
  background: #4aa3d8 !important;
  box-shadow: 0 0 28px rgba(91, 176, 229, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* =========================================
   GLASS NAVBAR
   ========================================= */

/* Smooth transition on all states */
header {
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.42s ease,
              backdrop-filter 0.42s ease,
              box-shadow 0.42s ease !important;
}

/* Glass morphism on scroll — triggered by .scrolled (slider.js) or .background-header (custom.js) */
header.scrolled,
header.background-header {
  background: rgba(6, 6, 6, 0.62) !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07),
    0 8px 40px rgba(0, 0, 0, 0.45) !important;
}

/* Navbar padding shrinks slightly when scrolled */
header.scrolled .navbar,
header.background-header .navbar {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Slide navbar out of view on scroll-down */
header.nav-hidden {
  transform: translateY(-110%) !important;
}

.navbar .navbar-brand {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Nav links — always white, hover to blue */
.navbar .navbar-brand h2 {
  color: #fff !important;
}

.navbar .navbar-brand h2 em {
  color: var(--blue) !important;
  font-style: normal;
}

.navbar .navbar-nav a.nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  transition: color 0.25s ease !important;
}

.navbar .navbar-nav a.nav-link:hover,
.navbar .navbar-nav .active > .nav-link,
.navbar .navbar-nav .nav-link.active {
  color: var(--blue) !important;
}

.cart-icon a {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
  background: var(--bg-surface);
  padding: 80px 0 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: -32px;
  margin-bottom: 52px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 26px;
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  overflow: hidden;
}

/* Remove stagger delay once card is in view */
.testimonial-card[data-reveal].revealed {
  transition-delay: 0s !important;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 5.5rem;
  color: rgba(91, 176, 229, 0.07);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(91, 176, 229, 0.38);
  box-shadow: 0 0 30px rgba(91, 176, 229, 0.12);
  transform: translateY(-6px);
}

.testimonial-stars {
  color: #f5c518;
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.82;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.testimonial-meta strong {
  display: block;
  font-size: 0.87rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-meta span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.testimonial-card:nth-child(1)[data-reveal] { transition-delay: 0.00s; }
.testimonial-card:nth-child(2)[data-reveal] { transition-delay: 0.12s; }
.testimonial-card:nth-child(3)[data-reveal] { transition-delay: 0.24s; }

@media (max-width: 991px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* =========================================
   FOOTER — REDESIGNED
   ========================================= */
footer {
  background-color: #050505 !important;
  border-top: 1px solid rgba(91, 176, 229, 0.18) !important;
}

/* Hide the old single-line footer content */
footer .inner-content {
  display: none !important;
}

.footer-main {
  padding: 64px 0 44px;
}

.footer-brand h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

.footer-brand h4 em {
  color: var(--blue);
  font-style: normal;
}

.footer-brand p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 270px;
}

/* Social icon buttons */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(91, 176, 229, 0.07);
  border: 1px solid rgba(91, 176, 229, 0.18);
  color: var(--blue) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background 0.3s ease, border-color 0.3s ease,
              transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(91, 176, 229, 0.32);
}

/* Footer column headings */
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Footer links list */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 9px;
}

.footer-links-list li a {
  font-size: 0.83rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-links-list li a i {
  font-size: 0.55rem;
  color: var(--blue);
  opacity: 0.7;
}

.footer-links-list li a:hover {
  color: var(--blue) !important;
  padding-left: 4px;
}

/* Footer contact rows */
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-row .fc-icon {
  color: var(--blue);
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.footer-contact-row span,
.footer-contact-row a {
  font-size: 0.83rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  line-height: 1.55;
}

.footer-contact-row a:hover {
  color: var(--blue) !important;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted) !important;
  margin: 0;
}

@media (max-width: 767px) {
  .footer-main  { padding: 48px 0 32px; }
  .footer-brand { margin-bottom: 36px; }
  .footer-brand p { max-width: 100%; }
}

/* =========================================
   SECTION TITLE (shared)
   ========================================= */
.section-title {
  font-size: 2rem !important;
  font-weight: 700;
  color: var(--text-primary) !important;
  text-align: center;
  margin-bottom: 40px !important;
}

.section-title span {
  color: var(--blue);
}

/* =========================================
   KEYFRAMES
   ========================================= */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

/* =========================================
   SCROLL REVEAL
   ========================================= */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal="up"]    { transform: translateY(42px); }
[data-reveal="left"]  { transform: translateX(-42px); }
[data-reveal="right"] { transform: translateX(42px); }

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Staggered entrance for category cards */
.category-card:nth-child(1)[data-reveal]  { transition-delay: 0.00s; }
.category-card:nth-child(2)[data-reveal]  { transition-delay: 0.06s; }
.category-card:nth-child(3)[data-reveal]  { transition-delay: 0.12s; }
.category-card:nth-child(4)[data-reveal]  { transition-delay: 0.18s; }
.category-card:nth-child(5)[data-reveal]  { transition-delay: 0.24s; }
.category-card:nth-child(6)[data-reveal]  { transition-delay: 0.30s; }
.category-card:nth-child(7)[data-reveal]  { transition-delay: 0.36s; }
.category-card:nth-child(8)[data-reveal]  { transition-delay: 0.42s; }
.category-card:nth-child(9)[data-reveal]  { transition-delay: 0.48s; }
.category-card:nth-child(10)[data-reveal] { transition-delay: 0.54s; }
.category-card:nth-child(11)[data-reveal] { transition-delay: 0.60s; }
.category-card:nth-child(12)[data-reveal] { transition-delay: 0.66s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
  .hero-section    {
    padding: 80px 0 40px;
    height: 100svh;
    min-height: unset;
    max-height: 100svh;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }
  .hero-content    { padding-right: 0; text-align: center; margin-bottom: 24px; }
  .hero-subtitle   { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-ctas       { justify-content: center; }
  .hero-glow-ring  { width: 280px; height: 280px; }
  .hero-product-img { max-height: 200px; }
  .hero-glow-blob  { width: 380px; height: 380px; right: -120px; }
}

@media (max-width: 767px) {
  .hero-title      { font-size: 2rem; }
  .section-title   { font-size: 1.65rem !important; }
  .cta-content h2  { font-size: 1.8rem !important; }
}

/* =========================================
   SHOP PAGE
   ========================================= */

/* ---- Shop Hero ---- */
.shop-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #080808 0%, #0a0f1a 60%, #050d14 100%);
  overflow: hidden;
  padding: 140px 0 60px;
}

.shop-hero-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 176, 229, 0.14) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

.shop-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.shop-hero-content .hero-badge {
  animation: heroFadeDown 0.6s ease both;
}

.shop-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.18;
  margin: 18px 0 16px;
  animation: heroFadeUp 0.7s ease both 0.15s;
}

.shop-hero-content > p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  animation: heroFadeUp 0.7s ease both 0.28s;
}

/* Decorative floating orbs */
.shop-hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.deco-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 176, 229, 0.2) 0%, transparent 70%);
}

.deco-orb-1 {
  width: 280px;
  height: 280px;
  top: -70px;
  right: 5%;
  animation: float 6s ease-in-out infinite;
}

.deco-orb-2 {
  width: 160px;
  height: 160px;
  bottom: 0;
  right: 28%;
  animation: float 4s ease-in-out infinite 1s;
}

.deco-orb-3 {
  width: 90px;
  height: 90px;
  top: 40%;
  right: 16%;
  animation: float 5s ease-in-out infinite 0.5s;
}

/* ---- Filter Bar ---- */
.shop-filter-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.shop-filters {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-filter-btn {
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 50px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  user-select: none;
}

.shop-filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.shop-filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 16px rgba(91, 176, 229, 0.4);
}

/* ---- Products Section ---- */
.shop-products-section {
  background: var(--bg-primary);
  padding: 60px 0 80px;
}

.shop-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- Product Card ---- */
.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.28s ease;
}

/* Remove stagger delay once card is revealed (so hover isn't delayed) */
.product-card[data-reveal].revealed {
  transition-delay: 0s !important;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 176, 229, 0.45);
  box-shadow: 0 0 32px rgba(91, 176, 229, 0.18);
}

/* Badge */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  animation: pulseBadge 2.5s ease-in-out infinite;
}

.badge-new      { background: var(--blue); }
.badge-hot      { background: #e55b5b; }
.badge-trending { background: #a855f7; }
.badge-sale     { background: #ef4444; }
.badge-deal     { background: #5be58a; color: #111; }
.badge-discount { background: #f97316; }
.badge-used     { background: #e5935b; }

/* Product image */
.product-img-wrap {
  position: relative;
  height: 220px;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-wrap img {
  max-height: 175px;
  max-width: 90%;
  object-fit: contain;
  padding: 12px;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

/* Blue glow on hover */
.product-hover-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(91, 176, 229, 0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover .product-hover-glow {
  opacity: 1;
}

/* Product info */
.product-info {
  padding: 18px 20px 20px;
}

.product-info h3 {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.3;
}

.product-category-tag {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

/* Cart button */
.product-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(91, 176, 229, 0.1);
  border: 1px solid rgba(91, 176, 229, 0.4);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.product-cart-btn:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 16px rgba(91, 176, 229, 0.4);
}

.product-cart-btn .fa-shopping-cart {
  transition: transform 0.2s ease;
}

.product-cart-btn:hover .fa-shopping-cart {
  transform: translateX(3px);
}

.product-cart-btn.cart-shake {
  animation: cartShake 0.4s ease;
}

/* ---- Pagination ---- */
.shop-pagination {
  background: var(--bg-primary);
  padding: 0 0 64px;
}

.shop-pagination .pages {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.shop-pagination .pages li {
  display: inline-block;
  margin: 0 3px;
}

.shop-pagination .pages li a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.shop-pagination .pages li a:hover,
.shop-pagination .pages li.active a {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 14px rgba(91, 176, 229, 0.35);
}

/* ---- Scroll-reveal stagger for product cards ---- */
.product-card:nth-child(1)[data-reveal]  { transition-delay: 0.00s; }
.product-card:nth-child(2)[data-reveal]  { transition-delay: 0.06s; }
.product-card:nth-child(3)[data-reveal]  { transition-delay: 0.12s; }
.product-card:nth-child(4)[data-reveal]  { transition-delay: 0.18s; }
.product-card:nth-child(5)[data-reveal]  { transition-delay: 0.24s; }
.product-card:nth-child(6)[data-reveal]  { transition-delay: 0.30s; }
.product-card:nth-child(7)[data-reveal]  { transition-delay: 0.36s; }
.product-card:nth-child(8)[data-reveal]  { transition-delay: 0.42s; }
.product-card:nth-child(9)[data-reveal]  { transition-delay: 0.00s; }
.product-card:nth-child(10)[data-reveal] { transition-delay: 0.06s; }
.product-card:nth-child(11)[data-reveal] { transition-delay: 0.12s; }
.product-card:nth-child(12)[data-reveal] { transition-delay: 0.18s; }

/* ---- New keyframes ---- */
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.07); }
}

@keyframes cartShake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-5px); }
  40%  { transform: translateX(5px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* ---- Shop page responsive ---- */
@media (max-width: 1199px) {
  .shop-products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .shop-products-grid  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .shop-filter-bar     { top: 0; position: relative; }
  .product-bottom      { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-cart-btn    { width: 100%; justify-content: center; }
}

@media (max-width: 479px) {
  .shop-products-grid  { grid-template-columns: 1fr; }
  .shop-hero-content h1 { font-size: 1.9rem; }
}

/* =========================================
   WHITE ACCENTS — homepage + shop
   ========================================= */

/* Brighter subtitles in both heroes */
.hero-subtitle,
.shop-hero-content > p {
  color: rgba(255, 255, 255, 0.82);
}

/* White underline beneath section titles */
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Thin white shimmer on top edge of category cards */
.category-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 2;
  pointer-events: none;
}

/* White separator between product image and info */
.product-info {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Thin white shimmer on top edge of product cards */
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 2;
  pointer-events: none;
}

/* Brighten the top shimmer when card is hovered */
.product-card:hover::before {
  background: rgba(255, 255, 255, 0.18);
}

/* Thin white dividers between major sections (homepage) */
.coverflow-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.best-features {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.cta-banner {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* White divider above shop filter bar */
.shop-filter-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Brighter inactive filter button labels */
.shop-filter-btn {
  color: rgba(255, 255, 255, 0.7);
}

/* Brighter about-section text */
.best-features .left-content p {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Pure white for product names */
.product-info h3 {
  color: #ffffff;
}

/* Brighter product category tag */
.product-category-tag {
  color: rgba(255, 255, 255, 0.52);
}

/* Brighter CTA body text */
.cta-content p {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* White top border on shop products section */
.shop-products-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* White top border on pagination area */
.shop-pagination {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 40px;
}

/* =========================================
   CART TOAST NOTIFICATION
   ========================================= */
.cart-toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--blue);
  border-radius: 10px;
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.cart-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast i {
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* =========================================
   CART PAGE
   ========================================= */

/* Cart hero */
.cart-hero {
  background: linear-gradient(135deg, #080808 0%, #0a0f1a 60%, #050d14 100%);
  padding: 130px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cart-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91, 176, 229, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.cart-hero-content {
  position: relative;
  z-index: 1;
}

.cart-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin: 14px 0 10px;
}

.breadcrumb-nav {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.breadcrumb-nav a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

/* Main section */
.cart-section {
  background: var(--bg-primary);
  padding: 56px 0 90px;
}

/* Empty state */
.cart-empty-state {
  text-align: center;
  padding: 80px 24px;
}

.cart-empty-icon {
  font-size: 4rem;
  color: rgba(91, 176, 229, 0.3);
  margin-bottom: 20px;
}

.cart-empty-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.cart-empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* Two-column layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 28px;
  align-items: start;
}

/* Cart items box */
.cart-items-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

.cart-items-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-items-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.clear-cart-btn {
  background: none;
  border: none;
  color: rgba(229, 91, 91, 0.7);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.clear-cart-btn:hover {
  color: #e55b5b;
}

/* Cart item row */
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.2s ease;
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cart-item-img {
  width: 74px;
  height: 74px;
  background: #0d0d0d;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-img img {
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-unit-price {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* Qty stepper */
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.qty-btn {
  width: 34px;
  height: 34px;
  background: #1a1a1a;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}

.qty-btn:hover {
  background: var(--blue);
}

.qty-input {
  width: 38px;
  height: 34px;
  background: #0d0d0d;
  border: none;
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.cart-item-total {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--blue);
  min-width: 96px;
  text-align: right;
  flex-shrink: 0;
}

.remove-item-btn {
  background: none;
  border: none;
  color: rgba(229, 91, 91, 0.55);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.remove-item-btn:hover {
  color: #e55b5b;
  background: rgba(229, 91, 91, 0.1);
}

/* Shared checkout card */
.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}

.checkout-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

/* Form inputs */
.checkout-form-group {
  margin-bottom: 12px;
}

.checkout-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-input {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  font-size: 0.87rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.checkout-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91, 176, 229, 0.1);
}

.checkout-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

/* Delivery options */
.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.delivery-option {
  cursor: pointer;
  display: block;
}

.delivery-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.delivery-option-inner {
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.25s ease, background 0.25s ease;
  background: #0d0d0d;
}

.delivery-option input[type="radio"]:checked + .delivery-option-inner {
  border-color: var(--blue);
  background: rgba(91, 176, 229, 0.06);
}

.delivery-option-inner .del-icon {
  font-size: 1.2rem;
  color: var(--blue);
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.delivery-option-inner strong {
  font-size: 0.85rem;
  color: #fff;
  display: block;
  font-weight: 600;
}

.delivery-option-inner .del-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.del-fee {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}

.del-fee.free {
  color: #5be58a;
}

.address-fields {
  display: grid;
  gap: 12px;
}

/* Payment options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.payment-option {
  cursor: pointer;
  display: block;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-option-inner {
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.25s ease, background 0.25s ease;
  background: #0d0d0d;
}

.payment-option input[type="radio"]:checked + .payment-option-inner {
  border-color: var(--blue);
  background: rgba(91, 176, 229, 0.06);
}

.payment-option-inner .pay-icon {
  font-size: 1rem;
  color: var(--blue);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.payment-option-inner .pay-label {
  font-size: 0.87rem;
  font-weight: 600;
  color: #fff;
}

.pay-check {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  flex-shrink: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.payment-option input[type="radio"]:checked + .payment-option-inner .pay-check {
  border-color: var(--blue);
  background: var(--blue);
}

/* Payment detail panels */
.payment-detail {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  margin-top: 4px;
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bank-detail-row:last-of-type {
  border-bottom: none;
}

.bank-detail-row span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bank-detail-row strong {
  font-size: 0.84rem;
  color: #fff;
  font-weight: 600;
}

.bank-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 14px 0 0;
  line-height: 1.65;
  padding: 10px 14px;
  border-radius: 7px;
  background: rgba(91, 176, 229, 0.06);
  border-left: 3px solid var(--blue);
}

.cod-note {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.7;
}

.card-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

/* Order summary */
.summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}

.summary-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.87rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row.total-row {
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.summary-row.total-row span:last-child {
  color: var(--blue);
}

/* Place order button */
.place-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.2px;
}

.place-order-btn:hover {
  background: #4aa3d8;
  box-shadow: 0 0 28px rgba(91, 176, 229, 0.5);
  transform: translateY(-2px);
}

.place-order-btn:active {
  transform: translateY(0);
}

.order-trust {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 0;
}

.order-trust i {
  color: var(--blue);
}

/* Order success */
.order-success-wrap {
  display: none;
  text-align: center;
  padding: 80px 24px;
}

.order-success-wrap.visible {
  display: block;
}

.success-icon {
  font-size: 4rem;
  color: var(--blue);
  margin-bottom: 20px;
  animation: successPop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes successPop {
  0%   { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

.order-success-wrap h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.order-success-wrap p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 440px;
  margin: 0 auto 20px;
}

.order-ref-badge {
  display: inline-block;
  background: rgba(91, 176, 229, 0.1);
  border: 1px solid rgba(91, 176, 229, 0.4);
  color: var(--blue);
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 8px;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
}

/* Cart modal overrides */
.modal-content {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 14px !important;
  color: #fff !important;
}

.modal-header {
  border-bottom: 1px solid var(--border-subtle) !important;
}

.modal-header .modal-title {
  color: #fff !important;
  font-weight: 700;
}

.modal-header .close {
  color: var(--text-muted) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.modal-footer {
  border-top: 1px solid var(--border-subtle) !important;
}

.modal-body .modal-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-cart-item:last-child {
  border-bottom: none;
}

.modal-cart-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #0d0d0d;
  border-radius: 8px;
  padding: 4px;
}

.modal-cart-item-info {
  flex: 1;
  min-width: 0;
}

.modal-cart-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-cart-item-price {
  font-size: 0.78rem;
  color: var(--blue);
  margin: 0;
}

.modal-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
}

.modal-cart-total span:last-child {
  color: var(--blue);
}

.modal-empty-cart {
  color: var(--text-muted);
  text-align: center;
  padding: 24px 0;
  font-size: 0.9rem;
}

/* Responsive cart page */
@media (max-width: 1100px) {
  .cart-layout {
    grid-template-columns: 1fr 340px;
  }
}

@media (max-width: 991px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .checkout-form-row { grid-template-columns: 1fr; }
  .delivery-options   { grid-template-columns: 1fr; }
  .card-form-row      { grid-template-columns: 1fr; }
  .cart-item-total    { display: none; }
  .cart-item-row      { padding: 14px 16px; gap: 12px; }
  .cart-items-header  { padding: 14px 16px; }
  .checkout-card,
  .summary-card       { padding: 18px; }
  .cart-hero h1       { font-size: 1.8rem; }
}

/* =========================================
   SWAP PAGE
   ========================================= */

/* ----- Hero ----- */
.swap-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('../images/products/iphone.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 130px 0 80px;
}

.swap-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(6, 6, 6, 0.92) 0%,
    rgba(4, 10, 22, 0.82) 55%,
    rgba(6, 6, 6, 0.55) 100%
  );
  z-index: 1;
}

.swap-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91, 176, 229, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 2;
  pointer-events: none;
}

.swap-hero .container {
  position: relative;
  z-index: 3;
}

.swap-hero-content {
  animation: heroFadeUp 0.7s ease both;
}

.swap-hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.14;
  margin: 18px 0 18px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
}

.swap-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 36px;
}

.swap-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero stats */
.swap-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 20px 28px;
  display: inline-flex;
  gap: 0;
}

.swap-stat {
  text-align: center;
  padding: 0 28px;
}

.swap-stat:first-child { padding-left: 0; }
.swap-stat:last-child  { padding-right: 0; }

.swap-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.swap-stat span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.swap-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* CSS phone swap visual */
.swap-phones-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

.swap-visual-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 176, 229, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.swap-phone {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 250px;
  border-radius: 22px;
  border: 2px solid rgba(91, 176, 229, 0.25);
  background: rgba(91, 176, 229, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.swap-phone-old {
  opacity: 0.55;
  transform: rotate(-4deg) translateY(8px);
}

.swap-phone-new {
  border-color: rgba(91, 176, 229, 0.65);
  background: rgba(91, 176, 229, 0.07);
  box-shadow: 0 0 50px rgba(91, 176, 229, 0.22), 0 0 100px rgba(91, 176, 229, 0.1);
  transform: rotate(4deg) translateY(-8px);
  animation: float 4s ease-in-out infinite;
}

.swap-phone-notch {
  position: absolute;
  top: 12px;
  width: 44px;
  height: 7px;
  background: rgba(91, 176, 229, 0.3);
  border-radius: 4px;
}

.swap-phone-btn {
  position: absolute;
  bottom: 14px;
  width: 36px;
  height: 5px;
  background: rgba(91, 176, 229, 0.25);
  border-radius: 3px;
}

.swap-phone-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.swap-phone-icon {
  font-size: 2.2rem;
  color: rgba(91, 176, 229, 0.45);
}

.swap-phone-new .swap-phone-icon {
  color: var(--blue);
}

.swap-phone-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}

.swap-phone-new .swap-phone-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Exchange arrow */
.swap-arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.swap-arrow-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 0 24px rgba(91, 176, 229, 0.5);
  animation: pulseBadge 2s ease-in-out infinite;
}

/* ----- How It Works ----- */
.how-it-works-section {
  background: var(--bg-primary);
  padding: 84px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 1px;
  background: linear-gradient(to right, rgba(91,176,229,0.1), rgba(91,176,229,0.4), rgba(91,176,229,0.1));
  z-index: 0;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px 22px 26px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.step-card[data-reveal].revealed {
  transition-delay: 0s !important;
}

.step-card:hover {
  border-color: rgba(91, 176, 229, 0.4);
  box-shadow: 0 0 28px rgba(91, 176, 229, 0.12);
  transform: translateY(-6px);
}

.step-number {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}

.step-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(91, 176, 229, 0.1);
  border: 1px solid rgba(91, 176, 229, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  margin: 0 auto 18px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover .step-icon-wrap {
  background: rgba(91, 176, 229, 0.18);
  box-shadow: 0 0 18px rgba(91, 176, 229, 0.25);
}

.step-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.step-card:nth-child(1)[data-reveal] { transition-delay: 0.00s; }
.step-card:nth-child(2)[data-reveal] { transition-delay: 0.10s; }
.step-card:nth-child(3)[data-reveal] { transition-delay: 0.20s; }
.step-card:nth-child(4)[data-reveal] { transition-delay: 0.30s; }

/* ----- Benefits ----- */
.swap-benefits-section {
  background: var(--bg-surface);
  padding: 84px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.benefit-card:hover {
  border-color: rgba(91, 176, 229, 0.4);
  box-shadow: 0 0 30px rgba(91, 176, 229, 0.12);
  transform: translateY(-6px);
}

.benefit-card[data-reveal].revealed { transition-delay: 0s !important; }
.benefit-card:nth-child(1)[data-reveal] { transition-delay: 0.00s; }
.benefit-card:nth-child(2)[data-reveal] { transition-delay: 0.12s; }
.benefit-card:nth-child(3)[data-reveal] { transition-delay: 0.24s; }

.benefit-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: rgba(91, 176, 229, 0.1);
  border: 1px solid rgba(91, 176, 229, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue);
  margin: 0 auto 20px;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  background: rgba(91, 176, 229, 0.18);
  box-shadow: 0 0 22px rgba(91, 176, 229, 0.28);
  transform: scale(1.08);
}

.benefit-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin: 0;
}

/* ----- Accepted Brands ----- */
.accepted-brands-section {
  background: var(--bg-primary);
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.brands-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.brand-chip {
  padding: 9px 20px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: default;
  transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.brand-chip:hover {
  border-color: rgba(91, 176, 229, 0.4);
  color: var(--blue);
}

.brand-chip-featured {
  border-color: rgba(91, 176, 229, 0.3);
  color: var(--blue);
  background: rgba(91, 176, 229, 0.06);
  font-weight: 600;
}

.brand-chip-others {
  border-style: dashed;
  color: var(--text-muted);
  font-style: italic;
}

.brands-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.brands-note a {
  color: var(--blue);
  text-decoration: none;
}

.brands-note a:hover {
  text-decoration: underline;
}

/* ----- Swap Form ----- */
.swap-form-section {
  background: var(--bg-surface);
  padding: 84px 0 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.swap-form-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.swap-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 20px;
}

.swap-form-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.swap-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.swap-form-card-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.swap-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.swap-label .req {
  color: #e55b5b;
}

/* Condition selector */
.condition-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.condition-option {
  cursor: pointer;
  display: block;
}

.condition-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.condition-inner {
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  background: #0d0d0d;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.condition-option input[type="radio"]:checked + .condition-inner {
  border-color: var(--blue);
  background: rgba(91, 176, 229, 0.07);
  box-shadow: 0 0 14px rgba(91, 176, 229, 0.15);
}

.cond-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.condition-inner strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.cond-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

/* Issues checkboxes */
.issues-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.issue-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #0d0d0d;
  cursor: pointer;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.issue-checkbox input[type="checkbox"] {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}

.issue-checkbox:hover {
  border-color: rgba(91, 176, 229, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

/* Textarea */
.checkout-input[rows] {
  resize: vertical;
  min-height: 80px;
}

/* What do you want options */
.swap-want-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.swap-want-option {
  cursor: pointer;
  display: block;
}

.swap-want-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.swap-want-inner {
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  background: #0d0d0d;
  transition: border-color 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.swap-want-option input[type="radio"]:checked + .swap-want-inner {
  border-color: var(--blue);
  background: rgba(91, 176, 229, 0.07);
}

.swap-want-inner i {
  font-size: 1.2rem;
  color: var(--blue);
}

.swap-want-inner span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

/* ----- Estimator sidebar ----- */
.swap-estimator {
  position: sticky;
  top: 100px;
}

.estimator-card {
  background: var(--bg-card);
  border: 1px solid rgba(91, 176, 229, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.estimator-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.estimator-header i {
  font-size: 1.2rem;
  color: var(--blue);
}

.estimator-header h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.estimator-hint {
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.estimator-value-wrap {
  background: rgba(91, 176, 229, 0.06);
  border: 1px solid rgba(91, 176, 229, 0.2);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  margin-bottom: 16px;
  animation: heroFadeUp 0.4s ease both;
}

.estimator-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.estimator-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.estimator-disclaimer {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.estimator-checklist {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}

.estimator-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.estimator-check i {
  color: var(--blue);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.whatsapp-quote-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25d366 !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-quote-btn:hover {
  background: rgba(37, 211, 102, 0.16);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.2);
}

/* Tips card */
.tips-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px;
}

.tips-card h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tips-list li {
  font-size: 0.81rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.tips-list li::before {
  content: '▸';
  color: var(--blue);
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  top: 2px;
}

/* Swap success */
.swap-success {
  text-align: center;
  padding: 64px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(91, 176, 229, 0.2);
  border-radius: 20px;
  max-width: 560px;
  margin: 0 auto;
}

.swap-success-icon {
  font-size: 4rem;
  color: var(--blue);
  margin-bottom: 20px;
  animation: successPop 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.swap-success h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.swap-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.swap-ref {
  font-weight: 700;
  color: var(--blue) !important;
  font-size: 0.95rem !important;
  letter-spacing: 1px;
}

/* ----- FAQ ----- */
.swap-faq-section {
  background: var(--bg-primary);
  padding: 84px 0 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(91, 176, 229, 0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-icon {
  color: var(--blue);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon,
.faq-question:not(.collapsed) .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.78;
}

/* Responsive swap page */
@media (max-width: 1100px) {
  .swap-form-grid { grid-template-columns: 1fr 320px; }
}

@media (max-width: 991px) {
  .swap-form-grid  { grid-template-columns: 1fr; }
  .swap-estimator  { position: static; }
  .steps-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .benefits-grid   { grid-template-columns: 1fr 1fr; }
  .swap-hero-stats { padding: 16px 18px; }
  .swap-stat       { padding: 0 18px; }
}

@media (max-width: 767px) {
  .condition-options  { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid      { grid-template-columns: 1fr; }
  .swap-want-options  { grid-template-columns: 1fr; }
  .swap-hero-subtitle { max-width: 100%; }
}

@media (max-width: 575px) {
  .steps-grid      { grid-template-columns: 1fr; }
  .issues-grid     { grid-template-columns: 1fr; }
  .swap-form-card  { padding: 18px; }
  .condition-options { grid-template-columns: 1fr 1fr; }
  .swap-hero-title { font-size: 2rem; }
}

/* =========================================
   ABOUT PAGE
   ========================================= */

.about-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  background-image: url('../images/products/shopping_photos.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 140px 0 90px;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,5,5,0.93) 0%,
    rgba(8,15,30,0.85) 60%,
    rgba(5,10,20,0.70) 100%
  );
  z-index: 1;
}

.about-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91,176,229,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 2;
  pointer-events: none;
}

.about-hero .container {
  position: relative;
  z-index: 3;
}

.about-hero-content {
  text-align: center;
  animation: heroFadeUp 0.7s ease both;
}

.about-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin: 16px 0 18px;
  text-shadow: 0 4px 28px rgba(0,0,0,0.5);
}

.about-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ----- Our Story ----- */
.about-story-section {
  background: var(--bg-surface);
  padding: 90px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-image-wrap {
  position: relative;
}

.about-story-img {
  width: 100%;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  height: 420px;
  border: 1px solid var(--border-subtle);
}

.about-story-img-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(91,176,229,0.35);
}

.about-story-img-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-story-img-badge span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.about-story-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-story-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
}

.about-stat-item {
  padding: 22px 16px;
  text-align: center;
  background: var(--bg-card);
  border-right: 1px solid var(--border-subtle);
}

.about-stat-item:last-child { border-right: none; }

.about-stat-item strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-item span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

/* ----- What We Offer ----- */
.what-we-offer-section {
  background: var(--bg-primary);
  padding: 90px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.offer-card:hover {
  border-color: rgba(91,176,229,0.42);
  box-shadow: 0 0 30px rgba(91,176,229,0.12);
  transform: translateY(-6px);
}

.offer-card[data-reveal].revealed { transition-delay: 0s !important; }
.offer-card:nth-child(1)[data-reveal] { transition-delay: 0.00s; }
.offer-card:nth-child(2)[data-reveal] { transition-delay: 0.08s; }
.offer-card:nth-child(3)[data-reveal] { transition-delay: 0.16s; }
.offer-card:nth-child(4)[data-reveal] { transition-delay: 0.08s; }
.offer-card:nth-child(5)[data-reveal] { transition-delay: 0.16s; }
.offer-card:nth-child(6)[data-reveal] { transition-delay: 0.24s; }

.offer-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(91,176,229,0.1);
  border: 1px solid rgba(91,176,229,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover .offer-icon {
  background: rgba(91,176,229,0.18);
  box-shadow: 0 0 18px rgba(91,176,229,0.25);
}

.offer-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.offer-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ----- Mission / Vision ----- */
.about-mission-section {
  background: var(--bg-surface);
  padding: 90px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.mission-card:hover {
  border-color: rgba(91,176,229,0.38);
  box-shadow: 0 0 40px rgba(91,176,229,0.1);
}

.mission-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue), rgba(91,176,229,0.3));
  border-radius: 18px 18px 0 0;
}

.mission-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(91,176,229,0.1);
  border: 1px solid rgba(91,176,229,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 22px;
}

.mission-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.mission-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0;
}

/* ----- Why Choose Us ----- */
.why-choose-section {
  background: var(--bg-primary);
  padding: 90px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px 22px;
  text-align: center;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.why-card:hover {
  border-color: rgba(91,176,229,0.4);
  box-shadow: 0 0 28px rgba(91,176,229,0.12);
  transform: translateY(-6px);
}

.why-card[data-reveal].revealed { transition-delay: 0s !important; }
.why-card:nth-child(1)[data-reveal] { transition-delay: 0.00s; }
.why-card:nth-child(2)[data-reveal] { transition-delay: 0.10s; }
.why-card:nth-child(3)[data-reveal] { transition-delay: 0.20s; }
.why-card:nth-child(4)[data-reveal] { transition-delay: 0.30s; }

.why-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(91,176,229,0.15);
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}

.why-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(91,176,229,0.1);
  border: 1px solid rgba(91,176,229,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue);
  margin: 0 auto 16px;
  transition: background 0.3s, box-shadow 0.3s;
}

.why-card:hover .why-icon-wrap {
  background: rgba(91,176,229,0.18);
  box-shadow: 0 0 18px rgba(91,176,229,0.25);
}

.why-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin: 0;
}

/* ----- About CTA ----- */
.about-cta-section {
  background: var(--bg-surface);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 90px 0;
  text-align: center;
}

.about-cta-inner {
  max-width: 620px;
  margin: 0 auto;
}

.about-cta-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.about-cta-inner p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive About */
@media (max-width: 991px) {
  .about-story-grid  { grid-template-columns: 1fr; }
  .about-story-image-wrap { order: -1; }
  .about-story-img   { height: 300px; }
  .about-story-img-badge { bottom: -14px; right: 14px; }
  .mission-grid      { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: repeat(2, 1fr); }
  .offer-grid        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .why-grid        { grid-template-columns: 1fr; }
  .offer-grid      { grid-template-columns: 1fr; }
  .about-stats-row { grid-template-columns: 1fr; }
  .about-stat-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .about-stat-item:last-child { border-bottom: none; }
  .about-hero-title { font-size: 2.2rem; }
}

/* =========================================
   CONTACT PAGE
   ========================================= */

.contact-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #060606 0%, #080f1c 60%, #040a12 100%);
  overflow: hidden;
  padding: 140px 0 80px;
}

.contact-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91,176,229,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
  pointer-events: none;
}

.contact-hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,176,229,0.1) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 1;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  text-align: center;
  animation: heroFadeUp 0.7s ease both;
}

.contact-hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin: 16px 0 18px;
}

.contact-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ----- Info Cards Row ----- */
.contact-info-section {
  background: var(--bg-surface);
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-info-card {
  padding: 36px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}

.contact-info-card:last-child { border-right: none; }

.contact-info-card:hover {
  background: rgba(91,176,229,0.04);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(91,176,229,0.1);
  border: 1px solid rgba(91,176,229,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--blue);
  flex-shrink: 0;
}

.contact-info-text label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.55;
  text-decoration: none !important;
  font-weight: 500;
}

.contact-info-text a:hover {
  color: var(--blue);
}

/* ----- Map + Form ----- */
.contact-main-section {
  background: var(--bg-primary);
  padding: 84px 0 90px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Map */
.contact-map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
}

.contact-map-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-map-header i {
  color: var(--blue);
  font-size: 1rem;
}

.contact-map-header h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.contact-map-frame {
  display: block;
  width: 100%;
  height: 340px;
  border: none;
  filter: grayscale(30%) contrast(1.05);
}

.contact-map-footer {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
}

.contact-map-footer i {
  color: var(--blue);
  font-size: 0.85rem;
}

.contact-map-footer span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Contact form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 32px 30px;
}

.contact-form-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-form-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.contact-form-header p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.contact-field-group {
  margin-bottom: 18px;
}

.contact-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}

.contact-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.88rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
}

.contact-input:focus {
  border-color: rgba(91,176,229,0.55);
  box-shadow: 0 0 0 3px rgba(91,176,229,0.1);
}

.contact-input::placeholder { color: rgba(255,255,255,0.28); }

.contact-input[rows] {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  letter-spacing: 0.3px;
}

.contact-submit-btn:hover {
  background: #4aa3d8;
  box-shadow: 0 0 24px rgba(91,176,229,0.35);
  transform: translateY(-2px);
}

.contact-success-msg {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.contact-success-msg i {
  font-size: 2.8rem;
  color: var(--blue);
  margin-bottom: 14px;
  display: block;
  animation: successPop 0.55s cubic-bezier(0.175,0.885,0.32,1.275) both;
}

.contact-success-msg h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.contact-success-msg p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ----- WhatsApp banner ----- */
.contact-wa-banner {
  background: rgba(37,211,102,0.06);
  border-top: 1px solid rgba(37,211,102,0.15);
  border-bottom: 1px solid rgba(37,211,102,0.15);
  padding: 48px 0;
}

.contact-wa-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.contact-wa-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.contact-wa-text p {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: rgba(37,211,102,0.1);
  border: 1.5px solid rgba(37,211,102,0.35);
  color: #25d366 !important;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.contact-wa-btn:hover {
  background: rgba(37,211,102,0.18);
  box-shadow: 0 0 24px rgba(37,211,102,0.2);
}

.contact-wa-btn i {
  font-size: 1.2rem;
}

/* Responsive Contact */
@media (max-width: 991px) {
  .contact-info-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-info-card  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .contact-info-card:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.06); }
  .contact-info-card:nth-child(3),
  .contact-info-card:nth-child(4)    { border-bottom: none; }
  .contact-main-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .contact-info-grid  { grid-template-columns: 1fr; }
  .contact-info-card  { border-right: none !important; }
  .contact-info-card:last-child { border-bottom: none; }
  .contact-form-card  { padding: 22px 18px; }
  .contact-hero-title { font-size: 2.2rem; }
  .contact-wa-inner   { flex-direction: column; text-align: center; }
}

/* =========================================
   FLOATING PILL NAVBAR
   (appended last — wins over earlier !important rules)
   ========================================= */

/* 1. Lift header off the page: fixed, centered, auto-width */
header {
  position: fixed !important;
  top: 24px !important;
  left: 50% !important;
  right: auto !important;
  width: auto !important;
  max-width: calc(100vw - 28px) !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: top 0.55s cubic-bezier(0.34, 1.2, 0.64, 1) !important;
}

/* Mobile: no transition — instant docking prevents the hang/stutter on scroll */
@media (max-width: 991px) {
  header {
    top: max(110px, calc(env(safe-area-inset-top, 0px) + 100px)) !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
    -webkit-transform: translateZ(0) !important;
    transition: none !important;
  }
}

/* 2. Pill shape lives on the inner .navbar */
header .navbar {
  background: rgba(10, 10, 10, 0.52) !important;
  backdrop-filter: blur(26px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(26px) saturate(180%) !important;
  border-radius: 50px !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  padding: 1px 22px !important;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease !important;
}

/* 3. Cancel header-level scroll states — glass lives on .navbar now */
header.scrolled,
header.background-header {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Scrolled: pill goes slightly more opaque */
header.scrolled .navbar,
header.background-header .navbar {
  background: rgba(10, 10, 10, 0.78) !important;
  border-color: rgba(91, 176, 229, 0.18) !important;
  padding-top: 1px !important;
  padding-bottom: 1px !important;
}

/* 4. Cancel nav-hidden: pills never fly off-screen */
header.nav-hidden {
  transform: translateX(-50%) !important;
}

@media (max-width: 991px) {
  header.nav-hidden {
    transform: none !important;
  }
}

/* 5. Brand text — compact inside the pill */
header .navbar-brand h2 {
  font-size: 1rem !important;
  font-weight: 800 !important;
  margin: 0 !important;
  white-space: nowrap;
}

/* 6. Hamburger toggler — match dark theme */
header .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  padding: 5px 10px !important;
}

header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ======= DOCKED AT BOTTOM ======= */
header.nav-at-bottom {
  top: calc(100dvh - 80px - env(safe-area-inset-bottom, 0px)) !important;
}

/* ======= MOBILE LOGO (fixed top centre, separate from pill) ======= */
.mobile-logo-fixed {
  display: none;
}

@media (max-width: 991px) {
  .mobile-logo-fixed {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: max(12px, calc(env(safe-area-inset-top, 0px) + 8px));
    left: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none;
  }

  .mobile-logo-fixed img {
    height: 150px;
    width: auto;
    opacity: 1;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.7));
  }
}

/* Shadow flips upward when docked */
header.nav-at-bottom .navbar {
  background: rgba(10, 10, 10, 0.75) !important;
  border-color: rgba(91, 176, 229, 0.2) !important;
  box-shadow:
    0 -4px 6px rgba(0, 0, 0, 0.2),
    0 -12px 40px rgba(0, 0, 0, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07) !important;
}

/* ======= MOBILE — single unified pill ======= */
.nav-mobile-controls,
.mobile-inline-nav {
  display: none;
}

@media (max-width: 991px) {
  header .navbar {
    padding: 5px 10px !important;
    gap: 4px;
    flex-wrap: nowrap !important;    /* prevent Bootstrap wrapping items to multiple rows */
    align-items: center !important;
  }

  /* Hide logo on mobile */
  header .navbar .navbar-brand,
  header .navbar-brand {
    display: none !important;
  }

  /* Hide hamburger and collapsible desktop nav */
  header .navbar-toggler,
  header .navbar-collapse {
    display: none !important;
  }

  /* Middle: all nav icons in one row, evenly distributed */
  .mobile-inline-nav {
    display: flex !important;
    flex: 1;
    align-items: center;
    min-width: 0;
  }

  .mobile-inline-nav a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none !important;
    border-radius: 10px;
    font-size: 11px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .mobile-inline-nav a i {
    display: none;
  }

  .mobile-inline-nav a.active,
  .mobile-inline-nav a:hover {
    color: #fff;
    background: rgba(91, 176, 229, 0.15);
  }

  .mobile-inline-nav a.active {
    color: var(--blue);
  }

  /* Right: cart + auth + theme — fixed width, never wraps */
  .nav-mobile-controls {
    display: flex !important;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: nowrap;
    margin-left: 10px;
  }


  /* Keep the container itself a single nowrap row */
  header .navbar .container {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
}

/* =========================================
   NAVBAR AUTH AREA — Sign In button & user menu
   ========================================= */

.nav-auth-area {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

/* Sign In pill button */
.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: var(--blue);
  color: #fff !important;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  border: none;
}

.nav-login-btn:hover {
  background: #12a0e8;
  box-shadow: 0 0 16px rgba(21, 163, 234, 0.4);
  color: #fff !important;
}

/* Ensure dropdown can overflow the pill navbar */
header .navbar,
header .container,
header .navbar-collapse,
header .navbar-nav,
header .nav-auth-area {
  overflow: visible !important;
}

/* Signed-in user button */
.nav-user-menu {
  position: relative;
}

.nav-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(91, 176, 229, 0.12);
  border: 1px solid rgba(91, 176, 229, 0.25);
  border-radius: 30px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.nav-user-btn:hover,
.nav-user-btn.active {
  background: rgba(91, 176, 229, 0.2);
  border-color: rgba(91, 176, 229, 0.45);
}

.nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.nav-user-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-chevron {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.3s ease;
}

.nav-user-btn.active .nav-user-chevron {
  transform: rotate(180deg);
}

/* User dropdown */
.nav-user-dropdown {
  position: absolute !important;
  top: calc(100% + 14px) !important;
  right: 0 !important;
  left: auto !important;
  min-width: 210px;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 2000;
}

.nav-user-dropdown.open,
.nav-user-dropdown.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* When docked at bottom: dropdown opens upward */
header.nav-at-bottom .nav-user-dropdown {
  top: auto;
  bottom: calc(100% + 14px);
  transform-origin: bottom right;
  transform: translateY(8px) scale(0.97);
}

header.nav-at-bottom .nav-user-dropdown.open {
  transform: translateY(0) scale(1);
}

.nav-user-info {
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 6px;
}

.nav-user-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.nav-user-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-user-link,
.nav-user-signout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-align: left;
}

.nav-user-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-user-link i,
.nav-user-signout i {
  font-size: 0.82rem;
  color: var(--blue);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.nav-user-signout {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 12px;
}

.nav-user-signout:hover {
  background: rgba(229, 91, 91, 0.1);
  color: #e55b5b;
}

.nav-user-signout i { color: #e55b5b; }

/* =========================================
   AUTH PAGES — Login & Register
   ========================================= */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 20px 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #050505 0%, #070e1a 55%, #040910 100%);
}

.auth-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91, 176, 229, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.auth-glow-1 {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 176, 229, 0.13) 0%, transparent 70%);
  top: -120px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

.auth-glow-2 {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 70, 220, 0.09) 0%, transparent 70%);
  bottom: -80px;
  left: -60px;
  pointer-events: none;
  z-index: 0;
}

/* The card */
.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 450px;
  background: rgba(10, 10, 10, 0.68);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.05) inset,
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(91, 176, 229, 0.05);
  animation: heroFadeUp 0.55s ease both;
}

/* Blue accent bar at card top */
.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
  border-radius: 0 0 2px 2px;
}

/* Brand at top of card */
.auth-brand {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
}

.auth-brand-name em {
  color: var(--blue);
  font-style: normal;
}

.auth-brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Title + subtitle */
.auth-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  text-align: center;
}

.auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* Fields */
.auth-field {
  margin-bottom: 18px;
}

.auth-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 8px;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
  pointer-events: none;
  transition: color 0.25s ease;
}

.auth-input-wrap:focus-within .auth-input-icon {
  color: var(--blue);
}

.auth-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 13px 16px 13px 42px;
  color: #fff;
  font-size: 0.88rem;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.auth-input:focus {
  border-color: rgba(91, 176, 229, 0.55);
  background: rgba(91, 176, 229, 0.04);
  box-shadow: 0 0 0 3px rgba(91, 176, 229, 0.1);
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

/* Password show/hide */
.auth-toggle-btn {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 4px;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  line-height: 1;
}

.auth-toggle-btn:hover { color: rgba(255, 255, 255, 0.8); }

/* Row: remember me + forgot password */
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.auth-remember input[type="checkbox"] {
  accent-color: var(--blue);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.auth-forgot {
  font-size: 0.82rem;
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.auth-forgot:hover { opacity: 0.75; color: var(--blue); }

/* Submit button */
.auth-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.auth-submit-btn:hover {
  background: #12a0e8;
  box-shadow: 0 0 28px rgba(21, 163, 234, 0.4);
  transform: translateY(-2px);
}

.auth-submit-btn:active { transform: translateY(0); }

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
  font-size: 0.73rem;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* WhatsApp / social button */
.auth-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: rgba(37, 211, 102, 0.07);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 12px;
  color: #25d366 !important;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 24px;
}

.auth-wa-btn:hover {
  background: rgba(37, 211, 102, 0.14);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.18);
  color: #25d366 !important;
}

.auth-wa-btn i { font-size: 1.1rem; }

/* Switch text */
.auth-switch {
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin: 0;
}

.auth-switch a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.auth-switch a:hover { opacity: 0.78; }

/* Alert box */
.auth-alert {
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  margin-bottom: 18px;
  display: none;
  line-height: 1.5;
}

.auth-alert-error {
  background: rgba(229, 91, 91, 0.1);
  border: 1px solid rgba(229, 91, 91, 0.3);
  color: #e55b5b;
}

.auth-alert-success {
  background: rgba(91, 229, 138, 0.1);
  border: 1px solid rgba(91, 229, 138, 0.3);
  color: #5be58a;
}

/* Password strength meter */
.auth-strength-bar {
  margin-top: 8px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.auth-strength-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease, background 0.4s ease;
  width: 0%;
}

.auth-strength-label {
  font-size: 0.7rem;
  margin-top: 5px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-card { padding: 32px 22px; }
  .auth-title { font-size: 1.35rem; }
}

/* ===== NAVBAR ALIGNMENT FIX ===== */
/* Vertically align sign-in button and cart icon with nav links in pill navbar */
@media (min-width: 992px) {
  header .navbar-collapse {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0 !important;
  }

  header .navbar-nav {
    align-items: center !important;
    flex-direction: row !important;
  }
}

header .nav-auth-area {
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 8px !important;
}

header .cart-icon {
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 14px !important;
}

header .cart-icon a {
  display: flex !important;
  align-items: center !important;
  gap: 4px;
}

/* =========================================
   PROFILE PAGE
   ========================================= */
.profile-page {
  min-height: 100vh;
  padding: 120px 0 80px;
  background: var(--bg-primary);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.profile-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.profile-email {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 767px) {
  .profile-grid { grid-template-columns: 1fr; }
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
}

.profile-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-card-title i { color: var(--blue); }

.profile-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.profile-alert-success {
  background: rgba(91, 232, 138, 0.1);
  border: 1px solid rgba(91, 232, 138, 0.25);
  color: #5be88a;
}

.profile-alert-error {
  background: rgba(229, 91, 91, 0.1);
  border: 1px solid rgba(229, 91, 91, 0.25);
  color: #e55b5b;
}

.profile-field { margin-bottom: 18px; }

.profile-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-input-wrap i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.profile-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px 10px 38px;
  color: #fff;
  font-size: 0.88rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
}

.profile-input:focus {
  border-color: var(--blue);
  background: rgba(21, 163, 234, 0.06);
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-top: 8px;
}

.profile-btn:hover { background: #12a0e8; }

/* ===== Cart checkout error ===== */
.checkout-error {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.25);
  color: #e74c3c;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 12px;
}

/* ===== Secondary hero button ===== */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
  background: rgba(21, 163, 234, 0.1);
  color: var(--blue);
  text-decoration: none;
}

/* ===== Brand filter bar ===== */
.shop-brand-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.shop-filter-select {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  padding: 7px 32px 7px 12px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23777' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color .2s;
}
.shop-filter-select:focus { outline: none; border-color: var(--blue); }
.shop-filter-clear {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .15s;
}
.shop-filter-clear:hover { color: var(--blue); }

/* ===== Product card brand tag ===== */
.product-brand-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--blue);
  margin-bottom: 2px;
}
.product-from {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-right: 2px;
}
.product-view-btn {
  background: transparent !important;
  border: 1px solid var(--blue) !important;
  color: var(--blue) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-view-btn:hover {
  background: var(--blue) !important;
  color: #fff !important;
}


/* ===================================================
   THEME SYSTEM — Dark / Dim / Light
   Blue (#15a3ea) is unchanged across all themes.
   Dark = default (:root values, no overrides needed).
   Dim  = deep navy variant.
   Light = white variant with full text-visibility fixes.
   =================================================== */

/* =========================================
   THEME DOTS (switcher UI)
   ========================================= */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 12px;
}

.theme-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
  outline: none;
}

.theme-dot:hover {
  transform: scale(1.2);
}

.theme-dot-dark  { background: #080808; border-color: rgba(255,255,255,0.35); }
.theme-dot-dim   { background: #1a1a2e; border-color: rgba(255,255,255,0.35); }
.theme-dot-light { background: #f5f7fa; border-color: rgba(0,0,0,0.28); }

.theme-dot.active,
.theme-dot:hover { border-color: var(--blue) !important; }

/* =========================================
   DIM THEME
   ========================================= */
[data-theme="dim"] {
  --bg-primary:    #111827;
  --bg-card:       #1e293b;
  --bg-surface:    #0f172a;
  --text-primary:  #e2e8f0;
  --text-muted:    rgba(226, 232, 240, 0.55);
  --border-subtle: rgba(255, 255, 255, 0.09);
}

[data-theme="dim"] header.scrolled,
[data-theme="dim"] header.background-header {
  background: rgba(15, 23, 42, 0.88) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.07),
    0 8px 40px rgba(0,0,0,0.5) !important;
}

[data-theme="dim"] .auth-page {
  background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 55%, #080e1a 100%);
}

/* =========================================
   LIGHT THEME — CSS variable overrides
   ========================================= */
[data-theme="light"] {
  --bg-primary:    #f5f7fa;
  --bg-card:       #ffffff;
  --bg-surface:    #eef1f5;
  --text-primary:  #1a1a1a;
  --text-muted:    rgba(26, 26, 26, 0.55);
  --border-subtle: rgba(0, 0, 0, 0.08);
}

/* ---- Body ---- */
[data-theme="light"] body {
  background-color: #f5f7fa !important;
  color: #1a1a1a !important;
}

/* ---- Header / Navbar ---- */
[data-theme="light"] header {
  background: rgba(245, 247, 250, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08) !important;
}

[data-theme="light"] header.scrolled,
[data-theme="light"] header.background-header {
  background: rgba(245, 247, 250, 0.97) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 4px 20px rgba(0,0,0,0.08) !important;
}

[data-theme="light"] .navbar .navbar-brand h2 {
  color: #1a1a1a !important;
}

[data-theme="light"] .navbar .navbar-nav a.nav-link {
  color: rgba(26, 26, 26, 0.72) !important;
}

[data-theme="light"] .navbar .navbar-nav a.nav-link:hover,
[data-theme="light"] .navbar .navbar-nav .active > .nav-link,
[data-theme="light"] .navbar .navbar-nav .nav-link.active {
  color: var(--blue) !important;
}

[data-theme="light"] .cart-icon a {
  color: rgba(26, 26, 26, 0.72) !important;
}

[data-theme="light"] .navbar-toggler-icon {
  filter: invert(1) brightness(0.3);
}

[data-theme="light"] .mobile-inline-nav a {
  color: rgba(26, 26, 26, 0.5);
}

[data-theme="light"] .mobile-inline-nav a.active {
  color: var(--blue);
  background: rgba(91, 176, 229, 0.1);
}

[data-theme="light"] .mobile-inline-nav a:hover {
  color: rgba(26, 26, 26, 0.85);
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hero-scroll-cue {
  color: rgba(26, 26, 26, 0.45) !important;
}

/* ---- Section dividers ---- */
[data-theme="light"] .section-title::after {
  background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .testimonials-section {
  border-top-color: rgba(0,0,0,0.07);
}

[data-theme="light"] .shop-filter-bar {
  border-top-color: rgba(0,0,0,0.07);
}

[data-theme="light"] .shop-products-section {
  border-top-color: rgba(0,0,0,0.07);
}

[data-theme="light"] .shop-pagination {
  border-top-color: rgba(0,0,0,0.07);
}

[data-theme="light"] .cta-banner {
  border-top-color: rgba(0,0,0,0.07);
}

/* ---- Nav Auth — user menu ---- */
[data-theme="light"] .nav-user-btn {
  color: #1a1a1a;
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
}

[data-theme="light"] .nav-user-btn:hover,
[data-theme="light"] .nav-user-btn.active {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.18);
}

[data-theme="light"] .nav-user-name {
  color: #1a1a1a;
}

[data-theme="light"] .nav-user-chevron {
  color: rgba(26,26,26,0.45);
}

[data-theme="light"] .nav-user-dropdown {
  background: rgba(255,255,255,0.99) !important;
  border-color: rgba(0,0,0,0.1) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.15) !important;
}

[data-theme="light"] .nav-user-info {
  border-bottom-color: rgba(0,0,0,0.07) !important;
}

[data-theme="light"] .nav-user-info strong {
  color: #1a1a1a;
}

[data-theme="light"] .nav-user-info span {
  color: rgba(26,26,26,0.55);
}

[data-theme="light"] .nav-user-link,
[data-theme="light"] .nav-user-signout {
  color: rgba(26,26,26,0.7);
}

[data-theme="light"] .nav-user-link:hover {
  background: rgba(0,0,0,0.05);
  color: #1a1a1a;
}

[data-theme="light"] .nav-user-signout {
  border-top-color: rgba(0,0,0,0.07);
}

/* ---- Testimonials ---- */
[data-theme="light"] .testimonial-quote {
  color: rgba(26,26,26,0.68);
}

[data-theme="light"] .testimonial-meta strong {
  color: #1a1a1a;
}

[data-theme="light"] .testimonial-card::before {
  color: rgba(21,163,234,0.10);
}

/* ---- About/Features text ---- */
[data-theme="light"] .best-features .left-content p {
  color: rgba(26,26,26,0.68) !important;
}

/* ---- Shop filter ---- */
[data-theme="light"] .shop-filter-btn {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  color: rgba(26,26,26,0.6);
}

[data-theme="light"] .shop-filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

[data-theme="light"] .shop-filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

[data-theme="light"] .shop-filter-select {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  color: #1a1a1a;
}

/* ---- Products ---- */
[data-theme="light"] .product-img-wrap {
  background: #eef1f5;
}

[data-theme="light"] .product-info h3,
[data-theme="light"] .product-name {
  color: #1a1a1a;
}

[data-theme="light"] .product-category-tag {
  color: rgba(26,26,26,0.45);
}

/* ---- Cart ---- */
[data-theme="light"] .cart-item-img {
  background: #eef1f5;
}

[data-theme="light"] .cart-item-name {
  color: #1a1a1a;
}

[data-theme="light"] .qty-btn {
  background: #eef1f5;
  color: #1a1a1a;
}

[data-theme="light"] .qty-btn:hover {
  background: var(--blue);
  color: #fff;
}

[data-theme="light"] .qty-input {
  background: #ffffff;
  color: #1a1a1a;
  border-left-color: rgba(0,0,0,0.08);
  border-right-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .cart-empty-state h3 {
  color: #1a1a1a;
}

[data-theme="light"] .cart-toast {
  color: #1a1a1a;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* ---- Checkout ---- */
[data-theme="light"] .checkout-card h4,
[data-theme="light"] .summary-card h4 {
  color: #1a1a1a;
}

[data-theme="light"] .checkout-input {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  color: #1a1a1a;
}

[data-theme="light"] .checkout-input::placeholder {
  color: rgba(26,26,26,0.3);
}

[data-theme="light"] .delivery-option-inner,
[data-theme="light"] .payment-option-inner {
  background: #f5f7fa;
  border-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .delivery-option-inner strong,
[data-theme="light"] .payment-option-inner .pay-label {
  color: #1a1a1a;
}

[data-theme="light"] .bank-detail-row strong {
  color: #1a1a1a;
}

[data-theme="light"] .bank-note,
[data-theme="light"] .cod-note {
  color: rgba(26,26,26,0.7);
}

/* ---- Swap page ---- */
[data-theme="light"] .condition-inner,
[data-theme="light"] .swap-want-inner {
  background: #f5f7fa;
  border-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .condition-inner strong {
  color: #1a1a1a;
}

[data-theme="light"] .swap-want-inner span {
  color: #1a1a1a;
}

[data-theme="light"] .issue-checkbox {
  background: #f5f7fa;
  border-color: rgba(0,0,0,0.1);
  color: rgba(26,26,26,0.65);
}

[data-theme="light"] .estimator-header h4 {
  color: #1a1a1a;
}

/* ---- Contact page ---- */
[data-theme="light"] .contact-info-text p,
[data-theme="light"] .contact-info-text a {
  color: rgba(26,26,26,0.78);
}

[data-theme="light"] .contact-map-header h4 {
  color: #1a1a1a;
}

[data-theme="light"] .contact-form-header h3 {
  color: #1a1a1a;
}

[data-theme="light"] .contact-field-label {
  color: rgba(26,26,26,0.58);
}

[data-theme="light"] .contact-input {
  color: #1a1a1a;
}

[data-theme="light"] .contact-input::placeholder {
  color: rgba(26,26,26,0.3);
}

[data-theme="light"] .contact-success-msg h4 {
  color: #1a1a1a;
}

/* ---- Auth pages ---- */
[data-theme="light"] .auth-page {
  background: linear-gradient(135deg, #e8eef5 0%, #f5f7fa 55%, #eaf0f7 100%);
}

[data-theme="light"] .auth-card {
  background: rgba(255,255,255,0.95) !important;
  border-color: rgba(0,0,0,0.09) !important;
  box-shadow: 0 12px 48px rgba(0,0,0,0.1) !important;
}

[data-theme="light"] .auth-brand {
  border-bottom-color: rgba(0,0,0,0.07) !important;
}

[data-theme="light"] .auth-brand-name {
  color: #1a1a1a;
}

[data-theme="light"] .auth-title {
  color: #1a1a1a;
}

[data-theme="light"] .auth-label {
  color: rgba(26,26,26,0.58);
}

[data-theme="light"] .auth-input {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: #1a1a1a;
}

[data-theme="light"] .auth-input::placeholder {
  color: rgba(26,26,26,0.3);
}

[data-theme="light"] .auth-input-icon {
  color: rgba(26,26,26,0.3);
}

[data-theme="light"] .auth-toggle-btn {
  color: rgba(26,26,26,0.35);
}

[data-theme="light"] .auth-toggle-btn:hover {
  color: rgba(26,26,26,0.7);
}

[data-theme="light"] .auth-bg-grid {
  background-image: radial-gradient(circle, rgba(21,163,234,0.05) 1px, transparent 1px);
}

/* ---- Profile page ---- */
[data-theme="light"] .profile-name {
  color: #1a1a1a;
}

[data-theme="light"] .profile-card-title {
  color: #1a1a1a;
}

[data-theme="light"] .profile-input {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.1);
  color: #1a1a1a;
}

/* ---- Product detail page ---- */
[data-theme="light"] .pdp-title {
  color: #1a1a1a;
}

[data-theme="light"] .pdp-pill {
  background: #eef1f5;
  border-color: rgba(0,0,0,0.1);
  color: #1a1a1a;
}

[data-theme="light"] .pdp-pill.selected {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

[data-theme="light"] .pdp-pill.unavailable {
  color: rgba(26,26,26,0.3);
  border-color: rgba(0,0,0,0.06);
}

/* ---- Generic card content ---- */
[data-theme="light"] .checkout-card p,
[data-theme="light"] .summary-card p,
[data-theme="light"] .order-card p {
  color: rgba(26,26,26,0.75);
}

/* =========================================
   SETTINGS PAGE — Theme Tiles
   ========================================= */
.settings-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  margin-top: 4px;
}

.settings-theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
}

.settings-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 480px;
}

.settings-theme-tile {
  position: relative;
  background: none;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  text-align: left;
}

.settings-theme-tile:hover {
  border-color: rgba(21, 163, 234, 0.5);
}

.settings-theme-tile.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 163, 234, 0.15);
}

/* Mini preview mockup */
.settings-theme-preview {
  width: 100%;
  height: 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.settings-theme-preview-dark {
  background: #111111;
}

.settings-theme-preview-light {
  background: #f0f2f5;
}

.stp-bar {
  height: 8px;
  border-radius: 4px;
  width: 60%;
}

.settings-theme-preview-dark .stp-bar {
  background: #15a3ea;
}

.settings-theme-preview-light .stp-bar {
  background: #15a3ea;
}

.stp-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.stp-line {
  height: 5px;
  border-radius: 3px;
}

.settings-theme-preview-dark .stp-line {
  background: rgba(255,255,255,0.12);
}

.settings-theme-preview-light .stp-line {
  background: rgba(0,0,0,0.12);
}

.stp-line-long  { width: 80%; }
.stp-line-short { width: 55%; }

/* Tile label */
.settings-theme-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Checkmark — shown when active */
.settings-theme-check {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 1rem;
  color: var(--blue);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.settings-theme-tile.active .settings-theme-check {
  opacity: 1;
}

/* Light theme overrides for the settings page itself */
[data-theme="light"] .settings-theme-label {
  color: #1a1a1a;
}

/* =========================================
   THEME TOGGLE BUTTON (navbar)
   ========================================= */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  font-size: 0.9rem;
  margin-left: 10px;
  flex-shrink: 0;
  line-height: 1;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--blue);
  color: var(--blue);
}

/* Dark mode: show sun (click → go light), hide moon */
.theme-toggle-btn .fa-sun-o  { display: inline-block; }
.theme-toggle-btn .fa-moon-o { display: none; }

/* Light mode: show moon (click → go dark), hide sun */
[data-theme="light"] .theme-toggle-btn .fa-sun-o  { display: none; }
[data-theme="light"] .theme-toggle-btn .fa-moon-o { display: inline-block; }

[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(26, 26, 26, 0.65);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: var(--blue);
  color: var(--blue);
}

/* =========================================
   LIGHT THEME — Shop & Cart page heroes
   ========================================= */
[data-theme="light"] .shop-hero {
  background: linear-gradient(135deg, #daedf8 0%, #e8f4fb 60%, #d0eaf8 100%);
}

[data-theme="light"] .shop-hero-glow {
  background: radial-gradient(circle, rgba(21, 163, 234, 0.2) 0%, transparent 70%);
}

[data-theme="light"] .shop-hero-content h1 {
  color: #0d1a2a;
}

[data-theme="light"] .shop-hero-content > p {
  color: rgba(13, 26, 42, 0.65);
}

[data-theme="light"] .cart-hero {
  background: linear-gradient(135deg, #daedf8 0%, #e8f4fb 60%, #d0eaf8 100%);
}

[data-theme="light"] .cart-hero h1 {
  color: #0d1a2a;
}

/* =========================================
   LIGHT THEME — Footer
   ========================================= */
[data-theme="light"] footer {
  background-color: #e8eef5 !important;
  border-top-color: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .footer-brand h4 {
  color: #1a1a1a;
}

[data-theme="light"] .footer-col-title {
  color: #1a1a1a;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .social-btn {
  background: rgba(21, 163, 234, 0.1);
  border-color: rgba(21, 163, 234, 0.25);
}

/* =========================================
   LIGHT THEME — Cart page text fixes
   ========================================= */
[data-theme="light"] .cart-items-header h4 {
  color: #1a1a1a;
}

[data-theme="light"] .summary-row.total-row {
  color: #1a1a1a;
}

[data-theme="light"] .order-success-wrap h2 {
  color: #1a1a1a;
}

/* =========================================
   LIGHT THEME — Cart modal text fixes
   ========================================= */
[data-theme="light"] .modal-content {
  color: #1a1a1a !important;
}

[data-theme="light"] .modal-header .modal-title {
  color: #1a1a1a !important;
}

[data-theme="light"] .modal-cart-item-name {
  color: #1a1a1a;
}

[data-theme="light"] .modal-cart-total {
  color: #1a1a1a;
}

[data-theme="light"] .modal-cart-item img {
  background: #eef1f5;
}

/* =========================================
   LIGHT THEME — Swap page text fixes
   ========================================= */
[data-theme="light"] .step-card h4 {
  color: #1a1a1a;
}

[data-theme="light"] .benefit-card h4 {
  color: #1a1a1a;
}

[data-theme="light"] .brand-chip {
  color: rgba(26, 26, 26, 0.7);
}

[data-theme="light"] .swap-form-card-header h4 {
  color: #1a1a1a;
}

[data-theme="light"] .swap-label {
  color: rgba(26, 26, 26, 0.65);
}

[data-theme="light"] .estimator-check {
  color: rgba(26, 26, 26, 0.65);
}

[data-theme="light"] .tips-card h5 {
  color: #1a1a1a;
}

[data-theme="light"] .swap-success h3 {
  color: #1a1a1a;
}

[data-theme="light"] .faq-question {
  color: #1a1a1a;
}

/* =========================================
   LIGHT THEME — About page text fixes
   ========================================= */
[data-theme="light"] .about-story-text h2 {
  color: #1a1a1a;
}

[data-theme="light"] .offer-card h4 {
  color: #1a1a1a;
}

[data-theme="light"] .mission-card h3 {
  color: #1a1a1a;
}

[data-theme="light"] .why-card h4 {
  color: #1a1a1a;
}

[data-theme="light"] .about-cta-inner h2 {
  color: #1a1a1a;
}

/* =========================================
   LIGHT THEME — Contact page fixes
   ========================================= */
[data-theme="light"] .contact-hero {
  background: linear-gradient(135deg, #daedf8 0%, #e8f4fb 60%, #d0eaf8 100%);
}

[data-theme="light"] .contact-hero-title {
  color: #0d1a2a;
}

[data-theme="light"] .contact-hero-subtitle {
  color: rgba(13, 26, 42, 0.65);
}

[data-theme="light"] .contact-wa-text h3 {
  color: #1a1a1a;
}

[data-theme="light"] .contact-wa-btn {
  color: #1a1a1a;
  border-color: rgba(21, 163, 234, 0.4);
}

/* =========================================
   LIGHT THEME — Navbar stays dark
   Overrides the earlier light-header rules.
   ========================================= */
[data-theme="light"] header,
[data-theme="light"] header.scrolled,
[data-theme="light"] header.background-header {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

[data-theme="light"] .navbar .navbar-brand h2 {
  color: #fff !important;
}

[data-theme="light"] .navbar .navbar-nav a.nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
}

[data-theme="light"] .navbar .navbar-nav a.nav-link:hover,
[data-theme="light"] .navbar .navbar-nav .active > .nav-link,
[data-theme="light"] .navbar .navbar-nav .nav-link.active {
  color: var(--blue) !important;
}

[data-theme="light"] .cart-icon a {
  color: rgba(255, 255, 255, 0.88) !important;
}

[data-theme="light"] .navbar-toggler-icon {
  filter: none;
}

[data-theme="light"] .nav-user-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .nav-user-btn:hover,
[data-theme="light"] .nav-user-btn.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="light"] .nav-user-name {
  color: #fff;
}

[data-theme="light"] .nav-user-chevron {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .nav-user-dropdown {
  background: rgba(12, 12, 12, 0.97) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .nav-user-info {
  border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

[data-theme="light"] .nav-user-info strong {
  color: #fff;
}

[data-theme="light"] .nav-user-info span {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .nav-user-link,
[data-theme="light"] .nav-user-signout {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .nav-user-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

[data-theme="light"] .nav-user-signout {
  border-top-color: rgba(255, 255, 255, 0.07);
}

/* Theme toggle button — always white regardless of theme */
[data-theme="light"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--blue);
  color: var(--blue);
}

/* ── Home Hero / Search — light + dim theme overrides ────── */
[data-theme="light"] .home-hero {
  background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(21,163,234,0.12) 0%, transparent 65%),
              var(--bg-primary);
}
[data-theme="light"] .home-hero-grid {
  background-image:
    linear-gradient(rgba(21,163,234,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,163,234,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
[data-theme="light"] .home-search-form {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .home-search-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,163,234,0.12);
}
[data-theme="light"] .home-search-icon {
  color: rgba(0,0,0,0.4);
}
[data-theme="light"] .home-search-form input {
  color: #111;
}
[data-theme="light"] .home-search-form input::placeholder {
  color: rgba(0,0,0,0.38);
}
[data-theme="light"] .home-search-dropdown {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
[data-theme="light"] .search-result-item {
  color: #111;
}
[data-theme="light"] .search-result-item:hover {
  background: rgba(21,163,234,0.07);
}
[data-theme="light"] .search-result-name {
  color: #111;
}
[data-theme="light"] .search-result-brand {
  color: #666;
}
[data-theme="light"] .search-result-price {
  color: var(--blue);
}
[data-theme="light"] .search-no-results {
  color: #666;
}
[data-theme="light"] .home-quick-cats a {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
  color: #333;
}
[data-theme="light"] .home-quick-cats a:hover {
  background: rgba(21,163,234,0.1);
  border-color: rgba(21,163,234,0.3);
  color: var(--blue);
}
[data-theme="light"] .home-section-eyebrow {
  color: var(--blue);
  opacity: 0.8;
}
[data-theme="light"] .home-section-link {
  color: var(--blue);
}
[data-theme="light"] .home-section-deals {
  background: linear-gradient(135deg, rgba(255,140,0,0.06) 0%, rgba(255,60,0,0.04) 100%),
              var(--bg-secondary);
}
[data-theme="light"] .home-cta-strip {
  background: linear-gradient(135deg, rgba(21,163,234,0.08) 0%, rgba(21,163,234,0.04) 100%),
              var(--bg-secondary);
}
[data-theme="light"] .home-cta-title {
  color: #111;
}
[data-theme="light"] .home-cta-sub {
  color: #555;
}

[data-theme="light"] .brand-track img:hover {
  filter: grayscale(0%) brightness(1.05) !important;
}
[data-theme="light"] .brands {
  border-top-color: rgba(21,163,234,0.15) !important;
}

[data-theme="dim"] .home-search-form {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}
[data-theme="dim"] .home-search-form input {
  color: var(--text-primary);
}

/* ── Swap History Section ─────────────────────────────────── */
.swap-history-section {
  padding: 64px 0;
  background: var(--bg-secondary);
}

.swap-history-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.swap-history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.swap-history-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.18);
}

.swap-history-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  gap: 10px;
}

.swap-history-ref-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.swap-history-ref {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  font-family: monospace;
  letter-spacing: 0.03em;
}

.swap-history-date {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.swap-history-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: capitalize;
  white-space: nowrap;
}

.swap-status-pending  { background: rgba(243,156,18,0.15);  color: #f39c12; border: 1px solid rgba(243,156,18,0.3); }
.swap-status-reviewed { background: rgba(21,163,234,0.13); color: var(--blue); border: 1px solid rgba(21,163,234,0.3); }
.swap-status-completed { background: rgba(39,174,96,0.13); color: #27ae60; border: 1px solid rgba(39,174,96,0.3); }
.swap-status-cancelled { background: rgba(231,76,60,0.12); color: #e74c3c; border: 1px solid rgba(231,76,60,0.3); }

.swap-history-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.swap-history-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.83rem;
}

.swap-history-label {
  color: var(--text-muted);
  min-width: 90px;
  flex-shrink: 0;
}

.swap-history-value {
  color: var(--text-primary);
  text-align: right;
  font-weight: 500;
}

/* =========================================
   HOME PAGE — HERO
   ========================================= */
.home-hero {
  position: relative;
  padding: calc(env(safe-area-inset-top, 0px) + 180px) 20px 64px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% -10%, rgba(21,163,234,0.18) 0%, transparent 65%),
              var(--bg-primary);
}

@media (min-width: 992px) {
  .home-hero {
    padding-top: 160px;
    padding-bottom: 80px;
  }
}

.home-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21,163,234,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,163,234,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.home-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.home-hero-glow-1 {
  width: 500px; height: 500px;
  background: rgba(21,163,234,0.12);
  top: -120px; left: -100px;
}

.home-hero-glow-2 {
  width: 400px; height: 400px;
  background: rgba(120,80,255,0.08);
  top: -80px; right: -80px;
}

.home-hero-glow-3 {
  width: 300px; height: 300px;
  background: rgba(21,163,234,0.06);
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
}

.home-welcome-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  opacity: 0.75;
}

.home-search-headline {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.2;
}

.home-search-bar {
  position: relative;
  max-width: 600px;
  margin: 0 auto 20px;
}

.home-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 0 6px 0 20px;
  gap: 10px;
  transition: border-color 0.25s;
}

.home-search-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,163,234,0.15);
}

.home-search-icon {
  color: rgba(255,255,255,0.4);
  font-size: 15px;
  flex-shrink: 0;
}

.home-search-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  padding: 14px 0;
}

.home-search-form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.home-search-form button {
  background: var(--blue);
  border: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 40px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-search-form button:hover {
  background: #0f8fd4;
}

.home-search-btn-icon { display: none; }

@media (max-width: 575px) {
  .home-search-btn-text { display: none; }
  .home-search-btn-icon { display: inline; font-size: 13px; }
  .home-search-form button { padding: 6px 10px; border-radius: 30px; }
}

/* Search dropdown */
.home-search-dropdown,
.nav-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  z-index: 10000;
  display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.home-search-dropdown.open,
.nav-search-dropdown.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none !important;
  color: var(--text-primary) !important;
  transition: background 0.15s;
}

.search-result-item:hover {
  background: rgba(21,163,234,0.08);
}

.search-result-item img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  background: #1a1a1a;
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-result-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.search-result-brand {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

.search-result-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-no-results {
  padding: 16px;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  text-align: center;
}

/* Quick category pills */
.home-quick-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.home-quick-cats a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s;
}

.home-quick-cats a:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
}

/* =========================================
   ANNOUNCEMENTS TICKER
   ========================================= */
.ticker-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, var(--blue) 0%, #0f8fd4 100%);
  overflow: hidden;
  height: 40px;
  position: relative;
  z-index: 10;
}

.ticker-label {
  flex-shrink: 0;
  background: rgba(0,0,0,0.25);
  color: #fff;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 14px;
  z-index: 2;
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  gap: 0;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 0 28px;
}

.ticker-dot {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* =========================================
   HOME PAGE — PRODUCT SECTIONS
   ========================================= */
.home-section {
  padding: 52px 0;
}

.home-section-new {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

/* Deals section */
.home-section-deals {
  position: relative;
  padding: 52px 0;
  background: linear-gradient(135deg, rgba(255,120,50,0.06) 0%, rgba(21,163,234,0.04) 100%);
  border-top: 1px solid rgba(255,120,50,0.1);
  border-bottom: 1px solid rgba(255,120,50,0.1);
}

.home-deals-bg-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,120,50,0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(21,163,234,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.deals-accent { color: #ff7832 !important; }
.deals-eyebrow { color: #ff7832 !important; }
.deals-link { color: #ff7832 !important; }

.home-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
}

.home-section-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.8;
}

.home-section-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.home-section-title span {
  color: var(--blue);
}

.home-section-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue) !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 6px 14px;
  border: 1px solid rgba(21,163,234,0.25);
  border-radius: 20px;
  transition: background 0.2s, border-color 0.2s;
  margin-bottom: 4px;
}

.home-section-link:hover {
  background: rgba(21,163,234,0.08);
  border-color: rgba(21,163,234,0.5);
}

/* Horizontal scroll product row */
.home-product-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

@media (max-width: 767px) {
  .home-product-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* =========================================
   HOME CTA STRIP
   ========================================= */
.home-cta-strip {
  position: relative;
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(21,163,234,0.08) 0%, rgba(120,80,255,0.05) 100%);
  border-top: 1px solid rgba(21,163,234,0.12);
  overflow: hidden;
}

.home-cta-glow {
  position: absolute;
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(21,163,234,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 575px) {
  .home-cta-inner { flex-direction: column; text-align: center; }
}

.home-cta-title {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.home-cta-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin: 0;
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 40px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 28px rgba(21,163,234,0.35);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.home-cta-btn:hover {
  background: #0f8fd4;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(21,163,234,0.5);
}

/* =========================================
   NAV SEARCH (desktop)
   ========================================= */
.nav-search-wrap {
  position: relative;
  margin-right: 8px;
}

.nav-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  padding: 5px 12px;
  gap: 7px;
  transition: border-color 0.2s, width 0.3s;
  width: 180px;
}

.nav-search-form:focus-within {
  border-color: var(--blue);
  width: 220px;
}

.nav-search-form .fa {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  flex-shrink: 0;
}

.nav-search-form input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
  width: 100%;
}

.nav-search-form input::placeholder {
  color: rgba(255,255,255,0.3);
}

.nav-search-dropdown {
  min-width: 280px;
  right: 0;
  left: auto;
}

/* =========================================
   MOBILE FLOATING CART BUTTON
   ========================================= */
.mobile-cart-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.mobile-cart-float .fa {
  font-size: 28px;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.mobile-cart-float .cart-count {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

