/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Dancing+Script:wght@400;700&family=Space+Mono:wght@400;700&display=swap');

/* Space-themed CSS variables */
:root {
    --space-navy: #0a0e27;
    --space-blue: #1a237e;
    --space-purple: #4a148c;
    --cosmic-pink: #e91e63;
    --neon-cyan: #00e5ff;
    --star-yellow: #ffeb3b;
    --electric-blue: #2196f3;
    --meteor-orange: #ff5722;
    --nebula-purple: #9c27b0;
    --robot-silver: #b0bec5;
    --space-white: #f8f9fa;
}

/* Keyframe animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes gentle-drift {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(2px) translateY(-1px); }
    50% { transform: translateX(-1px) translateY(1px); }
    75% { transform: translateX(1px) translateY(2px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px var(--neon-cyan); }
    50% { box-shadow: 0 0 20px var(--neon-cyan), 0 0 30px var(--cosmic-pink); }
}

@keyframes borderFlash {
    0% { border-color: var(--cosmic-pink); box-shadow: 0 0 5px var(--cosmic-pink); }
    50% { border-color: var(--neon-cyan); box-shadow: 0 0 15px var(--neon-cyan); }
    100% { border-color: var(--cosmic-pink); box-shadow: 0 0 5px var(--cosmic-pink); }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Loading Screen Styles */
.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--space-navy) 0%, var(--space-blue) 50%, var(--space-purple) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  overflow: hidden;
}

.loading-container.hidden {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.loading-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, var(--star-yellow), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--space-white), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--cosmic-pink), transparent),
    radial-gradient(1px 1px at 130px 80px, var(--neon-cyan), transparent),
    radial-gradient(2px 2px at 160px 30px, var(--star-yellow), transparent),
    radial-gradient(1px 1px at 200px 50px, var(--electric-blue), transparent);
  background-repeat: repeat;
  background-size: 300px 200px;
  animation: starfield 25s linear infinite;
  opacity: 0.6;
  z-index: 1;
}

.loading-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(233, 30, 99, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 235, 59, 0.06) 0%, transparent 50%);
  animation: nebula-drift 30s ease-in-out infinite;
  z-index: 1;
}

@keyframes starfield {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-200px) translateX(-100px); }
}

@keyframes nebula-drift {
  0%, 100% { transform: rotate(0deg) scale(1); }
  33% { transform: rotate(120deg) scale(1.1); }
  66% { transform: rotate(240deg) scale(0.9); }
}

.loading-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 600px;
  padding: 40px 20px;
}

.cosmic-loader {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 40px;
  perspective: 1000px;
}

.orbit-ring {
  position: absolute;
  border: 2px solid transparent;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
}

.orbit-1 {
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-color: rgba(233, 30, 99, 0.4);
  animation: orbit-spin 8s linear infinite;
}

.orbit-2 {
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  border-color: rgba(0, 229, 255, 0.4);
  animation: orbit-spin 12s linear infinite reverse;
}

.orbit-3 {
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border-color: rgba(255, 235, 59, 0.4);
  animation: orbit-spin 16s linear infinite;
}

.planet {
  position: absolute;
  border-radius: 50%;
  top: -6px;
  left: -6px;
  box-shadow: 0 0 15px currentColor;
}

.planet-1 {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, var(--cosmic-pink), #c2185b);
  animation: planet-glow 3s ease-in-out infinite alternate;
}

.planet-2 {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 30% 30%, var(--neon-cyan), #00c853);
  animation: planet-glow 4s ease-in-out infinite alternate;
}

.planet-3 {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle at 30% 30%, var(--star-yellow), #fbc02d);
  animation: planet-glow 5s ease-in-out infinite alternate;
}

.central-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.central-core img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
}

@keyframes orbit-spin {
  0% { transform: rotateZ(0deg) rotateY(0deg); }
  100% { transform: rotateZ(360deg) rotateY(360deg); }
}

