/* =========================================
   1. ANIMATIONS (The Sales Drivers)
   ========================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowPan {
  0% { background-position: center top; }
  50% { background-position: center bottom; }
  100% { background-position: center top; }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 5px rgba(255, 69, 0, 0.2); }
  50% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.6); }
  100% { box-shadow: 0 0 5px rgba(255, 69, 0, 0.2); }
}

/* =========================================
   2. CORE STYLES
   ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, sans-serif;
  text-decoration: none;
}

body {
  background-color: #080808;
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
}

/* =========================================
   3. HEADER (Modern Floating Glass)
   ========================================= */

header {
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: blur(15px);
  padding: 15px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

header h1 {
  font-size: 1.8rem;
  color: #ff4500; 
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
}

/* LOGO FIX: Perfect Circle */
header .logo {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* Makes it circular */
  border: 2px solid #ff4500;
  padding: 2px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.logo-container:hover .logo {
  transform: rotate(360deg);
}

nav a {
  margin-left: 25px;
  color: #bbb;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #ff4500;
  text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

/* =========================================
   4. HERO SECTION
   ========================================= */

.hero {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-attachment: fixed; */
  /* animation: slowPan 20s linear infinite; */
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.hero h2 {
  position: relative;
  z-index: 2; /* Ensure text is above Vanta.js canvas */
  font-size: 4rem;
  color: #fff;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -2px;
  animation: fadeInUp 1s ease-out;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* =========================================
   5. PRODUCT GRID
   ========================================= */

.products {
  padding: 20px 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.product {
  background: #141414;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 0.8s ease-out backwards;
}

.product:hover {
  transform: translateY(-15px);
  border-color: rgba(255, 69, 0, 0.4);
  background: #1a1a1a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.product img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.product:hover img {
  transform: scale(1.03);
}

.product h3 {
  color: #ff4500;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.product p {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* =========================================
   6. SEE MORE SECTION (Centered Button)
   ========================================= */

.see-more-container {
  padding: 10px 0 80px;
  background: transparent;
  display: flex;         /* Use Flex to center */
  justify-content: center; 
  align-items: center;
  position: relative;
  z-index: 1;
}

.see-more-btn {
  background: linear-gradient(135deg, #ff4500 0%, #cc3700 100%);
  color: #fff;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
  transition: all 0.3s ease;
  animation: glowPulse 3s infinite;
  border: none;
  cursor: pointer;
}

.see-more-btn:hover {
  transform: scale(1.1);
  background: #fff;
  color: #ff4500;
}

/* =========================================
   7. FOOTER
   ========================================= */

.footer {
  background: rgba(5, 5, 5, 0.7); /* Semi-transparent for Vanta effect */
  color: #666; /* Subdued text color */
  padding: 60px 20px;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 69, 0, 0.1); /* Very subtle orange line */
  position: relative;
  overflow: hidden;
}

/* Subtle background glow behind the footer content */
.footer::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.footer p {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer a {
  color: #ff4500;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
}

/* SOCIAL ICONS SECTION */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 30px; /* More space between icons */
  margin-top: 25px;
  position: relative;
  z-index: 1;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: invert(1) opacity(0.3); /* Greyish-white icons */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

/* High-Impact Hover State */
.social-icons img:hover {
  opacity: 1;
  transform: translateY(-10px) scale(1.2); /* Lift and grow */
  filter: invert(48%) sepia(89%) saturate(4500%) hue-rotate(3deg) brightness(101%) contrast(106%) drop-shadow(0 5px 15px rgba(255, 69, 0, 0.4));
}

/* Bottom copyright text */
.footer .copyright {
  margin-top: 30px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #333;
  letter-spacing: 2px;
}

.cart-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.cart-modal-content {
  background-color: var(--card-bg);
  margin: 10% auto; /* 10% from the top and centered */
  padding: 30px;
  border: 1px solid #333;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 600px;
  border-radius: 15px;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
  animation: slideInTop 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transition: color 0.3s;
}

.close-button:hover,
.close-button:focus {
  color: var(--neon-orange);
  text-decoration: none;
  cursor: pointer;
}

.cart-modal-content h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem;
}

.cart-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 10px; /* For scrollbar */
}

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

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

.cart-item img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  margin-right: 15px;
  object-fit: cover;
  border: 1px solid #444;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-details h4 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
}

.cart-item-details p {
  margin: 5px 0 0;
  color: #bbb;
  font-size: 0.9rem;
}

.cart-item-price {
  color: var(--neon-green);
  font-weight: bold;
  font-size: 1rem;
  margin-left: 15px;
}

.remove-item-button {
  background-color: #ff4500; /* Neon orange */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.8em;
  transition: background-color 0.3s;
}

.remove-item-button:hover {
  background-color: #e03e00;
}

.cart-summary {
  text-align: center; /* Centers the buttons as seen in the image */
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #222;
}

.cart-summary p {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
}

.cart-summary .button {
  border: none;
  cursor: pointer;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 800; /* Extra bold text */
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 35px;
  border-radius: 50px; /* This creates the Pill Shape */
  transition: all 0.3s ease;
  font-size: 0.9rem;
  margin: 10px 5px; /* Adds spacing between buttons */
  display: inline-block;
}

.cart-summary .clear-cart-button {
  background-color: #555;
}

.cart-summary .clear-cart-button:hover {
  background-color: #777;
}

/* Make the icon white using a filter */
.cart-img-white {
  width: 28px;
  height: auto;
  filter: invert(1); /* This turns the black icon white */
  transition: transform 0.3s ease;
}

.nav-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.nav-cart-link:hover .cart-img-white {
  transform: scale(1.1);
}

/* The red notification circle */
.cart-badge {
  position: absolute;
  top: -5px;
  right: 5px;
  background: #ff4500; /* Neon Orange/Red to match your theme */
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
  min-width: 15px;
  text-align: center;
  border: 2px solid #000; /* Separates it from the icon */
}

/* Make the icon white using a filter */
.cart-img-white {
  width: 28px;
  height: auto;
  filter: invert(1); /* This turns the black icon white */
  transition: transform 0.3s ease;
}

.nav-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.nav-cart-link:hover .cart-img-white {
  transform: scale(1.1);
}

/* The red notification circle */
.cart-badge {
  position: absolute;
  top: -5px;
  right: 5px;
  background: #ff4500; /* Neon Orange/Red to match your theme */
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
  min-width: 15px;
  text-align: center;
  border: 2px solid #000; /* Separates it from the icon */
}

nav {
  display: flex;
  align-items: center; /* Vertically centers the text and the cart icon */
  gap: 20px;           /* Adjust this number to control spacing between links */
}

.nav-cart-link {
  margin-left: 10px;   /* Adds a little extra breathing room for the cart icon */
  display: flex;
  align-items: center;
}

/* Ensure the cart image doesn't force the header to grow taller */
.cart-img-white {
  width: 24px;         /* Match the font size height of your text links */
  height: 24px;
  object-fit: contain;
}

.cart-quantity-control {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-qty-input {
  width: 50px;
  padding: 4px;
  border-radius: 5px;
  background: #222;
  color: #fff;
  border: 1px solid #555;
  text-align: center;
}

#checkoutButton {
  background-color: #ff4500; /* Neon Orange */
  color: white;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

#checkoutButton:hover {
  background-color: #e03e00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

/* Clear Cart (Dark Button) */
#clearCartButton {
  background-color: #222; /* Dark Grey/Black */
  color: #fff;
  border: 1px solid #444;
}

#clearCartButton:hover {
  background-color: #333;
  border-color: #666;
  transform: translateY(-2px);
}
/* =========================================
   8. CINEMATIC ENHANCEMENTS
   ========================================= */

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #ff4500;
  padding: 5px;
  animation: loaderPulse 2s infinite ease-in-out;
}

@keyframes loaderPulse {
  0% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 0 rgba(255, 69, 0, 0); }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 30px rgba(255, 69, 0, 0.6); }
  100% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 0 rgba(255, 69, 0, 0); }
}

