html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  scroll-behavior: smooth !important;
}

/* ─── Full-Page Section Layout ─── */
/* Hero: takes entire viewport height */
[data-component-id="text-block"] {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

[data-component-id="text-block"] > div {
  width: 100% !important;
}

/* Stats: takes entire viewport height */
[data-component-id="stats"] {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Products: starts a new full-page section */
[data-component-id="products"] {
  min-height: 100vh !important;
  padding-top: 5rem !important;
}

/* Custom Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px !important;
  height: 0px !important;
  /* Hide horizontal scrollbar */
}

::-webkit-scrollbar-track {
  background: #0a0a0a !important;
}

::-webkit-scrollbar-thumb {
  background: #1a1a1a !important;
  border-radius: 10px !important;
  border: 2px solid #0a0a0a !important;
}

::-webkit-scrollbar-thumb:hover {
  background: #ef1c31 !important;
}

/* Firefox */
* {
  scrollbar-width: thin !important;
  scrollbar-color: #1a1a1a #0a0a0a !important;
}

.text-17-red {
  color: #ef1c31 !important;
}

.bg-17-red {
  background-color: #ef1c31 !important;
}

.border-17-red {
  border-color: #ef1c31 !important;
}

.text-success {
  color: #10b981 !important;
}

.text-danger {
  color: #ef1c31 !important;
}

/* Header Improvements */
.shop-name {
  font-size: 1.25rem !important;
  /* Slightly smaller for nav room */
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
}

/* Header Navigation */
.nav-link {
  display: block !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  color: rgba(255, 255, 255, 0.4) !important;
  transition: all 0.3s ease !important;
  padding: 0.5rem 1.25rem !important;
  position: relative !important;
  white-space: nowrap !important;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
}

.nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 0 !important;
  height: 2px !important;
  background-color: #ef1c31 !important;
  transition: all 0.3s ease !important;
  transform: translateX(-50%) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 20px !important;
}

/* Premium utility buttons */
.btn-utility {
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s ease !important;
}

.btn-utility:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Background Effects */
.vignette-center-red {
  display: none !important;
}

.bg-wavy-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2000' height='500' viewBox='0 0 2000 500'%3E%3Cpath d='M0 250c200-100 400-100 600 0s400 100 600 0 400-100 600 0 400 100 600 0v250H0z' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: absolute !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  width: 100vw !important;
  height: 100% !important;
  top: 0 !important;
}

/* Stats Card Polish */
.stats-card {
  background-color: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 4rem 2rem !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.stats-card:hover {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(239, 28, 49, 0.3) !important;
  transform: translateY(-5px) !important;
}

.stats-icon-box {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5) !important;
}

.btn-utility-primary {
  background-color: #ef1c31 !important;
  border: none !important;
  color: #ffffff !important;
  width: auto !important;
  padding: 0 1.5rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-radius: 8px !important;
}

.btn-utility-primary:hover {
  background-color: #ff2d43 !important;
  box-shadow: 0 0 20px rgba(239, 28, 49, 0.4) !important;
}

/* Background Vignettes */
.vignette-red {
  background: radial-gradient(circle at center, rgba(239, 28, 49, 0.15) 0%, transparent 70%) !important;
}

.vignette-purple {
  background: radial-gradient(circle at center, rgba(102, 77, 248, 0.1) 0%, transparent 70%) !important;
}

