/* =========================================
   1. ANIMATION KEYFRAMES (The Magic)
   ========================================= */

/* A slow, breathing float effect for the T-shirt */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
 
/* A cinematic slide-up fade for content */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* A shiny gloss effect passing across the button */
@keyframes shine {
  0% { left: -100%; opacity: 0; }
  20% { left: 100%; opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Subtle background movement */
@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================================
   2. GLOBAL STYLES
   ========================================= */

:root {
  --neon-orange: #ff4500;
  --neon-green: #00ff88;
  --dark-bg: #090909;
  --card-bg: #141414;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  /* Animated Dark Gradient Background */
  background: linear-gradient(-45deg, #050505, #111111, #1a1a1a, #000000);
  background-size: 400% 400%;
  animation: bgShift 15s ease infinite;
  color: #fff;
  overflow-x: hidden; /* Prevent scrollbars during animations */
}

/* =========================================
   3. HEADER
   ========================================= */

header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px); /* Frosted glass effect */
  border-bottom: 1px solid rgba(255, 69, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: fadeInUp 0.8s ease-out;
}

header h1 {
  font-size: 1.8rem;
  color: #ff4500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic; /* Speed look */
}

header h1 span {
  color: var(--neon-orange);
}

nav a {
  margin-left: 30px;
  color: #888;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--neon-orange);
  transition: width 0.3s ease;
}

nav a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--neon-orange);
}

nav a:hover::after {
  width: 100%;
}

/* =========================================
   4. MAIN CONTENT
   ========================================= */

.container {
  padding: 60px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Side: The Image */
.image-box {
  flex: 1 1 400px;
  text-align: center;
  /* Staggered entrance animation */
  animation: fadeInUp 1s ease-out 0.2s backwards; 
}

.main-image img {
  max-width: 100%;
  border-radius: 20px;
  /* The Floating Shirt Effect */
  animation: float 6s ease-in-out infinite; 
  box-shadow: 0 30px 60px rgba(0,0,0,0.8); /* Deep shadow below */
  transition: transform 0.3s;
}

/* Cool interaction: Stop floating when user touches it */
.main-image img:hover {
  animation-play-state: paused;
  transform: scale(1.05) rotate(-2deg);
  cursor: zoom-in;
}

.thumbnails {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.thumbnails img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  border: 2px solid #333;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0.6;
  object-fit: contain;
  background: #141414;
}

.thumbnails img:hover, .thumbnails img.active {
  border-color: var(--neon-orange);
  transform: translateY(-5px);
  opacity: 1;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
}

/* Right Side: The Details */
.details {
  flex: 1 1 400px;
  /* Staggered entrance: loads slightly after image */
  animation: fadeInUp 1s ease-out 0.4s backwards; 
}

.details h2 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.details p {
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 1.1rem;
  border-left: 3px solid var(--neon-orange);
  padding-left: 20px;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neon-green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4); /* Neon Glow */
  margin-bottom: 30px;
  display: block;
}

/* =========================================
   5. THE CALL TO ACTION (BUTTON)
   ========================================= */

button {
  background: var(--neon-orange);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  padding: 20px 60px;
  border-radius: 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden; /* Contains the shine effect */
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.4);
  transition: all 0.3s ease;
  
  /* Center the button safely */
  display: block;
  margin-top: 40px;
  width: fit-content;
}

/* The shiny sweep animation */
button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: shine 3s infinite; /* Runs every 3 seconds */
}

button:hover {
  background: #fff;
  color: var(--neon-orange);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 40px rgba(255, 69, 0, 0.8); /* Intense Glow on hover */
}

button:active {
  transform: scale(0.95);
}

/* =========================================
   6. FOOTER
   ========================================= */

.footer {
  background: #000;
  color: #444;
  padding: 40px;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid #222;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-icons img {
  filter: invert(1); /* Make black icons white */
  opacity: 0.3;
  width: 24px;
  transition: all 0.4s;
}

.social-icons img:hover {
  opacity: 1;
  transform: rotate(360deg) scale(1.2); /* Spin effect on hover */
}

.color-options {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #555;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  background-color: var(--color-value); /* This will be set dynamically */
}

.color-swatch:hover {
  transform: scale(1.1);
  border-color: var(--neon-orange);
}

.color-swatch.active {
  border-color: var(--neon-orange);
  box-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
  transform: scale(1.1);
}

