.promo-ticker {
  display: none !important;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

/* Smooth scroll ng buong page. scroll-padding keeps anchor targets (e.g. #locationSection)
   clear of the fixed customer header. */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--customer-header-offset, 136px) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--moto-black, #050505);
  color: var(--moto-text, #ffffff);
  animation: siteFadeIn 0.8s ease-in-out forwards;
  overflow-x: hidden;
}

/* =========================================
   BRAND, FINANCING, AND PAYMENT PARTNERS
   ========================================= */
.partners-section {
  margin-top: 40px;
  margin-bottom: 72px;
}

/* Keep the partner area centered even when a marquee contains many logos. */
.partners-section.container {
  width: 100%;
  max-width: 1600px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

.partners-heading {
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: center;
}

.partners-eyebrow {
  display: inline-block;
  color: var(--moto-eyebrow, #e3262e);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.partners-heading .section-title {
  margin-bottom: 8px !important;
}

.partners-heading p,
.partner-panel > p {
  color: var(--moto-muted, #a1a1aa);
  line-height: 1.7;
}

.brand-logo-card,
.financing-tile,
.payment-pill {
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  padding: 14px 0 18px;
  border-top: 1px solid var(--moto-border, #222222);
  border-bottom: 1px solid var(--moto-border, #222222);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.brand-marquee-track {
  display: flex;
  width: max-content;
  animation: brand-slide-right 34s linear infinite;
  will-change: transform;
}



.brand-logo-group {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding-right: 14px;
}

.brand-logo-card {
  display: flex;
  width: 164px;
  flex: 0 0 164px;
  min-height: 122px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 12px;
  background: linear-gradient(145deg, var(--moto-panel-soft, #191919), var(--moto-panel, #111111));
  border: 1px solid var(--moto-border-subtle, #2a2a2a);
  border-radius: 13px;
  color: var(--moto-text, #fff);
}

.brand-logo-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--moto-red, #ff1f1f);
  box-shadow: 0 12px 28px var(--moto-red-glow, rgba(255, 31, 31, 0.22));
}

.brand-logo-media {
  display: flex;
  width: 100%;
  height: 92px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.brand-logo-media img {
  display: block;
  max-width: 148px;
  max-height: 78px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-logo-card strong {
  display: none;
}

.brand-wordmark {
  color: var(--moto-text, #f5f5f5);
  font-size: 1.32rem;
  font-style: italic;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
  text-transform: uppercase;
}

/* Partner wordmarks: neutral ones follow the theme text colour, brand-coloured ones keep their brand hue. */
.ftr-wordmark { letter-spacing: 0.02em; }
.hybrid-wordmark { font-size: 1.2rem; letter-spacing: -0.1em; }
.gille-wordmark { color: #50e0d5; letter-spacing: 0.04em; }
.hnj-wordmark { letter-spacing: 0.03em; }
.k3-wordmark { color: #f32d35; font-size: 1.5rem; }
.k3-wordmark small { display: block; color: var(--moto-text, #fff); font-size: 0.43em; letter-spacing: 0.15em; text-align: center; }
.power-wordmark { color: var(--moto-text-secondary, #d7d7d7); font-size: 0.92rem; letter-spacing: 0.04em; }
.sec-wordmark { color: #e62d35; font-size: 1.55rem; letter-spacing: 0.06em; }
.spyder-wordmark { letter-spacing: 0.08em; }

@keyframes brand-slide-right {
  from { transform: translateX(var(--marquee-start, -50%)); }
  to { transform: translateX(0); }
}

.financing-tile:hover,
.payment-pill:hover {
  transform: translateY(-3px);
  border-color: var(--moto-red, #ff1f1f);
}

.partner-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  margin-top: 32px;
  width: 100%;
  min-width: 0;
}

.partner-panel {
  padding: 0;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.partner-panel-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  text-align: center;
}

.partner-panel h3 {
  margin: 0;
  color: var(--moto-text, #fff);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.partner-icon {
  display: none;
}

.partner-panel > p {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.partner-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 22px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--moto-border, #222222);
  border-bottom: 1px solid var(--moto-border, #222222);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  min-width: max-content;
  animation: brand-slide-right 28s linear infinite;
  will-change: transform;
}



.partner-logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.partner-logo-card {
  display: flex;
  width: 126px;
  height: 78px;
  flex: 0 0 126px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  color: var(--moto-text, #f4f4f4);
  background: linear-gradient(145deg, var(--moto-panel-soft, #191919), var(--moto-panel, #111111));
  border: 1px solid var(--moto-border-subtle, #2a2a2a);
  border-radius: 12px;
  font-weight: 900;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo-card:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--moto-red, #ff1f1f);
  box-shadow: 0 10px 22px var(--moto-red-glow, rgba(255, 31, 31, 0.22));
}

.financing-logo {
  width: 200px;
  flex-basis: 200px;
  height: 88px;
  background:
    radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.08), transparent 58%),
    linear-gradient(145deg, var(--moto-panel-soft, #191919), var(--moto-panel, #111111));
  border-color: var(--moto-border-subtle, #2a2a2a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.financing-logo img {
  display: block;
  max-width: 174px;
  max-height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.24));
}

.payment-logo {
  width: 108px;
  flex-basis: 108px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.09), transparent 62%),
    linear-gradient(145deg, var(--moto-panel-soft, #191919), var(--moto-panel, #111111));
  border-color: var(--moto-border-subtle, #2a2a2a);
  color: var(--moto-text, #f4f4f4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.payment-logo img {
  display: block;
  width: auto;
  max-width: 96px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.payment-logo-fallback {
  color: var(--moto-text, #f4f4f4);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-align: center;
}

.payment-logo img[hidden] + .payment-logo-fallback {
  display: block;
}

.qrph-logo { color: #fff; background: #174d9b; border-color: #2869c7; }
.shopeepay-logo { color: #fff; background: #ee4d2d; }
.maribank-logo { color: #fff; background: #e94a3d; }
.atome-logo { color: #111; background: #fff; }
.billease-logo { color: #fff; background: #1764a6; }
.unionbank-logo { color: #fff; background: #111; }
.gotyme-logo { color: #111; background: #f0f5d2; }
.aub-logo { color: #fff; background: #8d111b; }
.juancash-logo { color: #fff; background: #1451a4; }
.psbank-logo { color: #173b75; background: #fff; }
.eastwest-logo { color: #fff; background: #00539b; }
.coins-logo { color: #fff; background: #2570be; }
.security-logo { color: #fff; background: #5a9e61; }
.maya-logo { color: #fff; background: #008c82; }
.metrobank-logo { color: #fff; background: #263b83; }
.rcbc-logo { color: #fff; background: #0c71b8; }
.grabpay-logo { color: #fff; background: #00a94f; }
.landbank-logo { color: #fff; background: #006b3c; }
.pnb-logo { color: #fff; background: #1179bd; }
.ownbank-logo { color: #fff; background: #5c318f; }

/* Keep every payment logo on the same clean card treatment. */
.payment-logo {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.09), transparent 62%),
    linear-gradient(145deg, var(--moto-panel-soft, #191919), var(--moto-panel, #111111));
  border-color: var(--moto-border-subtle, #2a2a2a);
  color: var(--moto-text, #f4f4f4);
}

@media (max-width: 900px) {
  .brand-logo-card { width: 152px; flex-basis: 152px; }
  .partner-columns { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .partners-section { margin-top: 56px; margin-bottom: 56px; }
  .brand-logo-card { width: 142px; flex-basis: 142px; min-height: 110px; }
  .brand-logo-media { height: 80px; }
  .brand-logo-media img { max-width: 128px; max-height: 68px; }
  .partner-panel h3 { font-size: 1.25rem; }
  .financing-logo { width: 164px; flex-basis: 164px; }
  .financing-logo img { max-width: 142px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee-track,
  .partner-marquee-track { animation: none; }
}

/* =========================================
   MAINTENANCE BANNER (Super Administrator)
   ========================================= */
.storefront-maintenance-banner {
  padding: 10px 5%;
  background: #7b1d22;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: center;
}

.storefront-maintenance-banner strong {
  font-weight: 800;
}

/* =========================================
   TOP PROMO BAR (DISABLED)
   ========================================= */
.top-promo-bar,
.promo-ticker {
  display: none !important;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

.ticker-content b {
  font-weight: 900;
  text-decoration: underline;
  margin: 0 4px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* =========================================
   PAGE ENTRY / LANDING TRANSITIONS
   ========================================= */
@keyframes siteFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================================
   SCROLL BACK UP TO REVEAL NAVBAR (ACETERNITY FLOATING NAV STYLE)
   ========================================= */
header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  animation: navSlideDown 0.8s ease-out;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

@keyframes navSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hidden state when scrolling DOWN */
header.nav-hidden {
  transform: translateY(-100%) !important;
  pointer-events: none;
}

/* Revealed floating state with sleek Aceternity-inspired dark glassmorphism */
header.nav-floating {
  background: rgba(10, 10, 10, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(190, 18, 60, 0.08);
}

header.nav-floating .navbar {
  background: transparent !important;
}

header.nav-floating .category-navbar {
  background: transparent !important;
  box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  header {
    transition: none !important;
  }
}

/* =========================================
   1. MAIN NAVBAR (TOP)
   ========================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5% 25px 5%;
  margin: 0;
  background: #0a0a0a;
  border-bottom: none;
  position: relative;
  z-index: 10001;
  transition: background-color 0.3s ease;
}

/* Clickable logo style. */
.logo-link {
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link:hover {
  opacity: 0.8;
}


.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-container .form button {
  border: none;
  background: none;
  color: #8b8ba7;
}

.search-container .form {
  --timing: 0.3s;
  --width-of-input: 350px;
  --height-of-input: 40px;
  --border-height: 2px;
  --input-bg: #fff;
  --border-color: #ff0000;
  --border-radius: 30px;
  --after-border-radius: 1px;
  position: relative;
  width: var(--width-of-input);
  height: var(--height-of-input);
  display: flex;
  align-items: center;
  padding-inline: 0.8em;
  border-radius: var(--border-radius);
  transition: border-radius 0.5s ease;
  background: var(--input-bg, #fff);
  border: 1px solid #ccc;
}

.search-container .input {
  font-size: 0.9rem;
  background-color: transparent;
  width: 100%;
  height: 100%;
  padding-inline: 0.5em;
  padding-block: 0.7em;
  border: none;
  color: #333;
}

.search-container .input::placeholder {
  color: #888;
}

.search-container .form:before {
  content: "";
  position: absolute;
  background: var(--border-color);
  transform: scaleX(0);
  transform-origin: center;
  width: 100%;
  height: var(--border-height);
  left: 0;
  bottom: 0;
  border-radius: 1px;
  transition: transform var(--timing) ease;
}

.search-container .form:focus-within {
  border-radius: var(--after-border-radius);
  border-color: transparent;
}

.search-container input:focus {
  outline: none;
}

.search-container .form:focus-within:before {
  transform: scale(1);
}

.search-container .reset {
  border: none;
  background: none;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  color: #8b8ba7;
}

.search-container .reset:hover {
  color: #ff0000;
}

.search-container input:not(:placeholder-shown)~.reset {
  opacity: 1;
  visibility: visible;
}

.search-container .form svg {
  width: 17px;
  margin-top: 3px;
}

.live-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  max-height: 350px;
  overflow-y: auto;
  z-index: 10005;
  display: none;
}

.live-search-dropdown.show {
  display: block;
}

.live-search-dropdown::-webkit-scrollbar {
  width: 5px;
}

.live-search-dropdown::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  border-bottom: 1px solid #222;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.search-result-item:hover {
  background: #1a1a1a;
}

.search-result-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #222;
  border-radius: 4px;
  padding: 2px;
}

.search-result-info {
  display: flex;
  flex-direction: column;
}

.search-result-name {
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
}

.search-result-price {
  color: #ff0000;
  font-size: 0.8rem;
}

/* --- FIX PARA SA HINDI PANTAY NA ICONS SA NAVBAR --- */

.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 5px;
}

.notification-container,
.user-menu-container {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  /* Tatanggalin nito yung inline margin na nagpapagulo */
}

.nav-links .icon-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 12px !important;
}

.cart-icon-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  /* Pipilitin natin na eksaktong kasing-laki lang ng icon ang wrapper */
  height: 24px !important;
  width: 24px !important;
}

.nav-links svg {
  display: block !important;
  /* Tinatanggal nito yung invisible space sa ilalim ng SVG */
  width: 24px !important;
  height: 24px !important;
}

.cart-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: #ff0000;
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 50%;
  min-width: 16px;
  text-align: center;
  border: 2px solid #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

/* --- BAGONG PROFILE DROPDOWN LINK (MATCHING YOUR IMAGE) --- */
.profile-dropdown {
  min-width: 250px;
  /* Gives dropdown items enough space. */
}

.profile-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 6px;
  border-left: 3px solid transparent;
}

.dropdown-link-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.dropdown-link-left svg {
  stroke: #888;
  transition: stroke 0.2s ease;
}

.profile-dropdown-link:hover {
  background-color: #1a1a1a;
  color: #fff;
  padding-left: 15px;
  border-left: 3px solid #ff0000;
}

.profile-dropdown-link:hover .dropdown-link-left svg {
  stroke: #ff0000;
}

.dropdown-badge-text {
  font-size: 0.85rem;
  color: #777;
  /* Gray numbers sa right side */
}

.dropdown-badge-red {
  background-color: #ff0000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
}

.profile-dropdown-link:hover {
  background-color: #1a1a1a;
  color: #fff;
  padding-left: 15px;
  /* Smooth slide animation pakanan */
  border-left: 3px solid #ff0000;
}

.profile-dropdown-link:hover .dropdown-link-left svg {
  stroke: #ff0000;
  /* Magiging Motolectron Red ang icon pag hinover */
}

.profile-dropdown-link:hover .dropdown-badge-text {
  color: #fff;
}

/* Notification Specific Styles */
.notif-list {
  max-height: 280px;
  overflow-y: auto;
  text-align: left;
}

.notif-list::-webkit-scrollbar {
  width: 5px;
}

.notif-list::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

.notif-item {
  padding: 12px !important;
  border-bottom: 1px solid #222;
  display: block;
  line-height: 1.4;
  white-space: normal !important;
}

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

.notif-title {
  font-size: 0.85rem;
  color: #ccc;
}

.notif-title b {
  color: #fff;
}

.notif-time {
  font-size: 0.7rem;
  color: #777;
  margin-top: 5px;
}

/* =========================================
         2. SECONDARY CATEGORY NAVBAR (MEGA MENU)
         ========================================= */
.category-navbar {
  background-color: #0a0a0a;
  border-bottom: none;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 9990 !important;
}

.category-links {
  display: flex;
  gap: 30px;
}

.category-links>a,
.category-filter {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 10px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.category-links>a:hover,
.category-links>a.active,
.category-filter:hover,
.category-filter.active {
  color: #fff;
}





.nav-item-dropdown {
  position: static;
  padding-bottom: 15px;
  margin-bottom: -15px;
}

.arrow-down {
  display: inline-block;
  margin-left: 5px;
  font-size: 0.6rem;
  transition: transform 0.3s;
}

.nav-item-dropdown:hover .arrow-down,
.nav-item-dropdown.active .arrow-down {
  transform: rotate(180deg);
}

/* Mega Menu Box */

.mega-menu::-webkit-scrollbar {
  width: 6px;
}

.mega-menu::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}


/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: var(--moto-black, #050505);
  color: var(--moto-text, #ffffff);
  animation: siteFadeIn 0.8s ease-in-out forwards;
  overflow-x: hidden;
}

/* =========================================
   PROMO TICKER
   ========================================= */
.promo-ticker {
  background-color: #d12027;
  color: #fff;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  font-size: 0.85rem;
  z-index: 10001;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

.ticker-content b {
  font-weight: 900;
  text-decoration: underline;
  margin: 0 4px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* =========================================
   PAGE ENTRY / LANDING TRANSITIONS
   ========================================= */
@keyframes siteFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Duplicate header and navbar block removed to preserve scroll-to-reveal floating navbar behavior */

/* Clickable logo style. */
.logo-link {
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link:hover {
  opacity: 0.8;
}


.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-container .form button {
  border: none;
  background: none;
  color: #8b8ba7;
}

.search-container .form {
  --timing: 0.3s;
  --width-of-input: 350px;
  --height-of-input: 40px;
  --border-height: 2px;
  --input-bg: #fff;
  --border-color: #ff0000;
  --border-radius: 30px;
  --after-border-radius: 1px;
  position: relative;
  width: var(--width-of-input);
  height: var(--height-of-input);
  display: flex;
  align-items: center;
  padding-inline: 0.8em;
  border-radius: var(--border-radius);
  transition: border-radius 0.5s ease;
  background: var(--input-bg, #fff);
  border: 1px solid #ccc;
}

.search-container .input {
  font-size: 0.9rem;
  background-color: transparent;
  width: 100%;
  height: 100%;
  padding-inline: 0.5em;
  padding-block: 0.7em;
  border: none;
  color: #333;
}

.search-container .input::placeholder {
  color: #888;
}

.search-container .form:before {
  content: "";
  position: absolute;
  background: var(--border-color);
  transform: scaleX(0);
  transform-origin: center;
  width: 100%;
  height: var(--border-height);
  left: 0;
  bottom: 0;
  border-radius: 1px;
  transition: transform var(--timing) ease;
}

.search-container .form:focus-within {
  border-radius: var(--after-border-radius);
  border-color: transparent;
}

.search-container input:focus {
  outline: none;
}

.search-container .form:focus-within:before {
  transform: scale(1);
}

.search-container .reset {
  border: none;
  background: none;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  color: #8b8ba7;
}

.search-container .reset:hover {
  color: #ff0000;
}

.search-container input:not(:placeholder-shown)~.reset {
  opacity: 1;
  visibility: visible;
}

.search-container .form svg {
  width: 17px;
  margin-top: 3px;
}

.live-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  max-height: 350px;
  overflow-y: auto;
  z-index: 10005;
  display: none;
}

.live-search-dropdown.show {
  display: block;
}

.live-search-dropdown::-webkit-scrollbar {
  width: 5px;
}

.live-search-dropdown::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  border-bottom: 1px solid #222;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.search-result-item:hover {
  background: #1a1a1a;
}

.search-result-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #222;
  border-radius: 4px;
  padding: 2px;
}

.search-result-info {
  display: flex;
  flex-direction: column;
}

.search-result-name {
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
}

.search-result-price {
  color: #ff0000;
  font-size: 0.8rem;
}

/* --- FIX PARA SA HINDI PANTAY NA ICONS SA NAVBAR --- */

.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 5px;
}

.notification-container,
.user-menu-container {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  /* Tatanggalin nito yung inline margin na nagpapagulo */
}

.nav-links .icon-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 12px !important;
}

.cart-icon-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  /* Pipilitin natin na eksaktong kasing-laki lang ng icon ang wrapper */
  height: 24px !important;
  width: 24px !important;
}

.nav-links svg {
  display: block !important;
  /* Tinatanggal nito yung invisible space sa ilalim ng SVG */
  width: 24px !important;
  height: 24px !important;
}

.cart-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: #ff0000;
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 50%;
  min-width: 16px;
  text-align: center;
  border: 2px solid #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

/* --- BAGONG PROFILE DROPDOWN LINK (MATCHING YOUR IMAGE) --- */
.profile-dropdown {
  min-width: 250px;
  /* Gives dropdown items enough space. */
}

.profile-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 6px;
  border-left: 3px solid transparent;
}

.dropdown-link-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.dropdown-link-left svg {
  stroke: #888;
  transition: stroke 0.2s ease;
}

.profile-dropdown-link:hover {
  background-color: #1a1a1a;
  color: #fff;
  padding-left: 15px;
  border-left: 3px solid #ff0000;
}

.profile-dropdown-link:hover .dropdown-link-left svg {
  stroke: #ff0000;
}

.dropdown-badge-text {
  font-size: 0.85rem;
  color: #777;
  /* Gray numbers sa right side */
}

.dropdown-badge-red {
  background-color: #ff0000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
}

.profile-dropdown-link:hover {
  background-color: #1a1a1a;
  color: #fff;
  padding-left: 15px;
  /* Smooth slide animation pakanan */
  border-left: 3px solid #ff0000;
}

.profile-dropdown-link:hover .dropdown-link-left svg {
  stroke: #ff0000;
  /* Magiging Motolectron Red ang icon pag hinover */
}

.profile-dropdown-link:hover .dropdown-badge-text {
  color: #fff;
}

/* Notification Specific Styles */
.notif-list {
  max-height: 280px;
  overflow-y: auto;
  text-align: left;
}

.notif-list::-webkit-scrollbar {
  width: 5px;
}

.notif-list::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

.notif-item {
  padding: 12px !important;
  border-bottom: 1px solid #222;
  display: block;
  line-height: 1.4;
  white-space: normal !important;
}

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

.notif-title {
  font-size: 0.85rem;
  color: #ccc;
}

.notif-title b {
  color: #fff;
}

.notif-time {
  font-size: 0.7rem;
  color: #777;
  margin-top: 5px;
}

/* =========================================
         2. SECONDARY CATEGORY NAVBAR (MEGA MENU)
         ========================================= */
.category-navbar {
  background-color: #0a0a0a;
  border-bottom: none;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 9990 !important;
}

.category-links {
  display: flex;
  gap: 30px;
}

.category-links>a,
.category-filter {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 10px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.category-links>a:hover,
.category-links>a.active,
.category-filter:hover,
.category-filter.active {
  color: #fff;
}





.nav-item-dropdown {
  position: static;
  padding-bottom: 15px;
  margin-bottom: -15px;
}

.arrow-down {
  display: inline-block;
  margin-left: 5px;
  font-size: 0.6rem;
  transition: transform 0.3s;
}

.nav-item-dropdown:hover .arrow-down,
.nav-item-dropdown.active .arrow-down {
  transform: rotate(180deg);
}

/* Mega Menu Box */

.mega-menu::-webkit-scrollbar {
  width: 6px;
}

.mega-menu::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

.mega-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  border-top: 15px solid transparent;
  background-clip: padding-box;
  left: 0;
  width: 100%;
  background-color: #0a0a0a;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
  border-top: none;
  border-bottom: 1px solid #222;
  z-index: 9995 !important;
  padding: 30px 5%;
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  transform: translateY(-10px);
}

/* Invisible bridge to prevent hover loss when moving mouse to mega menu */


.nav-item-dropdown:hover .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega-column {
  min-width: 180px;
  display: flex;
  flex-direction: column;
}

.mega-column h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-column a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  display: block;
  padding: 6px 0;
  white-space: nowrap;
  transition:
    color 0.2s,
    transform 0.2s;
  line-height: 1.4;
}

.mega-column a:hover {
  color: #ff0000;
  transform: translateX(3px);
}

/* =========================================
   HELMETS MEGA MENU CUSTOM GRID
   ========================================= */
.mega-menu-helmets {
  padding: 0 !important;
  /* Remove default padding, use content padding */
}

.mega-menu-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
  padding: 30px 5%;
}

.mega-brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.view-all-link {
  margin-top: auto;
  /* Pushes the link to the bottom of the flex column */
  padding-top: 15px;
  /* Adds consistent spacing above */
  color: #ff0000 !important;
  font-weight: 700;
  font-size: 0.8rem !important;
  display: inline-block;
  transition: none !important;
  /* Remove any inherited transitions */
}

.view-all-link:hover {
  text-decoration: underline;
  transform: none !important;
  /* Disable slide animation */
}

/* Featured Promo Card */
.mega-featured-promo {
  border-left: 1px solid #333;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-card {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #222;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.15);
  border-color: #333;
}

.promo-img-container {
  height: 180px;
  overflow: hidden;
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.promo-card:hover .promo-img {
  transform: scale(1.05);
}

.promo-info {
  padding: 20px;
}

.promo-info h5 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.promo-info p {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.btn-promo-shop {
  display: inline-block;
  background-color: #ff0000;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.85rem !important;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-promo-shop:hover {
  background-color: #cc0000;
  transform: none !important;
}

/* =========================================
   HERO SLIDER SECTION
   ========================================= */
.hero-slider {
  position: relative;
  height: 60vh;
  width: 100%;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide .hero-content {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 60px 80px;
  border-radius: 24px;
  border: none;
  box-shadow: none;
  display: inline-block;
}

.slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #a0a0a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
  font-size: 1.25rem;
  color: #ddd;
  margin-bottom: 30px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  border-radius: 5px;
}

.slider-btn:hover {
  background: #ff0000;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

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

.dot.active {
  background: #ff0000;
  transform: scale(1.3);
}

.btn-primary {
  background-color: #ff0000;
  color: white;
  padding: 15px 40px;
  border: none;
  font-weight: 900;
  cursor: pointer;
  margin-top: 20px;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #cc0000;
}

/* =========================================
   PRODUCTS GRID (HOMEPAGE & SHOP)
   ========================================= */
.container {
  padding: 50px 5%;
}

.section-title {
  margin-bottom: 30px;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: #111;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(209, 32, 39, 0.25);
  border-color: #333;
}

.product-img-container {
  height: 200px;
  background: #222;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 15px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease-out;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-card h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 15px 0 5px 0;
  text-align: left;
}

.product-card p {
  color: #aaa;
  font-size: 1rem;
  margin: 0;
  text-align: left;
}

/* Product Card Stock Badge */
.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.stock-green {
  background-color: #28a745;
}

.stock-orange {
  background-color: #fd7e14;
}

.stock-red {
  background-color: #dc3545;
}

/* Add to Cart Button Hover */
.add-to-cart-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ff0000;
  color: #fff;
  border: none;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
  z-index: 5;
}

.product-card:hover .add-to-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.add-to-cart-btn:hover {
  background-color: #cc0000;
}

/* =========================================
   SHOP PAGE SPECIFIC LAYOUT
   ========================================= */
.shop-container {
  display: flex;
  gap: 30px;
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.shop-sidebar {
  width: 260px;
  flex-shrink: 0;
  background-color: #111;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #222;
  position: sticky;
  top: 100px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.sidebar-header h3 {
  color: #fff;
  font-size: 1.1rem;
}

.clear-btn {
  background: transparent;
  border: none;
  color: #ff0000;
  font-size: 0.8rem;
  cursor: pointer;
}

.clear-btn:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group h4 {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s;
}

.filter-group label:hover {
  color: #fff;
}

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.size-btn:hover,
.size-btn.active {
  background: #ff0000;
  color: #fff;
  border-color: #ff0000;
}

.brand-cb:checked+.brand-text {
  color: #ff0000;
  font-weight: bold;
}

.price-inputs {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.price-field {
  width: 100%;
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: #222;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 5px;
}

.price-field span {
  flex: 0 0 auto;
  font-size: 0.8rem;
  color: #aaa;
  margin-right: 5px;
  white-space: nowrap;
}

.price-field input {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.price-field input::-webkit-outer-spin-button,
.price-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.price-field input {
  -moz-appearance: textfield;
}

.price-separator {
  color: #aaa;
  font-size: 0.9rem;
}

/* Keep the filter card and its controls inside the available viewport. */
.shop-sidebar {
  max-width: 100%;
  box-sizing: border-box;
}

/* Dynamic Filter Transitions */
.filter-transition {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-bottom 0.4s ease;
  margin-bottom: 0;
}

.filter-transition.show {
  max-height: 300px;
  opacity: 1;
  margin-bottom: 25px;
}

.shop-content {
  flex-grow: 1;
}

.shop-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background-color: #111;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid #222;
}

.sort-dropdown {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  padding: 8px 15px;
  border-radius: 4px;
  outline: none;
}

.sort-dropdown:focus {
  border-color: #ff0000;
}

/* =========================================
   LOCATION SECTION
   ========================================= */
#locationSection {
  margin-bottom: 60px;
}

.custom-map-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid #222;
  margin-bottom: 60px;
  background-color: #111;
}

.dark-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%);
}

.map-floating-overlay {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-route-floating {
  background-color: #ff0000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-route-floating:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
}

/* =========================================
   ACCOUNT / LOGIN SECTION
   ========================================= */
.account-section {
  padding: 40px 5%;
  margin-bottom: 60px;
  background-color: #0a0a0a;
  border-top: 1px solid #222;
}

.account-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.account-box {
  flex: 1;
  background: #111;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #333;
}

.account-box h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: #fff;
}

.vertical-divider {
  width: 1px;
  background-color: #333;
  min-height: 400px;
  margin-top: 20px;
}

.input-group-rounded {
  margin-bottom: 20px;
  text-align: left;
}

.input-group-rounded label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #ccc;
  font-weight: bold;
}

.input-group-rounded input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 25px;
  border: 1px solid #555;
  background-color: transparent;
  color: white;
  font-size: 1rem;
}

.input-group-rounded input:focus {
  outline: none;
  border-color: #ff0000;
}

.input-row {
  display: flex;
  gap: 15px;
}

.input-row .input-group-rounded {
  flex: 1;
}

.forgot-link {
  display: block;
  text-align: right;
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  margin-top: -10px;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.forgot-link:hover {
  color: #ff0000;
}

.btn-rounded-primary {
  width: 100%;
  background-color: #d12027;
  color: white;
  padding: 15px;
  border: none;
  font-weight: 900;
  cursor: pointer;
  border-radius: 25px;
  transition: 0.3s;
  font-size: 1rem;
}

.btn-rounded-primary:hover {
  background-color: #a3171d;
}

.terms-text {
  text-align: center;
  font-size: 0.75rem;
  color: #777;
  margin-top: 15px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #666;
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #333;
}

.divider span {
  padding: 0 10px;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.2s;
  border: none;
}

.btn-social:hover {
  transform: translateY(-2px);
}

.btn-google {
  background-color: #ffffff;
  color: #000000;
}

.btn-google:hover {
  background-color: #f1f1f1;
}

.btn-facebook {
  background-color: #1877f2;
  color: #ffffff;
}

.btn-facebook:hover {
  background-color: #166fe5;
}

/* =========================================
   MY PROFILE MODAL
   ========================================= */
.profile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.profile-overlay.show {
  visibility: visible;
  opacity: 1;
}

.profile-container {
  background-color: #111;
  width: 900px;
  max-width: 95%;
  height: 600px;
  max-height: 90vh;
  border-radius: 8px;
  border: 1px solid #333;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 0, 0, 0.1);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.profile-overlay.show .profile-container {
  transform: scale(1);
}

.close-profile-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  color: #888;
  font-size: 30px;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.close-profile-btn:hover {
  color: #ff0000;
}

.profile-sidebar {
  width: 250px;
  background-color: #0a0a0a;
  border-right: 1px solid #222;
  padding: 40px 0;
}

.profile-sidebar h3 {
  color: #555;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 30px;
  margin-bottom: 15px;
}

.profile-nav {
  list-style: none;
}

.profile-nav li {
  padding: 15px 30px;
  color: #ccc;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.profile-nav li:hover {
  background-color: #1a1a1a;
  color: #fff;
}

.profile-nav li.active {
  background-color: #1a1a1a;
  color: #ff0000;
  border-left: 3px solid #ff0000;
}

.profile-content {
  flex: 1;
  padding: 40px 50px;
  overflow-y: auto;
  background-color: #111;
}

.profile-tab {
  display: none;
  animation: siteFadeIn 0.4s ease;
}

.profile-tab.active {
  display: block;
}

.prof-input {
  width: 100%;
  padding: 12px 15px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: white;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.prof-input:focus {
  border-color: #ff0000;
  outline: none;
}

.order-history-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.history-card {
  background-color: #1a1a1a;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.3s;
}

.history-card:hover {
  border-color: #444;
}

.history-info h4 {
  color: #ff0000;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.history-info p {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 3px;
}

.history-status {
  text-align: right;
}

.history-status .amount {
  display: block;
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}

/* =========================================
   CART SIDEBAR
   ========================================= */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100vh;
  background-color: #111;
  z-index: 100000;
  transition: right 0.3s ease-in-out;
  padding: 20px;
  border-left: 2px solid #ff0000;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 15px;
}

#closeCartBtn {
  background: transparent;
  color: #fff;
  font-size: 28px;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

#closeCartBtn:hover {
  color: #ff0000;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin-top: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
}

.cart-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.cart-item-info p {
  font-size: 0.8rem;
  color: #aaa;
}

.cart-item-remove {
  color: #ff0000;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: bold;
}

.cart-footer {
  border-top: 1px solid #333;
  padding-top: 20px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 70px 5% 40px;
  margin-top: 50px;
  border-top: 1px solid #222;
  text-align: left;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #aaa;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #ff0000;
}

.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.social-icons svg {
  cursor: pointer;
  transition:
    transform 0.3s,
    color 0.3s;
  color: #fff;
}

.social-icons svg:hover {
  transform: translateY(-4px);
  color: #ff0000;
}

.newsletter-form {
  display: flex;
  background: #111;
  border-radius: 4px;
  border: 1px solid #222;
  overflow: hidden;
  margin-top: 20px;
  height: 45px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 0 15px;
  font-size: 0.9rem;
  outline: none;
  background: transparent;
  color: #fff;
}

.newsletter-form button {
  background: #ff0000;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #cc0000;
}

.payment-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.pay-logo {
  background: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 75px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pay-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid #222328 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 30px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: left;
}

/* =========================================
   SCROLL ANIMATIONS & UTILS
   ========================================= */
/* Scroll reveal: a short, subtle fade + lift. Content must never look "missing" while the
   user scrolls, so no blur/scale and no long delays (that made whole sections appear empty). */
.reveal-blur-up,
.reveal-scale-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal-blur-up.active,
.reveal-scale-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.05s;
}

.delay-2 {
  transition-delay: 0.1s;
}

.delay-3 {
  transition-delay: 0.15s;
}

.delay-4 {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-blur-up,
  .reveal-scale-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.flying-item {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.42, 0, 0.58, 1);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(209, 32, 39, 0.4);
}




/* =========================================
   Footer Full-Width "Back to top" Section
   Uiverse Design (satyamchaudharydev/hungry-parrot-44)
   ========================================= */
body:not(.admin-body) .footer-back-to-top,
.footer-back-to-top {
  width: 100% !important;
  background-color: #0e0f14 !important;
  background: #0e0f14 !important;
  border-top: 1px solid #303136 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-bottom: 1px solid #222328 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 !important;
  margin-top: 32px !important;
  margin-bottom: 0 !important;
  padding: 24px 0 10px 0 !important;
  position: static !important;
  clear: both !important;
  box-sizing: border-box !important;
  z-index: 10 !important;
  cursor: default !important;
  pointer-events: none !important;
}

body:not(.admin-body) .footer-back-to-top + .site-footer,
body .footer-back-to-top + .site-footer,
.footer-back-to-top + .site-footer {
  margin-top: 0 !important;
  border-top: none !important;
  background-color: #0e0f14 !important;
  outline: none !important;
}

#backToTopBtn.btn-back-to-top,
.footer-back-to-top .btn-back-to-top,
.btn-back-to-top {
  pointer-events: auto !important;
  width: 140px !important;
  height: 56px !important;
  overflow: hidden !important;
  border: none !important;
  color: #ffffff !important;
  background: none !important;
  background-color: transparent !important;
  position: relative !important;
  padding-bottom: 2em !important;
  cursor: pointer !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transform: none !important;
  margin: 0 auto !important;
  display: block !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  transition: color 0.25s ease !important;
  text-decoration: none !important;
}

#backToTopBtn.btn-back-to-top > div,
#backToTopBtn.btn-back-to-top > svg,
.footer-back-to-top .btn-back-to-top > div,
.footer-back-to-top .btn-back-to-top > svg {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  top: 0 !important;
  left: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

#backToTopBtn.btn-back-to-top > div,
.footer-back-to-top .btn-back-to-top > div {
  align-items: center !important;
}

#backToTopBtn.btn-back-to-top:before,
.footer-back-to-top .btn-back-to-top:before {
  content: "" !important;
  position: absolute !important;
  height: 2px !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  transform: scaleX(0) !important;
  transform-origin: bottom right !important;
  background: currentColor !important;
  transition: transform 0.25s ease-out !important;
}

#backToTopBtn.btn-back-to-top:hover:before,
.footer-back-to-top .btn-back-to-top:hover:before {
  transform: scaleX(1) !important;
  transform-origin: bottom left !important;
}

#backToTopBtn.btn-back-to-top .clone > *,
#backToTopBtn.btn-back-to-top .text > *,
.footer-back-to-top .btn-back-to-top .clone > *,
.footer-back-to-top .btn-back-to-top .text > * {
  opacity: 1 !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  transition: transform 0.2s, color 0.2s !important;
  margin-left: 4px !important;
  color: inherit !important;
  display: inline-block !important;
}

#backToTopBtn.btn-back-to-top .clone > *,
.footer-back-to-top .btn-back-to-top .clone > * {
  transform: translateY(60px) !important;
}

#backToTopBtn.btn-back-to-top:hover,
.footer-back-to-top .btn-back-to-top:hover {
  color: #ff1e1e !important; /* Turns red on cursor hover */
}

#backToTopBtn.btn-back-to-top:hover .clone > *,
.footer-back-to-top .btn-back-to-top:hover .clone > * {
  opacity: 1 !important;
  transform: translateY(0px) !important;
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s !important;
}

#backToTopBtn.btn-back-to-top:hover .text > *,
.footer-back-to-top .btn-back-to-top:hover .text > * {
  opacity: 1 !important;
  transform: translateY(-60px) !important;
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s !important;
}

#backToTopBtn.btn-back-to-top:hover .clone > :nth-child(1),
.footer-back-to-top .btn-back-to-top:hover .clone > :nth-child(1) {
  transition-delay: 0.15s !important;
}

#backToTopBtn.btn-back-to-top:hover .clone > :nth-child(2),
.footer-back-to-top .btn-back-to-top:hover .clone > :nth-child(2) {
  transition-delay: 0.2s !important;
}

#backToTopBtn.btn-back-to-top:hover .clone > :nth-child(3),
.footer-back-to-top .btn-back-to-top:hover .clone > :nth-child(3) {
  transition-delay: 0.25s !important;
}

#backToTopBtn.btn-back-to-top:hover .clone > :nth-child(4),
.footer-back-to-top .btn-back-to-top:hover .clone > :nth-child(4) {
  transition-delay: 0.3s !important;
}

/* icon style and hover */
#backToTopBtn.btn-back-to-top svg,
.footer-back-to-top .btn-back-to-top svg {
  width: 20px !important;
  height: 20px !important;
  right: 0 !important;
  left: auto !important;
  top: 50% !important;
  color: inherit !important;
  stroke: currentColor !important;
  transform: translateY(-50%) rotate(-50deg) !important;
  transition: transform 0.2s ease-out, color 0.2s ease-out !important;
  pointer-events: none !important;
}

#backToTopBtn.btn-back-to-top:hover svg,
.footer-back-to-top .btn-back-to-top:hover svg {
  transform: translateY(-50%) rotate(-90deg) !important;
  stroke: currentColor !important;
}

/* Backward compatibility wrapper override */
.back-to-top-wrapper {
  display: none !important;
}




/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 900px) {
  .shop-container {
    flex-direction: column;
  }

  .shop-sidebar {
    width: 100%;
    position: static;
  }

  .location-container {
    flex-direction: column;
  }

  .map-container {
    min-height: 300px;
  }

  .loc-actions {
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 15px 5%;
  }

  .search-container {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }

  .search-container input {
    width: 100% !important;
  }

  .account-grid {
    flex-direction: column;
  }

  .vertical-divider {
    display: none;
  }

  .input-row {
    flex-direction: column;
    gap: 0;
  }

  .profile-container {
    flex-direction: column;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .profile-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #222;
    padding: 15px 0;
  }

  .profile-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .profile-nav li {
    padding: 10px 15px;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }

  .profile-nav li.active {
    border-left: none;
    border-bottom: 3px solid #ff0000;
  }

  .profile-content {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .newsletter-form input {
    width: 100%;
  }
}

/* =========================================
   FULL PAGE LOADING SCREEN (LOGIN)
   ========================================= */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #050505;
  /* Matches the dark site background. */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loading-overlay.active {
  visibility: visible;
  opacity: 1;
}

.loading-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.loading-bar-container {
  width: 200px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0%;
  background-color: #ff0000;
  /* Motolectron Red */
  border-radius: 2px;
}

.loading-bar.animate {
  animation: fillLoadingBar 1.5s ease-in-out forwards;
}

@keyframes fillLoadingBar {
  0% {
    width: 0%;
  }

  40% {
    width: 50%;
  }

  80% {
    width: 90%;
  }

  100% {
    width: 100%;
  }
}

/* --- FIX PARA PUMANTAY ANG PROFILE DROPDOWN MENU --- */

.profile-dropdown-link {
  display: flex !important;
  /* Pinipilit na maging horizontal row */
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 15px !important;
  text-decoration: none !important;
}

.dropdown-link-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  /* Spacing sa pagitan ng icon at text */
}

/* Keeps icons at a consistent size. */
.dropdown-link-left svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* Aligns text with the icon. */
.dropdown-link-left span {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* Piliting itulak sa pinaka-kanan ang mga numbers */
.dropdown-badge-text {
  font-size: 0.85rem !important;
  color: #777 !important;
  margin-left: auto !important;
  line-height: 1 !important;
}

/* =========================================
   FIX PARA SA SUMABOG NA NAVBAR DROPDOWNS
   ========================================= */

.user-menu-container,
.notification-container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

/* 1. Ibalik ang lutang (absolute) at pagtago (none) */
.profile-dropdown {
  display: none !important;
  /* Itago by default */
  position: absolute !important;
  /* Palutangin sa ibabaw ng website */
  top: 120% !important;
  /* Pwesto sa ilalim ng icon */
  right: 0 !important;
  background-color: #111 !important;
  /* Dark background */
  border: 1px solid #333 !important;
  border-radius: 8px !important;
  min-width: 250px !important;
  padding: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  z-index: 999999 !important;
  /* Pinakamataas na layer */
}

/* 2. Palabasin lang kapag kinlick (may .show) */
.profile-dropdown.show {
  display: block !important;
}

/* 3. Ayusin ang itsura ng mga links sa loob */
.profile-dropdown-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 15px !important;
  color: #ccc !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.profile-dropdown-link:hover {
  background-color: #1a1a1a !important;
  color: #fff !important;
}

.dropdown-link-left {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}

.dropdown-link-left svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #888 !important;
}

.profile-dropdown-link:hover .dropdown-link-left svg {
  stroke: #ff0000 !important;
  /* Pula pag hinover */
}

/* Keeps the notification list within the screen. */
.notif-list {
  max-height: 250px !important;
  overflow-y: auto !important;
}

/* =========================================
   CUSTOM ALERT DIALOG (LOGIN REQUIRED)
   ========================================= */
.custom-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999999;
  /* Pinakamataas sa lahat */
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.custom-dialog-overlay.show {
  visibility: visible;
  opacity: 1;
}

.custom-dialog-box {
  background-color: #111;
  border: 1px solid #333;
  padding: 30px;
  border-radius: 8px;
  width: 350px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  transform: translateY(-20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-dialog-overlay.show .custom-dialog-box {
  transform: translateY(0) scale(1);
}

.custom-dialog-box h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.custom-dialog-box p {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.custom-dialog-actions {
  display: flex;
  gap: 15px;
}

.btn-cancel,
.btn-confirm {
  flex: 1;
  padding: 12px 15px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.95rem;
}

.btn-cancel {
  background: transparent;
  color: #fff;
  border: 1px solid #444;
}

.btn-cancel:hover {
  background: #222;
  border-color: #666;
}

.btn-confirm {
  background: #ff0000;
  color: #fff;
  border: none;
}

.btn-confirm:hover {
  background: #cc0000;
}

.loading-overlay {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.loading-overlay.active {
  visibility: visible;
  opacity: 1;
}

.loading-logo {
  width: 100% !important;
  max-width: 1000px !important;
  height: auto !important;
  margin-bottom: 15px !important;
  pointer-events: none;
  display: block !important;
}

.loading-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.loading-bar-container {
  width: 200px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0%;
  background-color: #ff0000;
  border-radius: 2px;
}

.loading-bar.animate {
  animation: fillLoadingBar 7s ease-in-out forwards;
}

@keyframes fillLoadingBar {
  0% {
    width: 0%;
  }

  40% {
    width: 50%;
  }

  80% {
    width: 90%;
  }

  100% {
    width: 100%;
  }
}

/* --- Ultra-Clean Navbar Fix --- */
@media (min-width: 769px) {
  .navbar {
    width: 100% !important;
    height: auto !important;
    min-height: 85px !important;
    background: #0a0a0a !important;
    border-bottom: 1px solid #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 32px 25px 32px !important;
    margin: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
  }

  .nav-content-wrapper {
    width: 100% !important;
    max-width: 1400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin: 0 auto !important;
    height: auto !important;
  }

  /* Left Section (Logo) */
  .logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    margin-right: 140px !important;
  }

  .logo-link:hover {
    opacity: 0.8 !important;
  }

  /* Logo-wrapper: 0 margin, 110px height */
  .logo-wrapper {
    width: auto !important;
    height: 110px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow: visible !important;
    margin: 0 !important;
  }

  /* Main Logo Image: 110px height, scale(2.4) zoom scale */
  .main-logo-img {
    width: auto !important;
    height: 110px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transform: scale(2.4) !important;
    transform-origin: left center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  /* Middle Section (Search Bar) */
  .search-container {
    margin: 0 !important;
    flex: 0 0 616.55px !important;
    width: 616.55px !important;
    max-width: 650px !important;
    height: 52px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .search-container .form {
    width: 100% !important;
    height: 52px !important;
    background: #e9ecef !important;
    border-radius: 30px !important;
    border: 1px solid #ced4da !important;
    padding-inline: 18px !important;
    box-sizing: border-box !important;
  }

  .search-container .input {
    color: #212529 !important;
    font-size: 1rem !important;
  }

  /* Right Section (Cart & Account) */
  .nav-right-section {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .nav-links {
    margin: 0 !important;
    flex: 0 0 204px !important;
    width: 204px !important;
    height: 51px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
}

/* =========================================
   FLOATING LABEL INPUTS (Modern Style)
   ========================================= */
/* --- FLOATING LABEL ANIMATION (USER) --- */
.floating-group {
  position: relative;
  margin-bottom: 25px;
  width: 100%;
  text-align: left;
}

.floating-input {
  width: 100%;
  padding: 16px 20px;
  background-color: transparent;
  border: 1px solid #555;
  border-radius: 25px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.floating-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #111;
  color: #aaa;
  font-size: 1rem;
  padding: 0 5px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-input:focus,
.floating-input:not(:placeholder-shown) {
  border-color: #ff0000;
}

.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label {
  top: 0;
  font-size: 0.8rem;
  color: #ff0000;
  font-weight: bold;
}

.floating-input:not(:placeholder-shown)~.floating-label {
  top: 0;
  font-size: 0.8rem;
  color: #ff0000;
  font-weight: bold;
}

/* CATEGORY SHOWCASE */
#categoryShowcase {
  margin-top: 60px;
  margin-bottom: 40px;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.category-card {
  background: #111;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid #222;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}

.category-card:hover {
  transform: translateY(-8px);
  background: #1a1a1a;
  border-color: #d12027;
  box-shadow: 0 15px 30px rgba(209, 32, 39, 0.15);
}

.cat-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.category-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.category-card p {
  color: #888;
  font-size: 0.95rem;
  margin: 0;
}



/* =========================================
   LOGIN UI FORM (Uiverse Dark Mode)
   ========================================= */
.login-ui-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: transparent;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.login-ui-form ::placeholder {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #888;
}

.login-ui-form .flex-column>label {
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
  font-size: 0.95rem;
}

.login-ui-form .inputForm {
  border: 1.5px solid #333;
  border-radius: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  transition: 0.2s ease-in-out;
  background-color: #1a1a1a;
}

.login-ui-form .inputForm svg {
  fill: #888;
  transition: fill 0.3s;
}

.login-ui-form .inputForm:focus-within svg {
  fill: #ff0000;
}

.login-ui-form .input {
  margin-left: 10px;
  border-radius: 10px;
  border: none;
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: #fff;
  font-size: 1rem;
}

.login-ui-form .input:focus {
  outline: none;
}

.login-ui-form .inputForm:focus-within {
  border: 1.5px solid #ff0000;
}

.login-ui-form .flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-top: 10px;
}

.login-ui-form .flex-row>div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-ui-form .flex-row>div>label {
  font-size: 14px;
  color: #ccc;
  font-weight: 400;
}

.login-ui-form .span {
  font-size: 14px;
  margin-left: 5px;
  color: #ff0000;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.login-ui-form .span:hover {
  text-decoration: underline;
}

.login-ui-form .button-submit {
  margin: 20px 0 10px 0;
  background-color: #ff0000;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.login-ui-form .button-submit:hover {
  background-color: #cc0000;
}

.login-ui-form .p {
  text-align: center;
  color: #888;
  font-size: 14px;
  margin: 5px 0;
}

.login-ui-form .p.line {
  position: relative;
  margin: 20px 0;
}

.login-ui-form .p.line::before,
.login-ui-form .p.line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background-color: #333;
}

.login-ui-form .p.line::before {
  left: 0;
}

.login-ui-form .p.line::after {
  right: 0;
}

.login-ui-form .btn {
  margin-top: 10px;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #333;
  background-color: #1a1a1a;
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  font-size: 1rem;
}

.login-ui-form .btn:hover {
  border: 1px solid #ff0000;
}


/* =========================================
   USER PROFILE LOGIN BUTTON (Uiverse Dark Theme)
   ========================================= */
.user-profile {
  width: 131px;
  height: 51px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s ease;
  background: linear-gradient(to bottom right,
      #ff0000 0%,
      rgba(255, 0, 0, 0) 30%);
  background-color: rgba(255, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-profile:hover,
.user-profile:focus {
  background-color: rgba(255, 0, 0, 0.7);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  outline: none;
}

.user-profile-inner {
  width: 127px;
  height: 47px;
  border-radius: 13px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #fff;
  font-weight: 600;
}

.user-profile-inner svg {
  width: 27px;
  height: 27px;
  fill: #fff;
}


/* =========================================
   DYNAMIC BUTTON ACTIVE STATE
   ========================================= */
.login-ui-form:invalid .button-submit {
  opacity: 0.3;
  pointer-events: none;
  background-color: #333;
  color: #888;
}

.login-ui-form:valid .button-submit {
  opacity: 1;
  pointer-events: auto;
  background-color: #ff0000;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  animation: btn-pulse 1.5s infinite;
}

@keyframes btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}


/* Keep input forms highlighted when they have text */
.login-ui-form .inputForm:has(.input:not(:placeholder-shown)) {
  border: 1.5px solid #ff0000;
}

.login-ui-form .inputForm:has(.input:not(:placeholder-shown)) svg {
  fill: #ff0000;
}

/* Also ensure the stroke icons (like the eye) inherit correctly if needed */
.login-ui-form .inputForm:has(.input:not(:placeholder-shown)) .reveal-btn svg {
  color: #ff0000;
}


/* =========================================
   ANIMATED CTA BUTTON (UIVERSE)
   ========================================= */
.cta {
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
}

.cta span {
  padding-bottom: 7px;
  letter-spacing: 4px;
  font-size: 14px;
  padding-right: 15px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cta:hover span {
  color: #ff0000;
}

.cta svg {
  transform: translateX(-8px);
  transition: all 0.3s ease;
  fill: #fff;
}

.cta:hover svg {
  transform: translateX(0);
  fill: #ff0000;
}

.cta:active svg {
  transform: scale(0.9);
}

.hover-underline-animation {
  position: relative;
  padding-bottom: 5px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff0000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}






/* =========================================
   ANIMATED PRODUCT CARD OVERRIDE
   ========================================= */
.product-card {
  background: #171717 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.5) !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  padding: 0 !important;
  /* Important for the border animation to work */
  border: none !important;
}

.product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2) !important;
}

.product-card .content {
  border-radius: 7px;
  background: #111;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  z-index: 1;
  position: relative;
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
}

.product-card .content::before {
  opacity: 0;
  transition: opacity 300ms;
  content: " ";
  display: block;
  background: white;
  width: 5px;
  height: 50px;
  position: absolute;
  filter: blur(50px);
  overflow: hidden;
}

.product-card:hover .content::before {
  opacity: 1;
}

.product-card::before {
  opacity: 0;
  content: " ";
  position: absolute;
  display: block;
  width: 150px;
  height: 800px;
  background: linear-gradient(#ff0000, #ff4c4c);
  /* Motolectron Red theme */
  transition: opacity 300ms;
  animation: rotation_9018 8000ms infinite linear;
  animation-play-state: paused;
}

.product-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

.product-card::after {
  position: absolute;
  content: " ";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(23, 23, 23, 0.1);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  z-index: 0;
}

@keyframes rotation_9018 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Fix for product card content visibility */
.product-card .content {
  position: relative !important;
  z-index: 10 !important;
  width: calc(100% - 4px) !important;
  height: calc(100% - 4px) !important;
  display: flex !important;
  flex-direction: column !important;
  background: #111 !important;
  border-radius: 6px !important;
  padding: 15px !important;
  transform: translateZ(0);
  /* Force hardware acceleration */
}

.product-img-container {
  flex-shrink: 0;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card::after {
  z-index: 1 !important;
}

.product-card::before {
  z-index: 0 !important;
}


/* Absolute fix for the glowing card issue */
.product-card {
  background: #171717 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

.product-card::before {
  content: " ";
  position: absolute;
  display: block;
  width: 150%;
  height: 150%;
  background: linear-gradient(#ff0000, #ff4c4c);
  animation: rotation_9018 8000ms infinite linear;
  animation-play-state: paused;
  z-index: 0 !important;
  /* Send to back */
}

.product-card:hover::before {
  animation-play-state: running;
}

.product-card::after {
  content: " ";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(23, 23, 23, 0.5);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  z-index: 1 !important;
  /* Blur layer above the rotating gradient */
}

.product-card .content {
  position: relative !important;
  z-index: 2 !important;
  /* Content absolutely on top of blur layer */
  background: #111 !important;
  width: calc(100% - 4px) !important;
  height: calc(100% - 4px) !important;
  border-radius: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 15px !important;
  /* Ensure flex children dont overflow */
  box-sizing: border-box !important;
}

.product-img-container {
  height: 200px !important;
  flex-shrink: 0 !important;
  background: #222 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
}

.product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.product-card h3 {
  color: #fff !important;
  font-size: 1.1rem !important;
  margin: 10px 0 5px 0 !important;
  z-index: 5 !important;
}

.product-card p {
  color: #aaa !important;
  margin: 0 !important;
  z-index: 5 !important;
}


/* ULTIMATE FIX FOR GLOWING CARDS (Bypass WebKit Blur Bug) */

.product-card {
  background: #111 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
  z-index: 1;
  /* Establish stacking context for card */
}

/* The rotating glowing gradient */
.product-card::before {
  content: " " !important;
  position: absolute !important;
  display: block !important;
  width: 150% !important;
  height: 150% !important;
  background: linear-gradient(#ff0000, #ff4c4c, transparent, transparent) !important;
  animation: rotation_9018 4000ms infinite linear !important;
  animation-play-state: paused !important;
  z-index: -2 !important;
  /* Put at the very bottom */
  filter: blur(30px) !important;
  /* DIRECT BLUR, no backdrop-filter needed! */
}

.product-card:hover::before {
  animation-play-state: running !important;
}

/* Disable the buggy after element */
.product-card::after {
  display: none !important;
}

/* The actual content box */
.product-card .content {
  position: relative !important;
  z-index: 10 !important;
  /* Definitely on top */
  background: #111 !important;
  width: calc(100% - 4px) !important;
  height: calc(100% - 4px) !important;
  border-radius: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 15px !important;
  box-sizing: border-box !important;
  /* Make sure background is solid so it covers the middle of the blur */
}

.product-img-container {
  height: 200px !important;
  flex-shrink: 0 !important;
  background: #222 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
}

.product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


.product-card {
  flex-direction: column !important;
  /* Force column layout to prevent row wrapping if .content is missing */
}

.product-img-container {
  width: 100% !important;
  /* Force full width so it doesnt shrink */
}


.product-card .content {
  align-items: center !important;
  /* Center items horizontally */
  text-align: center !important;
}

.product-card h3 {
  text-align: center !important;
  width: 100% !important;
}

.product-card p {
  text-align: center !important;
  width: 100% !important;
}


/* Shop Sale Button - From Uiverse.io by AqFox */
.shop-sale-btn {
  --c: #fff;
  background: linear-gradient(90deg, #0000 33%, #fff5, #0000 67%) var(--_p, 100%)/300% no-repeat,
    #ff0000;
  color: #0000 !important;
  border: none;
  transform: perspective(500px) rotateY(calc(20deg*var(--_i, -1)));
  text-shadow: calc(var(--_i, -1)* 0.08em) -.01em 0 var(--c),
    calc(var(--_i, -1)*-0.08em) .01em 2px #0004 !important;
  outline-offset: .1em;
  transition: 0.3s;
  font-family: system-ui, sans-serif;
  font-weight: bold;
  font-size: 2rem;
  margin: 0;
  cursor: pointer;
  padding: .1em .3em;
}

.shop-sale-btn:hover,
.shop-sale-btn:focus-visible {
  --_p: 0%;
  --_i: 1;
}

.shop-sale-btn:active {
  text-shadow: none !important;
  color: var(--c) !important;
  box-shadow: inset 0 0 9e9q #0005;
  transition: 0s;
}


/* Fix login/signup form color to be pure gray without black */
.account-box {
  background-color: #1a1a1a !important;
  /* Solid gray */
  border: 1px solid #333 !important;
}

.login-ui-form .inputForm,
.login-ui-form .btn {
  background-color: #252525 !important;
  /* Lighter gray for inputs */
  border: 1px solid #3a3a3a !important;
}

.login-ui-form .inputForm:focus-within {
  border: 1.5px solid #ff0000 !important;
}

.login-ui-form .btn:hover {
  border: 1px solid #ff0000 !important;
}


/* Full-screen Gray Background for Login and Signup to remove black borders */
.account-section {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 60px 20px !important;
  min-height: calc(100vh - 80px) !important;
  background-color: #1a1a1a !important;
  /* Solid Dark Gray */
  border: none !important;
}

.account-box {
  background-color: transparent !important;
  /* Blend with section */
  border: none !important;
  box-shadow: none !important;
}

.login-ui-form .inputForm,
.login-ui-form .btn {
  background-color: #252525 !important;
  border: 1px solid #3a3a3a !important;
}


/* User requested black background for auth pages */
.account-section {
  background-color: #000000 !important;
  /* Pure Black */
}


/* Fix footer background to match low contrast dark theme */
.site-footer {
  background-color: #0e0f14 !important;
  border-top: 1px solid #303136 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}


/* Fix Chrome autofill styling for dark mode */
.login-ui-form .input:-webkit-autofill,
.login-ui-form .input:-webkit-autofill:hover,
.login-ui-form .input:-webkit-autofill:focus,
.login-ui-form .input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #252525 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}


/* Avatar style for authBtn when logged in */
.user-profile.logged-in-avatar {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  background: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
  border: 2px solid transparent !important;
  transition: all 0.3s ease !important;
}

.user-profile.logged-in-avatar:hover {
  border-color: #ff0000 !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6) !important;
}


/* Add spacing to the right of the avatar to prevent it from touching the edge */
.user-menu-container {
  margin-right: 20px !important;
}


/* Tailwind-Style Modal Form */
.tailwind-style-form {
  background-color: #1a1a1a !important;
  border: 1px solid #333 !important;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  font-family: Inter, sans-serif;
}

.tailwind-style-form .form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 20px;
}

.tailwind-style-form .form-header h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.tailwind-style-form .pt-4 {
  padding-top: 24px;
}

.tailwind-style-form .form-group {
  margin-bottom: 16px;
}

.tailwind-style-form .form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.tailwind-style-form .form-group input {
  background-color: #252525;
  border: 1px solid #3a3a3a;
  color: #fff;
  font-size: 0.875rem;
  border-radius: 8px;
  display: block;
  width: 100%;
  padding: 10px 12px;
  transition: 0.2s;
}

.tailwind-style-form .form-group input::placeholder {
  color: #888;
}

.tailwind-style-form .form-group input:focus {
  outline: none;
  border-color: #ff0000;
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.2);
}

.tailwind-style-form .form-options {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 24px 0;
}

.tailwind-style-form .checkbox-container {
  display: flex;
  align-items: center;
}

.tailwind-style-form .checkbox-container input {
  width: 16px;
  height: 16px;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  background-color: #252525;
  accent-color: #ff0000;
}

.tailwind-style-form .checkbox-container label {
  margin-left: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.tailwind-style-form .lost-pass {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ff0000;
  text-decoration: none;
}

.tailwind-style-form .lost-pass:hover {
  text-decoration: underline;
}

.tailwind-style-form .submit-btn {
  color: #fff;
  background-color: #ff0000;
  border: 1px solid transparent;
  font-weight: 500;
  border-radius: 8px;
  font-size: 0.875rem;
  padding: 10px 16px;
  width: 100%;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 12px;
}

.tailwind-style-form .submit-btn:hover {
  background-color: #cc0000;
}

.tailwind-style-form .submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.3);
}

.tailwind-style-form .form-footer {
  font-size: 0.875rem;
  font-weight: 500;
  color: #888;
}

.tailwind-style-form .form-footer a {
  color: #ff0000;
  text-decoration: none;
}

.tailwind-style-form .form-footer a:hover {
  text-decoration: underline;
}

/* Chrome autofill fix for Tailwind style */
.tailwind-style-form .form-group input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #252525 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}


/* Auth Modal Overlay & Specifics */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
}

.auth-modal-overlay.show {
  display: flex !important;
}

.auth-modal {
  width: 100%;
  max-width: 450px;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;

}

@keyframes modalPop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.close-modal-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal-btn:hover {
  color: #fff;
}


/* Social Logins */
.tailwind-style-form .social-divider {
  text-align: center;
  color: #888;
  font-size: 0.875rem;
  margin: 15px 0;
  position: relative;
}

.tailwind-style-form .social-divider::before,
.tailwind-style-form .social-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background-color: #333;
}

.tailwind-style-form .social-divider::before {
  left: 0;
}

.tailwind-style-form .social-divider::after {
  right: 0;
}

.tailwind-style-form .social-logins {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tailwind-style-form .btn-social {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #252525;
  border: 1px solid #333;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.tailwind-style-form .btn-social:hover {
  background-color: #333;
  border-color: #555;
}

.tailwind-style-form .btn-social svg {
  width: 20px;
  height: 20px;
}


/* Light Modal Form (Uiverse) */
.light-modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #ffffff;
  padding: 30px;
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  position: relative;
}

.light-modal-form ::placeholder {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.light-modal-form .close-modal-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  z-index: 10;
}

.light-modal-form button {
  align-self: flex-end;
}

.light-modal-form .flex-column>label {
  color: #151717;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.light-modal-form .inputForm {
  border: 1.5px solid #ecedec;
  border-radius: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  transition: 0.2s ease-in-out;
  background-color: #fff;
}

.light-modal-form .input {
  margin-left: 10px;
  border-radius: 10px;
  border: none;
  width: 85%;
  height: 100%;
  color: #000;
  background-color: transparent;
}

.light-modal-form .input:focus {
  outline: none;
}

.light-modal-form .inputForm:focus-within {
  border: 1.5px solid #2d79f3;
}

.light-modal-form .flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-top: 5px;
}

.light-modal-form .flex-row>div>label {
  font-size: 14px;
  color: black;
  font-weight: 400;
}

.light-modal-form .span {
  font-size: 14px;
  margin-left: 5px;
  color: #2d79f3;
  font-weight: 500;
  cursor: pointer;
}

.light-modal-form .button-submit {
  margin: 20px 0 10px 0;
  background-color: #151717;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  cursor: pointer;
}

.light-modal-form .button-submit:hover {
  background-color: #252727;
}

.light-modal-form .p {
  text-align: center;
  color: black;
  font-size: 14px;
  margin: 5px 0;
}

.light-modal-form .btn {
  margin-top: 10px;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #ededef;
  background-color: white;
  color: #000;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.light-modal-form .btn:hover {
  border: 1px solid #2d79f3;
}


/* Chrome autofill fix for dark mode */
.uiverse-form .input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #252525 inset !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* Increase size of Uiverse Form */
.uiverse-form {
  width: 100% !important;
  max-width: 500px !important;
  padding: 40px !important;
}

.uiverse-form .form-header h3 {
  font-size: 1.75rem !important;
}

.uiverse-form .inputForm {
  height: 55px !important;
}

.uiverse-form .input {
  font-size: 1rem !important;
}

.uiverse-form .flex-column>label {
  font-size: 0.95rem !important;
}

.uiverse-form .button-submit {
  height: 55px !important;
  font-size: 1.1rem !important;
}

.uiverse-form .btn {
  height: 55px !important;
  font-size: 1rem !important;
}

.uiverse-form .flex-row>div>label,
.uiverse-form .span,
.uiverse-form .p {
  font-size: 0.95rem !important;
}

/* Fix Modal Form Visibility and Animation */
.auth-modal .account-box {
  background-color: #1a1a1a !important;
  /* Solid dark background for modal */
  border: 1px solid #333 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  padding: 40px !important;
  border-radius: 12px !important;
}

.auth-modal-overlay.show .auth-modal {
  animation: modalPop 0.3s ease-out forwards !important;
  transform-origin: center center !important;
}

@keyframes modalPopUpEffect {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* Increase Modal Width */
.auth-modal {
  max-width: 550px !important;
}


/* Fix Modal Scrolling and Fit */
.auth-modal {
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.auth-modal::-webkit-scrollbar {
  width: 8px;
}

.auth-modal::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.auth-modal::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.auth-modal::-webkit-scrollbar-thumb:hover {
  background: #777;
}

/* Enhanced Focus State */
.login-ui-form .inputForm:focus-within {
  border: 1px solid #ff0000 !important;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.8) !important;
  background-color: #252525 !important;
}

.login-ui-form .inputForm:focus-within svg {
  fill: #ff0000 !important;
  color: #ff0000 !important;
}

.login-ui-form .inputForm:focus-within svg {
  fill: #ff0000 !important;
  color: #ff0000 !important;
}

.login-ui-form .inputForm:focus-within svg {
  fill: #ff0000 !important;
  stroke: #ff0000 !important;
}

/* Animated Category Navbar - Sliding Neon Outline */
.category-links {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5em;
  background: rgba(16, 16, 16, 0.4);
  width: max-content;
  margin: 0 auto;
}

.category-links>a,
.category-links>.nav-item-dropdown {
  padding: 0.5em 1.5em;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  z-index: 2;
  border-radius: 10px;
}

.category-links>a:hover,
.category-links>.nav-item-dropdown:hover,
.category-links>a.active,
.category-links>.nav-item-dropdown.active {
  color: #fff;
}

/* Invisible bridge to prevent hover loss when moving mouse to mega menu */


.nav-item-dropdown:hover .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega-column {
  min-width: 180px;
  display: flex;
  flex-direction: column;
}

.mega-column h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-column a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  display: block;
  padding: 6px 0;
  white-space: nowrap;
  transition:
    color 0.2s,
    transform 0.2s;
  line-height: 1.4;
}

.mega-column a:hover {
  color: #ff0000;
  transform: translateX(3px);
}

/* =========================================
   HELMETS MEGA MENU CUSTOM GRID
   ========================================= */
.mega-menu-helmets {
  padding: 0 !important;
  /* Remove default padding, use content padding */
}

.mega-menu-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
  padding: 30px 5%;
}

.mega-brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.view-all-link {
  margin-top: auto;
  /* Pushes the link to the bottom of the flex column */
  padding-top: 15px;
  /* Adds consistent spacing above */
  color: #ff0000 !important;
  font-weight: 700;
  font-size: 0.8rem !important;
  display: inline-block;
  transition: none !important;
  /* Remove any inherited transitions */
}

.view-all-link:hover {
  text-decoration: underline;
  transform: none !important;
  /* Disable slide animation */
}

/* Featured Promo Card */
.mega-featured-promo {
  border-left: 1px solid #333;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-card {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #222;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.15);
  border-color: #333;
}

.promo-img-container {
  height: 180px;
  overflow: hidden;
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.promo-card:hover .promo-img {
  transform: scale(1.05);
}

.promo-info {
  padding: 20px;
}

.promo-info h5 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.promo-info p {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.btn-promo-shop {
  display: inline-block;
  background-color: #ff0000;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.85rem !important;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-promo-shop:hover {
  background-color: #cc0000;
  transform: none !important;
}

/* =========================================
   HERO SLIDER SECTION
   ========================================= */
.hero-slider {
  position: relative;
  height: 60vh;
  width: 100%;
  overflow: hidden;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide .hero-content {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 60px 80px;
  border-radius: 24px;
  border: none;
  box-shadow: none;
  display: inline-block;
}

.slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #a0a0a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
  font-size: 1.25rem;
  color: #ddd;
  margin-bottom: 30px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  border-radius: 5px;
}

.slider-btn:hover {
  background: #ff0000;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

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

.dot.active {
  background: #ff0000;
  transform: scale(1.3);
}

.btn-primary {
  background-color: #ff0000;
  color: white;
  padding: 15px 40px;
  border: none;
  font-weight: 900;
  cursor: pointer;
  margin-top: 20px;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #cc0000;
}

/* =========================================
   PRODUCTS GRID (HOMEPAGE & SHOP)
   ========================================= */
.container {
  padding: 50px 5%;
}

.section-title {
  margin-bottom: 30px;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: #111;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(209, 32, 39, 0.25);
  border-color: #333;
}

.product-img-container {
  height: 200px;
  background: #222;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 15px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease-out;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-card h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 15px 0 5px 0;
  text-align: left;
}

.product-card p {
  color: #aaa;
  font-size: 1rem;
  margin: 0;
  text-align: left;
}

/* Product Card Stock Badge */
.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.stock-green {
  background-color: #28a745;
}

.stock-orange {
  background-color: #fd7e14;
}

.stock-red {
  background-color: #dc3545;
}

/* Add to Cart Button Hover */
.add-to-cart-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ff0000;
  color: #fff;
  border: none;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-in-out;
  z-index: 5;
}

.product-card:hover .add-to-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.add-to-cart-btn:hover {
  background-color: #cc0000;
}

/* =========================================
   SHOP PAGE SPECIFIC LAYOUT
   ========================================= */
.shop-container {
  display: flex;
  gap: 30px;
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.shop-sidebar {
  width: 260px;
  flex-shrink: 0;
  background-color: #111;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #222;
  position: sticky;
  top: 100px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.sidebar-header h3 {
  color: #fff;
  font-size: 1.1rem;
}

.clear-btn {
  background: transparent;
  border: none;
  color: #ff0000;
  font-size: 0.8rem;
  cursor: pointer;
}

.clear-btn:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group h4 {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s;
}

.filter-group label:hover {
  color: #fff;
}

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.size-btn:hover,
.size-btn.active {
  background: #ff0000;
  color: #fff;
  border-color: #ff0000;
}

.brand-cb:checked+.brand-text {
  color: #ff0000;
  font-weight: bold;
}

.price-inputs {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.price-field {
  width: 100%;
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: #222;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 5px;
}

.price-field span {
  flex: 0 0 auto;
  font-size: 0.8rem;
  color: #aaa;
  margin-right: 5px;
  white-space: nowrap;
}

.price-field input {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
}

.price-separator {
  color: #aaa;
  font-size: 0.9rem;
}

/* Dynamic Filter Transitions */
.filter-transition {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-bottom 0.4s ease;
  margin-bottom: 0;
}

.filter-transition.show {
  max-height: 300px;
  opacity: 1;
  margin-bottom: 25px;
}

.shop-content {
  flex-grow: 1;
}

.shop-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background-color: #111;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid #222;
}

.sort-dropdown {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  padding: 8px 15px;
  border-radius: 4px;
  outline: none;
}

.sort-dropdown:focus {
  border-color: #ff0000;
}

/* =========================================
   LOCATION SECTION
   ========================================= */
#locationSection {
  margin-bottom: 60px;
}

.custom-map-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid #222;
  margin-bottom: 60px;
  background-color: #111;
}

.dark-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(85%);
}

.map-floating-overlay {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-route-floating {
  background-color: #ff0000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-route-floating:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
}

/* =========================================
   ACCOUNT / LOGIN SECTION
   ========================================= */
.account-section {
  padding: 40px 5%;
  margin-bottom: 60px;
  background-color: #0a0a0a;
  border-top: 1px solid #222;
}

.account-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.account-box {
  flex: 1;
  background: #111;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #333;
}

.account-box h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: #fff;
}

.vertical-divider {
  width: 1px;
  background-color: #333;
  min-height: 400px;
  margin-top: 20px;
}

.input-group-rounded {
  margin-bottom: 20px;
  text-align: left;
}

.input-group-rounded label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #ccc;
  font-weight: bold;
}

.input-group-rounded input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 25px;
  border: 1px solid #555;
  background-color: transparent;
  color: white;
  font-size: 1rem;
}

.input-group-rounded input:focus {
  outline: none;
  border-color: #ff0000;
}

.input-row {
  display: flex;
  gap: 15px;
}

.input-row .input-group-rounded {
  flex: 1;
}

.forgot-link {
  display: block;
  text-align: right;
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  margin-top: -10px;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.forgot-link:hover {
  color: #ff0000;
}

.btn-rounded-primary {
  width: 100%;
  background-color: #d12027;
  color: white;
  padding: 15px;
  border: none;
  font-weight: 900;
  cursor: pointer;
  border-radius: 25px;
  transition: 0.3s;
  font-size: 1rem;
}

.btn-rounded-primary:hover {
  background-color: #a3171d;
}

.terms-text {
  text-align: center;
  font-size: 0.75rem;
  color: #777;
  margin-top: 15px;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #666;
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #333;
}

.divider span {
  padding: 0 10px;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.2s;
  border: none;
}

.btn-social:hover {
  transform: translateY(-2px);
}

.btn-google {
  background-color: #ffffff;
  color: #000000;
}

.btn-google:hover {
  background-color: #f1f1f1;
}

.btn-facebook {
  background-color: #1877f2;
  color: #ffffff;
}

.btn-facebook:hover {
  background-color: #166fe5;
}

/* =========================================
   MY PROFILE MODAL
   ========================================= */
.profile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.profile-overlay.show {
  visibility: visible;
  opacity: 1;
}

.profile-container {
  background-color: #111;
  width: 900px;
  max-width: 95%;
  height: 600px;
  max-height: 90vh;
  border-radius: 8px;
  border: 1px solid #333;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 0, 0, 0.1);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.profile-overlay.show .profile-container {
  transform: scale(1);
}

.close-profile-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  color: #888;
  font-size: 30px;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.close-profile-btn:hover {
  color: #ff0000;
}

.profile-sidebar {
  width: 250px;
  background-color: #0a0a0a;
  border-right: 1px solid #222;
  padding: 40px 0;
}

.profile-sidebar h3 {
  color: #555;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 30px;
  margin-bottom: 15px;
}

.profile-nav {
  list-style: none;
}

.profile-nav li {
  padding: 15px 30px;
  color: #ccc;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.profile-nav li:hover {
  background-color: #1a1a1a;
  color: #fff;
}

.profile-nav li.active {
  background-color: #1a1a1a;
  color: #ff0000;
  border-left: 3px solid #ff0000;
}

.profile-content {
  flex: 1;
  padding: 40px 50px;
  overflow-y: auto;
  background-color: #111;
}

.profile-tab {
  display: none;
  animation: siteFadeIn 0.4s ease;
}

.profile-tab.active {
  display: block;
}

.prof-input {
  width: 100%;
  padding: 12px 15px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: white;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.prof-input:focus {
  border-color: #ff0000;
  outline: none;
}

.order-history-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.history-card {
  background-color: #1a1a1a;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.3s;
}

.history-card:hover {
  border-color: #444;
}

.history-info h4 {
  color: #ff0000;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.history-info p {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 3px;
}

.history-status {
  text-align: right;
}

.history-status .amount {
  display: block;
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}

/* =========================================
   CART SIDEBAR
   ========================================= */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100vh;
  background-color: #111;
  z-index: 100000;
  transition: right 0.3s ease-in-out;
  padding: 20px;
  border-left: 2px solid #ff0000;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 15px;
}

#closeCartBtn {
  background: transparent;
  color: #fff;
  font-size: 28px;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

#closeCartBtn:hover {
  color: #ff0000;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  margin-top: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
}

.cart-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.cart-item-info p {
  font-size: 0.8rem;
  color: #aaa;
}

.cart-item-remove {
  color: #ff0000;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: bold;
}

.cart-footer {
  border-top: 1px solid #333;
  padding-top: 20px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 70px 5% 40px;
  margin-top: 50px;
  border-top: 1px solid #222;
  text-align: left;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 900;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #aaa;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #ff0000;
}

.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.social-icons svg {
  cursor: pointer;
  transition:
    transform 0.3s,
    color 0.3s;
  color: #fff;
}

.social-icons svg:hover {
  transform: translateY(-4px);
  color: #ff0000;
}

.newsletter-form {
  display: flex;
  background: #111;
  border-radius: 4px;
  border: 1px solid #222;
  overflow: hidden;
  margin-top: 20px;
  height: 45px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 0 15px;
  font-size: 0.9rem;
  outline: none;
  background: transparent;
  color: #fff;
}

.newsletter-form button {
  background: #ff0000;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #cc0000;
}

.payment-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.pay-logo {
  background: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  width: 75px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pay-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid #222328 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 30px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: left;
}

/* =========================================
   SCROLL ANIMATIONS & UTILS
   ========================================= */
/* Scroll reveal: a short, subtle fade + lift. Content must never look "missing" while the
   user scrolls, so no blur/scale and no long delays (that made whole sections appear empty). */
.reveal-blur-up,
.reveal-scale-up {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal-blur-up.active,
.reveal-scale-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.05s;
}

.delay-2 {
  transition-delay: 0.1s;
}

.delay-3 {
  transition-delay: 0.15s;
}

.delay-4 {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-blur-up,
  .reveal-scale-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.flying-item {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.42, 0, 0.58, 1);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(209, 32, 39, 0.4);
}









/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 900px) {
  .shop-container {
    flex-direction: column;
  }

  .shop-sidebar {
    width: 100%;
    position: static;
  }

  .location-container {
    flex-direction: column;
  }

  .map-container {
    min-height: 300px;
  }

  .loc-actions {
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    padding: 15px 5%;
  }

  .search-container {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }

  .search-container input {
    width: 100% !important;
  }

  .account-grid {
    flex-direction: column;
  }

  .vertical-divider {
    display: none;
  }

  .input-row {
    flex-direction: column;
    gap: 0;
  }

  .profile-container {
    flex-direction: column;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .profile-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #222;
    padding: 15px 0;
  }

  .profile-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .profile-nav li {
    padding: 10px 15px;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }

  .profile-nav li.active {
    border-left: none;
    border-bottom: 3px solid #ff0000;
  }

  .profile-content {
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .newsletter-form input {
    width: 100%;
  }
}

/* =========================================
   FULL PAGE LOADING SCREEN (LOGIN)
   ========================================= */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #050505;
  /* Matches the dark site background. */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loading-overlay.active {
  visibility: visible;
  opacity: 1;
}

.loading-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.loading-bar-container {
  width: 200px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0%;
  background-color: #ff0000;
  /* Motolectron Red */
  border-radius: 2px;
}

.loading-bar.animate {
  animation: fillLoadingBar 1.5s ease-in-out forwards;
}

@keyframes fillLoadingBar {
  0% {
    width: 0%;
  }

  40% {
    width: 50%;
  }

  80% {
    width: 90%;
  }

  100% {
    width: 100%;
  }
}

/* --- FIX PARA PUMANTAY ANG PROFILE DROPDOWN MENU --- */

.profile-dropdown-link {
  display: flex !important;
  /* Pinipilit na maging horizontal row */
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 15px !important;
  text-decoration: none !important;
}

.dropdown-link-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  /* Spacing sa pagitan ng icon at text */
}

/* Keeps icons at a consistent size. */
.dropdown-link-left svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* Aligns text with the icon. */
.dropdown-link-left span {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* Piliting itulak sa pinaka-kanan ang mga numbers */
.dropdown-badge-text {
  font-size: 0.85rem !important;
  color: #777 !important;
  margin-left: auto !important;
  line-height: 1 !important;
}

/* =========================================
   FIX PARA SA SUMABOG NA NAVBAR DROPDOWNS
   ========================================= */

.user-menu-container,
.notification-container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

/* 1. Ibalik ang lutang (absolute) at pagtago (none) */
.profile-dropdown {
  display: none !important;
  /* Itago by default */
  position: absolute !important;
  /* Palutangin sa ibabaw ng website */
  top: 120% !important;
  /* Pwesto sa ilalim ng icon */
  right: 0 !important;
  background-color: #111 !important;
  /* Dark background */
  border: 1px solid #333 !important;
  border-radius: 8px !important;
  min-width: 250px !important;
  padding: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  z-index: 999999 !important;
  /* Pinakamataas na layer */
}

/* 2. Palabasin lang kapag kinlick (may .show) */
.profile-dropdown.show {
  display: block !important;
}

/* 3. Ayusin ang itsura ng mga links sa loob */
.profile-dropdown-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 15px !important;
  color: #ccc !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.profile-dropdown-link:hover {
  background-color: #1a1a1a !important;
  color: #fff !important;
}

.dropdown-link-left {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
}

.dropdown-link-left svg {
  width: 18px !important;
  height: 18px !important;
  stroke: #888 !important;
}

.profile-dropdown-link:hover .dropdown-link-left svg {
  stroke: #ff0000 !important;
  /* Pula pag hinover */
}

/* Keeps the notification list within the screen. */
.notif-list {
  max-height: 250px !important;
  overflow-y: auto !important;
}

/* =========================================
   CUSTOM ALERT DIALOG (LOGIN REQUIRED)
   ========================================= */
.custom-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999999;
  /* Pinakamataas sa lahat */
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.custom-dialog-overlay.show {
  visibility: visible;
  opacity: 1;
}

.custom-dialog-box {
  background-color: #111;
  border: 1px solid #333;
  padding: 30px;
  border-radius: 8px;
  width: 350px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  transform: translateY(-20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-dialog-overlay.show .custom-dialog-box {
  transform: translateY(0) scale(1);
}

.custom-dialog-box h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.custom-dialog-box p {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.custom-dialog-actions {
  display: flex;
  gap: 15px;
}

.btn-cancel,
.btn-confirm {
  flex: 1;
  padding: 12px 15px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.95rem;
}

.btn-cancel {
  background: transparent;
  color: #fff;
  border: 1px solid #444;
}

.btn-cancel:hover {
  background: #222;
  border-color: #666;
}

.btn-confirm {
  background: #ff0000;
  color: #fff;
  border: none;
}

.btn-confirm:hover {
  background: #cc0000;
}

.loading-overlay {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.loading-overlay.active {
  visibility: visible;
  opacity: 1;
}

.loading-logo {
  width: 100% !important;
  max-width: 1000px !important;
  height: auto !important;
  margin-bottom: 15px !important;
  pointer-events: none;
  display: block !important;
}

.loading-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.loading-bar-container {
  width: 200px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0%;
  background-color: #ff0000;
  border-radius: 2px;
}

.loading-bar.animate {
  animation: fillLoadingBar 7s ease-in-out forwards;
}

@keyframes fillLoadingBar {
  0% {
    width: 0%;
  }

  40% {
    width: 50%;
  }

  80% {
    width: 90%;
  }

  100% {
    width: 100%;
  }
}

/* --- Ultra-Clean Navbar Fix --- */
@media (min-width: 769px) {
  .navbar {
    width: 100% !important;
    height: auto !important;
    min-height: 85px !important;
    background: #0a0a0a !important;
    border-bottom: 1px solid #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 32px 25px 32px !important;
    margin: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
  }

  .nav-content-wrapper {
    width: 100% !important;
    max-width: 1350px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin: 0 auto !important;
    height: auto !important;
  }

  /* Logo Link */
  .logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
    flex: 0 0 auto !important;
    margin-right: 140px !important;
    box-sizing: border-box !important;
  }

  .logo-link:hover {
    opacity: 0.8 !important;
  }

  /* Logo-wrapper: 0 margin, 110px height */
  .logo-wrapper {
    width: auto !important;
    height: 110px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow: visible !important;
    margin: 0 !important;
  }

  /* Main Logo Image: 110px height, scale(2.4) zoom scale */
  .main-logo-img {
    width: auto !important;
    height: 110px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transform: scale(2.4) !important;
    transform-origin: left center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  /* Middle Section (Search Bar) */
  .search-container {
    margin: 0 !important;
    flex: 0 0 616.55px !important;
    width: 616.55px !important;
    max-width: 650px !important;
    height: 52px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .search-container .form {
    width: 100% !important;
    height: 52px !important;
    background: #e9ecef !important;
    border-radius: 30px !important;
    border: 1px solid #ced4da !important;
    padding-inline: 18px !important;
    box-sizing: border-box !important;
  }

  .search-container .input {
    color: #212529 !important;
    font-size: 1rem !important;
  }

  /* Right Section (Cart & Account) */
  .nav-right-section {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .nav-links {
    margin: 0 !important;
    flex: 0 0 204px !important;
    width: 204px !important;
    height: 51px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
}

/* =========================================
   FLOATING LABEL INPUTS (Modern Style)
   ========================================= */
/* --- FLOATING LABEL ANIMATION (USER) --- */
.floating-group {
  position: relative;
  margin-bottom: 25px;
  width: 100%;
  text-align: left;
}

.floating-input {
  width: 100%;
  padding: 16px 20px;
  background-color: transparent;
  border: 1px solid #555;
  border-radius: 25px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.floating-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #111;
  color: #aaa;
  font-size: 1rem;
  padding: 0 5px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-input:focus,
.floating-input:not(:placeholder-shown) {
  border-color: #ff0000;
}

.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label {
  top: 0;
  font-size: 0.8rem;
  color: #ff0000;
  font-weight: bold;
}

.floating-input:not(:placeholder-shown)~.floating-label {
  top: 0;
  font-size: 0.8rem;
  color: #ff0000;
  font-weight: bold;
}

/* CATEGORY SHOWCASE */
#categoryShowcase {
  margin-top: 60px;
  margin-bottom: 40px;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.category-card {
  background: #111;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid #222;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}

.category-card:hover {
  transform: translateY(-8px);
  background: #1a1a1a;
  border-color: #d12027;
  box-shadow: 0 15px 30px rgba(209, 32, 39, 0.15);
}

.cat-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.category-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.category-card p {
  color: #888;
  font-size: 0.95rem;
  margin: 0;
}



/* =========================================
   LOGIN UI FORM (Uiverse Dark Mode)
   ========================================= */
.login-ui-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: transparent;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.login-ui-form ::placeholder {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #888;
}

.login-ui-form .flex-column>label {
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
  font-size: 0.95rem;
}

.login-ui-form .inputForm {
  border: 1.5px solid #333;
  border-radius: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  transition: 0.2s ease-in-out;
  background-color: #1a1a1a;
}

.login-ui-form .inputForm svg {
  fill: #888;
  transition: fill 0.3s;
}

.login-ui-form .inputForm:focus-within svg {
  fill: #ff0000;
}

.login-ui-form .input {
  margin-left: 10px;
  border-radius: 10px;
  border: none;
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: #fff;
  font-size: 1rem;
}

.login-ui-form .input:focus {
  outline: none;
}

.login-ui-form .inputForm:focus-within {
  border: 1.5px solid #ff0000;
}

.login-ui-form .flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-top: 10px;
}

.login-ui-form .flex-row>div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-ui-form .flex-row>div>label {
  font-size: 14px;
  color: #ccc;
  font-weight: 400;
}

.login-ui-form .span {
  font-size: 14px;
  margin-left: 5px;
  color: #ff0000;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.login-ui-form .span:hover {
  text-decoration: underline;
}

.login-ui-form .button-submit {
  margin: 20px 0 10px 0;
  background-color: #ff0000;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.login-ui-form .button-submit:hover {
  background-color: #cc0000;
}

.login-ui-form .p {
  text-align: center;
  color: #888;
  font-size: 14px;
  margin: 5px 0;
}

.login-ui-form .p.line {
  position: relative;
  margin: 20px 0;
}

.login-ui-form .p.line::before,
.login-ui-form .p.line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background-color: #333;
}

.login-ui-form .p.line::before {
  left: 0;
}

.login-ui-form .p.line::after {
  right: 0;
}

.login-ui-form .btn {
  margin-top: 10px;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #333;
  background-color: #1a1a1a;
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  font-size: 1rem;
}

.login-ui-form .btn:hover {
  border: 1px solid #ff0000;
}


/* =========================================
   USER PROFILE LOGIN BUTTON (Uiverse Dark Theme)
   ========================================= */
.user-profile {
  width: 131px;
  height: 51px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s ease;
  background: linear-gradient(to bottom right,
      #ff0000 0%,
      rgba(255, 0, 0, 0) 30%);
  background-color: rgba(255, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-profile:hover,
.user-profile:focus {
  background-color: rgba(255, 0, 0, 0.7);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  outline: none;
}

.user-profile-inner {
  width: 127px;
  height: 47px;
  border-radius: 13px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #fff;
  font-weight: 600;
}

.user-profile-inner svg {
  width: 27px;
  height: 27px;
  fill: #fff;
}


/* =========================================
   DYNAMIC BUTTON ACTIVE STATE
   ========================================= */
.login-ui-form:invalid .button-submit {
  opacity: 0.3;
  pointer-events: none;
  background-color: #333;
  color: #888;
}

.login-ui-form:valid .button-submit {
  opacity: 1;
  pointer-events: auto;
  background-color: #ff0000;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
  animation: btn-pulse 1.5s infinite;
}

@keyframes btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}


/* Keep input forms highlighted when they have text */
.login-ui-form .inputForm:has(.input:not(:placeholder-shown)) {
  border: 1.5px solid #ff0000;
}

.login-ui-form .inputForm:has(.input:not(:placeholder-shown)) svg {
  fill: #ff0000;
}

/* Also ensure the stroke icons (like the eye) inherit correctly if needed */
.login-ui-form .inputForm:has(.input:not(:placeholder-shown)) .reveal-btn svg {
  color: #ff0000;
}


/* =========================================
   ANIMATED CTA BUTTON (UIVERSE)
   ========================================= */
.cta {
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
}

.cta span {
  padding-bottom: 7px;
  letter-spacing: 4px;
  font-size: 14px;
  padding-right: 15px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cta:hover span {
  color: #ff0000;
}

.cta svg {
  transform: translateX(-8px);
  transition: all 0.3s ease;
  fill: #fff;
}

.cta:hover svg {
  transform: translateX(0);
  fill: #ff0000;
}

.cta:active svg {
  transform: scale(0.9);
}

.hover-underline-animation {
  position: relative;
  padding-bottom: 5px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff0000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}






/* =========================================
   ANIMATED PRODUCT CARD OVERRIDE
   ========================================= */
.product-card {
  background: #171717 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.5) !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  padding: 0 !important;
  /* Important for the border animation to work */
  border: none !important;
}

.product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2) !important;
}

.product-card .content {
  border-radius: 7px;
  background: #111;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  z-index: 1;
  position: relative;
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
}

.product-card .content::before {
  opacity: 0;
  transition: opacity 300ms;
  content: " ";
  display: block;
  background: white;
  width: 5px;
  height: 50px;
  position: absolute;
  filter: blur(50px);
  overflow: hidden;
}

.product-card:hover .content::before {
  opacity: 1;
}

.product-card::before {
  opacity: 0;
  content: " ";
  position: absolute;
  display: block;
  width: 150px;
  height: 800px;
  background: linear-gradient(#ff0000, #ff4c4c);
  /* Motolectron Red theme */
  transition: opacity 300ms;
  animation: rotation_9018 8000ms infinite linear;
  animation-play-state: paused;
}

.product-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

.product-card::after {
  position: absolute;
  content: " ";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(23, 23, 23, 0.1);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  z-index: 0;
}

@keyframes rotation_9018 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Fix for product card content visibility */
.product-card .content {
  position: relative !important;
  z-index: 10 !important;
  width: calc(100% - 4px) !important;
  height: calc(100% - 4px) !important;
  display: flex !important;
  flex-direction: column !important;
  background: #111 !important;
  border-radius: 6px !important;
  padding: 15px !important;
  transform: translateZ(0);
  /* Force hardware acceleration */
}

.product-img-container {
  flex-shrink: 0;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card::after {
  z-index: 1 !important;
}

.product-card::before {
  z-index: 0 !important;
}


/* Absolute fix for the glowing card issue */
.product-card {
  background: #171717 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

.product-card::before {
  content: " ";
  position: absolute;
  display: block;
  width: 150%;
  height: 150%;
  background: linear-gradient(#ff0000, #ff4c4c);
  animation: rotation_9018 8000ms infinite linear;
  animation-play-state: paused;
  z-index: 0 !important;
  /* Send to back */
}

.product-card:hover::before {
  animation-play-state: running;
}

.product-card::after {
  content: " ";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(23, 23, 23, 0.5);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  z-index: 1 !important;
  /* Blur layer above the rotating gradient */
}

.product-card .content {
  position: relative !important;
  z-index: 2 !important;
  /* Content absolutely on top of blur layer */
  background: #111 !important;
  width: calc(100% - 4px) !important;
  height: calc(100% - 4px) !important;
  border-radius: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 15px !important;
  /* Ensure flex children dont overflow */
  box-sizing: border-box !important;
}

.product-img-container {
  height: 200px !important;
  flex-shrink: 0 !important;
  background: #222 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
}

.product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.product-card h3 {
  color: #fff !important;
  font-size: 1.1rem !important;
  margin: 10px 0 5px 0 !important;
  z-index: 5 !important;
}

.product-card p {
  color: #aaa !important;
  margin: 0 !important;
  z-index: 5 !important;
}


/* ULTIMATE FIX FOR GLOWING CARDS (Bypass WebKit Blur Bug) */

.product-card {
  background: #111 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
  z-index: 1;
  /* Establish stacking context for card */
}

/* The rotating glowing gradient */
.product-card::before {
  content: " " !important;
  position: absolute !important;
  display: block !important;
  width: 150% !important;
  height: 150% !important;
  background: linear-gradient(#ff0000, #ff4c4c, transparent, transparent) !important;
  animation: rotation_9018 4000ms infinite linear !important;
  animation-play-state: paused !important;
  z-index: -2 !important;
  /* Put at the very bottom */
  filter: blur(30px) !important;
  /* DIRECT BLUR, no backdrop-filter needed! */
}

.product-card:hover::before {
  animation-play-state: running !important;
}

/* Disable the buggy after element */
.product-card::after {
  display: none !important;
}

/* The actual content box */
.product-card .content {
  position: relative !important;
  z-index: 10 !important;
  /* Definitely on top */
  background: #111 !important;
  width: calc(100% - 4px) !important;
  height: calc(100% - 4px) !important;
  border-radius: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 15px !important;
  box-sizing: border-box !important;
  /* Make sure background is solid so it covers the middle of the blur */
}

.product-img-container {
  height: 200px !important;
  flex-shrink: 0 !important;
  background: #222 !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
}

.product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


.product-card {
  flex-direction: column !important;
  /* Force column layout to prevent row wrapping if .content is missing */
}

.product-img-container {
  width: 100% !important;
  /* Force full width so it doesnt shrink */
}


.product-card .content {
  align-items: center !important;
  /* Center items horizontally */
  text-align: center !important;
}

.product-card h3 {
  text-align: center !important;
  width: 100% !important;
}

.product-card p {
  text-align: center !important;
  width: 100% !important;
}


/* Shop Sale Button - From Uiverse.io by AqFox */
.shop-sale-btn {
  --c: #fff;
  background: linear-gradient(90deg, #0000 33%, #fff5, #0000 67%) var(--_p, 100%)/300% no-repeat,
    #ff0000;
  color: #0000 !important;
  border: none;
  transform: perspective(500px) rotateY(calc(20deg*var(--_i, -1)));
  text-shadow: calc(var(--_i, -1)* 0.08em) -.01em 0 var(--c),
    calc(var(--_i, -1)*-0.08em) .01em 2px #0004 !important;
  outline-offset: .1em;
  transition: 0.3s;
  font-family: system-ui, sans-serif;
  font-weight: bold;
  font-size: 2rem;
  margin: 0;
  cursor: pointer;
  padding: .1em .3em;
}

.shop-sale-btn:hover,
.shop-sale-btn:focus-visible {
  --_p: 0%;
  --_i: 1;
}

.shop-sale-btn:active {
  text-shadow: none !important;
  color: var(--c) !important;
  box-shadow: inset 0 0 9e9q #0005;
  transition: 0s;
}


/* Fix login/signup form color to be pure gray without black */
.account-box {
  background-color: #1a1a1a !important;
  /* Solid gray */
  border: 1px solid #333 !important;
}

.login-ui-form .inputForm,
.login-ui-form .btn {
  background-color: #252525 !important;
  /* Lighter gray for inputs */
  border: 1px solid #3a3a3a !important;
}

.login-ui-form .inputForm:focus-within {
  border: 1.5px solid #ff0000 !important;
}

.login-ui-form .btn:hover {
  border: 1px solid #ff0000 !important;
}


/* Full-screen Gray Background for Login and Signup to remove black borders */
.account-section {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 60px 20px !important;
  min-height: calc(100vh - 80px) !important;
  background-color: #1a1a1a !important;
  /* Solid Dark Gray */
  border: none !important;
}

.account-box {
  background-color: transparent !important;
  /* Blend with section */
  border: none !important;
  box-shadow: none !important;
}

.login-ui-form .inputForm,
.login-ui-form .btn {
  background-color: #252525 !important;
  border: 1px solid #3a3a3a !important;
}


/* User requested black background for auth pages */
.account-section {
  background-color: #000000 !important;
  /* Pure Black */
}


/* Fix footer background to match low contrast dark theme */
.site-footer {
  background-color: #0e0f14 !important;
  border-top: 1px solid #303136 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}


/* Fix Chrome autofill styling for dark mode */
.login-ui-form .input:-webkit-autofill,
.login-ui-form .input:-webkit-autofill:hover,
.login-ui-form .input:-webkit-autofill:focus,
.login-ui-form .input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #252525 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}


/* Avatar style for authBtn when logged in */
.user-profile.logged-in-avatar {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  background: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) !important;
  border: 2px solid transparent !important;
  transition: all 0.3s ease !important;
}

.user-profile.logged-in-avatar:hover {
  border-color: #ff0000 !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6) !important;
}


/* Add spacing to the right of the avatar to prevent it from touching the edge */
.user-menu-container {
  margin-right: 20px !important;
}


/* Tailwind-Style Modal Form */
.tailwind-style-form {
  background-color: #1a1a1a !important;
  border: 1px solid #333 !important;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  font-family: Inter, sans-serif;
}

.tailwind-style-form .form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 20px;
}

.tailwind-style-form .form-header h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.tailwind-style-form .pt-4 {
  padding-top: 24px;
}

.tailwind-style-form .form-group {
  margin-bottom: 16px;
}

.tailwind-style-form .form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.tailwind-style-form .form-group input {
  background-color: #252525;
  border: 1px solid #3a3a3a;
  color: #fff;
  font-size: 0.875rem;
  border-radius: 8px;
  display: block;
  width: 100%;
  padding: 10px 12px;
  transition: 0.2s;
}

.tailwind-style-form .form-group input::placeholder {
  color: #888;
}

.tailwind-style-form .form-group input:focus {
  outline: none;
  border-color: #ff0000;
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.2);
}

.tailwind-style-form .form-options {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 24px 0;
}

.tailwind-style-form .checkbox-container {
  display: flex;
  align-items: center;
}

.tailwind-style-form .checkbox-container input {
  width: 16px;
  height: 16px;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  background-color: #252525;
  accent-color: #ff0000;
}

.tailwind-style-form .checkbox-container label {
  margin-left: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.tailwind-style-form .lost-pass {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ff0000;
  text-decoration: none;
}

.tailwind-style-form .lost-pass:hover {
  text-decoration: underline;
}

.tailwind-style-form .submit-btn {
  color: #fff;
  background-color: #ff0000;
  border: 1px solid transparent;
  font-weight: 500;
  border-radius: 8px;
  font-size: 0.875rem;
  padding: 10px 16px;
  width: 100%;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 12px;
}

.tailwind-style-form .submit-btn:hover {
  background-color: #cc0000;
}

.tailwind-style-form .submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.3);
}

.tailwind-style-form .form-footer {
  font-size: 0.875rem;
  font-weight: 500;
  color: #888;
}

.tailwind-style-form .form-footer a {
  color: #ff0000;
  text-decoration: none;
}

.tailwind-style-form .form-footer a:hover {
  text-decoration: underline;
}

/* Chrome autofill fix for Tailwind style */
.tailwind-style-form .form-group input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #252525 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}


/* Auth Modal Overlay & Specifics */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
}

.auth-modal-overlay.show {
  display: flex !important;
}

.auth-modal {
  width: 100%;
  max-width: 450px;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;

}

@keyframes modalPop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.close-modal-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal-btn:hover {
  color: #fff;
}


/* Social Logins */
.tailwind-style-form .social-divider {
  text-align: center;
  color: #888;
  font-size: 0.875rem;
  margin: 15px 0;
  position: relative;
}

.tailwind-style-form .social-divider::before,
.tailwind-style-form .social-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background-color: #333;
}

.tailwind-style-form .social-divider::before {
  left: 0;
}

.tailwind-style-form .social-divider::after {
  right: 0;
}

.tailwind-style-form .social-logins {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tailwind-style-form .btn-social {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-color: #252525;
  border: 1px solid #333;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}

.tailwind-style-form .btn-social:hover {
  background-color: #333;
  border-color: #555;
}

.tailwind-style-form .btn-social svg {
  width: 20px;
  height: 20px;
}


/* Light Modal Form (Uiverse) */
.light-modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #ffffff;
  padding: 30px;
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  position: relative;
}

.light-modal-form ::placeholder {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.light-modal-form .close-modal-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  z-index: 10;
}

.light-modal-form button {
  align-self: flex-end;
}

.light-modal-form .flex-column>label {
  color: #151717;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.light-modal-form .inputForm {
  border: 1.5px solid #ecedec;
  border-radius: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  transition: 0.2s ease-in-out;
  background-color: #fff;
}

.light-modal-form .input {
  margin-left: 10px;
  border-radius: 10px;
  border: none;
  width: 85%;
  height: 100%;
  color: #000;
  background-color: transparent;
}

.light-modal-form .input:focus {
  outline: none;
}

.light-modal-form .inputForm:focus-within {
  border: 1.5px solid #2d79f3;
}

.light-modal-form .flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-top: 5px;
}

.light-modal-form .flex-row>div>label {
  font-size: 14px;
  color: black;
  font-weight: 400;
}

.light-modal-form .span {
  font-size: 14px;
  margin-left: 5px;
  color: #2d79f3;
  font-weight: 500;
  cursor: pointer;
}

.light-modal-form .button-submit {
  margin: 20px 0 10px 0;
  background-color: #151717;
  border: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  height: 50px;
  width: 100%;
  cursor: pointer;
}

.light-modal-form .button-submit:hover {
  background-color: #252727;
}

.light-modal-form .p {
  text-align: center;
  color: black;
  font-size: 14px;
  margin: 5px 0;
}

.light-modal-form .btn {
  margin-top: 10px;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #ededef;
  background-color: white;
  color: #000;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.light-modal-form .btn:hover {
  border: 1px solid #2d79f3;
}


/* Chrome autofill fix for dark mode */
.uiverse-form .input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #252525 inset !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* Increase size of Uiverse Form */
.uiverse-form {
  width: 100% !important;
  max-width: 500px !important;
  padding: 40px !important;
}

.uiverse-form .form-header h3 {
  font-size: 1.75rem !important;
}

.uiverse-form .inputForm {
  height: 55px !important;
}

.uiverse-form .input {
  font-size: 1rem !important;
}

.uiverse-form .flex-column>label {
  font-size: 0.95rem !important;
}

.uiverse-form .button-submit {
  height: 55px !important;
  font-size: 1.1rem !important;
}

.uiverse-form .btn {
  height: 55px !important;
  font-size: 1rem !important;
}

.uiverse-form .flex-row>div>label,
.uiverse-form .span,
.uiverse-form .p {
  font-size: 0.95rem !important;
}

/* Fix Modal Form Visibility and Animation */
.auth-modal .account-box {
  background-color: #1a1a1a !important;
  /* Solid dark background for modal */
  border: 1px solid #333 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  padding: 40px !important;
  border-radius: 12px !important;
}

.auth-modal-overlay.show .auth-modal {
  animation: modalPop 0.3s ease-out forwards !important;
  transform-origin: center center !important;
}

@keyframes modalPopUpEffect {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* Increase Modal Width */
.auth-modal {
  max-width: 550px !important;
}


/* Fix Modal Scrolling and Fit */
.auth-modal {
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.auth-modal::-webkit-scrollbar {
  width: 8px;
}

.auth-modal::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.auth-modal::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.auth-modal::-webkit-scrollbar-thumb:hover {
  background: #777;
}


/* Enhanced Focus State */
.login-ui-form .inputForm:focus-within {
  border: 1px solid #ff0000 !important;
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.8) !important;
  background-color: #252525 !important;
}

.login-ui-form .inputForm:focus-within svg {
  fill: #ff0000 !important;
  color: #ff0000 !important;
}

.login-ui-form .inputForm:focus-within svg {
  fill: #ff0000 !important;
  color: #ff0000 !important;
}

.login-ui-form .inputForm:focus-within svg {
  fill: #ff0000 !important;
  stroke: #ff0000 !important;
}











/* Animated Category Navbar - Sliding Neon Outline */
.category-links {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.5em;
  background: rgba(16, 16, 16, 0.4);
  width: max-content;
  margin: 0 auto;
}

.category-links>a,
.category-links>.nav-item-dropdown {
  padding: 0.5em 1.5em;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  z-index: 2;
  border-radius: 10px;
}



.category-links>a:hover,
.category-links>.nav-item-dropdown:hover,
.category-links>a.active,
.category-links>.nav-item-dropdown.active {
  color: #fff;
}



















.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.section-eyebrow {
  display: inline-block;
  color: var(--moto-eyebrow, #e3262e);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
}

body:not(.admin-body) .section-header .section-title,
.section-header .section-title {
  margin-bottom: 0 !important;
  letter-spacing: 0.02em;
}

/* One-line, sentence-case description under a section title. */
.section-subtitle {
  margin: 0;
  color: var(--moto-muted, #a1a1aa);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* "Loading…" / "No products found" text inside a product grid. */
.grid-status-text {
  grid-column: 1 / -1;
  width: 100%;
  margin: 20px 0;
  color: var(--moto-muted, #a1a1aa);
  text-align: center;
}

.grid-status-text.is-error {
  color: var(--moto-danger, #f0788c);
}

/* "View All" link: quiet outlined pill, red on hover (no blur/glow). */
.btn-view-all {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  height: 40px;
  padding: 0 18px;
  background: transparent;
  border: 1px solid var(--moto-border-subtle, #2a2a2a);
  border-radius: 999px;
  color: var(--moto-text, #ffffff);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.btn-view-all .btn-text {
  position: relative;
}

.btn-view-all .btn-arrow {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-view-all:hover,
.btn-view-all:focus-visible {
  border-color: var(--moto-red, #ff1f1f);
  color: var(--moto-red, #ff1f1f);
  background: var(--moto-red-glow, rgba(255, 31, 31, 0.22));
  text-decoration: none;
  outline: none;
}

.btn-view-all:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-view-all::before,
.btn-view-all::after {
  content: none;
}


/* Animated Skew Button */
.btn-skewed {
  transform: skew(-21deg);
  border-radius: 0 !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-skewed span {
  display: inline-block;
  transform: skew(21deg);
  position: relative;
  z-index: 2;
}

.btn-skewed::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  left: 0;
  background: rgb(20, 20, 20);
  opacity: 0;
  z-index: -1;
  transition: all 0.5s;
}

.btn-skewed:hover::before {
  left: 0;
  right: 0;
  opacity: 1;
}




/* =========================================
   RESPONSIVE: HAMBURGER MENU BUTTON
   ========================================= */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  order: 2;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg) !important;
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0 !important;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg) !important;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9997;
}

.mobile-nav-overlay.show {
  display: block;
}


/* =========================================
   RESPONSIVE: ≤1200px (Small desktop / Large tablet)
   ========================================= */
@media (max-width: 1200px) {
  .hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #a0a0a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

  .hero-content p {
    font-size: 1.1rem !important;
  }

  .slide .hero-content {
    padding: 40px 50px !important;
  }

  .category-links {
    gap: 15px !important;
  }

  .mega-brands-grid {
    gap: 25px !important;
  }

  .mega-column {
    min-width: 140px !important;
  }

  .footer-container {
    gap: 30px !important;
  }

  .logo-wrapper {
    width: 200px !important;
  }

  .main-logo-img {
    width: 210px !important;
  }

  .search-container .form {
    --width-of-input: 280px !important;
  }
}


/* =========================================
   RESPONSIVE: ≤992px (Tablet landscape)
   ========================================= */
@media (max-width: 992px) {
  .hero-slider {
    height: 50vh !important;
  }

  .hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #a0a0a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

  .slide .hero-content {
    padding: 30px 40px !important;
  }

  .shop-container {
    flex-direction: column !important;
  }

  .shop-sidebar {
    width: 100% !important;
    position: static !important;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .account-grid {
    flex-direction: column !important;
  }

  .vertical-divider {
    display: none !important;
  }

  .profile-container {
    width: 95% !important;
  }

  .search-container .form {
    --width-of-input: 240px !important;
  }

  .custom-map-wrapper {
    height: 350px !important;
  }
}


/* =========================================
   RESPONSIVE: ≤768px (Tablet portrait / Mobile)
   ========================================= */
@media (max-width: 768px) {

  /* Show hamburger */
  .hamburger-btn {
    display: flex !important;
    order: 1 !important;
    width: 38px !important;
    height: 38px !important;
    padding: 6px !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    cursor: pointer !important;
    z-index: 10002 !important;
  }

  .hamburger-btn span {
    width: 22px !important;
    height: 2.5px !important;
    background-color: #ffffff !important;
    border-radius: 2px !important;
  }

  /* Main Navbar container */
  .navbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px 25px 14px !important;
    margin: 0 !important;
    height: auto !important;
    background: #0a0a0a !important;
    gap: 8px 0 !important;
    position: relative !important;
  }

  .nav-content-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  /* Center Logo - 100% Dead Center + 3.2x Scale */
  .logo-link {
    position: absolute !important;
    left: 50% !important;
    top: 5px !important;
    transform: translateX(-50%) !important;
    order: 2 !important;
    margin: 0 !important;
    height: 80px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 5 !important;
    pointer-events: auto !important;
  }

  .logo-wrapper {
    width: auto !important;
    max-width: 380px !important;
    height: 76px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  .main-logo-img {
    height: 74px !important;
    width: auto !important;
    max-width: 360px !important;
    object-fit: contain !important;
    margin: 0 !important;
    transform: scale(3.1) !important;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8)) !important;
  }

  /* Action icons on top right */
  .nav-links {
    order: 3 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    width: auto !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .nav-links .icon-link {
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .user-menu-container,
  .notification-container {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .user-profile {
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    padding: 0 !important;
  }

  .user-profile-inner {
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .user-profile-inner p {
    display: none !important;
  }

  .user-profile-inner svg {
    width: 22px !important;
    height: 22px !important;
    fill: #ffffff !important;
  }

  /* Row 2: Full width pill search bar */
  .search-container {
    order: 4 !important;
    width: 100% !important;
    margin-top: 4px !important;
    margin-bottom: 2px !important;
  }

  .search-container .form {
    width: 100% !important;
    --width-of-input: 100% !important;
    height: 42px !important;
    background: #e9ecef !important;
    border-radius: 30px !important;
    border: 1px solid #ced4da !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: none !important;
  }

  .search-container .form:before {
    display: none !important;
  }

  .search-container .form button {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin-right: 6px !important;
    display: flex !important;
    align-items: center !important;
    color: #333333 !important;
  }

  .search-container .form button svg {
    width: 18px !important;
    height: 18px !important;
    color: #333333 !important;
    stroke: #333333 !important;
  }

  .search-container .input {
    color: #212529 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    padding: 0 !important;
  }

  .search-container .input::placeholder {
    color: #6c757d !important;
    font-size: 0.95rem !important;
  }

  .search-container .reset,
  .search-container .mic-btn {
    background: none !important;
    border: none !important;
    color: #333333 !important;
    padding: 0 4px !important;
    display: flex !important;
    align-items: center !important;
  }

  .search-container .reset svg,
  .search-container .mic-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #333333 !important;
    color: #333333 !important;
  }

  /* Mobile Category Navbar Slide-Over Drawer */
  .category-navbar {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: #0d0d0d !important;
    border-right: 2px solid #ff0000 !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.95) !important;
    z-index: 100005 !important;
    padding: 25px 15px !important;
    overflow-y: auto !important;
    transform: translateX(-100%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    visibility: hidden !important;
  }

  .category-navbar.mobile-show {
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  .mobile-nav-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 100000 !important;
    display: none;
  }

  .mobile-nav-overlay.show {
    display: block !important;
  }

  .category-links {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .category-links>a,
  .category-links>.nav-item-dropdown {
    width: 100% !important;
    padding: 12px 15px !important;
    border-radius: 6px !important;
    background: #161616 !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    border-left: 3px solid transparent !important;
  }

  .category-links>a:hover,
  .category-links>.nav-item-dropdown:hover {
    border-left-color: #ff0000 !important;
    background: #202020 !important;
  }

  /* Accordion Sub-Menu inside Drawer */
  .mega-menu {
    display: none !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    background: #141414 !important;
    padding: 12px !important;
    border-radius: 8px !important;
    margin-top: 8px !important;
    box-shadow: none !important;
    border: 1px solid #222 !important;
  }

  .nav-item-dropdown.open-sub .mega-menu {
    display: block !important;
  }

  /* Hero */
  .hero-slider {
    height: 40vh !important;
  }

  .hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #a0a0a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

  .hero-content p {
    font-size: 1rem !important;
    margin-bottom: 15px !important;
  }

  .slide .hero-content {
    padding: 25px 30px !important;
  }

  .slider-btn {
    padding: 10px !important;
    font-size: 1.5rem !important;
  }

  .prev-btn {
    left: 10px !important;
  }

  .next-btn {
    right: 10px !important;
  }

  .btn-primary {
    padding: 12px 25px !important;
    font-size: 0.9rem !important;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 15px !important;
  }

  .container {
    padding: 30px 4% !important;
  }

  /* Shop layout */
  .shop-container {
    padding: 20px 4% !important;
  }

  .shop-content-header {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }

  .sort-dropdown {
    width: 100% !important;
  }

  /* Account / Login */
  .account-section {
    padding: 30px 4% !important;
  }

  .input-row {
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* Profile modal */
  .profile-container {
    flex-direction: column !important;
    height: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    width: 95% !important;
  }

  .profile-sidebar {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #222 !important;
    padding: 15px 0 !important;
  }

  .profile-nav {
    display: flex !important;
    overflow-x: auto !important;
    padding-bottom: 5px !important;
  }

  .profile-nav li {
    padding: 10px 15px !important;
    border-left: none !important;
    border-bottom: 3px solid transparent !important;
    white-space: nowrap !important;
  }

  .profile-nav li.active {
    border-left: none !important;
    border-bottom: 3px solid #ff0000 !important;
  }

  .profile-content {
    padding: 20px !important;
  }

  /* Cart sidebar */
  .cart-sidebar {
    width: 100% !important;
    right: -100% !important;
  }

  .cart-sidebar.open {
    right: 0 !important;
  }

  /* Footer */
  .site-footer {
    padding: 40px 4% 30px !important;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
  }

  /* Category showcase */
  .category-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 15px !important;
  }

  .category-card {
    padding: 20px 15px !important;
  }

  .cat-icon {
    font-size: 2.2rem !important;
  }

  .category-card h3 {
    font-size: 1.1rem !important;
  }

  /* Map */
  .custom-map-wrapper {
    height: 280px !important;
    border-radius: 8px !important;
  }

  .map-floating-overlay {
    bottom: 15px !important;
    right: 15px !important;
    padding: 10px 15px !important;
  }

  .btn-route-floating {
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
  }

  /* Auth modal */
  .auth-modal {
    max-width: 95vw !important;
    margin: 0 10px !important;
  }

  /* Custom dialog */
  .custom-dialog-box {
    width: 90% !important;
    max-width: 350px !important;
  }

  /* Back to top spacing */
  .back-to-top-wrapper {
    padding: 30px 0 20px 0;
  }

  .form-row {
    flex-direction: column !important;
    gap: 0 !important;
  }

  /* Location section */
  .location-container {
    flex-direction: column !important;
  }

  .loc-actions {
    flex-direction: column !important;
  }

  .map-container {
    min-height: 250px !important;
  }

  /* Mega featured promo */
  .mega-featured-promo {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid #333 !important;
    padding-top: 20px !important;
  }
}


/* =========================================
   RESPONSIVE: ≤576px (Mobile phones)
   ========================================= */
@media (max-width: 576px) {
  .hero-slider {
    height: 35vh !important;
  }

  .hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #a0a0a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

  .hero-content p {
    font-size: 0.85rem !important;
    margin-bottom: 12px !important;
  }

  .slide .hero-content {
    padding: 20px !important;
  }

  .btn-primary {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
  }

  /* Product grid - 2 columns */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .product-img-container {
    height: 140px !important;
  }

  .product-card h3 {
    font-size: 0.9rem !important;
  }

  .product-card p {
    font-size: 0.8rem !important;
  }

  .product-card .content {
    padding: 10px !important;
  }

  .container {
    padding: 20px 4% !important;
  }

  .section-title {
    font-size: 1.2rem !important;
    margin-bottom: 20px !important;
  }

  /* Footer single column */
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .footer-col h4 {
    margin-bottom: 15px !important;
  }

  .newsletter-form {
    flex-direction: column !important;
    height: auto !important;
  }

  .newsletter-form input {
    padding: 12px 15px !important;
    width: 100% !important;
  }

  .newsletter-form button {
    padding: 12px !important;
    width: 100% !important;
  }

  .payment-logos {
    justify-content: center !important;
  }

  /* Account form */
  .account-box {
    padding: 25px 15px !important;
  }

  .account-box h2 {
    font-size: 1.4rem !important;
  }

  /* Login form */
  .login-ui-form .inputForm {
    height: 45px !important;
  }

  .login-ui-form .button-submit {
    height: 45px !important;
  }

  .login-ui-form .btn {
    height: 45px !important;
  }

  /* Promo ticker */
  .promo-ticker {
    font-size: 0.75rem !important;
    padding: 6px 0 !important;
  }

  /* CTA button */
  .cta span {
    font-size: 12px !important;
    letter-spacing: 2px !important;
  }

  /* Shop sale button */
  .shop-sale-btn {
    font-size: 1.4rem !important;
  }

  /* Category showcase */
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .category-card {
    padding: 18px 12px !important;
  }

  .cat-icon {
    font-size: 2rem !important;
  }

  .category-card h3 {
    font-size: 1rem !important;
  }

  .category-card p {
    font-size: 0.8rem !important;
  }

  /* Map */
  .custom-map-wrapper {
    height: 220px !important;
    margin-bottom: 30px !important;
  }

  /* Slider buttons smaller */
  .slider-btn {
    padding: 8px !important;
    font-size: 1.2rem !important;
  }

  .dot {
    width: 10px !important;
    height: 10px !important;
    margin: 0 3px !important;
  }

  /* History cards */
  .history-card {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .history-status {
    text-align: center !important;
  }

  /* Loading logo */
  .loading-logo {
    max-width: 90% !important;
  }

  /* Uiverse form */
  .uiverse-form {
    padding: 25px !important;
  }

  .uiverse-form .form-header h3 {
    font-size: 1.4rem !important;
  }

  /* Social logins stacked */
  .tailwind-style-form .social-logins {
    flex-direction: column !important;
  }
}


/* =========================================
   RESPONSIVE: ≤480px (Small phones)
   ========================================= */
@media (max-width: 480px) {
  .hero-slider {
    height: 30vh !important;
  }

  .hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #a0a0a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

  .hero-content p {
    font-size: 0.8rem !important;
  }

  .slide .hero-content {
    padding: 15px !important;
  }

  .navbar {
    padding: 10px 3% !important;
  }

  .logo-link {
    top: 4px !important;
    height: 72px !important;
  }

  .logo-wrapper {
    width: auto !important;
    max-width: 340px !important;
    height: 68px !important;
    overflow: visible !important;
  }

  .main-logo-img {
    height: 66px !important;
    width: auto !important;
    max-width: 320px !important;
    transform: scale(2.8) !important;
  }

  .product-grid {
    gap: 10px !important;
  }

  .product-img-container {
    height: 120px !important;
  }

  .product-card h3 {
    font-size: 0.8rem !important;
  }

  .product-card p {
    font-size: 0.75rem !important;
  }

  .btn-primary {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
  }

  .container {
    padding: 15px 3% !important;
  }

  .site-footer {
    padding: 30px 3% 20px !important;
  }

  .footer-bottom {
    padding-top: 15px !important;
  }

  .category-links>a,
  .category-links>.nav-item-dropdown {
    padding: 0.3em 0.8em !important;
    font-size: 0.75rem !important;
  }

  .search-container .form {
    --height-of-input: 36px !important;
  }

  .search-container .input {
    font-size: 0.8rem !important;
  }

  /* Stacked custom dialog buttons */
  .custom-dialog-actions {
    flex-direction: column !important;
  }

  .back-to-top {
    bottom: 15px !important;
  }

  /* Back to top spacing */
  .back-to-top-wrapper {
    padding: 24px 0 16px 0;
  }

  /* Skewed button smaller */
  .btn-skewed {
    font-size: 0.85rem !important;
    padding: 8px 16px !important;
  }
}

/* =========================================
   VOICE SEARCH MIC BUTTON & RECORDING PULSE
   ========================================= */
.mic-btn {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.mic-btn:hover {
  transform: scale(1.15) !important;
}

.mic-btn.listening {
  color: #ff0000 !important;
  animation: micPulse 1s infinite ease-in-out !important;
}

.mic-btn.listening svg {
  color: #ff0000 !important;
  stroke: #ff0000 !important;
  fill: rgba(255, 0, 0, 0.2) !important;
}

@keyframes micPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.8));
  }

  50% {
    transform: scale(1.3);
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 1));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.8));
  }
}

/* =========================================
   NAVBAR & LOGO LINK OVERRIDES (FINAL)
   ========================================= */
/* =========================================
   RESPONSIVE HEADER: 769px AND UP
   - LOGO SIZE UNCHANGED (110px height + scale(2.4))
   - HEADER ITEMS CLOSE TO EACH OTHER
   ========================================= */
@media (min-width: 769px) {
  header {
    width: 100% !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100010 !important;
    background: #0a0a0a !important;
  }

  .navbar {
    width: 100% !important;
    height: auto !important;
    min-height: 85px !important;
    background: #0a0a0a !important;
    border-bottom: 1px solid #1a1a1a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    margin: 0 !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .nav-content-wrapper {
    width: 100% !important;
    max-width: 1400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 0 auto !important;
  }

  /* Logo: ORIGINAL SIZE UNCHANGED (110px height, scale 2.4) */
  .logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-decoration: none !important;
    flex: 0 0 auto !important;
    margin-right: 140px !important;
    box-sizing: border-box !important;
  }

  .logo-link:hover {
    opacity: 0.8 !important;
  }

  .logo-wrapper {
    width: auto !important;
    height: 110px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    overflow: visible !important;
    margin: 0 !important;
  }

  .main-logo-img {
    width: auto !important;
    height: 110px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transform: scale(2.4) !important;
    transform-origin: left center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  /* Search Container: Placed right next to scaled logo */
  .search-container {
    flex: 0 1 500px !important;
    max-width: 550px !important;
    min-width: 200px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .search-container .form {
    width: 100% !important;
    height: 100% !important;
    --width-of-input: 100% !important;
  }

  .search-container .input {
    width: 100% !important;
    height: 100% !important;
    font-size: 0.92rem !important;
  }

  /* Nav icons: Placed right next to search container */
  .nav-icons {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: 5px !important;
  }

  .nav-icon {
    padding: 6px !important;
  }

  /* Category Secondary Navbar */
  .category-navbar {
    width: 100% !important;
    background: #0d0d0d !important;
    border-bottom: 1px solid #1a1a1a !important;
    padding: 8px 16px !important;
    box-sizing: border-box !important;
  }

  .category-links {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px 18px !important;
    flex-wrap: wrap !important;
  }

  .category-filter {
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    padding: 6px 12px !important;
    white-space: nowrap !important;
  }

  /* Mega Menu Dropdowns for 769px and Up */
  .mega-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 94vw !important;
    max-width: 1200px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
  }

  .mega-brands-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px 14px !important;
  }

  .mega-column {
    min-width: 0 !important;
  }

  .mega-column h4 {
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
  }

  .mega-column a {
    font-size: 0.82rem !important;
    padding: 4px 0 !important;
  }
}

/* =========================================
   LOGIN MODAL Z-INDEX FIX
   ========================================= */
.auth-modal-overlay {
  z-index: 200000 !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

#profileDropdown .u-style-876bde1d90 {
  max-width: 155px !important;
}

/* =========================================
   SEARCH & MIC BUTTON ANIMATIONS
   ========================================= */
.search-container .form button {
  transition: transform 0.2s ease, color 0.2s ease !important;
  cursor: pointer !important;
}

.search-container .reset:hover svg {
  stroke: #ff0000 !important;
  color: #ff0000 !important;
}

/* =========================================
   FIX FOR MEGA MENU DROPDOWN HOVER (DESKTOP)
   ========================================= */
@media (min-width: 769px) {
  .category-links > .nav-item-dropdown:hover .mega-menu,
  .category-links > .nav-item-dropdown.open-sub .mega-menu {
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #0a0a0a !important;
    z-index: 100000 !important;
  }
}

/* =========================================
   DISABLE STICKY HEADER (AS REQUESTED)
   ========================================= */
header, .navbar {
  position: relative !important;
}

/* =========================================
   SHOP PAGE: 3 COLUMNS & PAGINATION
   ========================================= */
@media (min-width: 992px) {
  #shopProductGrid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
  grid-column: 1 / -1;
}

.pagination-container ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-container a, .pagination-container button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background-color: #1a1a1a;
  color: #fff !important;
  border: 1px solid #333;
  margin-left: -1px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
}

.pagination-container a:hover, .pagination-container button:hover {
  background-color: #333;
  color: #ff0000 !important;
}

.pagination-container a.active, .pagination-container button.active {
  background-color: #333;
  color: #ff0000 !important;
  border-color: #ff0000;
  z-index: 1;
}

.pagination-container li:first-child a, .pagination-container li:first-child button {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pagination-container li:last-child a, .pagination-container li:last-child button {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination-container svg {
  width: 16px;
  height: 16px;
}/* TOAST NOTIFICATIONS */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: none; /* hidden by default */
    align-items: center;
    width: 100%;
    max-width: 320px;
    padding: 16px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    animation: slideInRight 0.3s ease-out;
}

.toast.show {
    display: flex;
}

.toast.toast-success .toast-icon {
    color: #059669;
    background-color: #d1fae5;
}

.toast.toast-danger .toast-icon {
    color: #dc2626;
    background-color: #fee2e2;
}

.toast.toast-warning .toast-icon {
    color: #d97706;
    background-color: #fef3c7;
}

.toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    margin-right: 12px;
}

.toast-message {
    font-size: 14px;
    font-weight: 400;
    color: #374151;
    flex: 1;
}

.toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: transparent;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.2s;
}

.toast-close:hover {
    background-color: #f3f4f6;
    color: #111827;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* Keep authentication dialogs above the sticky shop navigation and within the viewport. */
body.auth-modal-open,
body:has(.auth-modal-overlay.show) {
  overflow: hidden !important;
}

.auth-modal-overlay {
  z-index: 200000 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(5px) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}

.auth-modal-overlay.show {
  display: flex !important;
}

.auth-modal-overlay .auth-modal,
.auth-modal {
  width: 100% !important;
  max-width: 440px !important;
  margin: auto !important;
  display: none;
  flex-direction: column !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.auth-modal-overlay .account-box,
.auth-modal-overlay #loginModal .account-box,
.auth-modal-overlay #signupModal .account-box,
body:not(.admin-body) .auth-modal-overlay .account-box,
.auth-modal .account-box {
  background-color: #141517 !important;
  border: 1px solid #232428 !important;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.75) !important;
  border-radius: 18px !important;
  padding: 28px 26px !important;
  max-height: calc(100vh - 32px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  box-sizing: border-box !important;
  position: relative !important;
  margin: 0 auto !important;
  width: 100% !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.auth-modal-overlay .account-box::-webkit-scrollbar {
  width: 4px;
}
.auth-modal-overlay .account-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

/* Close button - sleek, top-right aligned with title */
.auth-modal .close-modal-btn {
  position: absolute !important;
  top: 24px !important;
  right: 24px !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  color: #6b7280 !important;
  cursor: pointer !important;
  padding: 0 !important;
  border-radius: 6px !important;
  z-index: 20 !important;
  transition: color 0.2s ease !important;
}
.auth-modal .close-modal-btn:hover {
  color: #ffffff !important;
}
.auth-modal .close-modal-btn svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
}

/* Modal Title & Subtitle */
.auth-modal h2,
.auth-modal .auth-modal-title,
.auth-modal .u-style-63f14667bc,
body:not(.admin-body) .account-box h2 {
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  margin: 0 0 18px 0 !important;
  text-align: left !important;
  text-align: center !important;
  color: #ffffff !important;
  letter-spacing: -0.2px !important;
}

.auth-modal .auth-modal-subtitle {
  font-size: 0.85rem !important;
  color: #888892 !important;
  margin: -10px 0 20px 0 !important;
  text-align: left !important;
  text-align: center !important;
  line-height: 1.4 !important;
}

/* Form Container */
.auth-modal .login-ui-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.auth-modal .auth-field-group,
.auth-modal .login-ui-form .flex-column {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.auth-modal .auth-field-group > label,
.auth-modal .login-ui-form .flex-column > label,
.auth-modal label {
  display: block !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  color: #e4e4e7 !important;
  margin-top: 0 !important;
  margin-bottom: 7px !important;
  letter-spacing: 0.1px !important;
  text-align: left !important;
}

/* Standardized input fields */
.auth-modal .login-ui-form .inputForm,
.auth-modal .inputForm {
  height: 48px !important;
  min-height: 48px !important;
  border: 1px solid #2c2d32 !important;
  border-radius: 10px !important;
  background-color: #1a1b1e !important;
  padding: 0 14px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.auth-modal .login-ui-form .inputForm:focus-within,
.auth-modal .inputForm:focus-within {
  border-color: #4b5563 !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05) !important;
}

.auth-modal .login-ui-form .inputForm.has-error,
.auth-modal .inputForm.has-error,
.auth-modal .phone-number-box.has-error {
  border-color: #ea3838 !important;
  box-shadow: 0 0 0 2px rgba(234, 56, 56, 0.2) !important;
}

/* The login form explains what is missing instead of swallowing the click:
   the LOGIN button keeps the greyed :invalid look (see DYNAMIC BUTTON ACTIVE
   STATE) but stays clickable, so homepage.js can show the inline message
   under the field, the way the browser does for the checkout date field. */
.auth-modal #modalLoginForm:invalid .button-submit {
  pointer-events: auto;
  cursor: not-allowed;
}

/* Icons inside input */
.auth-modal .login-ui-form .inputForm svg.input-icon,
.auth-modal .inputForm svg:not(.feather-eye):not(.tab-card-icon) {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  stroke: #6b7280 !important;
  fill: none !important;
  stroke-width: 1.8 !important;
}

.auth-modal .login-ui-form .inputForm:focus-within svg.input-icon,
.auth-modal .inputForm:focus-within svg:not(.feather-eye):not(.tab-card-icon) {
  stroke: #9ca3af !important;
}

.auth-modal .login-ui-form .inputForm.has-error svg.input-icon,
.auth-modal .inputForm.has-error svg:not(.feather-eye):not(.tab-card-icon) {
  stroke: #ea3838 !important;
}

.auth-modal .login-ui-form .input,
.auth-modal .input {
  font-size: 0.88rem !important;
  color: #ffffff !important;
  margin: 0 !important;
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  flex: 1 !important;
  padding: 0 !important;
}

.auth-modal .login-ui-form .input::placeholder {
  color: #595d66 !important;
  font-size: 0.88rem !important;
}

/* Password Reveal Buttons */
.auth-modal .reveal-btn,
.auth-modal .reveal-btn-forgot {
  background: none !important;
  border: none !important;
  color: #6b7280 !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.2s ease !important;
  flex-shrink: 0 !important;
}

.auth-modal .reveal-btn:hover,
.auth-modal .reveal-btn-forgot:hover {
  color: #d4d4d8 !important;
}

.auth-modal .reveal-btn svg,
.auth-modal .reveal-btn-forgot svg {
  width: 18px !important;
  height: 18px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 1.8 !important;
}

/* Remember me & Forgot Password Row */
.auth-modal .auth-options-row,
.auth-modal .login-ui-form .flex-row:not(.auth-social-row) {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 2px 0 !important;
}

.auth-modal .remember-me-label,
.auth-modal .login-ui-form .flex-row > div {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.auth-modal .remember-me-label span,
.auth-modal .login-ui-form .flex-row > div > label {
  font-size: 0.84rem !important;
  color: #888892 !important;
  margin: 0 !important;
  cursor: pointer !important;
  user-select: none !important;
  font-weight: 400 !important;
}

.auth-modal input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  cursor: pointer !important;
  accent-color: #ea3838 !important;
  border-radius: 4px !important;
}

.auth-modal .auth-link-red,
.auth-modal .login-ui-form .span,
.auth-modal #forgotPasswordLink {
  font-size: 0.84rem !important;
  color: #ea3838 !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.auth-modal .auth-link-red:hover,
.auth-modal #forgotPasswordLink:hover {
  color: #f87171 !important;
  text-decoration: none !important;
}

/* Submit Button - compact with perfect spacing & original pulse animation from GitHub */
.auth-modal .login-ui-form .button-submit,
.auth-modal .button-submit {
  height: 38px !important;
  min-height: 38px !important;
  margin: 6px 0 2px 0 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  border-radius: 7px !important;
  background-color: #e51b1b !important;
  border: none !important;
  color: #ffffff !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
  width: 100% !important;
}

.auth-modal .login-ui-form .button-submit:hover:not(:disabled),
.auth-modal .button-submit:hover:not(:disabled) {
  background-color: #c41414 !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6) !important;
  animation: btn-pulse 1.5s infinite !important;
}

.auth-modal .login-ui-form:valid .button-submit,
.auth-modal:valid .button-submit {
  opacity: 1 !important;
  pointer-events: auto !important;
  background-color: #ff0000 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.6) !important;
  animation: btn-pulse 1.5s infinite !important;
}

.auth-modal .button-submit:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  animation: none !important;
  box-shadow: none !important;
}

.auth-modal #modalSignupBtn {
  margin-top: 5px !important;
  margin-bottom: 2px !important;
}

/* Switch links ("Don't have an account? Sign up") */
.auth-modal .auth-switch-text,
.auth-modal .login-ui-form .p:not(.line) {
  margin: 4px 0 !important;
  margin: 14px 0 0 0 !important;
  font-size: 0.84rem !important;
  color: #888892 !important;
  text-align: center !important;
}

/* Divider ("or continue with") */
.auth-modal .auth-divider,
.auth-modal .login-ui-form .p.line {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 10px 0 !important;
  margin: 16px 0 12px 0 !important;
  position: relative !important;
}

.auth-modal .auth-divider::before,
.auth-modal .auth-divider::after,
.auth-modal .login-ui-form .p.line::before,
.auth-modal .login-ui-form .p.line::after {
  content: "" !important;
  flex: 1 !important;
  height: 1px !important;
  background-color: #26272b !important;
  position: static !important;
  width: auto !important;
}

.auth-modal .auth-divider span,
.auth-modal .login-ui-form .p.line {
  padding: 0 12px !important;
  font-size: 0.78rem !important;
  color: #6b7280 !important;
  white-space: nowrap !important;
  text-transform: lowercase !important;
}

/* Social Buttons */
.auth-modal .auth-social-row,
.auth-modal .login-ui-form .flex-row:has(.btn) {
  display: flex !important;
  gap: 12px !important;
  margin-top: 2px !important;
}

.auth-modal .auth-social-row .btn,
.auth-modal .login-ui-form .btn {
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 10px !important;
  border: 1px solid #2c2d32 !important;
  background-color: #1a1b1e !important;
  color: #ffffff !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex: 1 !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

.auth-modal .auth-social-row .btn:hover,
.auth-modal .login-ui-form .btn:hover {
  background-color: #23252a !important;
  border-color: #3b3e45 !important;
}

.auth-modal .auth-social-row .btn svg,
.auth-modal .login-ui-form .btn svg {
  width: 17px !important;
  height: 17px !important;
  flex-shrink: 0 !important;
  fill: #ffffff !important;
}

/* Reset Password Recovery Method Tabs (Stacked Card Style) */
.auth-modal .reset-method-tabs {
  display: flex !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

.auth-modal .reset-method-tab {
  flex: 1 !important;
  height: 84px !important;
  border-radius: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border: 1px solid #2c2d32 !important;
  background-color: #1a1b1e !important;
  color: #888892 !important;
  padding: 0 8px !important;
}

.auth-modal .reset-method-tab .tab-card-icon,
.auth-modal .reset-method-tab svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #888892 !important;
  fill: none !important;
  stroke-width: 1.8 !important;
}

.auth-modal .reset-method-tab span {
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  color: #888892 !important;
}

.auth-modal .reset-method-tab.active {
  border: 1.5px solid #ea3838 !important;
  background-color: #201718 !important;
}

.auth-modal .reset-method-tab.active .tab-card-icon,
.auth-modal .reset-method-tab.active svg {
  stroke: #ffffff !important;
}

.auth-modal .reset-method-tab.active span {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Reset Password Phone Number Row */
.auth-modal .phone-input-row {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.auth-modal .phone-country-box {
  width: 68px !important;
  height: 48px !important;
  min-height: 48px !important;
  background-color: #1a1b1e !important;
  border: 1px solid #2c2d32 !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.auth-modal .phone-number-box {
  flex: 1 !important;
}

.auth-modal .auth-field-note {
  font-size: 0.78rem !important;
  color: #6b7280 !important;
  margin: 6px 0 0 2px !important;
  text-align: left !important;
  line-height: 1.35 !important;
}

/* Back to login nav */
.auth-modal .auth-back-nav {
  text-align: center !important;
  margin: 18px 0 0 0 !important;
}

.auth-modal .auth-back-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  color: #ea3838 !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.auth-modal .auth-back-link:hover {
  color: #f87171 !important;
}

.auth-modal .auth-back-link svg {
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
}

/* Helper text in signup */
.auth-modal .password-helper-text {
  font-size: 0.78rem !important;
  color: #6b7280 !important;
  margin: 6px 0 0 2px !important;
  text-align: left !important;
}

/* OTP digit boxes styling */
.auth-modal .otp-boxes-wrapper {
  display: flex !important;
  gap: 8px !important;
  justify-content: center !important;
  margin: 10px 0 !important;
}

.auth-modal .otp-digit-box {
  width: 44px !important;
  height: 48px !important;
  background-color: #1a1b1e !important;
  border: 1px solid #2c2d32 !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.auth-modal .otp-digit-box:focus {
  border-color: #4b5563 !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05) !important;
}

.auth-modal .otp-digit-box.is-filled {
  border-color: #ea3838 !important;
}

.auth-modal .resend-otp-btn {
  background: none !important;
  border: none !important;
  color: #ea3838 !important;
  font-size: 0.82rem !important;
  cursor: pointer !important;
  padding: 0 !important;
}
/* Shop color filter: a dot of the color beside its name. */
#filterColorContainer .size-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
}
#filterColorContainer .color-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto !important;
  min-width: 0;
  padding: 6px 10px !important;
  white-space: nowrap;
}
.color-filter-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}
.filter-hint {
  margin: 8px 0 0;
  color: #a1a1aa;
  font-size: 0.78rem;
  line-height: 1.4;
}
.shop-clear-inline {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #ff4d4d;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
}
html[data-theme="light"] .filter-hint { color: #52525b; }
html[data-theme="light"] .color-filter-dot { border-color: rgba(0, 0, 0, 0.25); }

/* Sign-up step 2 (contact and default address) and the login code step. */
.auth-modal .is-signup-hidden { display: none !important; }
.auth-modal .signup-step-label {
  margin: 0 0 10px;
  color: #a1a1aa;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.auth-modal .signup-address-intro {
  margin: 0 0 12px;
  color: #d4d4d8;
  font-size: 0.86rem;
  line-height: 1.45;
}
.auth-modal .signup-address-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.auth-modal .signup-address-row .signup-street-field { grid-column: span 1; }
.auth-modal .signup-address-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-modal .signup-address-step .auth-field-group { margin: 0; }
.auth-modal .signup-address-intro { margin-bottom: 0; }
/* Selects sit in the same .inputForm frame as the text inputs. */
.auth-modal .signup-select {
  width: 100%;
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.auth-modal .signup-select option { background: #121212; color: #f4f4f5; }
.auth-modal .signup-select:disabled { opacity: 0.55; }
.auth-modal .login-otp-input {
  font-size: 1.2rem;
  letter-spacing: 0.4em;
}
.auth-modal .login-otp-resend-row {
  gap: 10px;
  margin: 4px 0 10px;
  color: #a1a1aa;
  font-size: 0.82rem;
}
html[data-theme="light"] .auth-modal .signup-step-label,
html[data-theme="light"] .auth-modal .login-otp-resend-row { color: #52525b; }
html[data-theme="light"] .auth-modal .signup-address-intro { color: #3f3f46; }
html[data-theme="light"] .auth-modal .signup-select option { background: #ffffff; color: #18181b; }
@media (max-width: 480px) {
  .auth-modal .signup-address-row { grid-template-columns: 1fr; }
}
.auth-modal .resend-otp-btn:disabled {
  color: #666666 !important;
  cursor: not-allowed !important;
}

/* Keep the category bar and its mega menus above the sticky header. */
.navbar {
  z-index: 100030 !important;
}

.category-navbar {
  z-index: 100020 !important;
}

.category-navbar .mega-menu {
  z-index: 100021 !important;
}

/* The mobile drawer slides in underneath the header bar (logo, search, ✕), so
   its first rows must start below that bar or they cannot be tapped. */
@media (max-width: 768px) {
  body:not(.admin-body) .category-navbar.mobile-show {
    padding-top: calc(var(--customer-header-offset, 114px) + 12px) !important;
  }
}

@media (min-width: 769px) {
  .category-links {
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  .category-links > a.category-filter,
  .category-links > .nav-item-dropdown {
    align-items: center !important;
    display: flex !important;
    height: 44px !important;
    justify-content: center !important;
    margin: 0 !important;
    min-width: 150px !important;
    padding: 0 22px !important;
  }

  .category-links > .nav-item-dropdown > .category-filter {
    align-items: center !important;
    display: inline-flex !important;
    height: 100% !important;
    padding: 0 !important;
  }
}

/* Final customer header scale: keep the wordmark visually prominent
   while preserving room for search and account actions. */
@media (min-width: 769px) {
  .navbar {
    min-height: 90px !important;
    height: 90px !important;
    padding: 10px 24px 8px !important;
    gap: 18px !important;
    flex-wrap: nowrap !important;
  }

  .logo-link {
    flex: 0 0 230px !important;
    width: 230px !important;
    height: 72px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .logo-wrapper {
    width: 230px !important;
    height: 72px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
  }

  .main-logo-img {
    width: 230px !important;
    height: 72px !important;
    max-width: 230px !important;
    object-fit: cover !important;
    object-position: center 42% !important;
    transform: none !important;
    margin: 0 !important;
  }

  .search-container {
    flex: 0 1 400px !important;
    width: 400px !important;
    max-width: 400px !important;
    min-width: 0 !important;
    height: 44px !important;
  }

  .search-container .form {
    width: 100% !important;
    height: 44px !important;
    padding-inline: 12px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
  }

  .search-container .form::before {
    display: none !important;
  }

  .search-container .form:focus-within {
    border-radius: 999px !important;
    border-color: #d12027 !important;
    box-shadow: 0 0 0 2px rgba(209, 32, 39, 0.16) !important;
  }

  .search-container .input {
    padding: 0.35em 0.5em !important;
  }

  .nav-links {
    flex: 0 0 auto !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  .category-navbar {
    padding: 4px 16px !important;
  }

  .category-links {
    align-items: stretch !important;
    justify-content: center !important;
    column-gap: 4px !important;
  }

  .category-links > a.category-filter,
  .category-links > .nav-item-dropdown {
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 24px !important;
  }

  .category-links > .nav-item-dropdown > .category-filter {
    height: 100% !important;
    padding: 0 !important;
  }
}

@media (max-width: 768px) {
  .navbar {
    min-height: 68px !important;
    height: 68px !important;
    padding: 10px 12px 6px !important;
  }

  .search-container {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
  }

  .search-container .form {
    height: 40px !important;
    padding-inline: 10px !important;
    border-radius: 999px !important;
  }

  .logo-link {
    width: 165px !important;
    height: 52px !important;
  }

  .logo-wrapper {
    width: 165px !important;
    height: 52px !important;
    overflow: hidden !important;
  }

  .main-logo-img {
    width: 165px !important;
    height: 52px !important;
    max-width: 165px !important;
    object-fit: cover !important;
    object-position: center 42% !important;
    transform: none !important;
  }

  .category-links {
    column-gap: 2px !important;
  }

  .category-links > a.category-filter,
  .category-links > .nav-item-dropdown {
    padding: 0 24px !important;
  }
}

/* ==========================================================================
   MOTOLECTRON NOTIFICATION SYSTEM
   Minimalist Dark Zinc FlyonUI styling is defined in assets/css/notifications.css
   ========================================================================== */

/* Keep the customer header in one fixed position on every regular page. */
body:not(.admin-body):has(> header) {
  --customer-header-offset: 136px;
  padding-top: var(--customer-header-offset) !important;
}

body.cart-page:not(.admin-body):has(> header) {
  --customer-header-offset: 90px;
}

body:not(.admin-body):has(> header) > header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  z-index: 100030 !important;
}

body:not(.admin-body):has(> header) > header > .navbar {
  position: relative !important;
  top: auto !important;
}

/* On desktop the category bar sits in the header flow. On mobile it is the
   slide-over drawer (see the 768px block above), which must stay fixed. */
@media (min-width: 769px) {
  body:not(.admin-body):has(> header) > header > .category-navbar {
    position: relative !important;
    top: auto !important;
  }
}

@media (max-width: 768px) {
  body:not(.admin-body):has(> header) {
    --customer-header-offset: 114px;
  }

  /* Drawer rows grow with their open accordion instead of clipping it. The
     body:not(.admin-body) prefix outranks the shared rules in motolectron.css. */
  body:not(.admin-body) .category-navbar .category-links > a.category-filter,
  body:not(.admin-body) .category-navbar .category-links > .nav-item-dropdown {
    height: auto !important;
    min-height: 38px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body:not(.admin-body) .category-navbar .category-links > .nav-item-dropdown > .category-filter {
    display: flex !important;
    align-items: center !important;
    min-height: 38px !important;
  }

  /* The drawer is a fixed 300px column: never let the list or an open mega
     menu size itself to its content (motolectron.css uses max-content for the
     horizontal desktop bar). */
  body:not(.admin-body) .category-navbar .category-links {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body:not(.admin-body) .category-navbar .mega-menu,
  body:not(.admin-body) .category-navbar .mega-menu-content {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px !important;
  }

  body:not(.admin-body) .category-navbar .nav-item-dropdown:not(.open-sub) .mega-menu {
    display: none !important;
  }

  body:not(.admin-body) .category-navbar .mega-brands-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body:not(.admin-body) .category-navbar .mega-column {
    min-width: 0 !important;
    width: 100% !important;
  }

  body:not(.admin-body) .category-navbar .mega-column a,
  body:not(.admin-body) .category-navbar .mega-column h4 {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.cart-page:not(.admin-body):has(> header) {
    --customer-header-offset: 68px;
  }
}

/* Notification badge placement handled cleanly in assets/css/notifications.css */

/* Give each category dropdown a little more horizontal breathing room. */
@media (min-width: 769px) {
  .category-navbar .category-links > .nav-item-dropdown {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 768px) {
  .category-navbar .category-links > .nav-item-dropdown {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* Logged-in profile menu: spacious card layout matching the customer header. */
#profileDropdown {
  width: 280px !important;
  min-width: 280px !important;
  max-width: calc(100vw - 24px) !important;
  top: calc(100% + 8px) !important;
  padding: 14px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  pointer-events: auto !important;
}

#profileDropdown > .profile-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 0 14px !important;
  margin: 0 !important;
}

#profileDropdown .profile-avatar {
  width: 76px !important;
  height: 76px !important;
  flex: 0 0 76px !important;
  border: 2px solid #ff0000 !important;
  border-radius: 50% !important;
  background: #111 !important;
  color: #ff0000 !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
}

#profileDropdown .u-style-876bde1d90 {
  min-width: 0 !important;
  max-width: 168px !important;
  gap: 2px !important;
}

#profileDropdown #profileName {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  overflow-wrap: anywhere !important;
}

#profileDropdown #profileRole {
  color: #888 !important;
  font-size: 0.82rem !important;
  line-height: 1.2 !important;
}

#profileDropdown > hr {
  margin: 0 0 6px !important;
  border: 0 !important;
  border-top: 1px solid #242424 !important;
  opacity: 1 !important;
}

#profileDropdown .profile-dropdown-link {
  min-height: 44px !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 6px !important;
  font-size: 0.96rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  pointer-events: auto !important;
}

#profileDropdown .profile-dropdown-link:hover {
  padding: 10px 12px !important;
  border: 0 !important;
  background: #1b1b1b !important;
}

#profileDropdown .dropdown-link-left {
  gap: 0 !important;
}

#profileDropdown .dropdown-link-left span {
  font-size: 0.96rem !important;
  line-height: 1.2 !important;
}

#profileDropdown .dropdown-badge-red {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.8rem !important;
}

#profileDropdown #logoutDropdownBtn {
  margin-top: 4px !important;
  color: #ff0000 !important;
}

#profileDropdown #logoutDropdownBtn .dropdown-link-left span {
  color: #ff0000 !important;
}

@media (max-width: 400px) {
  #profileDropdown {
    width: min(280px, calc(100vw - 24px)) !important;
    min-width: 0 !important;
  }

  #profileDropdown .profile-avatar {
    width: 68px !important;
    height: 68px !important;
    flex-basis: 68px !important;
    font-size: 1.6rem !important;
  }

  #profileDropdown .u-style-876bde1d90 {
    max-width: 155px !important;
  }
}

/* From Uiverse.io by david-mohseni */ 
.wrapper {
  display: inline-flex;
  list-style: none;
  height: 120px;
  width: 100%;
  padding-top: 40px;
  font-family: "Poppins", sans-serif;
  justify-content: flex-start;
  margin-left: -10px;
}

.wrapper .icon {
  color: #333;
  position: relative;
  background: #fff;
  border-radius: 50%;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #fff;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  color: #fff;
}

.wrapper .tiktok:hover,
.wrapper .tiktok:hover .tooltip,
.wrapper .tiktok:hover .tooltip::before {
  background: #000;
  color: #fff;
}

.wrapper .shopee:hover,
.wrapper .shopee:hover .tooltip,
.wrapper .shopee:hover .tooltip::before {
  background: #ee4d2d;
  color: #fff;
}

/* Restore responsive font sizes for hero title */
@media (max-width: 1024px) { .hero-content h1 { font-size: 3.5rem !important; margin-bottom: 15px; } }
@media (max-width: 768px) { .hero-content h1 { font-size: 3rem !important; margin-bottom: 15px; } }
@media (max-width: 480px) { .hero-content h1 { font-size: 2.2rem !important; margin-bottom: 15px; } }
@media (max-width: 360px) { .hero-content h1 { font-size: 1.8rem !important; letter-spacing: 0 !important; margin-bottom: 15px; } }
@media (max-width: 320px) { .hero-content h1 { font-size: 1.5rem !important; margin-bottom: 15px; } }

/* Custom Pagination for Shop */
.custom-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.custom-pagination .page-btn {
  background: #121212;
  color: #ffffff;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  padding: 0 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.custom-pagination .page-btn svg {
  display: block;
}

.custom-pagination .page-btn.active {
  background-color: #d61a1a;
  border: 1px solid #d61a1a;
  color: #ffffff;
  box-shadow: none;
}

.custom-pagination .page-btn:not(.active):not(:disabled):not(.dots):hover {
  background: #2a2a2a;
  border-color: rgba(214, 26, 26, 0.5);
}

.custom-pagination .page-btn.dots {
  background: transparent !important;
  border: none !important;
  color: #888888 !important;
  pointer-events: none;
}

.custom-pagination .page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Force 4 columns on large screens for shop */
@media (min-width: 768px) {
  .shop-content .product-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.btn-header-logout {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: #202020 !important;
  color: #d1d5db !important;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none !important;
}

.btn-header-logout:hover {
  background: #2d3748 !important;
  color: #ffffff !important;
  border-color: #4b5563;
}

.btn-header-logout svg {
  stroke: currentColor;
  flex-shrink: 0;
}

/* ========================================================
   MULTI-STEP FORGOT PASSWORD MODAL VIEWS
   ======================================================== */
@keyframes modalViewFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-modal-view {
  animation: modalViewFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-modal-subtitle {
  font-size: 0.84rem;
  color: #9ca3af;
  margin: -6px 0 20px 0;
  text-align: center;
  line-height: 1.45;
}

.back-to-login-link {
  color: #d61a1a !important;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.back-to-login-link:hover {
  color: #ff3333 !important;
  text-decoration: underline;
}

.otp-digit-input {
  letter-spacing: 6px;
  font-size: 1.25rem !important;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
}

.auth-flow-toast {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 15px;
  display: none;
  animation: modalViewFadeIn 0.25s ease forwards;
}

.auth-flow-toast.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.auth-flow-toast.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* =========================================
   SIGNUP EMAIL VERIFICATION VIEW (APPLE DESIGN)
   ========================================= */
.verify-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px auto 18px auto;
}

.verify-pulse-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 31, 31, 0.1);
  border: 1.5px solid rgba(255, 31, 31, 0.35);
  color: var(--brand-primary, #ff1f1f);
  box-shadow: 0 0 28px rgba(255, 31, 31, 0.22);
  position: relative;
  animation: verifyPulseAnim 2.6s ease-in-out infinite;
}

@keyframes verifyPulseAnim {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 31, 31, 0.2), 0 0 0 0 rgba(255, 31, 31, 0.25);
  }
  50% {
    box-shadow: 0 0 32px rgba(255, 31, 31, 0.35), 0 0 0 10px rgba(255, 31, 31, 0);
  }
}

.verify-pulse-ring.verified {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.5);
  color: #22c55e;
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.3);
  animation: none;
}

.verify-email-chip {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  word-break: break-all;
  letter-spacing: 0.2px;
}

.verify-info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 20px 0;
  text-align: left;
  line-height: 1.5;
}

.verify-info-icon {
  flex-shrink: 0;
  color: #edbd75;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-info-text {
  font-size: 0.8rem;
  color: #a1a1aa;
}

.verify-info-text strong {
  color: #e4e4e7;
}

/* Light mode support */
/* Consistently crisp inside dark modal box */
.verify-info-text strong {
  color: #f4f4f5;
}







/* =========================================
   INTERACTIVE PRODUCT CARD WITH COLOR CHOOSER
   ========================================= */
body:not(.admin-body) .product-card .content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  padding: 16px !important;
  min-height: 380px !important;
  position: relative !important;
}

body:not(.admin-body) .product-img-container {
  height: 195px !important;
  background: var(--moto-panel-inset, #0d0d0d) !important;
  margin-bottom: 8px !important;
  border-radius: 10px !important;
  padding: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Flat, calm card (DESIGN.md: depth through tone + fine borders, not glows). The earlier
   Uiverse "rotating halo" blocks above are fully neutralised here: no gradient ::before,
   no per-card backdrop-filter. */
.product-card {
  background: var(--moto-panel, #111111) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: hidden !important;
  position: relative !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24) !important;
  cursor: pointer !important;
  border-radius: 10px !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.25s ease !important;
  padding: 0 !important;
  border: 1px solid var(--moto-border, #222222) !important;
}

.product-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--moto-red, #ff1f1f) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--moto-red-glow, rgba(255, 31, 31, 0.22)) !important;
}

.product-card::before,
.product-card::after,
.product-card .content::before {
  content: none !important;
  display: none !important;
  animation: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

.product-card .content {
  border-radius: 9px !important;
  background: var(--moto-panel, #111111) !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
  position: relative !important;
  padding: 16px !important;
  color: var(--moto-text, #ffffff) !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}


body:not(.admin-body) .product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s ease-out !important;
}

body:not(.admin-body) .product-card:hover:not(.is-sold-out) .product-image {
  transform: scale(1.05) !important;
}

body:not(.admin-body) .product-image.switching {
  opacity: 0.25 !important;
  transform: scale(0.95) !important;
}

/* =========================================
   1. PRIORITY BADGES (Top-Left of Image)
   ========================================= */
.product-card-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.70rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  padding: 3px 9px !important;
  border-radius: 20px !important;
  z-index: 6 !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45) !important;
  line-height: 1.3 !important;
}

.product-card-badge.badge-soldout {
  background: rgba(31, 41, 55, 0.92) !important;
  color: #d1d5db !important;
  border: 1px solid rgba(156, 163, 175, 0.45) !important;
}

.product-card-badge.badge-sale {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(254, 202, 202, 0.5) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.product-card-badge.badge-bestseller {
  display: inline-flex !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(253, 230, 138, 0.5) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.product-card-badge.badge-new {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(165, 243, 252, 0.5) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

/* =========================================
   2. WISHLIST / FAVORITES (Top-Right of Image)
   ========================================= */
.product-wishlist-btn {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(18, 18, 22, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #9ca3af !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 6 !important;
  padding: 0 !important;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

.product-wishlist-btn svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  transition: transform 0.2s ease, fill 0.2s ease, stroke 0.2s ease !important;
}

.product-wishlist-btn:hover {
  transform: scale(1.16) !important;
  color: var(--moto-red, #ff1f1f) !important;
  border-color: var(--moto-red-glow, rgba(255, 31, 31, 0.22)) !important;
  background: rgba(28, 18, 22, 0.92) !important;
}

.product-wishlist-btn.active {
  color: var(--moto-red, #ff1f1f) !important;
  background: var(--moto-red-glow, rgba(255, 31, 31, 0.22)) !important;
  border-color: var(--moto-red, #ff1f1f) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

.product-wishlist-btn.active svg {
  fill: var(--moto-red, #ff1f1f) !important;
  stroke: var(--moto-red, #ff1f1f) !important;
  animation: heartPop 0.38s cubic-bezier(0.17, 0.89, 0.32, 1.49) !important;
}

@keyframes heartPop {
  0% { transform: scale(0.7); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* =========================================
   3. SOLD OUT OVERLAY
   ========================================= */
.product-card.is-sold-out .product-image {
  filter: grayscale(85%) contrast(85%) !important;
  opacity: 0.55 !important;
}

.product-card.is-sold-out .product-img-container::after {
  content: 'SOLD OUT' !important;
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(10, 10, 12, 0.6) !important;
  color: #f3f4f6 !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  letter-spacing: 2.5px !important;
  backdrop-filter: blur(2.5px) !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

/* =========================================
   4. PRODUCT CARD META
   ========================================= */
body:not(.admin-body) .product-card-meta {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  margin-top: 6px !important;
  width: 100% !important;
}

body:not(.admin-body) .product-card-color-label {
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  color: var(--moto-muted, #a1a1aa) !important;
  margin: 2px 0 6px 0 !important;
  text-align: left !important;
  min-height: 1.25em !important;
  line-height: 1.25 !important;
  letter-spacing: 0.2px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  transition: color 0.18s ease !important;
}

body:not(.admin-body) .product-card-swatches {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 8px 0 !important;
  min-height: 24px !important;
}

body:not(.admin-body) .color-swatch-btn {
  width: 17px !important;
  height: 17px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  border: 1.5px solid var(--moto-border-hover, #555555) !important;
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease, border-color 0.18s ease !important;
  flex-shrink: 0 !important;
}

body:not(.admin-body) .color-swatch-btn:hover {
  transform: scale(1.28) !important;
  border-color: var(--moto-text, #ffffff) !important;
  z-index: 2 !important;
}

body:not(.admin-body) .color-swatch-btn.active {
  box-shadow: 0 0 0 2px var(--moto-panel, #111111), 0 0 0 4px var(--moto-text, #ffffff) !important;
  transform: scale(1.18) !important;
  border-color: transparent !important;
  z-index: 3 !important;
}

body:not(.admin-body) .color-swatch-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--moto-panel, #111111), 0 0 0 4px var(--moto-text, #ffffff) !important;
}

/* =========================================
   5. STOCK TEXT INDICATOR
   ========================================= */
.product-stock-urgency {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  color: var(--moto-muted, #a1a1aa) !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
}

.product-stock-urgency.low-stock,
.product-stock-urgency.in-stock,
.product-stock-urgency.sold-out,
.product-stock-urgency.out-of-stock {
  color: var(--moto-muted, #a1a1aa) !important;
}

.stock-dot {
  display: none !important;
}

.color-label-header .product-stock-urgency {
  font-size: 0.85rem !important;
  margin: 0 !important;
}

/* =========================================
   6. STAR RATING ROW (PILL BADGE WITH BG)
   ========================================= */
.product-card-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: var(--moto-text-secondary, #d4d4d8) !important;
  margin: 0 0 6px 0 !important;
  line-height: 1 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.product-card-stars {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  line-height: 1 !important;
}

.product-card-stars .star-item {
  font-size: 0.88rem !important;
  line-height: 1 !important;
  text-shadow: none !important;
  transition: color 0.15s ease !important;
}

.product-card-stars .star-item.filled {
  color: #f59e0b !important;
  text-shadow: none !important;
}

.product-card-stars .star-item.empty {
  color: var(--moto-border-hover, #555555) !important;
  text-shadow: none !important;
}

.product-card-rating .rating-count {
  color: var(--moto-muted, #a1a1aa) !important;
  font-weight: 500 !important;
  font-size: 0.78rem !important;
  line-height: 1 !important;
}

/* =========================================
   7. PRODUCT TITLE
   ========================================= */
body:not(.admin-body) .product-card-title {
  color: var(--moto-text, #ffffff) !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px 0 !important;
  text-align: left !important;
  width: 100% !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  min-height: 2.7em !important;
  transition: color 0.18s ease !important;
}

body:not(.admin-body) .product-card:hover .product-card-title {
  color: var(--moto-red, #ff1f1f) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* =========================================
   8. PRICE & ORIGINAL PRICE STRIKETHROUGH
   ========================================= */
body:not(.admin-body) .product-card-price-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  width: 100% !important;
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--moto-border, #222222) !important;
}

.product-price-wrapper {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  justify-content: center !important;
}

.product-original-price {
  font-size: 0.88rem !important;
  color: var(--moto-text-dim, #71717a) !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
}

body:not(.admin-body) .product-card-price,
.product-card-price {
  color: var(--moto-text, #ffffff) !important;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.25px !important;
  text-align: center !important;
  font-feature-settings: "tnum" !important;
  background: transparent !important;
  border: none !important;
  padding: 2px 0 !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: color 0.18s ease !important;
}

body:not(.admin-body) .product-card:hover .product-card-price,
.product-card:hover .product-card-price {
  color: var(--moto-text, #ffffff) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
}

/* =========================================
   9. QUICK ACTION BUTTON (Select Options / Add to Cart)
   - Visible by default in resting state (dark neutral style, no hover effect yet)
   - On cursor hover: rises up ("umaakyat") and activates Motolectron red hover effect
   - On direct button hover: elevates further with vibrant red glowing shadow
   ========================================= */
.product-quick-action-btn {
  margin-top: 8px !important;
  width: 100% !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  outline: none !important;
  border: 1px solid var(--moto-border-subtle, #2a2a2a) !important;
  background: var(--moto-panel-soft, #191919) !important;
  color: var(--moto-text, #ffffff) !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  box-shadow: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.25s ease !important;
  will-change: transform, box-shadow;
}

.product-quick-action-btn svg {
  flex-shrink: 0 !important;
  transition: transform 0.22s ease !important;
}

/* Card hover: keep Add to Cart button in its resting state (do NOT lift or show hover effect yet) */
.product-card:hover .product-quick-action-btn:not(:hover):not(:disabled) {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  background: var(--moto-panel-soft, #191919) !important;
  border: 1px solid var(--moto-border-subtle, #2a2a2a) !important;
  color: var(--moto-text, #ffffff) !important;
  box-shadow: none !important;
}

.product-card:hover .product-quick-action-btn:not(:hover):not(:disabled) svg {
  transform: none !important;
}

/* Direct button hover: ONLY when cursor touches the button does it rise up ("iaakyat") in clean red (NO glow!) */
.product-quick-action-btn:hover:not(:disabled) {
  opacity: 1 !important;
  transform: translateY(-3px) !important;
  pointer-events: auto !important;
  background: var(--moto-red, #ff1f1f) !important;
  border-color: var(--moto-red, #ff1f1f) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.product-quick-action-btn:hover:not(:disabled) svg {
  transform: scale(1.1) !important;
}

/* Click/Active state */
.product-quick-action-btn:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98) !important;
  box-shadow: none !important;
}

/* Disabled state (e.g. Sold Out) - visible but dimmed, flat, non-interactive */
.product-quick-action-btn:disabled {
  opacity: 0.45 !important;
  transform: translateY(0) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: var(--moto-panel-inset, #0d0d0d) !important;
  border: 1px solid var(--moto-border, #222222) !important;
  color: var(--moto-text-dim, #71717a) !important;
  box-shadow: none !important;
}

.product-card:hover .product-quick-action-btn:disabled {
  opacity: 0.45 !important;
  transform: translateY(0) !important;
  cursor: not-allowed !important;
  background: var(--moto-panel-inset, #0d0d0d) !important;
  border-color: var(--moto-border, #222222) !important;
  color: var(--moto-text-dim, #71717a) !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

/* Accessible & visible on touch devices where hover cursor is unavailable */
@media (hover: none) or (max-width: 768px) {
  .product-quick-action-btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }
}

/* =========================================
   COLOR / VARIANT RADIO BUTTON SELECTOR
   ========================================= */
.option-group-variants {
  width: 100% !important;
  margin-bottom: 22px !important;
}

.variant-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}

.variant-header-row .variant-label {
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #aaa !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selected-variant-name {
  color: #ff1f1f !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
}

.variant-radios-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.variant-radio-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 9px 16px !important;
  background: #161616 !important;
  border: 1.5px solid #2e2e2e !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease !important;
  user-select: none !important;
  position: relative !important;
  margin: 0 !important;
}

.variant-radio-label:hover {
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: #202020 !important;
  transform: translateY(-1px);
}

.variant-radio-label.active {
  border-color: #ff1f1f !important;
  background: rgba(255, 31, 31, 0.12) !important;
  box-shadow: 0 0 12px rgba(255, 31, 31, 0.28) !important;
}

.variant-radio-label .variant-radio-input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

.variant-radio-swatch {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  flex-shrink: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.18s ease !important;
}

.variant-radio-label:hover .variant-radio-swatch {
  transform: scale(1.15);
}

.variant-radio-label.active .variant-radio-swatch {
  box-shadow: 0 0 0 2px #141414, 0 0 0 4px #ffffff !important;
  border-color: transparent !important;
  transform: scale(1.15);
}

.variant-radio-text {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #9ca3af !important;
  white-space: nowrap !important;
  transition: color 0.18s ease;
}

.variant-radio-label:hover .variant-radio-text {
  color: #f3f4f6 !important;
}

.variant-radio-label.active .variant-radio-text {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* =========================================
   RELATED PRODUCTS CAROUSEL & STOCK BADGES
   ========================================= */
.related-section {
  max-width: 1320px;
  margin: 60px auto 40px auto;
  padding: 0 20px;
  position: relative;
}

.related-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
}

.related-section .related-title {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  letter-spacing: 0.5px;
}

.related-carousel-nav {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.related-nav-btn {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #181818 !important;
  border: 1.5px solid #333333 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  padding: 0 !important;
}

.related-nav-btn:hover:not(:disabled) {
  background: #ff1f1f !important;
  border-color: #ff1f1f !important;
  color: #ffffff !important;
  transform: scale(1.08) !important;
  box-shadow: 0 0 14px rgba(255, 31, 31, 0.4) !important;
}

.related-nav-btn:disabled {
  opacity: 0.25 !important;
  cursor: not-allowed !important;
  border-color: #242424 !important;
  background: #121212 !important;
}

.related-carousel-wrapper {
  overflow: hidden !important;
  width: 100% !important;
  position: relative !important;
  padding: 8px 2px !important;
}

.related-carousel-track {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-snap-type: x mandatory !important;
  padding-bottom: 8px !important;
}

.related-carousel-track::-webkit-scrollbar {
  display: none !important;
}

/* Display exactly 5 cards per view on desktop */
.related-carousel-track .product-card {
  flex: 0 0 calc((100% - (4 * 16px)) / 5) !important;
  min-width: calc((100% - (4 * 16px)) / 5) !important;
  max-width: calc((100% - (4 * 16px)) / 5) !important;
  scroll-snap-align: start !important;
  margin: 0 !important;
}

@media (max-width: 1200px) {
  .related-carousel-track .product-card {
    flex: 0 0 calc((100% - (3 * 16px)) / 4) !important;
    min-width: calc((100% - (3 * 16px)) / 4) !important;
    max-width: calc((100% - (3 * 16px)) / 4) !important;
  }
}

@media (max-width: 992px) {
  .related-carousel-track .product-card {
    flex: 0 0 calc((100% - (2 * 16px)) / 3) !important;
    min-width: calc((100% - (2 * 16px)) / 3) !important;
    max-width: calc((100% - (2 * 16px)) / 3) !important;
  }
}

@media (max-width: 640px) {
  .related-carousel-track .product-card {
    flex: 0 0 calc((100% - 12px) / 2) !important;
    min-width: calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2) !important;
  }
}

/* STOCK BADGES */
.product-stock-tag {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 3px 9px !important;
  border-radius: 20px !important;
  z-index: 3 !important;
  backdrop-filter: blur(8px) !important;
  letter-spacing: 0.3px !important;
}

.product-stock-tag.in-stock {
  background: rgba(34, 197, 94, 0.16) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(74, 222, 128, 0.35) !important;
}

.product-stock-tag.low {
  background: rgba(239, 68, 68, 0.18) !important;
  color: #f87171 !important;
  border: 1px solid rgba(248, 113, 113, 0.4) !important;
}

.stock-pulse {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
}

.stock-pulse.ok {
  background: #22c55e !important;
  box-shadow: 0 0 6px #22c55e !important;
}

.stock-pulse.warning {
  background: #ef4444 !important;
  box-shadow: 0 0 6px #ef4444 !important;
}

/* ========================================================
   AUTH MODAL TABS & FORGOT PASSWORD FLOW STYLES
   ======================================================== */
.auth-modal-tabs {
  display: flex !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 4px !important;
  margin-bottom: 20px !important;
  gap: 4px !important;
}

.auth-modal-tab {
  flex: 1 !important;
  padding: 10px 14px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 6px !important;
  color: #888888 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase !important;
  outline: none !important;
}

.auth-modal-tab:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.auth-modal-tab.active {
  background: #d61a1a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(214, 26, 26, 0.45) !important;
}

.auth-modal-subtitle {
  font-size: 0.85rem !important;
  color: #a0a0a0 !important;
  margin: -4px 0 16px 0 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

.auth-flow-toast {
  padding: 12px 16px !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  margin-bottom: 16px !important;
  line-height: 1.45 !important;
  display: none;
  animation: authFadeIn 0.3s ease-in-out !important;
}

.auth-flow-toast.error {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #fca5a5 !important;
}

.auth-flow-toast.success {
  background: rgba(34, 197, 94, 0.15) !important;
  border: 1px solid rgba(34, 197, 94, 0.45) !important;
  color: #86efac !important;
}

.auth-flow-toast.info {
  background: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.45) !important;
  color: #93c5fd !important;
}

.otp-digit-input {
  letter-spacing: 6px !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  text-align: center !important;
  font-family: Consolas, 'Courier New', monospace !important;
}

.resend-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 6px 0 14px 0 !important;
  font-size: 0.82rem !important;
  color: #888888 !important;
}

.resend-otp-btn {
  background: none !important;
  border: none !important;
  color: #ff4d4d !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  cursor: pointer !important;
  padding: 0 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.resend-otp-btn:hover:not(:disabled) {
  color: #ff8080 !important;
}

.resend-otp-btn:disabled {
  color: #666666 !important;
  cursor: not-allowed !important;
  text-decoration: none !important;
}

.resend-countdown {
  color: #777777 !important;
  font-size: 0.78rem !important;
  margin-left: 4px !important;
}

.auth-modal-footer-nav {
  margin-top: 18px !important;
  text-align: center !important;
}

.back-to-login-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: none !important;
  border: none !important;
  color: #999999 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
}

.back-to-login-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.reveal-btn-forgot {
  background: none !important;
  border: none !important;
  color: #888888 !important;
  cursor: pointer !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  transition: color 0.2s ease !important;
}

.reveal-btn-forgot:hover {
  color: #ffffff !important;
}

/* ── 3-STEP RESET PASSWORD FLOW STYLES ────────────────────────── */
.reset-method-tabs {
  display: flex !important;
  background-color: #141414 !important;
  border: 1px solid #282828 !important;
  border-radius: 8px !important;
  padding: 4px !important;
  margin-bottom: 16px !important;
  gap: 4px !important;
}

.reset-method-tab {
  flex: 1 !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 10px !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #888888 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
}

.reset-method-tab:hover:not(.active) {
  color: #ffffff !important;
  background-color: #1c1c1c !important;
}

.reset-method-tab.active {
  background-color: #262626 !important;
  color: #ffffff !important;
  border-color: #3e3e3e !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;
}

.reset-method-tab .tab-icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  stroke: currentColor !important;
  display: inline-block !important;
}

.phone-input-container {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.phone-prefix-badge {
  background-color: #222222 !important;
  color: #cccccc !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  border: 1px solid #383838 !important;
  user-select: none !important;
  flex-shrink: 0 !important;
  letter-spacing: 0.5px !important;
  transition: color 0.2s ease, border-color 0.2s ease !important;
}

.phone-input-container.has-error .phone-prefix-badge,
.phone-input-container.is-invalid .phone-prefix-badge {
  color: #ff4c4c !important;
  border-color: #ff4c4c !important;
}

.phone-digit-field {
  letter-spacing: 1px !important;
  font-weight: 600 !important;
}

/* 6-box OTP container */
.otp-boxes-wrapper {
  display: flex !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 16px 0 10px !important;
}

.otp-digit-box {
  width: 46px !important;
  height: 52px !important;
  border-radius: 8px !important;
  background-color: #1a1a1a !important;
  border: 1.5px solid #333333 !important;
  color: #ffffff !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  font-family: Consolas, 'Courier New', monospace !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.otp-digit-box:focus {
  border-color: #e51b1b !important;
  background-color: #221212 !important;
  box-shadow: 0 0 0 3px rgba(229, 27, 27, 0.25) !important;
}

.otp-digit-box.is-filled {
  border-color: #555555 !important;
  background-color: #1e1e1e !important;
}

/* Success Banner */
.auth-success-banner {
  background: linear-gradient(135deg, #092011 0%, #0d1510 100%) !important;
  border: 1px solid #166534 !important;
  border-radius: 8px !important;
  padding: 22px 16px !important;
  text-align: center !important;
  margin-bottom: 16px !important;
  animation: authFadeIn 0.3s ease !important;
}

.success-checkmark-circle {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background-color: rgba(34, 197, 94, 0.18) !important;
  border: 2px solid #22c55e !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 10px !important;
}

.phone-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  margin-left: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.phone-status-badge.verified {
  background-color: rgba(34, 197, 94, 0.15) !important;
  color: #22c55e !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.phone-status-badge.unverified {
  background-color: rgba(245, 158, 11, 0.15) !important;
  color: #f59e0b !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.btn-verify-phone {
  background: none !important;
  border: 1px solid #e51b1b !important;
  color: #e51b1b !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  margin-left: 8px !important;
  transition: all 0.2s ease !important;
}

.btn-verify-phone:hover {
  background: #e51b1b !important;
  color: #ffffff !important;
}

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

/* =========================================================
   SIGNUP MODAL ENHANCEMENTS: CONFIRM PASSWORD, CONSENT,
   2-COLUMN CHECKLIST & INLINE VALIDATION FEEDBACK
   ========================================================= */

/* 1. Compact 2-Column Password Strength Checklist & Meter */
.auth-modal .strength-meter {
  margin-top: 8px !important;
}

.auth-modal .strength-bars {
  display: flex !important;
  gap: 6px !important;
  height: 4px !important;
  margin-bottom: 8px !important;
}

.auth-modal .strength-bars .bar {
  flex: 1 !important;
  height: 100% !important;
  background-color: #333 !important;
  border-radius: 2px !important;
  transition: background-color 0.25s ease, box-shadow 0.25s ease !important;
}

.auth-modal .strength-text {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.78rem !important;
  color: #888892 !important;
  margin-bottom: 8px !important;
}

.auth-modal .strength-text #strengthLabel {
  font-weight: 600 !important;
}

.auth-modal .password-checklist {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px 12px !important;
  margin-top: 6px !important;
}

.auth-modal .password-checklist .check-item {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.74rem !important;
  color: #888892 !important;
  line-height: 1.2 !important;
  transition: color 0.2s ease !important;
}

.auth-modal .password-checklist .check-item .icon {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  font-weight: bold !important;
  background-color: #333 !important;
  color: #888 !important;
  flex-shrink: 0 !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

.auth-modal .password-checklist .check-item .icon svg {
  width: 9px !important;
  height: 9px !important;
  stroke: #111 !important;
  stroke-width: 3.5 !important;
}

/* Live requirement state: green when met, red when not. Classes are used
   (not inline styles) so they can beat the !important defaults above. */
.auth-modal .password-checklist .check-item.is-met {
  color: #28a745 !important;
}

.auth-modal .password-checklist .check-item.is-met .icon {
  background-color: #28a745 !important;
  color: #111 !important;
}

.auth-modal .password-checklist .check-item.is-unmet {
  color: #ff4c4c !important;
}

.auth-modal .password-checklist .check-item.is-unmet .icon {
  background-color: #ff4c4c !important;
  color: #111 !important;
}

/* Once every requirement is satisfied the checklist collapses */
.auth-modal .password-checklist.is-complete {
  display: none !important;
}

/* 2. Field Inline Status Icons (Checkmark / Error) */
.auth-modal .login-ui-form .inputForm {
  position: relative !important;
}

.auth-modal .field-status-icon {
  display: none;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

.auth-modal .field-status-icon .status-check,
.auth-modal .field-status-icon .status-error {
  display: none;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

.auth-modal .field-status-icon.is-valid {
  display: inline-flex !important;
}

.auth-modal .field-status-icon.is-valid .status-check {
  display: block !important;
  stroke: #22c55e !important;
}

.auth-modal .field-status-icon.is-invalid {
  display: inline-flex !important;
}

.auth-modal .field-status-icon.is-invalid .status-error {
  display: block !important;
  stroke: #ef4444 !important;
}

/* Valid inputForm subtle outline */
.auth-modal .login-ui-form .inputForm.is-valid,
.auth-modal .inputForm.is-valid {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2) !important;
}

/* 3. Inline Error Messages */
.auth-modal .auth-inline-error {
  display: none;
  color: #ef4444 !important;
  font-size: 0.76rem !important;
  line-height: 1.3 !important;
  margin-top: 5px !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

/* 4. Terms & Privacy Consent Checkbox */
.auth-modal .auth-consent-group {
  margin: 10px 0 14px 0 !important;
  text-align: left !important;
}

.auth-modal .consent-checkbox-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  cursor: pointer !important;
  user-select: none !important;
  margin: 0 !important;
}

.auth-modal .consent-checkbox-label input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
  accent-color: #ea3838 !important;
  cursor: pointer !important;
}

.auth-modal .consent-checkbox-label .consent-text {
  font-size: 0.82rem !important;
  color: #a1a1aa !important;
  line-height: 1.4 !important;
}

.auth-modal .consent-checkbox-label .consent-text a {
  color: #ea3838 !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.auth-modal .consent-checkbox-label .consent-text a:hover {
  color: #f87171 !important;
}

/* ==========================================================================
   CUSTOM "ADDED TO CART!" TOAST & SHINE BUTTON
   ========================================================================== */
.sonner-toast[data-type="cart"],
.sonner-toast.cart-toast {
  border-radius: 20px !important;
  padding: 16px 20px !important;
  background-color: #18181b !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.75), 0 8px 16px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  left: 0 !important;
  box-sizing: border-box !important;
}

.notif-toast.cart-toast {
  border-radius: 20px !important;
  padding: 16px 20px !important;
  background-color: #18181b !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.75), 0 8px 16px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  box-sizing: border-box !important;
}

.toast-cart-badge {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #27272a !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.toast-cart-svg {
  width: 20px !important;
  height: 20px !important;
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  fill: none !important;
}

.toast-cart-content {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  padding-right: 18px !important;
}

.toast-cart-header {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  margin: 0 0 3px 0 !important;
}

.toast-cart-product-name {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #e4e4e7 !important;
  line-height: 1.35 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: 240px !important;
}

.toast-cart-product-price {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-top: 1px !important;
}

.toast-cart-btn {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color: rgb(5, 5, 5);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  gap: 8px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  outline: none;
  overflow: hidden;
  font-size: 14px;
  cursor: pointer;
  height: 38px;
  margin-top: 10px;
  width: fit-content;
  text-decoration: none;
}

.toast-cart-btn .btn-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease-in-out;
}

.toast-cart-btn:hover {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.6);
}

.toast-cart-btn:hover .btn-arrow-icon {
  transform: translateX(4px);
}

.toast-cart-btn::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0) 80%
  );
  top: 0;
  left: -80px;
  opacity: 0.7;
}

.toast-cart-btn:hover::before {
  animation: toastBtnShine 1.4s ease-out infinite;
}

.toast-cart-btn .btn-arrow-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #050505;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 2px;
  transition: transform 0.3s ease-in-out;
}

.toast-cart-btn:hover .btn-arrow-badge {
  transform: translateX(3px);
}

.toast-cart-btn .btn-arrow-badge .btn-arrow-icon {
  width: 13px;
  height: 13px;
  stroke: #050505;
  stroke-width: 2.5;
  fill: none;
}
/* ==========================================================================
   ACETERNITY FLOATING NAVBAR: SCROLL BACK UP TO REVEAL (FINAL OVERRIDES)
   ========================================================================== */
header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100010 !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  will-change: transform;
}

/* Hidden state when scrolling DOWN */
header.nav-hidden {
  transform: translateY(-100%) !important;
  pointer-events: none !important;
}

/* Revealed floating state with sleek Aceternity dark glassmorphism */
header.nav-floating {
  background: rgba(10, 10, 10, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(190, 18, 60, 0.08) !important;
}

header.nav-floating .navbar,
header.nav-floating .category-navbar {
  background: transparent !important;
  box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
  header {
    transition: none !important;
  }
}

/* ==========================================================================
   NEW ARRIVALS & BEST SELLERS SECTIONS
   ========================================================================== */
.new-arrivals-section,
.best-sellers-section {
  padding-bottom: 8px !important;
}

#featuredCategoriesSection {
  padding-top: 20px !important;
}

/* ==========================================================================
   CARD CAROUSEL (NEWS SECTION) - HOVER.DEV COMPONENT
   ========================================================================== */
.news-carousel-section {
  position: relative;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 70px;
  overflow: hidden;
}

.news-carousel-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
  position: relative;
}

/* Same title + subtitle pattern as the other homepage sections (see .section-header). */
.news-carousel-header {
  margin-bottom: 22px;
}

.news-carousel-viewport {
  position: relative;
  overflow: hidden;
  padding: 8px 0 20px 0;
  border-radius: 20px;
  user-select: none;
}

.news-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  cursor: grab;
}

.news-carousel-track.is-dragging {
  cursor: grabbing;
  transition: none;
}

.news-card {
  position: relative;
  flex: 0 0 350px;
  width: 350px;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #14141e;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  text-decoration: none;
  display: block;
}

.news-card:hover {
  transform: scale(1.018);
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.7), 0 10px 15px -5px rgba(225, 29, 72, 0.2);
}

.news-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 16px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.62) 45%,
    rgba(0, 0, 0, 0.08) 100%
  );
  padding: 24px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  transition: backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

.news-card:hover .news-card-overlay {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.news-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff3b3b;
  margin-bottom: 8px;
  display: inline-block;
}

.news-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-desc {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Navigation buttons (Hover.dev Card Carousel design) */
.news-carousel-btn {
  position: absolute;
  top: 58%;
  z-index: 30;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.2s ease,
              background 0.2s ease,
              opacity 0.25s ease;
}

.news-carousel-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
  pointer-events: none;
}

.news-carousel-btn:hover {
  background: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.news-carousel-btn-prev {
  left: 0;
  border-radius: 0 16px 16px 0;
  border-left: none;
  padding: 18px 16px 18px 10px;
  transform: translateY(-50%) translateX(0);
}

.news-carousel-btn-prev:hover {
  padding-left: 18px;
}

.news-carousel-btn-prev.is-hidden {
  transform: translateY(-50%) translateX(-105%);
  pointer-events: none;
  opacity: 0;
}

.news-carousel-btn-next {
  right: 0;
  border-radius: 16px 0 0 16px;
  border-right: none;
  padding: 18px 10px 18px 16px;
  transform: translateY(-50%) translateX(0);
}

.news-carousel-btn-next:hover {
  padding-right: 18px;
}

.news-carousel-btn-next.is-hidden {
  transform: translateY(-50%) translateX(105%);
  pointer-events: none;
  opacity: 0;
}

@media (max-width: 768px) {
  .news-card {
    flex: 0 0 280px;
    width: 280px;
    height: 320px;
  }
  .news-card-title {
    font-size: 1.4rem;
  }
  .news-card-desc {
    font-size: 0.9rem;
  }
  .news-carousel-btn {
    padding: 14px 10px;
  }
}

/* ==========================================================================
   FEATURED CATEGORIES (tiles built by homepage.js from the storefront nav + catalog)
   ========================================================================== */
.category-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.category-tile {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 250px;
  padding: 14px;
  background: var(--moto-panel, #111111);
  border: 1px solid var(--moto-border, #222222);
  border-radius: 14px;
  color: var(--moto-text, #ffffff);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.category-tile:focus-visible {
  transform: translateY(-3px);
  border-color: var(--moto-red, #ff1f1f);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--moto-red-glow, rgba(255, 31, 31, 0.22));
  color: var(--moto-text, #ffffff);
  text-decoration: none;
  outline: none;
}

.category-tile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 12px;
  border-radius: 10px;
  background: var(--moto-panel-inset, #0d0d0d);
  overflow: hidden;
}

.category-tile-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease-out;
}

.category-tile:hover .category-tile-media img {
  transform: scale(1.05);
}

.category-tile-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 34px 2px 2px;
}

.category-tile-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}

.category-tile:hover .category-tile-name {
  color: var(--moto-red, #ff1f1f);
}

.category-tile-count {
  font-size: 0.8rem;
  color: var(--moto-muted, #a1a1aa);
}

.category-tile-arrow {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--moto-border-subtle, #2a2a2a);
  color: var(--moto-muted, #a1a1aa);
  font-size: 0.95rem;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.category-tile:hover .category-tile-arrow {
  transform: translateX(3px);
  border-color: var(--moto-red, #ff1f1f);
  background: var(--moto-red, #ff1f1f);
  color: #ffffff;
}

/* ==========================================================================
   PROMO BANNER (photo-backed: stays dark in both themes, text is always white)
   ========================================================================== */
.promo-banner-section {
  margin: 60px 0;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../photos/hero-bg3.jpg') center / cover no-repeat;
  background-color: #0a0a0a;
}

.promo-banner-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 auto;
}

.promo-banner-title {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.promo-banner-text {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #dddddd;
  font-size: 1.1rem;
  line-height: 1.6;
}

.promo-banner-section .shop-sale-btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.1em 0.3em;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  margin-bottom: 40px;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--moto-panel, #111111);
  border: 1px solid var(--moto-border, #222222);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  transition: border-color 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  border-color: var(--moto-border-hover, #555555);
  transform: translateY(-2px);
}

.testimonial-stars {
  margin-bottom: 14px;
  color: #f5b301;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.testimonial-quote {
  flex: 1;
  margin: 0 0 20px;
  color: var(--moto-text-secondary, #d4d4d8);
  font-style: italic;
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--moto-panel-hover, #242424);
  border: 1px solid var(--moto-border-subtle, #2a2a2a);
  color: var(--moto-text, #ffffff);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  margin: 0;
  color: var(--moto-text, #ffffff);
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-role {
  color: var(--moto-muted, #a1a1aa);
  font-size: 0.78rem;
}

/* ==========================================================================
   LOCATION / MAP
   ========================================================================== */
.location-section {
  scroll-margin-top: calc(var(--customer-header-offset, 136px) + 16px);
}

.location-section .custom-map-wrapper {
  background-color: var(--moto-panel, #111111);
  border: 1px solid var(--moto-border, #222222);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

@media (max-width: 600px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .category-tile {
    min-height: 0;
  }

  .category-tile-media {
    height: 120px;
  }

  .promo-banner-section {
    margin: 40px 0;
    padding: 56px 16px;
  }

  .testimonial-card {
    padding: 20px;
  }
}
