/* Glass Effect for Navbar when scrolling */
.navbar-scrolled {
    background: rgba(0, 0, 0, 0.85) !important; /* ڕەنگی ڕەشی شەفاف */
    backdrop-filter: blur(12px) !important; /* لێڵکردنی پشتەوە (Glass) */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease-in-out; /* جوڵەی نەرم */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Initial Navbar State */
header nav.navbar {
    transition: all 0.4s ease-in-out;
}

/* Import Space Grotesk font */
@import url('../images/css2');

/* NUCLEAR OPTION: Remove ALL backdrop blur effects from EVERYTHING */
*,
*::before,
*::after,
html,
html *,
body,
body *,
body * *,
div,
div *,
section,
section *,
header,
header *,
main,
main *,
article,
article *,
aside,
aside *,
footer,
footer *,
nav,
nav *,
.container,
.container *,
.row,
.row *,
.col,
.col *,
[class],
[class] *,
[class*="col"],
[class*="col"] *,
.product-card,
.product-card *,
.shop-section,
.shop-section *,
.product-wrapper,
.product-wrapper * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  -moz-backdrop-filter: none !important;
  -ms-backdrop-filter: none !important;
  -o-backdrop-filter: none !important;
}

/* Reset and premium base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* Multi-layer premium background - matches hero */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 15% 25%, rgba(185, 28, 28, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 75%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(139, 0, 0, 0.1) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* Floating ambient glow - static like hero */
body::after {
  content: '';
  position: fixed;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(220, 38, 38, 0.25) 0%, transparent 25%),
    radial-gradient(circle at 70% 60%, rgba(185, 28, 28, 0.2) 0%, transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(139, 0, 0, 0.15) 0%, transparent 30%);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* Flame particles container for body */
body .flame-particles-global {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.flame-dot {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 
    0 0 6px rgba(239, 68, 68, 0.8),
    0 0 12px rgba(239, 68, 68, 0.4),
    0 0 18px rgba(220, 38, 38, 0.2);
  animation: flame-flow var(--duration, 15s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.flame-dot.small {
  width: 1.5px;
  height: 1.5px;
  box-shadow: 
    0 0 4px rgba(239, 68, 68, 0.7),
    0 0 8px rgba(239, 68, 68, 0.3);
}

.flame-dot.medium {
  width: 2px;
  height: 2px;
  box-shadow: 
    0 0 6px rgba(239, 68, 68, 0.8),
    0 0 12px rgba(239, 68, 68, 0.4);
}

.flame-dot.large {
  width: 3px;
  height: 3px;
  box-shadow: 
    0 0 8px rgba(239, 68, 68, 0.9),
    0 0 16px rgba(239, 68, 68, 0.5),
    0 0 24px rgba(220, 38, 38, 0.3);
}

@keyframes flame-flow {
  0% {
    transform: translateY(-10vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 0.7;
  }
  15% {
    opacity: 0.8;
    transform: translateY(10vh) translateX(calc(var(--sway, 0px) * 0.2)) rotate(45deg);
  }
  35% {
    opacity: 0.75;
    transform: translateY(30vh) translateX(calc(var(--sway, 0px) * 0.4)) rotate(120deg);
  }
  50% {
    opacity: 0.6;
    transform: translateY(55vh) translateX(calc(var(--sway, 0px) * 0.7)) rotate(180deg);
  }
  65% {
    opacity: 0.55;
    transform: translateY(70vh) translateX(calc(var(--sway, 0px) * 0.85)) rotate(240deg);
  }
  85% {
    opacity: 0.5;
    transform: translateY(90vh) translateX(var(--sway, 0px)) rotate(300deg);
  }
  95% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(110vh) translateX(calc(var(--sway, 0px) * 1.2)) rotate(360deg);
    opacity: 0;
  }
}

/* Ensure content is above background layers */
header,
main,
section {
  position: relative;
  z-index: 2;
}

/* Premium header/navigation */
header {
  background: rgba(0, 0, 0, 0.8) !important;
  border-bottom: none !important;
  padding: 1rem 2rem !important;
  position: static !important; /* Try static instead of relative */
  z-index: 100 !important;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  letter-spacing: -0.02em;
}

nav a:hover {
  color: #ffffff;
}

/* Removed nav a:hover::after to disable underline effect */

/* Brand/1245546 styling */
.nav-brand,
nav h1,
nav .brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: #ffffff;
}

/* Premium hero section */
.hero-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
}

/* Subtle spotlight effect behind hero text */
.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, rgba(185, 28, 28, 0.08) 30%, transparent 70%);
  z-index: -1;
  animation: pulse-glow 5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.hero-section h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 2rem 0;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* Highlighted text with glow */
.hero-section h1 .highlight,
.hero-section h1 .highlight-red {
  color: #dc2626;
  background: none;
  -webkit-text-fill-color: #dc2626;
  text-shadow: 
    0 0 20px rgba(220, 38, 38, 0.6),
    0 0 40px rgba(220, 38, 38, 0.4),
    0 0 60px rgba(220, 38, 38, 0.2);
  animation: text-glow-pulse 3s ease-in-out infinite;
}

@keyframes text-glow-pulse {
  0%, 100% {
    text-shadow: 
      0 0 20px rgba(220, 38, 38, 0.6),
      0 0 40px rgba(220, 38, 38, 0.4),
      0 0 60px rgba(220, 38, 38, 0.2);
  }
  50% {
    text-shadow: 
      0 0 30px rgba(220, 38, 38, 0.8),
      0 0 50px rgba(220, 38, 38, 0.5),
      0 0 70px rgba(220, 38, 38, 0.3);
  }
}

/* Subtitle with fade effect */
.hero-section .tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
  max-width: 700px;
  line-height: 1.6;
  font-weight: 400;
}