/* Reveal Animation for Hero */
.hero h2 {
  overflow: hidden;
  white-space: nowrap;
  border-right: 4px solid #ff4500;
  width: 0;
  animation: typing 3.5s steps(40, end) forwards, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #ff4500; }
}

/* Parallax-like Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Cinematic Hover for Product Cards */
.product {
  overflow: hidden;
}

.product img {
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.product:hover img {
  transform: scale(1.1) rotate(2deg);
}

.product::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.product:hover::after {
  left: 150%;
}

/* =========================================
   1. GLOBAL RESPONSIVE SYSTEM
   ========================================= */

:root {
  --neon-orange: #ff4500;
  --neon-green: #00ff88;
  --dark-bg: #080808;
  --card-bg: #141414;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, sans-serif;
  text-decoration: none;
}

html {
  font-size: 16px; /* Base size for rem units */
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-bg);
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* =========================================
   2. ANIMATIONS
   ========================================= */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slowPan {
  0% { background-position: center top; }
  50% { background-position: center bottom; }
  100% { background-position: center top; }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 5px rgba(255, 69, 0, 0.2); }
  50% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.6); }
  100% { box-shadow: 0 0 5px rgba(255, 69, 0, 0.2); }
}

/* =========================================
   3. HEADER (Responsive Navigation)
   ========================================= */