@keyframes planet-glow {
  0% { box-shadow: 0 0 10px currentColor; }
  100% { box-shadow: 0 0 25px currentColor, 0 0 40px currentColor; }
}

.loading-text {
  position: relative;
  z-index: 3;
  margin-top: 40px;
}

.progress-bar {
  width: 300px;
  height: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(233, 30, 99, 0.3);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cosmic-pink), var(--neon-cyan), var(--star-yellow));
  border-radius: 10px;
  width: 0%;
  animation: progress-load 2s ease-out;
  box-shadow: 0 0 15px rgba(233, 30, 99, 0.6);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes progress-load {
  0% { width: 0%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.star {
  position: absolute;
  color: var(--star-yellow);
  font-size: 20px;
  animation: float-drift 15s ease-in-out infinite;
  text-shadow: 0 0 10px currentColor;
}

.star-1 { top: 15%; left: 10%; animation-delay: 0s; }
.star-2 { top: 25%; right: 15%; animation-delay: 2s; }
.star-3 { bottom: 30%; left: 20%; animation-delay: 4s; }
.star-4 { top: 60%; right: 25%; animation-delay: 6s; }
.star-5 { bottom: 15%; right: 10%; animation-delay: 8s; }

.ufo {
  position: absolute;
  font-size: 30px;
  animation: ufo-fly 20s linear infinite;
  filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.ufo-1 {
  top: 20%;
  left: calc(50% - 100px);
  animation-delay: 0s;
}

@keyframes float-drift {
  0%, 100% { transform: translateY(0px) scale(1); }
  25% { transform: translateY(-20px) scale(1.1); }
  50% { transform: translateY(0px) scale(0.9); }
  75% { transform: translateY(-15px) scale(1.05); }
}

@keyframes ufo-fly {
  0% { transform: translateX(0) translateY(0) rotate(0deg); }
  25% { transform: translateX(25vw) translateY(-20px) rotate(5deg); }
  50% { transform: translateX(50vw) translateY(0) rotate(0deg); }
  75% { transform: translateX(75vw) translateY(-15px) rotate(-5deg); }
  100% { transform: translateX(calc(100vw + 100px)) translateY(0) rotate(0deg); }
}

/* Mobile Responsive for Loading Screen */
@media (max-width: 768px) {
  .cosmic-loader {
    width: 150px;
    height: 150px;
  }

  .orbit-1 { width: 90px; height: 90px; margin: -45px 0 0 -45px; }
  .orbit-2 { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
  .orbit-3 { width: 150px; height: 150px; margin: -75px 0 0 -75px; }

  .progress-bar {
    width: 250px;
  }

  .ufo, .star {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .cosmic-loader {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
  }

  .orbit-1 { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
  .orbit-2 { width: 95px; height: 95px; margin: -47.5px 0 0 -47.5px; }
  .orbit-3 { width: 120px; height: 120px; margin: -60px 0 0 -60px; }

  .progress-bar {
    width: 200px;
    height: 4px;
  }

  .loading-content {
    padding: 20px 15px;
  }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 'Space Mono', monospace;
}

body {
    background: linear-gradient(135deg, var(--space-navy) 0%, var(--space-blue) 50%, var(--space-purple) 100%);
    background-attachment: scroll;
    color: var(--space-white);
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Animated space background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--space-navy) 0%, var(--space-blue) 50%, var(--space-purple) 100%);
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--star-yellow), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--space-white), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--cosmic-pink), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--neon-cyan), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--star-yellow), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    background-attachment: scroll;
    animation: gentle-drift 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(26, 35, 126, 0.8));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--neon-cyan);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 229, 255, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--star-yellow);
    text-shadow: 0 0 15px var(--star-yellow);
    text-align: left;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.time {
    margin-left: 0;
}

.cart-button {
    margin-right: 0;
}

