:root { 
  --p: #1e293b; 
  --a: #4f46e5; 
  --b: #e2e8f0; 
  --bg: #f8fafc; 
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html {
  overflow-x: hidden;
  width: 100%;
}

body { 
  background: var(--bg); 
  font-family: 'Inter', 'Hind Siliguri', sans-serif; 
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img, video {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

/* ============================================================================
   PAGE LOADER
   ============================================================================ */
.page-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 150px;
  height: 150px;
  background-color: #ff3d00;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.5) inset, 0 5px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 45%;
  top: -40%;
  background-color: #fff;
  animation: wave 5s linear infinite;
}

.loader:before {
  border-radius: 30%;
  background: rgba(255, 255, 255, 0.4);
}

@keyframes wave {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

/* ============================================================================
   POPUP MODAL
   ============================================================================ */
.custom-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.custom-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.custom-popup {
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  max-width: 500px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.custom-popup-overlay.show .custom-popup {
  transform: scale(1);
}

.popup-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.popup-icon.error {
  background: #fee2e2;
  color: #dc2626;
  position: relative;
}

.popup-icon.error::before {
  content: '✕';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.popup-icon.success {
  background: #d1fae5;
  color: #059669;
  position: relative;
}

.popup-icon.success::before {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.popup-icon.confirm {
  background: #dbeafe;
  color: #2563eb;
  position: relative;
}

.popup-icon.confirm::before {
  content: 'ℹ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
}

.popup-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.popup-message {
  text-align: center;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

.popup-details {
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.popup-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e2e8f0;
  gap: 0.5rem;
}

.popup-detail-row:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1rem;
  color: #4f46e5;
  padding-top: 0.5rem;
}

.popup-detail-label {
  color: #64748b;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.popup-detail-value {
  color: #1e293b;
  font-weight: 600;
  text-align: right;
  font-size: 0.8rem;
  word-break: break-word;
}

.popup-btn {
  width: 100%;
  padding: 0.85rem;
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 0.5rem;
}

.popup-btn:hover {
  background: #4338ca;
  transform: translateY(-2px);
}

.popup-btn.secondary {
  background: #e2e8f0;
  color: #475569;
}

.popup-btn.secondary:hover {
  background: #cbd5e1;
}

.popup-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================================
   VIDEO LOADER
   ============================================================================ */
.video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #4f46e5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================================================
   APP SHELL
   ============================================================================ */
.app-shell { 
  min-height: 100vh; 
  padding-bottom: 2rem;
  width: 100%;
  overflow-x: hidden;
}

/* ============================================================================
   HEADER
   ============================================================================ */
.top-header {
  background: white;
  border-bottom: 1px solid var(--b);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-logo {
  height: 32px;
  width: auto;
  border-radius: 0.375rem;
  object-fit: contain;
}

.header-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--p);
  white-space: nowrap;
}

.lang-switch {
  background: #f1f5f9;
  padding: 0.25rem;
  border-radius: 0.5rem;
  display: flex;
  gap: 0.25rem;
}

.lang-switch button {
  border: none;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.2s;
  background: transparent;
  color: #64748b;
  white-space: nowrap;
}

.lang-switch button.active {
  background: white;
  color: var(--p);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* ============================================================================
   MAIN CONTENT
   ============================================================================ */
.main-content { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 2rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.product-grid { 
  display: grid; 
  grid-template-columns: 480px 1fr; 
  gap: 3rem; 
  background: white; 
  padding: 2.5rem; 
  border-radius: 1.5rem; 
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  width: 100%;
  box-sizing: border-box;
}

/* ============================================================================
   MEDIA SECTION - COPIED FROM product.php
   ============================================================================ */
.media-section {
  width: 100%;
  box-sizing: border-box;
}

.stage { 
  aspect-ratio: 1; 
  border-radius: 1rem; 
  overflow: hidden; 
  background: #000; 
  border: 1px solid var(--b); 
  margin-bottom: 1rem; 
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.stage img, .stage video { 
  width: 100%; 
  height: 100%; 
  object-fit: contain;
}

.youtube-container,
.video-container {
  width: 100%;
  height: 100%;
}

.youtube-player {
  width: 100%;
  height: 100%;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(79, 70, 229, 0.9);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: 0.2s;
}

.play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.custom-controls button {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.seek-bar {
  flex: 1;
  height: 4px;
  appearance: none;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
}

.seek-bar::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

.time-display {
  color: white;
  font-size: 0.85rem;
  white-space: nowrap;
}

.volume-bar {
  width: 80px;
  height: 4px;
  appearance: none;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
}

.volume-bar::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

.reel { 
  display: flex; 
  gap: 0.75rem; 
  flex-wrap: wrap;
  padding-bottom: 0.5rem;
}

.frame { 
  width: 80px;
  height: 80px;
  border-radius: 0.5rem; 
  border: 2px solid transparent; 
  cursor: pointer; 
  overflow: hidden; 
  background: #f1f5f9;
  position: relative;
  flex-shrink: 0;
}

.frame.active { 
  border-color: var(--a); 
}

.frame img, .frame video { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.video-thumb {
  position: relative;
  width: 100%;
  height: 100%;
}

.play-icon-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================================
   PRODUCT DETAILS
   ============================================================================ */
.details-section {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.badge-row { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 1rem; 
}

.status-pill { 
  padding: 0.4rem 0.9rem; 
  border-radius: 2rem; 
  font-size: 0.8rem; 
  font-weight: 700; 
}

.title { 
  font-size: 1.75rem; 
  font-weight: 800; 
  color: var(--p); 
  line-height: 1.2; 
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--a);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--a);
  border-radius: 0.5rem;
  transition: 0.2s;
}

.store-link:hover {
  background: var(--a);
  color: white;
}

.mobile-price-qty {
  display: none;
}

.pricing-card { 
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); 
  padding: 1.5rem; 
  border-radius: 1rem; 
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

.price-main { 
  display: flex; 
  align-items: baseline; 
  gap: 0.75rem;
  flex-wrap: wrap;
}

.curr { 
  font-size: 1.75rem; 
  font-weight: 800; 
  color: var(--a);
  word-wrap: break-word;
}

.discount { 
  font-size: 0.8rem; 
  background: var(--a); 
  color: white; 
  padding: 0.1rem 0.5rem; 
  border-radius: 0.4rem; 
  font-weight: 700; 
}

.price-sub { 
  font-size: 0.9rem; 
  color: #64748b; 
  margin-top: 0.25rem; 
}

.strike { 
  text-decoration: line-through; 
  opacity: 0.6; 
}

.delivery-highlight {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 1.5rem;
  word-wrap: break-word;
  box-sizing: border-box;
}

.desc-block { 
  margin-bottom: 1.5rem; 
}

.desc-block h3 { 
  font-size: 1rem; 
  margin-bottom: 0.75rem; 
  color: var(--p); 
}

.description-content {
  position: relative;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.description-content.collapsed {
  max-height: 150px;
}

.description-content.expanded {
  max-height: 3000px;
}

.description-content p { 
  font-size: 0.9rem; 
  color: #475569; 
  line-height: 1.7;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.read-more-btn {
  background: transparent;
  border: 1px solid var(--a);
  color: var(--a);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.read-more-btn:hover {
  background: var(--a);
  color: white;
}

.action-tray { 
  margin-top: 2rem; 
  padding-top: 1.5rem; 
  border-top: 1px solid var(--b);
}

.desktop-only {
  display: block;
}

.amount-qty-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.amount-box, .qty-box {
  flex: 1;
  background: rgba(79, 70, 229, 0.08);
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.amount-box span, .qty-box span:first-child {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.amount-box strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--a);
}

.stepper { 
  display: flex; 
  align-items: center; 
  background: #f1f5f9; 
  border-radius: 0.75rem; 
  padding: 0.25rem; 
}

.stepper button { 
  width: 40px; 
  height: 40px; 
  border: none; 
  background: white; 
  border-radius: 0.5rem; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: var(--p); 
  box-shadow: 0 1px 2px rgba(0,0,0,0.05); 
  transition: 0.2s;
}

.stepper button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stepper span { 
  width: 50px; 
  text-align: center; 
  font-weight: 700; 
  color: var(--p); 
}

.buy-btn { 
  width: 100%; 
  height: 54px; 
  background: var(--a); 
  color: white; 
  border: none; 
  border-radius: 0.75rem; 
  font-weight: 700; 
  font-size: 1.05rem; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 0.75rem; 
  transition: 0.2s; 
}

.buy-btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3); 
}

/* ============================================================================
   CHECKOUT PAGE
   ============================================================================ */
.checkout-layout { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 2rem;
  max-width: 100%;
  box-sizing: border-box;
}

.summary-card-top {
  background: var(--p); 
  color: white; 
  padding: 2rem; 
  border-radius: 1.5rem;
  box-sizing: border-box;
  width: 100%;
}

.summary-card-top h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.summary-highlight {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.line { 
  display: flex; 
  justify-content: space-between; 
  margin-bottom: 0.75rem; 
  font-size: 0.95rem; 
  opacity: 0.9;
  gap: 1rem;
}

.line .text-sm {
  font-size: 0.85rem;
  text-align: right;
}

.total-line { 
  border-top: 1px solid rgba(255,255,255,0.2); 
  padding-top: 1rem; 
  margin-top: 1rem;
  display: flex; 
  justify-content: space-between; 
  font-weight: 700; 
  font-size: 1.35rem; 
}

.form-card { 
  background: white; 
  padding: 2rem; 
  border-radius: 1.5rem;
  box-sizing: border-box;
  width: 100%;
}

.back-link { 
  border: none; 
  background: transparent; 
  color: #64748b; 
  display: flex; 
  align-items: center; 
  gap: 0.4rem; 
  cursor: pointer; 
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--p);
}

.form-card h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 1rem;
  color: var(--p);
}

.field { 
  margin-bottom: 1.25rem; 
}

.field label { 
  display: block; 
  font-size: 0.85rem; 
  font-weight: 600; 
  color: #475569; 
  margin-bottom: 0.4rem; 
}

.field input, .field textarea { 
  width: 100%; 
  padding: 0.85rem; 
  border-radius: 0.75rem; 
  border: 1px solid var(--b); 
  outline: none; 
  font-size: 1rem; 
  font-family: inherit;
  box-sizing: border-box;
}

.field input:focus, .field textarea:focus {
  border-color: var(--a);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.error {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

.delivery-options {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--b);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.2s;
}

.radio-label:has(input:checked) {
  border-color: var(--a);
  background: rgba(79, 70, 229, 0.05);
}

.radio-label input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
}

.checkbox-label {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.form-btns { 
  display: flex; 
  gap: 1rem; 
  margin-top: 2rem; 
}

.btn-prime { 
  flex: 2; 
  background: var(--a); 
  color: white; 
  border: none; 
  padding: 1rem; 
  border-radius: 0.75rem; 
  font-weight: 700; 
  cursor: pointer;
  transition: 0.2s;
}

.btn-prime:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px -3px rgba(79, 70, 229, 0.3);
}

.btn-prime:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-alt { 
  flex: 1; 
  border: 1px solid var(--b); 
  background: white; 
  border-radius: 0.75rem; 
  font-weight: 600; 
  cursor: pointer;
  transition: 0.2s;
}

.btn-alt:hover {
  background: #f8fafc;
}

/* ============================================================================
   SUCCESS PAGE
   ============================================================================ */
.success-screen { 
  padding-top: 4rem; 
  text-align: center; 
}

.success-card { 
  background: white; 
  max-width: 500px; 
  margin: 0 auto; 
  padding: 3rem 2rem; 
  border-radius: 2rem; 
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); 
}

.success-animation {
  margin-bottom: 2rem;
}

.checkmark-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.checkmark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #059669;
  position: relative;
  animation: checkmarkRotate 0.4s ease 0.3s both;
}

@keyframes checkmarkRotate {
  0% { transform: rotate(-45deg); }
  100% { transform: rotate(0deg); }
}

.checkmark:after {
  content: '';
  position: absolute;
  width: 12px;
  height: 24px;
  border: solid white;
  border-width: 0 4px 4px 0;
  top: 12px;
  left: 22px;
  transform: rotate(45deg);
  animation: checkmarkDraw 0.3s ease 0.5s both;
}

@keyframes checkmarkDraw {
  0% { height: 0; }
  100% { height: 24px; }
}

.order-id-display {
  background: #f1f5f9;
  padding: 1.25rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.order-label {
  font-weight: 600;
  color: #64748b;
}

.order-id {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--a);
  letter-spacing: 0.05em;
}

.confirmation-text {
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ============================================================================
   RESPONSIVE DESIGN - EXACT COPY FROM product.php
   ============================================================================ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 420px 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .stage {
    max-width: 420px;
  }
}

@media (max-width: 850px) { 
  .main-content {
    padding: 1rem;
  }

  .product-grid { 
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  /* CRITICAL MOBILE MEDIA SECTION - EXACT COPY FROM product.php */
  .media-section {
    width: 100%;
    max-width: 100%;
  }
  
  .stage {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 1rem;
  }
  
  .stage img,
  .stage video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* Thumbnail reel - EXACT COPY FROM product.php */
  .reel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    overflow-x: visible;
    padding-bottom: 0.5rem;
  }
  
  .frame {
    width: 100%;
    aspect-ratio: 1;
    min-width: unset;
  }
  
  .frame img,
  .frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Mobile price and quantity */
  .mobile-price-qty {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .amount-box-mobile, .qty-box-mobile {
    flex: 1;
    background: rgba(79, 70, 229, 0.08);
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    box-sizing: border-box;
  }
  
  .amount-box-mobile .label, .qty-box-mobile .label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
  }
  
  .amount-box-mobile .curr-mobile {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--a);
    word-wrap: break-word;
  }
  
  .desktop-only {
    display: none;
  }
  
  .delivery-options {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .header-logo {
    height: 28px;
  }
  
  .header-title {
    font-size: 0.9rem;
  }
  
  .lang-switch button {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .title {
    font-size: 1.5rem;
  }
  
  .curr {
    font-size: 1.5rem;
  }
  
  .form-card {
    padding: 1.5rem;
  }
  
  .summary-card-top {
    padding: 1.5rem;
  }
  
  .buy-btn {
    height: 50px;
    font-size: 1rem;
  }
  
  .stepper button {
    width: 36px;
    height: 36px;
  }
  
  .stepper span {
    width: 45px;
  }
  
  .pricing-card {
    padding: 1.25rem;
  }
  
  .delivery-highlight {
    padding: 0.85rem;
    font-size: 0.9rem;
  }
  
  .store-link {
    font-size: 0.9rem;
    padding: 0.45rem 0.9rem;
  }
}

@media (max-width: 480px) {
  .top-header {
    padding: 0.6rem 0.75rem;
  }
  
  .header-logo {
    height: 26px;
  }
  
  .header-title {
    font-size: 0.85rem;
  }
  
  .lang-switch button {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }
  
  .main-content {
    padding: 0.5rem;
  }
  
  .product-grid {
    padding: 1rem;
  }
  
  /* CRITICAL: Ensure media stays full width on small mobile */
  .media-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .stage {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.75rem;
  }
  
  /* Keep 5-column grid on small screens too */
  .reel {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
  }
  
  .frame {
    width: 100%;
    aspect-ratio: 1;
  }
  
  .title {
    font-size: 1.25rem;
  }
  
  .curr {
    font-size: 1.25rem;
  }
  
  .form-card h2 {
    font-size: 1.5rem;
  }
  
  .field input,
  .field textarea {
    font-size: 0.95rem;
    padding: 0.75rem;
  }
  
  .summary-card-top {
    padding: 1.25rem;
  }
}