header {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(15px);
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

header h1 {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: var(--neon-orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
}

header .logo {
  width: clamp(40px, 8vw, 60px);
  height: clamp(40px, 8vw, 60px);
  border-radius: 50%;
  border: 2px solid var(--neon-orange);
  padding: 2px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 25px);
}

nav a {
  color: #bbb;
  font-weight: 600;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  text-transform: uppercase;
  transition: all 0.3s ease;
}

nav a:hover {
  color: var(--neon-orange);
  text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

/* Mobile Menu Adjustments */
@media (max-width: 600px) {
  header { padding: 10px 3%; }
  nav { gap: 12px; }
  header h1 { display: none; } /* Hide text logo on very small screens to save space */
}

/* =========================================
   4. HERO SECTION
   ========================================= */

.hero {
  height: clamp(40vh, 60vh, 80vh);
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-attachment: fixed; */
  /* animation: slowPan 20s linear infinite; */
  position: relative;
  text-align: center;
  padding: 0 20px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero h2 {
  position: relative;
  z-index: 2; /* Ensure text is above Vanta.js canvas */
  font-size: clamp(1.5rem, 8vw, 4rem);
  color: #fff;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -1px;
  animation: fadeInUp 1s ease-out;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
  max-width: 1200px;
}

/* =========================================
   5. PRODUCT GRID (Responsive)
   ========================================= */

.products {
  padding: clamp(20px, 5vw, 60px) 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 4vw, 40px);
  background: #080808;
  max-width: 1600px;
  margin: 0 auto;
  will-change: auto;
}

.product {
  background: var(--card-bg);
  padding: clamp(15px, 3vw, 25px);
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 0.8s ease-out backwards;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.product:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 69, 0, 0.4);
  background: #1a1a1a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  background-color: #1a1a1a;
  display: block;
}

.product h3 {
  color: var(--neon-orange);
  margin-bottom: 10px;
  font-size: clamp(1rem, 3vw, 1.3rem);
  text-transform: uppercase;
}

.product p {
  color: #888;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  margin-bottom: 15px;
}

/* =========================================
   6. SEE MORE SECTION
   ========================================= */

.see-more-container {
  padding: 40px 20px 80px;
  display: flex;
  justify-content: center;
}

.see-more-btn {
  background: linear-gradient(135deg, #ff4500 0%, #cc3700 100%);
  color: #fff;
  padding: clamp(12px, 3vw, 18px) clamp(30px, 6vw, 45px);
  border-radius: 50px;
  font-weight: 800;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
  transition: all 0.3s ease;
  animation: glowPulse 3s infinite;
}

/* =========================================
   7. FOOTER
   ========================================= */

.footer {
  background: #050505;
  color: #666;
  padding: clamp(40px, 8vw, 80px) 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 69, 0, 0.1);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 4vw, 30px);
  margin-top: 25px;
}