.cart-button {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--space-white);
    padding: 8px 15px;
    border: 2px solid var(--cosmic-pink);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.2), rgba(255, 87, 34, 0.2));
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.cart-button:hover {
    background: linear-gradient(135deg, var(--cosmic-pink), var(--meteor-orange));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.time {
    font-size: 1.2rem;
    color: var(--star-yellow);
    font-family: 'Space Mono', monospace;
    font-weight: 700;
}

header {
    text-align: center;
    padding: 4rem 1rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--star-yellow);
    text-shadow: 0 0 20px var(--star-yellow);
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.neon-text {
    font-size: 1.2rem;
    color: var(--space-white);
    text-shadow: 0 0 10px var(--cosmic-pink);
    animation: pulse 2s infinite;
    font-family: 'Space Mono', monospace;
    margin: 0.5rem 0;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.product-category {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(26, 35, 126, 0.9));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--space-blue), var(--space-purple));
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 2px solid var(--cosmic-pink);
    color: var(--star-yellow);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4rem;
}

.category-header::after {
    content: '🛸';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 2rem;
}

@media screen and (max-width: 768px) {
    .category-header {
        padding: 1.8rem;
        padding-right: 5rem;
        font-size: 1.2rem;
    }

    .category-header::after {
        right: 1.5rem;
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .category-header {
        padding: 1.5rem;
        padding-right: 4.5rem;
        font-size: 1.1rem;
    }

    .category-header::after {
        right: 1.2rem;
        font-size: 1.6rem;
    }
}

.category-header.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.category-header:hover {
    background: linear-gradient(135deg, var(--nebula-purple), var(--cosmic-pink));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(156, 39, 176, 0.3);
}

.product-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    opacity: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.9), rgba(26, 35, 126, 0.85));
}

.product-category .category-header.active + .product-grid {
    display: grid;
    opacity: 1;
}

.product {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95), rgba(26, 35, 126, 0.9));
    backdrop-filter: blur(15px);
    padding: 2rem;
    border: 2px solid var(--cosmic-pink);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: borderFlash 4s infinite;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--cosmic-pink), var(--star-yellow));
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
    border-color: var(--neon-cyan);
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--star-yellow);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-family: 'Space Mono', monospace;
    line-height: 1.4;
}

.price {
    font-size: 1.5rem;
    color: var(--star-yellow);
    font-weight: 900;
    font-family: 'Orbitron', monospace;
}

.stock-display {
    color: var(--cosmic-pink);
    font-size: 0.9rem;
    margin-top: 8px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
}

.out-of-stock {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--meteor-orange), var(--cosmic-pink));
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: white;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
}

.add-to-cart {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--space-purple), var(--nebula-purple));
    color: var(--space-white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
    border: 2px solid var(--star-yellow);
}

.add-to-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.6);
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
}

.quantity-controls button {
    background: linear-gradient(135deg, var(--cosmic-pink), var(--meteor-orange));
    color: white;
    border: 2px solid var(--neon-cyan);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Orbitron', monospace;
}

.quantity-controls button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--cosmic-pink);
}

.cart-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98), rgba(26, 35, 126, 0.95));
    backdrop-filter: blur(20px);
    padding: 25px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    scroll-behavior: smooth;
}

.cart-panel.active {
    display: flex;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    border-bottom: 2px solid var(--cosmic-pink);
    max-width: 800px;
    margin: 0 auto 25px auto;
    width: 100%;
}