/* Premium feature badges */
.features,
.feature-badges-custom {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-badge,
.feature-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.feature-badge:hover,
.feature-badge-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* Icon styling */
.feature-badge-item .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-badge-item .icon svg {
  width: 100%;
  height: 100%;
  fill: #dc2626;
}

/* Emoji icon styling */
.feature-badge-item .icon-emoji {
  font-size: 14px;
  line-height: 1;
  filter: brightness(0) saturate(100%) 
          invert(32%) sepia(95%) saturate(4289%) hue-rotate(347deg) brightness(94%) contrast(89%);
}

/* Premium CTA buttons */
.cta-buttons,
.btn-wrapper {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4); /* Removed the glow layer */
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 140px;
}

/*BUTTON ANIMATION*/
.btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2); /* Reduced base shadow, no glow */
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 140px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  opacity: 0;
  pointer-events: none;
}

.btn-primary:hover {
  box-shadow: 
    0 6px 16px rgba(220, 38, 38, 0.5),
    0 0 35px rgba(220, 38, 38, 0.25);
  transform: translateY(-2px);
}

/* Remove or comment out the btn-glow-pulse animation entirely */
/*
@keyframes btn-glow-pulse {
  ...
}
*/

/* Shopping cart icon */
.btn-primary::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M2.25 2.25a.75.75 0 000 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 00-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 000-1.5H5.378A2.25 2.25 0 017.5 15h11.218a.75.75 0 00.674-.421 60.358 60.358 0 002.96-7.228.75.75 0 00-.525-.965A60.864 60.864 0 005.68 4.509l-.232-.867A1.875 1.875 0 003.636 2.25H2.25zM3.75 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zM16.5 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M2.25 2.25a.75.75 0 000 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 00-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 000-1.5H5.378A2.25 2.25 0 017.5 15h11.218a.75.75 0 00.674-.421 60.358 60.358 0 002.96-7.228.75.75 0 00-.525-.965A60.864 60.864 0 005.68 4.509l-.232-.867A1.875 1.875 0 003.636 2.25H2.25zM3.75 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zM16.5 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.btn-primary:hover::after {
  transform: translateX(2px);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 140px;
}