.contact-container {
      max-width: 800px;
      margin: 60px auto;
      padding: 40px;
      background: var(--card-bg);
      border-radius: 20px;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
      animation: fadeInUp 1s ease-out;
    }

    .contact-container h2 {
      color: #fff;
      font-size: 2.5rem;
      margin-bottom: 30px;
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .contact-form label {
      display: block;
      margin-bottom: 10px;
      color: #aaa;
      font-weight: 600;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
      width: calc(100% - 20px);
      padding: 15px;
      margin-bottom: 25px;
      border: 1px solid #333;
      border-radius: 10px;
      background-color: #1a1a1a;
      color: #fff;
      font-size: 1rem;
      transition: border-color 0.3s, box-shadow 0.3s;
    }

    .contact-form input[type="text"]:focus,
    .contact-form input[type="email"]:focus,
    .contact-form textarea:focus {
      border-color: var(--neon-orange);
      box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
      outline: none;
    }

    .contact-form textarea {
      resize: vertical;
      min-height: 150px;
    }

    .contact-form button {
      width: 100%;
      padding: 18px;
      font-size: 1.3rem;
      margin-top: 20px;
    }

    .contact-info {
      margin-top: 50px;
      text-align: center;
      color: #aaa;
      line-height: 1.8;
    }

    .contact-info p {
      margin-bottom: 10px;
    }

    .contact-info a {
      color: var(--neon-orange);
      text-decoration: none;
      transition: color 0.3s;
    }

    .contact-info a:hover {
      color: #fff;
      text-shadow: 0 0 8px var(--neon-orange);
    }

.cart-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.25s ease-out;
}

.cart-modal-content {
  background: linear-gradient(160deg, #141414 0%, #0f0f0f 100%);
  margin: 6% auto;
  padding: 0;
  border: 1px solid #2a2a2a;
  width: 88%;
  max-width: 520px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 0 60px rgba(255, 69, 0, 0.12), 0 20px 60px rgba(0,0,0,0.8);
  animation: slideInTop 0.35s cubic-bezier(.22,.68,0,1.2);
  overflow: hidden;
}

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

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

/* ── Cart header bar ── */
.cart-modal-content h2 {
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 22px 24px 18px;
  margin: 0;
  border-bottom: 1px solid #1e1e1e;
  background: rgba(255, 69, 0, 0.04);
}

/* ── Close button ── */
.close-button {
  position: absolute;
  top: 14px;
  right: 20px;
  color: #555;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  cursor: pointer;
  z-index: 2;
}
.close-button:hover {
  color: var(--neon-orange);
  transform: rotate(90deg);
  text-decoration: none;
}

/* ── Scrollable items area ── */
.cart-items {
  max-height: 320px;
  overflow-y: auto;
  padding: 16px 20px;
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a transparent;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 4px; }

/* ── Single cart row ── */
.cart-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid #1a1a1a;
  transition: border-color 0.2s;
}
.cart-item:hover { border-color: #2a2a2a; }
.cart-item:last-child { margin-bottom: 0; }

.cart-item img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #222;
  background: #111;
  flex-shrink: 0;
}