.shadow-glass {
  background-color: var(--cl-glass-bg);
  border: 1px solid var(--cl-glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.shadow-glass-hover:hover {
  box-shadow: 0 8px 32px 0 rgba(239, 28, 49, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Fix Floating Nav Position */
#floating-nav {
  position: fixed !important;
  bottom: 1.5rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  z-index: 9999 !important;
}

/* Grid Layouts (Fallback for failing md:grid-cols class) */
@media (min-width: 768px) {
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    display: grid !important;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    display: grid !important;
  }

  .md\:flex-row {
    flex-direction: row !important;
  }
}

/* Footer & Section Spacing */
.component {
  animation: fadeInUp 0.8s ease-out forwards;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section Typography */
.hero-title {
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.05em !important;
  line-height: 1.1 !important;
  margin-bottom: 24px !important;
}

.hero-text {
  font-size: 1.25rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  max-width: 600px !important;
  margin: 0 auto 40px !important;
}

/* Premium Buttons */
.btn-premium {
  padding: 1rem 2rem !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

.btn-primary {
  background-color: rgb(var(--cl-17-red)) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(239, 28, 49, 0.4) !important;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 0 30px rgba(239, 28, 49, 0.6) !important;
}

.btn-secondary {
  background-color: var(--cl-glass-bg) !important;
  border: 1px solid var(--cl-glass-border) !important;
  color: #ffffff !important;
  backdrop-filter: blur(12px) !important;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Stats Cards */
[data-component-id="stats"] .grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  justify-content: center !important;
}

[data-component-id="stats"] .shadow-glass {
  flex: 1 !important;
  min-width: 280px !important;
  padding: 3rem 2rem !important;
  text-align: center !important;
}

/* Floating Nav Adjustments */
#floating-nav {
  padding: 0.75rem 1.5rem !important;
  border-radius: 999px !important;
  background-color: rgba(10, 10, 10, 0.8) !important;
  backdrop-filter: blur(20px) !important;
}

#floating-nav a,
#floating-nav button {
  padding: 0.75rem 1.25rem !important;
}

.hero-title {
  font-size: 4rem !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Search Bar Premium Styling */
.search-container {
  position: relative !important;
  max-width: 800px !important;
  margin: 4rem auto !important;
  z-index: 20 !important;
}

.search-icon {
  position: absolute !important;
  left: 1.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #ef1c31 !important;
  z-index: 21 !important;
  font-size: 1.1rem !important;
}

.search-input {
  width: 100% !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  /* Extremely curved edges */
  padding: 1.25rem 1.5rem 1.25rem 4rem !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(20px) !important;
  outline: none !important;
  box-shadow: none !important;
}

.search-input:focus {
  border-color: #ef1c31 !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0 30px rgba(239, 28, 49, 0.1) !important;
}

/* Footer Modernity */
.footer-heading {
  color: #ffffff !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.25em !important;
  /* More modern spacing */
  margin-bottom: 2.5rem !important;
  opacity: 0.9 !important;
}

.footer-link {
  color: rgba(255, 255, 255, 0.3) !important;
  transition: all 0.3s ease !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  display: block !important;
}

.footer-link:hover {
  color: #ef1c31 !important;
  transform: translateX(4px) !important;
}

.sub-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding-top: 5rem !important;
  /* Even more padding */
  padding-bottom: 3rem !important;
  margin-top: 8rem !important;
  /* Even more margin */
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.2) !important;
}

/* Products Sidebar Overhaul */
.sidebar-glass {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
}

.filter-label {
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  color: rgba(255, 255, 255, 0.3) !important;
  margin-bottom: 1.5rem !important;
  display: block !important;
}

.filter-input {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem !important;
  color: #ffffff !important;
  transition: all 0.3s ease !important;
}

.filter-input:focus {
  border-color: #ef1c31 !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.built-with-passion {
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  color: rgba(255, 255, 255, 0.05) !important;
}

/* Product Grid Fallback */
.product-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Product Card Premium Styles */
.product-card {
  height: 100% !important;
  background-color: var(--cl-glass-bg) !important;
  border: 1px solid var(--cl-glass-border) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  padding: 2rem !important;
  /* Fixed padding for mobile */
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

@media (min-width: 768px) {
  .product-card {
    padding: 3.5rem !important;
    /* More padding for desktop */
  }
}

/* Prose Typography for Policies */
.prose-premium {
  line-height: 1.8 !important;
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.prose-premium h3 {
  color: #ffffff !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.component {
  animation: fadeInUp 0.8s ease-out forwards;
}

[x-cloak] {
  display: none !important;
}

/* Glassmorphism focus states */
.focus-ring:focus {
  outline: 2px solid #ef1c31;
}

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