.social-icons img {
  width: clamp(24px, 5vw, 32px);
  height: clamp(24px, 5vw, 32px);
  filter: invert(1) opacity(0.3);
  transition: all 0.4s ease;
}

/* =========================================
   8. CART MODAL (Responsive)
   ========================================= */

.cart-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
}

.cart-modal-content {
  background-color: var(--card-bg);
  margin: 5% auto;
  padding: clamp(15px, 4vw, 30px);
  width: min(95%, 600px);
  border-radius: 20px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid #333;
}

.cart-item {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #222;
}

.cart-item img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

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

/* =========================================
   9. CINEMATIC 3D OPENING (Responsive)
   ========================================= */

#preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  perspective: 1000px;
}

.brand-3d {
  font-size: clamp(2rem, 12vw, 6rem);
  font-weight: 900;
  color: var(--neon-orange);
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: clamp(2px, 2vw, 10px);
  text-align: center;
  padding: 0 20px;
  transform-style: preserve-3d;
  animation: float3d 4s infinite ease-in-out;
}

@keyframes float3d {
  0%, 100% { transform: rotateX(20deg) rotateY(-20deg) translateZ(50px); }
  50% { transform: rotateX(-20deg) rotateY(20deg) translateZ(100px); }
}

.thunder-flash {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #fff;
  opacity: 0;
  z-index: 10000;
  pointer-events: none;
}

.flash-anim { animation: flash 0.2s ease-out; }
@keyframes flash { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

.screen-break {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  pointer-events: none;
  z-index: 10001;
}

.shard { background: #000; transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.break-active .shard { opacity: 0; transform: scale(1.5) rotate(45deg) translate(var(--tx), var(--ty)); }

.product-card-colors {
  margin: 10px 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.color-swatches-container {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.listing-color-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: 0.3s;
}
/* Only truly-selected swatch gets orange ring */
.listing-color-swatch.active {
  border-color: #ff4500;
  transform: scale(1.2);
  box-shadow: 0 0 10px #ff4500;
}

/* Hover only on real pointer devices (not touch screens) */
@media (hover: hover) {
  .listing-color-swatch:hover {
    border-color: #ff4500;
    transform: scale(1.2);
  }
}

/* =========================================
   10. MOBILE RESPONSIVE GRID (2-Column Layout)
   ========================================= */

/* Mobile phones: 2-column grid layout */
@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 3vw, 20px);
    padding: clamp(15px, 3vw, 30px) 5%;
  }

  .product {
    padding: clamp(10px, 2vw, 15px);
  }

  .product img {
    margin-bottom: 10px;
  }

  .product h3 {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-bottom: 5px;
  }

  .product p {
    font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    margin-bottom: 8px;
  }

  .product p:last-of-type {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  }
}

/* Extra small phones: Ensure proper spacing */
@media (max-width: 480px) {
  .products {
    gap: clamp(8px, 2vw, 15px);
    padding: clamp(10px, 2vw, 20px) 3%;
  }

  .product {
    padding: clamp(8px, 1.5vw, 12px);
    border-radius: 12px;
  }

  .product img {
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .product h3 {
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    margin-bottom: 3px;
  }

  .product p {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    margin-bottom: 5px;
  }
}

/* Desktop: Preserve original multi-column layout */
@media (min-width: 769px) {
  .products {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(20px, 4vw, 40px);
    padding: clamp(20px, 5vw, 60px) 5%;
  }

  .product {
    padding: clamp(15px, 3vw, 25px);
  }
}