.cart-header h2 {
    color: var(--star-yellow);
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-cart {
    color: var(--cosmic-pink);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.close-cart:hover {
    color: var(--meteor-orange);
    transform: scale(1.2);
}

.cart-items {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding: 20px;
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    gap: 10px;
}

.cart-item .item-name {
    flex: 1;
    color: var(--space-white);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item .item-price {
    color: var(--electric-blue);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    min-width: 60px;
    text-align: right;
}

.remove-item {
    cursor: pointer;
    color: var(--meteor-orange);
    font-size: 1.2rem;
    padding: 5px;
    transition: all 0.3s ease;
}

.remove-item:hover {
    color: var(--cosmic-pink);
    transform: scale(1.2);
}

.cart-total {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 800px;
    margin: auto;
    padding: 25px;
    border-top: 3px solid var(--neon-cyan);
    background: linear-gradient(135deg, var(--space-navy), var(--space-blue));
    backdrop-filter: blur(15px);
    margin-top: auto;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.cart-total h3 {
    color: var(--star-yellow);
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 235, 59, 0.1), rgba(0, 229, 255, 0.1));
    border: 2px solid var(--cosmic-pink);
    border-radius: 15px;
    text-shadow: 0 0 10px var(--star-yellow);
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.cyber-button.proceed {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--electric-blue), var(--neon-cyan));
    color: var(--space-navy);
    font-weight: 900;
    border: 3px solid var(--cosmic-pink);
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.4);
    box-sizing: border-box;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.cyber-button.proceed::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cyber-button.proceed:hover::before {
    left: 100%;
}

.cyber-button.proceed:hover {
    box-shadow: 0 0 25px var(--electric-blue), 0 0 35px var(--neon-cyan);
    transform: translateY(-3px);
    border-color: var(--star-yellow);
}

/* Modal Styles */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98), rgba(26, 35, 126, 0.95));
    backdrop-filter: blur(20px);
    padding: 25px;
    z-index: 2000;
    display: none;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    scroll-behavior: smooth;
}

.checkout-modal.active {
    display: flex;
}

.checkout-modal .modal-content {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: var(--space-white);
    width: 100%;
    max-width: 800px;
    max-height: none;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    box-shadow: none;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    z-index: auto;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    border-bottom: 2px solid var(--cosmic-pink);
    max-width: 800px;
    margin: 0 auto 25px auto;
    width: 100%;
}

.modal-header h2 {
    color: var(--star-yellow);
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.close-modal {
    color: var(--cosmic-pink);
    font-size: 32px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--meteor-orange);
    transform: scale(1.2);
}

.checkout-modal .order-summary {
    margin: 25px auto;
    margin-bottom: 3rem;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid var(--cosmic-pink);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
}

.checkout-modal .order-summary h3 {
    margin-bottom: 1.5rem;
    color: var(--star-yellow);
    text-align: center;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid var(--cosmic-pink);
    border-radius: 20px;
}

.checkout-modal .order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    font-family: 'Space Mono', monospace;
}

.checkout-modal .order-total {
    display: flex;
    justify-content: flex-end;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 2px solid var(--neon-cyan);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--electric-blue);
    font-family: 'Orbitron', monospace;
    gap: 20px;
}

.checkout-modal .delivery-estimate {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-top: 30px;
    margin-bottom: 30px;
    border-top: 2px solid var(--cosmic-pink);
    border-bottom: 2px solid var(--cosmic-pink);
    color: var(--star-yellow);
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 235, 59, 0.1), rgba(233, 30, 99, 0.1));
    border-radius: 15px;
}

.checkout-modal .customer-info {
    margin: 50px auto 25px auto;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid var(--cosmic-pink);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
}

.customer-info h3 {
    margin-bottom: 20px;
    color: var(--star-yellow);
    text-align: center;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-group.full-width {
    grid-column: span 2;
}

.cyber-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--cosmic-pink);
    border-radius: 15px;
    color: var(--space-white);
    font-family: 'Space Mono', monospace;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cyber-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.cyber-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.important-notice {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(233, 30, 99, 0.2));
    border: 2px solid var(--meteor-orange);
    color: var(--space-white);
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 15px;
    font-size: 0.9rem;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
}