/* Details fills all space left of the absolutely-positioned price/X */
.cart-item-details {
  flex: 1;
  min-width: 0;
  padding-right: 110px; /* room for price + X */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.cart-item-details h4 {
  margin: 0;
  color: #f0f0f0;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cart-item-details p {
  margin: 0;
  color: #484848;
  font-size: 0.73rem;
  letter-spacing: 0.3px;
}

/* ── Quantity pill — lighter, clearly a control ── */
.cart-quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #ff4500;
  color: #ff4500;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  padding: 0;
  flex-shrink: 0;
}
.qty-btn:hover { background: #ff4500; color: #fff; }

.cart-qty-input {
  width: 30px;
  height: 24px;
  text-align: center;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
  outline: none;
  line-height: 24px;
}
.cart-qty-input::-webkit-inner-spin-button,
.cart-qty-input::-webkit-outer-spin-button { opacity: 0; }

/* ── Price — pinned top-right ── */
.cart-item-price {
  position: absolute;
  top: 13px;
  right: 36px;
  color: var(--neon-orange);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ── Remove button — pinned top-right corner ── */
.remove-item-button {
  position: absolute;
  top: 11px;
  right: 10px;
  background: transparent;
  color: #2e2e2e;
  border: 1px solid #1e1e1e;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  padding: 0;
  line-height: 1;
}
.remove-item-button:hover {
  background: #ff4500;
  color: #fff;
  border-color: #ff4500;
}

/* ── Item price ── */
.cart-item-price {
  color: var(--neon-orange);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  text-align: right;
}

/* ── Remove button ── */
.remove-item-button {
  background: transparent;
  color: #333;
  border: 1px solid #222;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
  padding: 0;
}
.remove-item-button:hover {
  background: #ff4500;
  color: #fff;
  border-color: #ff4500;
}

/* ── Cart footer (total + buttons) ── */
.cart-summary {
  padding: 18px 24px 24px;
  border-top: 1px solid #1e1e1e;
  background: rgba(0, 0, 0, 0.3);
}

.cart-summary p {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin: 0 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-summary p::before {
  content: 'TOTAL';
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: #444;
  font-weight: 400;
}

/* ── Action buttons ── */
.cart-summary .button {
  display: block;
  width: 80%;
  margin: 8px auto 0;
  border: none;
  cursor: pointer;
  font-family: 'Bebas Neue', 'Segoe UI', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 14px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: center;
}

/* Checkout — primary orange */
#checkoutButton {
  background: linear-gradient(135deg, #ff4500, #e03d00);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}
#checkoutButton:hover {
  background: linear-gradient(135deg, #ff5500, #ff4500);
  box-shadow: 0 6px 28px rgba(255, 69, 0, 0.5);
  transform: translateY(-1px);
}

/* Clear cart — ghost */
.cart-summary .clear-cart-button {
  background: transparent;
  color: #444;
  border: 1px solid #222;
  box-shadow: none;
}
.cart-summary .clear-cart-button:hover {
  background: #1a1a1a;
  color: #888;
  border-color: #333;
  transform: none;
}

/* 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;
}

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

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

/* Image Zoom on Hover */
.main-image img {
  transition: transform 1.2s cubic-bezier(0.15, 0.83, 0.66, 1);
  cursor: zoom-in;
}

.main-image:hover img {
  transform: scale(1.05);
}

/* Button Glow and Shine */
.button {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.button::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.6s;
  z-index: -1;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
  transform: translateY(-3px);
}

/* Color Swatch Animation */
.color-swatch {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
}

.color-swatch:hover {
  transform: scale(1.3);
}

.color-swatch.active {
  box-shadow: 0 0 15px var(--neon-orange);
}

/* Smooth Entrance for Details */
.details > * {
  animation: fadeInUp 0.8s ease-out both;
}

.details h2 { animation-delay: 0.1s; }
.details .price { animation-delay: 0.2s; }
.details p { animation-delay: 0.3s; }
.details .color-options { animation-delay: 0.4s; }
.details .button { animation-delay: 0.5s; }

/* =========================================
   1. PRODUCT PAGE RESPONSIVE SYSTEM
   ========================================= */

:root {
  --neon-orange: #ff4500;
  --neon-green: #00ff88;
  --dark-bg: #090909;
  --card-bg: #141414;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(-45deg, #050505, #111111, #1a1a1a, #000000);
  background-size: 400% 400%;
  animation: bgShift 15s ease infinite;
  color: #fff;
  overflow-x: hidden;
}

@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================================
   2. HEADER
   ========================================= */

header {
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 69, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  color: var(--neon-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-style: italic;
}

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

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

nav a:hover {
  color: var(--neon-orange);
  text-shadow: 0 0 10px var(--neon-orange);
}

/* =========================================
   3. PRODUCT CONTAINER (Responsive Grid)
   ========================================= */

.container {
  max-width: 1200px;
  margin: clamp(20px, 5vw, 60px) auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr));
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

/* Image Section */
.image-box {
  width: 100%;
  position: sticky;
  top: 100px;
}

@media (max-width: 900px) {
  .image-box { position: relative; top: 0; }
}

.main-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.15, 0.83, 0.66, 1);
}

.thumbnails {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.thumbnails img {
  width: clamp(60px, 15vw, 60px);
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #141414;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.thumbnails img.active {
  border-color: var(--neon-orange);
  opacity: 1;
  transform: scale(1.05);
}

/* Details Section */
.details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.details h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--neon-green);
  font-weight: 900;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.details p {
  color: #aaa;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  line-height: 1.8;
}

/* Form Elements */
select, .button {
  width: 100%;
  max-width: 400px;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

@media (max-width: 600px) {
  select, .button { max-width: 100%; }
}

.button {
  background: linear-gradient(135deg, #ff4500 0%, #cc3700 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(255, 69, 0, 0.3);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 69, 0, 0.5);
}

/* Color Swatches */
.color-options {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 10px 0;
}

.color-swatch {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #444;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-swatch.active {
  border-color: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--neon-orange);
}

/* =========================================
   4. FOOTER
   ========================================= */

.footer {
  background: #050505;
  padding: 60px 20px;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 69, 0, 0.1);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: invert(1) opacity(0.3);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header {
    flex-direction: column; /* Stacks the logo on top of the nav */
    gap: 15px; /* Adds breathing room between the logo and links */
  }
  
  nav {
    flex-wrap: wrap; /* Allows links to drop to a new line instead of stretching the screen */
    justify-content: center; /* Centers the links under the logo */
    width: 100%;
  }
}
/* =========================================
   FIX: Sticky hover on touch devices
   On phones, :hover stays stuck after a tap.
   This causes the previously-tapped swatch
   to keep its orange border even after a new
   one is selected. Reset hover on touch screens.
   ========================================= */
@media (hover: none) {
  .color-swatch:hover {
    transform: scale(1) !important;
    border-color: #555 !important;
    box-shadow: none !important;
  }
}