/* Status icon - external link */
.btn-secondary::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.btn-secondary:hover::after {
  transform: translate(2px, -2px);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

/* Premium shop section */
.shop-section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.shop-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #ffffff;
  margin-bottom: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Product wrapper and product page - no blur */
.product-wrapper,
.product-wrapper *,
.carousel,
.carousel *,
.carousel-item,
.carousel-item img,
.thumbnails,
.thumbnails *,
.product-tabs,
.product-tabs *,
.editor,
.editor *,
.container,
.container *,
.row,
.row *,
.col,
[class*="col-"],
[class*="col-"] * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Ensure images are crisp */
.carousel-item img,
.thumbnails img,
.card-img-top,
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Premium product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.product-card:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(220, 38, 38, 0.4);
  transform: translateY(-8px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(220, 38, 38, 0.1) inset;
}

/* Hide icon box */
.icon-box {
  display: none !important;
}

.icon-box svg {
  display: none !important;
}

.icon-box svg {
  color: #dc2626;
  width: 80px;
  height: 80px;
  position: relative;
  z-index: 1;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: rgba(239, 68, 68, 0.3);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .features,
  .feature-badges-custom {
    gap: 1.5rem;
  }
  
  .cta-buttons,
  .btn-wrapper {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}
/* FORCE PRODUCT CARDS TO MATCH HERO - NUCLEAR OVERRIDES */
.card,
a.card,
.product-card {
  background: rgba(20, 20, 20, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.card:hover,
a.card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(220, 38, 38, 0.4) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

/* Card image section */
.card-img-top,
.aspect-product-card-image {
  background: rgba(30, 30, 30, 0.6) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

/* Card images - crisp and clear */
.card-img-top img,
.aspect-product-card-image img,
.object-product-image {
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
}

/* Card body */
.card-body {
  background: rgba(20, 20, 20, 0.9) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Card title */
.card-title {
  color: #ffffff !important;
  font-weight: 600 !important;
}

/* Price styling */
.card .price {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Stock info */
.card .text-primary,
.card-body .text-primary {
  color: #60a5fa !important;
}

/* Remove overlay blur */
.card .overlay {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* View Details button */
.card .overlay .btn {
  background: rgba(220, 38, 38, 0.9) !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.card .overlay .btn:hover {
  background: rgba(239, 68, 68, 1) !important;
}

/* Product info section */
.card .info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* Products grid */
.products,
.row.products {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Remove any Bootstrap column padding that might interfere */
.products .col,
.products [class*="col-"] {
  padding: 0 !important;
}
/* ========================================
   PRODUCT CARDS - FINAL OVERRIDES
   ======================================== */

/* Force remove all blur and filters */
.products .card,
.products .card *,
.products .card img,
.products .card-img-top,
.products .card-body,
.card,
.card *,
.card img {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

/* Card structure */
.products .card,
.card {
  background: rgba(26, 26, 26, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

.products .card:hover,
.card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(220, 38, 38, 0.4) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
  background: rgba(30, 30, 30, 0.95) !important;
}

/* Card image section - dark background */
.products .card .card-img-top,
.card .card-img-top,
.aspect-product-card-image {
  background: rgba(35, 35, 35, 0.8) !important;
  border: none !important;
}

/* Images - crisp and clear */
.products .card .card-img-top img,
.card .card-img-top img,
.aspect-product-card-image img,
.object-product-image,
img.img-fluid {
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
  image-rendering: auto !important;
}

/* Card body - dark background */
.products .card .card-body,
.card .card-body,
.card-body {
  background: rgba(20, 20, 20, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Text styling */
.products .card .card-title,
.card .card-title,
.card-title {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
  margin-bottom: 0.5rem !important;
}

.products .card .info,
.card .info {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.5rem !important;
}

.products .card .info .price,
.card .info .price,
.card .price {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.products .card .info .text-primary,
.card .info .text-primary,
.card-body .text-primary {
  color: #60a5fa !important;
}

/* Overlay - no blur */
.products .card .card-img-top .overlay,
.card .card-img-top .overlay,
.overlay {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(0, 0, 0, 0.6) !important;
}

.products .card .card-img-top .overlay .btn,
.card .card-img-top .overlay .btn {
  background: rgba(220, 38, 38, 0.95) !important;
  border: none !important;
  color: #ffffff !important;
}

.products .card .card-img-top .overlay .btn:hover,
.card .card-img-top .overlay .btn:hover {
  background: rgba(239, 68, 68, 1) !important;
}

/* Stock indicator styling */
.stock-unlimited {
  display: inline-flex !important;
  gap: 0.25rem !important;
  align-items: center !important;
}

.stock-unlimited svg {
  width: 0.875rem !important;
  height: 0.875rem !important;
}

/* Product badges */
.products .card .card-img-top .badges,
.card .card-img-top .badges,
.badges {
  position: absolute !important;
  top: 0.5rem !important;
  right: 0.5rem !important;
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

.products .card .card-img-top .badges div,
.card .card-img-top .badges div {
  background: var(--cl-accent) !important;
  color: #ffffff !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: 0.25rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
}

/* Remove any conflicting Bootstrap card styles */
.card-img,
.card-img-top,
.card-img-bottom {
  background: none !important;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 
    0 6px 16px rgba(220, 38, 38, 0.6),
    0 0 40px rgba(220, 38, 38, 0.3);
  transform: translateY(-2px);
  outline: none;
}

/* Add a subtle inner glow when focused for accessibility */
.btn-primary:focus-visible {
  box-shadow: 
    0 6px 16px rgba(220, 38, 38, 0.6),
    0 0 40px rgba(220, 38, 38, 0.3),
    0 0 0 3px rgba(220, 38, 38, 0.4) inset;
}
/* FORCE HIDE ICON BOX - NUCLEAR OPTION */
.icon-box,
.product-card .icon-box,
.card .icon-box,
div.icon-box,
[class*="icon-box"],
.icon-box * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Also hide any SVG icons in product cards */
.product-card svg,
.card svg {
  display: none !important;
}
/* ========================================
   VARIANT BUTTON FIXES - OLD RED GLOW NOT IN USE
   ======================================== */

/* Hide the active checkmark indicator */
.variant .active-indicator,
.variant .active-indicator svg,
button.variant .active-indicator {
  display: none !important;
}

/* Variant button layout - flexbox with proper spacing */
button.variant,
.variant.btn-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: 100% !important;
  text-align: left !important;
  padding: 1rem 1.5rem !important;
}

/* Name and stock section - takes up left space */
.variant .name-stock {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
}

/* Price section - positioned on the right, before where icon was */
.variant .price {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  font-weight: 600 !important;
  font-size: 1.125rem !important;
}

/* Remove margin from name and stock paragraphs */
.variant .name-stock p {
  margin: 0 !important;
}
/* ========================================
   VARIANT BUTTON HOVER STATE - SUBTLE RED NEW INUSE
   ======================================== */

/* Softer, darker red hover effect for variants */
button.variant:hover,
.variant.btn-primary:hover {
  background: rgba(139, 0, 0, 0.25) !important;
  border-color: rgba(185, 28, 28, 0.5) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(139, 0, 0, 0.3) !important;
}

/* Keep the active state more vibrant but still subtle */
button.variant.active,
.variant.btn-primary.active {
  background: rgba(185, 28, 28, 0.35) !important;
  border-color: rgba(220, 38, 38, 0.6) !important;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.3) inset !important;
}

/* Active variant hover - slightly brighter than just hover */
button.variant.active:hover,
.variant.btn-primary.active:hover {
  background: rgba(185, 28, 28, 0.4) !important;
  border-color: rgba(220, 38, 38, 0.7) !important;
}
/* ========================================
   PRODUCT PAGE BUTTON STYLING - FIXED
   ======================================== */

/* Target ONLY the main action buttons (Add to Cart, Buy Now) */
/* NOT the variant selection buttons */
.product-actions .btn-primary,
.product-actions button[type="submit"],
form > .btn-primary,
form > button[type="submit"],
.add-to-cart-btn,
.buy-now-btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  color: white !important;
  padding: 0.85rem 1.75rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  min-width: 140px !important;
  height: 48px !important;
}

/* Make sure variant buttons are NOT affected */
button.variant,
.variant.btn-primary,
.variants button,
.variant-selector button {
  background: rgba(20, 20, 20, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Hover state for main action buttons only */
.product-actions .btn-primary:hover,
.product-actions button[type="submit"]:hover,
form > .btn-primary:hover,
form > button[type="submit"]:hover {
  box-shadow: 
    0 6px 16px rgba(220, 38, 38, 0.5),
    0 0 35px rgba(220, 38, 38, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* ========================================
   RED PRICING STYLING - MATCHING SCREENSHOT 3
   ======================================== */

/* Main product price display */
.product-wrapper > .price,
.product-info .price,
.product-details > .price,
h2.price,
h3.price,
.price-display {
  color: #ff6b6b !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.4) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Price shown next to stock status */
.product-wrapper h2:first-of-type,
.product-header h2 {
  color: #ff6b6b !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.4) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Variant prices on the right side of variant buttons */
.variant .price,
button.variant .price,
.variant .price span,
button.variant .price span {
  color: #ff6b6b !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.4) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  margin-right: 0 !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Remove border from any wrapper around the price */
.variant .price *,
button.variant .price * {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Hide the shopping cart icon in variant buttons */
.variant svg,
button.variant svg,
.variant .icon,
button.variant .icon,
.variant::after,
button.variant::after {
  display: none !important;
}

/* Stock badge price (the "In Stock" with price) */
.stock-badge .price,
[class*="stock"] .price {
  color: #ff6b6b !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.4) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Old/strikethrough prices */
.old-price,
.price-old,
del.price,
s.price,
.price del,
.price s {
  color: rgba(220, 38, 38, 0.5) !important;
  text-decoration: line-through !important;
}

/* ========================================
   BUTTON CONTAINER ALIGNMENT
   ======================================== */

/* Ensure action buttons are properly aligned */
.product-actions,
.button-container {
  display: flex !important;
  gap: 1rem !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin-top: 1.5rem !important;
}

/* Make both action buttons equal width when side by side */
.product-actions > .btn-primary,
.product-actions > button {
  flex: 1 !important;
  min-width: 140px !important;
  max-width: 200px !important;
}
/* Multi-layer premium background with enhanced left and right glows */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 800px 100% at 0% 50%, rgba(220, 38, 38, 0.5) 0%, rgba(185, 28, 28, 0.3) 20%, transparent 50%),
    radial-gradient(ellipse 800px 100% at 100% 50%, rgba(220, 38, 38, 0.5) 0%, rgba(185, 28, 28, 0.3) 20%, transparent 50%),
    radial-gradient(ellipse at 15% 25%, rgba(185, 28, 28, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 75%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(139, 0, 0, 0.1) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}
/* Multi-layer premium background with top-left and bottom-right red glows AND grid */
body::before {
  content: '' !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #000000 !important;
  background-image: 
    /* Grid lines */
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    /* Top-left glow */
    radial-gradient(ellipse 900px 900px at 15% 15%, rgba(139, 0, 0, 0.18) 0%, rgba(100, 0, 0, 0.1) 20%, transparent 50%),
    /* Bottom-right glow */
    radial-gradient(ellipse 900px 900px at 85% 85%, rgba(139, 0, 0, 0.18) 0%, rgba(100, 0, 0, 0.1) 20%, transparent 50%) !important;
  background-size: 
    50px 50px,
    50px 50px,
    100% 100%,
    100% 100% !important;
  background-position: 
    0 0,
    0 0,
    0 0,
    0 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 1 !important;
}



/* Allow clicks to pass through text-block overlays */
.hero-section,
.text-block,
[data-component-id*="text-block"] {
  pointer-events: none;
}

/* But keep text and buttons inside clickable */
.hero-section *,
.text-block *,
[data-component-id*="text-block"] * {
  pointer-events: auto;
}
/* Exception for features section header - force center alignment */
.section-header {
  text-align: center !important;
}

.section-badge {
  display: inline-flex !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.section-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.section-badge {
  display: inline-flex !important;
  margin-left: auto !important;
  margin-right: auto !important;
}




/* Keep subtitle white */
.shop-section p,
.shop-section .subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
  background: none !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
}
/* Fix Features Section Centering */
.section-header {
  text-align: center !important;
  width: 100% !important;
}

.section-badge {
  display: inline-flex !important;
  margin: 0 auto 24px auto !important;
}

.section-title {
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

.section-subtitle {
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

/* Fix Products Section - White subtitle */
.shop-section p,
.shop-section > p {
  color: rgba(255, 255, 255, 0.6) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
  background-clip: unset !important;
}

/* Only make the main h2 red, not everything */
.shop-section > h2:not(p) {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
/* FORCE all text in shop-section except h2 to be white */
.shop-section *:not(h2) {
  color: rgba(255, 255, 255, 0.6) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
  background-clip: unset !important;
}

/* Then specifically target only the main h2 for red gradient */
.shop-section h2 {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
/* Force products subtitle to be gray/white - NUCLEAR OPTION */
.section-subtitle p,
div.section-subtitle p,
.section-title .section-subtitle p,
section .section-subtitle p {
  color: #9ca3af !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #9ca3af !important;
  background-clip: unset !important;
  text-shadow: none !important;
}

/* Make sure h2 stays red gradient */
.section-title h2,
section h2 {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
/* Move features section way up closer to products */
body > section:last-of-type,
section.component:last-of-type,
.container:has(.section-badge),
section:has(.section-badge) {
  margin-top: -150px !important;
  padding-top: 0px !important;
}

.section-header {
  margin-bottom: 30px !important;
}
/* Force Why us? badge text to be white */
.section-badge,
.features-section .section-badge {
  color: #ffffff !important;
}
/* Fix products header spacing to match features */
.shop-section .section-title {
  text-align: center !important;
  margin-bottom: 50px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.shop-section .best-seller-badge {
  margin-bottom: 20px !important;
}

.shop-section h2 {
  margin: 12px 0 8px 0 !important;
}

.shop-section .section-subtitle {
  margin: 10px 0 0 0 !important;
}

.shop-section .section-subtitle p {
  margin: 0 !important;
}
/* Nuclear option - Override products header with maximum specificity */
section.component .section-title {
  margin-bottom: 60px !important;
}

section.component .best-seller-badge {
  background: rgba(220, 38, 38, 0.15) !important;
  border: 1px solid rgba(220, 38, 38, 0.3) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  margin-bottom: 24px !important;
}

section.component h2 {
  font-size: 52px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  letter-spacing: -0.5px !important;
}

section.component .section-subtitle {
  margin-top: 16px !important;
}

section.component .section-subtitle p {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 16px !important;
  margin: 0 !important;
  font-weight: 400 !important;
}
/* PRODUCT CARD HOVER - LIFT AND GLOW */
a.card.product-card-hover:hover,
.card.product-card-hover:hover,
.products a.card:hover,
a.card.text-decoration-none:hover {
  transform: translateY(-12px) !important;
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.5) !important,
    0 0 40px rgba(220, 38, 38, 0.5) !important,
    0 0 60px rgba(220, 38, 38, 0.3) !important;
  z-index: 10 !important;
}

/* Prevent shrinking on click */
a.card.product-card-hover:active,
.products a.card:active,
a.card.text-decoration-none:active {
  transform: translateY(-12px) !important;
}

/* Product image zoom on hover */
a.card:hover img.aspect-product-card-image,
a.card:hover img.object-product-image {
  transform: scale(1.08) !important;
}
/* Make product cards slightly wider */
.products > div,
.products [class*="col-"] {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 380px !important;
  min-width: 360px !important;
}

.products .card,
a.card {
  width: 100% !important;
  max-width: 380px !important;
}

/* Make images medium height */
.card-img-top,
.aspect-product-card-image,
div.card-img-top.aspect-product-card-image {
  height: 340px !important;
  min-height: 340px !important;
}

/* Ensure images fill the container properly */
.card-img-top img,
.aspect-product-card-image img,
img.object-product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Card body spacing */
.card-body {
  padding: 1.5rem !important;
}

/* Title size */
.card-title {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

/* Price size */
.card .price,
.card-body .price {
  font-size: 1.35rem !important;
}

/* Buy Now button */
.buy-now-btn {
  padding: 0.75rem 2rem !important;
  font-size: 1rem !important;
}

/* Spacing between cards */
.products {
  gap: 2rem !important;
}
/* Make product cards taller and wider while keeping 3 per row */
.products > div,
.products [class*="col-"] {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 385px !important;
  min-width: 365px !important;
}

.products .card,
a.card {
  width: 100% !important;
  max-width: 385px !important;
}

/* Make images much taller */
.card-img-top,
.aspect-product-card-image,
div.card-img-top.aspect-product-card-image {
  height: 420px !important;
  min-height: 420px !important;
}

/* Ensure images fill properly */
.card-img-top img,
.aspect-product-card-image img,
img.object-product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Tighter gap to fit 3 per row */
.products {
  gap: 1rem !important;
}
/* ========================================
   BUY NOW BUTTON - MATCH ADD TO CART
   ======================================== */

/* Target Buy Now button specifically */
button[type="submit"].btn-outline-primary,
.btn-outline-primary[type="submit"],
form button[type="submit"] {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  color: white !important;
  padding: 0.85rem 1.75rem !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  min-width: 140px !important;
}

/* Hover state for Buy Now button */
button[type="submit"].btn-outline-primary:hover,
.btn-outline-primary[type="submit"]:hover,
form button[type="submit"]:hover {
  box-shadow: 
    0 6px 16px rgba(220, 38, 38, 0.5),
    0 0 35px rgba(220, 38, 38, 0.25) !important;
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
}

/* Disabled state */
button[type="submit"].btn-outline-primary:disabled,
.btn-outline-primary[type="submit"]:disabled,
form button[type="submit"]:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Focus state for accessibility */
button[type="submit"].btn-outline-primary:focus-visible,
.btn-outline-primary[type="submit"]:focus-visible,
form button[type="submit"]:focus-visible {
  box-shadow: 
    0 6px 16px rgba(220, 38, 38, 0.6),
    0 0 40px rgba(220, 38, 38, 0.3),
    0 0 0 3px rgba(220, 38, 38, 0.4) inset !important;
  outline: none !important;
}
/* Nuclear option - force bold and size */
label {
  font-weight: bold !important;
  font-size: 1.1rem !important;
}

/* Or target by text content using attribute selector */
label[for="method"] {
  font-weight: 900 !important;
  font-size: 20px !important;
  display: block !important;
}
/* ========================================
   FORCE PRODUCTS IN LINE - 3 PER ROW (DESKTOP ONLY)
   ======================================== */

/* Only apply on screens 769px and wider (desktop/tablet) */
@media (min-width: 769px) {
  /* Override the flexbox to use percentage widths */
  #{{ componentId }} .products > div,
  section[id*="component"] .products > div,
  .products > div.col-12,
  .products > .col-12.col-md-6.col-lg-4.col-xl-3 {
    flex: 0 0 calc(33.333% - 16px) !important;
    width: calc(33.333% - 16px) !important;
    max-width: calc(33.333% - 16px) !important;
    min-width: unset !important;
  }

  /* Keep products row layout */
  section[id*="component"] .products,
  .row.products {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 24px !important;
    flex-wrap: wrap !important;
  }

  /* Responsive breakpoint for smaller desktops/tablets */
  @media (max-width: 1200px) {
    #{{ componentId }} .products > div,
    section[id*="component"] .products > div {
      flex: 0 0 calc(50% - 12px) !important;
      width: calc(50% - 12px) !important;
      max-width: calc(50% - 12px) !important;
    }
  }
}
/* ========================================
   FIX MODAL CLICKS - NUCLEAR OPTION
   Add to END of custom.css, AFTER all other modal CSS
   ======================================== */

/* Remove pointer-events blocking from modal background */
.modal {
  pointer-events: none !important;
}

/* But allow clicks on the actual content */
.modal-dialog {
  pointer-events: auto !important;
  z-index: 100000 !important;
}

.modal-content {
  pointer-events: auto !important;
  z-index: 100001 !important;
}

.modal-header,
.modal-body,
.modal-footer {
  pointer-events: auto !important;
}

/* Make sure backdrop doesn't block */
.modal-backdrop {
  pointer-events: none !important;
  z-index: 99998 !important;
}

/* Everything inside modal-body should be clickable */
.modal-body * {
  pointer-events: auto !important;
}

/* All interactive elements */
.modal button,
.modal a,
.modal input,
.modal .btn,
.modal .card,
.modal .btn-close {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Force visibility and layering */
.modal.show {
  display: block !important;
  z-index: 99999 !important;
}

.modal.show .modal-dialog {
  z-index: 100000 !important;
  position: relative !important;
}

.modal.show .modal-content {
  z-index: 100001 !important;
  position: relative !important;
}

/* Make cards fully clickable */
.modal-body .card,
.modal-body .card *,
.modal-body .card a,
.modal-body .card .btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure buttons are on top */
.modal-body .btn,
.modal-body button,
.modal-body a.btn {
  position: relative !important;
  z-index: 10 !important;
}

/* Close button absolutely clickable */
.modal-header .btn-close {
  position: relative !important;
  z-index: 100002 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Remove any overlays blocking clicks */
.modal::before,
.modal::after,
.modal-content::before,
.modal-content::after {
  display: none !important;
  pointer-events: none !important;
}

/* Make sure no parent elements block */
body.modal-open {
  overflow: hidden !important;
  pointer-events: auto !important;
}

/* Debug - add red outline to clickable areas (remove after testing) */
.modal-body .card:hover {
  outline: 2px solid red !important;
}

.modal-body .btn:hover {
  outline: 2px solid lime !important;
}

.btn-close:hover {
  outline: 2px solid yellow !important;
}
/* ========================================
   FIX MODAL BACKDROP OPACITY ON CLICK
   ======================================== */

/* Prevent backdrop from getting darker when clicking inside modal */
.modal-backdrop {
  opacity: 0.5 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
}

/* Ensure backdrop stays at consistent opacity */
.modal-backdrop.show {
  opacity: 0.5 !important;
}

/* Prevent multiple backdrops from stacking */
.modal-backdrop + .modal-backdrop {
  display: none !important;
}

/* Keep modal content bright and visible */
.modal-dialog {
  opacity: 1 !important;
  z-index: 1055 !important;
}

.modal-content {
  opacity: 1 !important;
  background: rgba(20, 20, 20, 0.95) !important;
}

/* Prevent body from adding extra overlays */
body.modal-open::before,
body.modal-open::after {
  display: none !important;
}

/* Stop event propagation issues that might trigger backdrop changes */
.modal-content,
.modal-dialog,
.modal-body,
.modal-header,
.modal-footer {
  isolation: isolate !important;
}
/* ========================================
   REMOVE CLICK OUTLINES FROM MODAL CARDS
   ======================================== */

/* Remove all outlines from modal cards */
.modal-body .card,
.modal-body .card *,
.modal-body a.card,
.modal-body a.card *,
.modal .card,
.modal .card * {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove focus/active outlines */
.modal-body .card:focus,
.modal-body .card:active,
.modal-body a.card:focus,
.modal-body a.card:active,
.modal button:focus,
.modal .btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove the debug outlines I added earlier */
.modal-body .card:hover {
  outline: none !important;
}

.modal-body .btn:hover {
  outline: none !important;
}

.btn-close:hover {
  outline: none !important;
}

/* Keep only the card's natural border and shadow */
.modal-body .card {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal-body .card:hover {
  border-color: rgba(220, 38, 38, 0.4) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}
/* ========================================
   FIX BUTTON HEIGHTS - MAKE BOTH EQUAL
   ======================================== */

/* Force both buttons to same height */
.buy-buttons .btn-primary,
.buy-buttons button[type="submit"],
form .buy-buttons .btn-primary,
form .buy-buttons button {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  line-height: 1 !important;
  padding: 0 1.75rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Hide SVG icons that add extra height */
.buy-buttons .btn-primary svg,
.buy-buttons button svg {
  display: none !important;
}

/* Ensure text spans don't add extra height */
.buy-buttons .btn-primary span,
.buy-buttons button span {
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
}