.checkout-modal .checkout-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.checkout-modal .checkout-buttons button {
    flex: 1;
    font-size: 1rem;
    padding: 18px;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cyber-button.cancel {
    background: linear-gradient(135deg, var(--robot-silver), var(--space-blue));
    color: var(--space-white);
    border: 2px solid var(--cosmic-pink);
}

.cyber-button.cancel:hover {
    background: linear-gradient(135deg, var(--meteor-orange), var(--cosmic-pink));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.4);
}

footer {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 0.05));
    backdrop-filter: blur(15px);
    border-top: 2px solid var(--neon-cyan);
    color: var(--space-white);
    font-family: 'Space Mono', monospace;
    margin-top: 2rem;
}



.location-notice {
    background: linear-gradient(135deg, rgba(255, 235, 59, 0.2), rgba(0, 229, 255, 0.2));
    border: 2px solid var(--star-yellow);
    color: var(--space-white);
    padding: 20px;
    margin: 20px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 0.9rem;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .cart-panel {
        padding: 15px;
    }

    .cart-header {
        padding: 15px;
    }

    .cart-items {
        padding: 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .product {
        padding: 1.5rem;
    }

    .add-to-cart {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .checkout-buttons {
        flex-direction: column-reverse;
    }

    .checkout-buttons button {
        width: 100%;
        margin: 5px 0;
    }

    nav {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .cyber-input {
        padding: 15px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .checkout-modal .modal-content {
        width: 95%;
        padding: 20px;
        max-height: 85vh;
    }

    .cart-item {
        font-size: 0.85rem;
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .quantity-controls {
        gap: 6px;
    }

    .quantity-controls button {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/* Styles for screens below 400px width */
@media screen and (max-width: 400px) {
    /* Make logo smaller on very small screens */
    .logo img {
        height: 20px !important;
    }

    /* Fix thank you header text overflow */
    .thank-you-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .thank-you-header h1 {
        font-size: 1.6rem;
        line-height: 1.2;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .neon-text {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    /* Add proper spacing between sections */
    .order-summary {
        margin-bottom: 2rem;
    }

    .order-summary h3 {
        margin-bottom: 1.5rem;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .delivery-estimate {
        margin-top: 2rem;
        padding: 1rem 0;
        border-top: 2px solid var(--cosmic-pink);
    }

    .customer-info {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .customer-info h3 {
        margin-bottom: 1.5rem;
        padding: 1rem;
        font-size: 1.1rem;
    }

    /* Improve spacing for order total */
    .order-total {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        gap: 15px;
    }

    /* Fix container width and padding */
    .thank-you-container {
        padding: 1rem 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Ensure all content fits within viewport */
    .order-summary,
    .customer-info {
        padding: 1.5rem 1rem;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* Better spacing for important notices */
    .important-notice {
        margin: 1.5rem 0;
        padding: 1rem;
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .age-notice {
        margin: 1.5rem 0;
        padding: 1rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Fix navigation on very small screens */
    nav {
        padding: 0.5rem 1rem;
    }

    .nav-right {
        gap: 10px;
    }

    .time {
        font-size: 1rem;
    }

    .cart-button {
        padding: 6px 10px;
        font-size: 1rem;
    }

    /* Improve back to home button */
    .back-to-home {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .back-to-home .cyber-button {
        padding: 15px 20px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    /* Better detail layout on very small screens */
    .customer-detail,
    .order-item {
        padding: 1rem 0;
        gap: 10px;
    }

    .detail-label {
        font-size: 0.9rem;
    }

    .detail-value {
        font-size: 0.85rem;
    }

    .order-item .item-name {
        font-size: 0.85rem;
    }

    .order-item .item-price {
        font-size: 0.9rem;
        font-weight: 700;
    }
}

/* Age Verification Modal */
.age-verification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98), rgba(26, 35, 126, 0.98));
    backdrop-filter: blur(20px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.age-verification-modal.age-modal-active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--space-navy), var(--space-blue));
    border: 3px solid var(--meteor-orange);
    border-radius: 20px;
    padding: 20px;
    color: var(--space-white);
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    text-align: center;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 87, 34, 0.3);
    position: relative;
    overflow-y: auto;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--cosmic-pink), var(--star-yellow));
}

.age-modal-header h2 {
    color: var(--meteor-orange);
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--meteor-orange);
    font-size: 1.3rem;
    line-height: 1.2;
}

.age-modal-body {
    margin: 15px 0;
}

.warning-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.age-modal-body h3 {
    color: var(--star-yellow);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-requirements {
    text-align: left;
    margin: 15px 0;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 2px solid var(--cosmic-pink);
    border-radius: 10px;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.requirement-item:last-child {
    margin-bottom: 0;
}

.check-icon {
    color: var(--neon-cyan);
    font-size: 1.2rem;
    font-weight: 900;
    min-width: 20px;
    margin-top: 1px;
}

.requirement-item p {
    font-family: 'Space Mono', monospace;
    line-height: 1.4;
    margin: 0;
    color: var(--space-white);
    font-size: 0.85rem;
}

.requirement-item strong {
    color: var(--star-yellow);
    font-weight: 700;
}

.age-notice {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(233, 30, 99, 0.2));
    border: 2px solid var(--meteor-orange);
    color: var(--space-white);
    padding: 12px;
    margin: 15px 0;
    border-radius: 10px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.3;
}

.age-notice strong {
    color: var(--meteor-orange);
}

.age-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-direction: column;
}

.age-modal-buttons .cyber-button {
    flex: 1;
    font-size: 0.95rem;
    padding: 14px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid;
    line-height: 1.2;
}

.age-modal-buttons .cyber-button.proceed {
    background: linear-gradient(135deg, #4CAF50, #00C853);
    color: var(--space-white);
    border-color: var(--star-yellow);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

.age-modal-buttons .cyber-button.proceed:hover {
    box-shadow: 0 0 20px #4CAF50, 0 0 25px #00C853;
    transform: translateY(-2px);
    border-color: var(--cosmic-pink);
}

.age-modal-buttons .cyber-button.cancel {
    background: linear-gradient(135deg, var(--meteor-orange), var(--cosmic-pink));
    color: var(--space-white);
    border-color: var(--meteor-orange);
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
}

.age-modal-buttons .cyber-button.cancel:hover {
    box-shadow: 0 0 20px var(--meteor-orange), 0 0 25px var(--cosmic-pink);
    transform: translateY(-2px);
    border-color: var(--star-yellow);
}

/* Mobile responsive for age modal */
@media screen and (max-width: 768px) {
    .age-verification-modal {
        padding: 5px;
    }

    .age-modal-content {
        padding: 15px;
        max-width: 95%;
        border-radius: 15px;
    }

    .age-modal-header h2 {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
    }

    .age-modal-body h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .warning-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .age-requirements {
        padding: 12px;
        margin: 10px 0;
    }

    .requirement-item {
        margin-bottom: 8px;
        gap: 8px;
    }

    .requirement-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .check-icon {
        font-size: 1rem;
        min-width: 16px;
    }

    .age-notice {
        padding: 10px;
        margin: 10px 0;
        font-size: 0.75rem;
    }

    .age-modal-buttons {
        margin-top: 15px;
        gap: 8px;
    }

    .age-modal-buttons .cyber-button {
        font-size: 0.85rem;
        padding: 12px;
        letter-spacing: 0.5px;
    }
}

@media screen and (max-width: 480px) {
    .age-modal-content {
        padding: 12px;
        border-radius: 12px;
    }

    .age-modal-header h2 {
        font-size: 1rem;
        line-height: 1.1;
    }

    .age-modal-body h3 {
        font-size: 0.9rem;
    }

    .warning-icon {
        font-size: 1.8rem;
    }

    .requirement-item p {
        font-size: 0.75rem;
    }

    .age-notice {
        font-size: 0.7rem;
        padding: 8px;
    }

    .age-modal-buttons .cyber-button {
        font-size: 0.8rem;
        padding: 10px;
    }
}

/* Thank You Page Styles */
.thank-you-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.thank-you-header {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid var(--star-yellow);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(255, 235, 59, 0.3);
}

/* Thank you page specific spacing */
.thank-you-container .order-summary {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid var(--cosmic-pink);
    border-radius: 20px;
}

.thank-you-container .delivery-estimate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 2px solid var(--star-yellow);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 235, 59, 0.1), rgba(233, 30, 99, 0.1));
    color: var(--star-yellow);
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.thank-you-container .customer-info {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid var(--neon-cyan);
    border-radius: 20px;
}

.thank-you-container .customer-info h3 {
    margin-bottom: 2rem;
    color: var(--star-yellow);
    text-align: center;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--cosmic-pink);
    border-radius: 15px;
}

.thank-you-header h1 {
    color: var(--star-yellow);
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--star-yellow);
}

.order-items {
    background: transparent;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    font-family: 'Space Mono', monospace;
    color: var(--space-white);
}

.order-item .item-name {
    color: var(--space-white);
    font-weight: 400;
}

.order-item .item-price {
    color: var(--electric-blue);
    font-weight: 700;
}

.customer-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    font-family: 'Space Mono', monospace;
}

.detail-label {
    color: var(--cosmic-pink);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    color: var(--space-white);
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.age-notice {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(233, 30, 99, 0.2));
    border: 2px solid var(--meteor-orange);
    color: var(--space-white);
    padding: 20px;
    margin: 25px 0;
    border-radius: 15px;
    font-size: 0.9rem;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    line-height: 1.5;
}

.age-notice strong {
    color: var(--meteor-orange);
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
}

.back-to-home .cyber-button {
    display: inline-block;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--electric-blue), var(--neon-cyan));
    color: var(--space-navy);
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 3px solid var(--cosmic-pink);
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.4);
    position: relative;
    overflow: hidden;
}

.back-to-home .cyber-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--electric-blue), 0 0 35px var(--neon-cyan);
    border-color: var(--star-yellow);
}

.back-to-home .cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.back-to-home .cyber-button:hover::before {
    left: 100%;
}

/* Mobile responsive for thank you page */
@media screen and (max-width: 768px) {
    .thank-you-container {
        padding: 1rem;
    }

    .thank-you-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .thank-you-header h1 {
        font-size: 2rem;
    }

    .thank-you-container .order-summary {
        margin-bottom: 2.5rem;
        padding: 1.5rem;
    }

    .thank-you-container .delivery-estimate {
        margin: 2rem 0;
        padding: 1.2rem;
        font-size: 1rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .thank-you-container .customer-info {
        margin: 2.5rem 0;
        padding: 1.5rem;
    }

    .thank-you-container .customer-info h3 {
        margin-bottom: 1.5rem;
        padding: 0.8rem;
        font-size: 1rem;
    }

    .detail-value {
        max-width: 55%;
        font-size: 0.9rem;
    }

    .customer-detail,
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 0;
    }

    .detail-label {
        margin-bottom: 5px;
    }

    .detail-value {
        max-width: 100%;
        text-align: left;
    }

    .order-item .item-price {
        align-self: flex-end;
    }
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--space-navy);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--cosmic-pink), var(--neon-cyan));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--neon-cyan), var(--cosmic-pink));
}

/* Mobile responsive for checkout modal */
@media screen and (max-width: 768px) {
    .checkout-modal .modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        top: 0 !important;
        left: 0 !important;
        right: 0;
        bottom: 0;
        transform: none !important;
        position: fixed;
        border-radius: 0;
        padding: 15px;
        margin: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media screen and (max-width: 480px) {
    .checkout-modal .modal-content {
        padding: 10px;
    }
}