/** Shopify CDN: Minification failed

Line 300:8 Unexpected ".5"
Line 370:0 Unexpected "}"

**/
/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Base mobile optimizations */
@media (max-width: 768px) {
  
  /* Product page layout */
  #single-product-info {
    padding: 1rem;
  }
  
  #product-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Product image and controls */
  #product-wrapper {
    max-width: 100%;
  }
  
  .absolute.top-0.left-0 {
    padding: 0.75rem;
  }
  
  .absolute.top-0.left-0 .flex.gap-2 button {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  /* Design overlay mobile optimizations */
  #design-overlay {
    touch-action: none;
    user-select: none;
  }
  
  #overlay-wrapper {
    touch-action: none;
  }
  
  /* Control handles - larger for touch */
  #rotate-handle,
  #delete-overlay,
  #resize-handle {
    width: 2rem;
    height: 2rem;
    padding: 0.25rem;
  }
  
  /* Thumbnail gallery mobile */
  #thumbnail-gallery-container {
    padding: 0.5rem;
  }
  
  .thumbnail-item {
    gap: 0.5rem;
  }
  
  .thumbnail-item img {
    width: 3rem;
    height: 3rem;
  }
  
  /* Product details mobile */
  #product-details {
    padding: 0;
  }
  
  #product-details h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  /* Step sections mobile */
  .py-5 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  /* Color selectors mobile */
  #color-selectors-container {
    gap: 0.5rem;
  }
  
  /* Decoration methods mobile */
  #decoration-methods-container {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  #decoration-methods-container button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Upload areas mobile */
  .upload-block {
    margin-bottom: 1.5rem;
  }
  
  .upload-item {
    margin-bottom: 0.75rem;
  }
  
  .upload-item button {
    padding: 1rem;
    font-size: 0.875rem;
    min-height: 3rem;
  }
  
  /* File display with preview thumbnails mobile */
  #file-display-front,
  #file-display-back,
  #file-display-left,
  #file-display-right {
    padding: 12px !important;
    font-size: 14px !important;
  }
  
  /* Preview thumbnails mobile */
  #preview-thumbnail-front,
  #preview-thumbnail-back,
  #preview-thumbnail-left,
  #preview-thumbnail-right {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
  }
  
  /* File display content mobile */
  #file-display-front .flex.items-center.space-x-3,
  #file-display-back .flex.items-center.space-x-3,
  #file-display-left .flex.items-center.space-x-3,
  #file-display-right .flex.items-center.space-x-3 {
    gap: 0.5rem;
    min-width: 0 !important;
  }
  
  /* Remove button mobile */
  #file-display-front button,
  #file-display-back button,
  #file-display-left button,
  #file-display-right button {
    font-size: 18px !important;
    padding: 4px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
  
  /* Upload section mobile styles */
  .upload-section {
    margin-bottom: 16px !important;
  }
  
  .upload-section h3 {
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }
  
  /* Add Another Image button mobile */
  #add-another-front,
  #add-another-back,
  #add-another-left,
  #add-another-right {
    padding: 12px !important;
    font-size: 14px !important;
    margin-top: 8px !important;
    min-height: 44px !important;
  }
  
  /* Size grid mobile */
  #size-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
    font-size: 0.75rem;
  }
  
  #size-grid input {
    padding: 0.5rem 0.25rem;
    text-align: center;
  }
  
  /* Add to cart section mobile */
  .flex.flex-row.justify-between.gap-5 {
    flex-direction: column;
    gap: 1rem;
  }
  
  .basis-2\/3,
  .basis-1\/3 {
    flex-basis: auto;
  }
  
  #add-to-cart {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* Customer Account Mobile Styles */
@media (max-width: 768px) {
  
  /* Account page layout */
  .grid.grid-cols-1.md\\:grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Design grid mobile */
  #customer-designs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .design-preview img {
    width: 100%;
    height: auto;
  }
  
  /* Filter buttons mobile */
  .flex.gap-2 button {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  
  /* Quick stats mobile */
  .grid.grid-cols-3 {
    gap: 0.5rem;
  }
  
  .text-2xl {
    font-size: 1.5rem;
  }
  
  /* Action buttons mobile */
  .mt-2.flex.gap-1 {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .mt-2.flex.gap-1 button {
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
  }
}

/* Modal Mobile Styles */
@media (max-width: 768px) {
  
  /* Login prompt modal */
  #login-prompt-modal .bg-white {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
  
  /* Share design modal */
  #share-design-modal .bg-white {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
  
  /* Modal buttons */
  .flex.gap-3.p-6 {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .flex.gap-3.p-6 button {
    width: 100%;
  }
}

/* Order Page Mobile Styles */
@media (max-width: 768px) {
  
  /* Order layout */
  .grid.grid-cols-1.lg\\:grid-cols-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Order timeline mobile */
  .flex.gap-4 {
    gap: 1rem;
  }
  
  .w-8.h-8 {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .w-0\\.5 .h-12 {
    height: 2rem;
  }
  
  /* Order items mobile */
  .flex.gap-4.pb-4 {
    flex-direction: column;
    gap: 1rem;
  }
  
  .w-20.h-20 {
    width: 4rem;
    height: 4rem;
    align-self: flex-start;
  }
  
  /* Order summary mobile */
  .lg\\:col-span-1 {
    order: -1;
  }
}

/* Touch Target Improvements */
@media (max-width: 768px) {
  
  /* Minimum touch target size */
  button,
  input[type="button"],
  input[type="submit"],
  .clickable {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Larger tap targets for small buttons */
  .text-xs.bg-blue-600,
  .text-xs.bg-gray-600,
  .text-xs.bg-green-600,
  .text-xs.bg-red-600 {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  
  /* Input improvements */
  input[type="text"],
  input[type="email"],
  input[type="number"],
  textarea,
  select {
    padding: 0.75rem;
    font-size: 1rem;
  }
}
  
  /* Input improvements */
  input[type="text"],
  input[type="email"],
  input[type="number"],
  textarea,
  select {
    padding: 0.75rem;
    font-size: 1rem;
  }
  
  /* Checkbox and radio improvements */
  input[type="checkbox"],
  input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* Navigation and Header Mobile */
@media (max-width: 768px) {
  
  /* Back button improvements */
  .flex.items-center.gap-2 {
    padding: 0.75rem 0;
    font-size: 1rem;
  }
  
  /* Page titles */
  h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.125rem;
    line-height: 1.4;
  }
}

/* Performance Optimizations */
@media (max-width: 768px) {
  
  /* Reduce animations on mobile */
  * {
    animation-duration: 0.2s !important;
    transition-duration: 0.2s !important;
  }
  
  /* Optimize images */
  img {
    image-rendering: optimizeSpeed;
  }
  
  /* Reduce shadows on mobile */
  .shadow-lg {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  
  .shadow-xl {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
}

/* Landscape Mobile Optimizations */
@media (max-width: 768px) and (orientation: landscape) {
  
  /* Adjust heights for landscape */
  .min-h-screen {
    min-height: 100vh;
  }
  
  /* Compact spacing in landscape */
  .py-10 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  /* Thumbnail gallery in landscape */
  #thumbnail-gallery-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }
}

/* Dark mode support for mobile */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
  
  .bg-white {
    background-color: #1f2937;
    color: #fff;
  }
  
  .text-gray-900 {
    color: #f9fafb;
  }
  
  .text-gray-600 {
    color: #d1d5db;
  }
  
  .border-gray-300 {
    border-color: #4b5563;
  }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
  
  /* Focus indicators */
  button:focus,
  input:focus,
  select:focus,
  textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
  }
  
  /* High contrast mode */
  @media (prefers-contrast: high) {
    button {
      border: 2px solid currentColor;
    }
    
    .bg-blue-600 {
      background-color: #1e40af;
    }
    
    .text-gray-600 {
      color: #374151;
    }
  }
  
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* Print styles for mobile */
@media print {
  
  /* Hide interactive elements */
  button,
  .upload-item,
  #thumbnail-gallery-container,
  .absolute.top-0 {
    display: none !important;
  }
  
  /* Optimize for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .bg-white {
    background: white !important;
    color: black !important;
  }
}

/* ============================================
   MOBILE UPLOAD INTERFACE STYLES
   ============================================ */

@media (max-width: 768px) {
  
  /* Upload progress indicator */
  #mobile-upload-progress {
    animation: slideUp 0.3s ease-out;
  }
  
  @keyframes slideUp {
    from {
      transform: translate(-50%, 100%);
      opacity: 0;
    }
    to {
      transform: translate(-50%, 0);
      opacity: 1;
    }
  }
  
  /* Mobile upload options modal */
  .mobile-upload-modal {
    animation: fadeIn 0.2s ease-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Mobile message notifications */
  .mobile-message {
    max-width: calc(100vw - 2rem);
    word-wrap: break-word;
  }
  
  /* Camera capture button */
  .camera-capture-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: transform 0.2s;
  }
  
  .camera-capture-btn:active {
    transform: scale(0.95);
  }
  
  /* Photo library button */
  .library-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transition: transform 0.2s;
  }
  
  .library-btn:active {
    transform: scale(0.95);
  }
  
  /* Upload hint text */
  .mobile-upload-hint {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    z-index: 40;
    pointer-events: none;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.7;
    }
  }
  
  /* Network quality indicator */
  .network-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    z-index: 50;
  }
  
  .network-poor {
    background: #ef4444;
    color: white;
  }
  
  .network-moderate {
    background: #f59e0b;
    color: white;
  }
  
  .network-good {
    background: #10b981;
    color: white;
  }
  
  /* File size warning */
  .file-size-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-radius: 0.25rem;
    font-size: 0.875rem;
  }
  
  /* Compression indicator */
  .compression-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #dbeafe;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
  
  /* Enhanced upload item styling for mobile */
  @media (max-width: 768px) {
    .upload-item {
      margin-bottom: 0.75rem;
    }
    
    /* Additional upload items with colored borders */
    .upload-item.border-2 {
      border-width: 2px !important;
      padding: 0.5rem;
      margin-bottom: 1rem;
      border-radius: 0.5rem;
    }
    
    .upload-item.border-blue-400 {
      border-color: #60a5fa !important;
      background-color: rgba(59, 130, 246, 0.05);
    }
    
    .upload-item.hover\:border-blue-500:hover {
      border-color: #3b82f6 !important;
      background-color: rgba(59, 130, 246, 0.1);
    }
    
    /* Side labels for additional uploads */
    .upload-item .text-blue-600 {
      color: #2563eb !important;
      font-weight: 600;
      font-size: 0.75rem;
      margin-bottom: 0.5rem;
      padding: 0 0.5rem;
    }
    
    /* Enhanced button styling for additional uploads */
    .upload-item button.text-blue-700 {
      color: #1d4ed8 !important;
      background-color: white;
      border: 1px solid #93c5fd;
      padding: 1rem 1.5rem;
      font-size: 14px;
    }
    
    .upload-item button.text-blue-700:hover {
      background-color: #eff6ff;
      border-color: #60a5fa;
      box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
    }
    
    /* File display styling for additional uploads */
    .upload-item .text-blue-700.bg-white {
      color: #1d4ed8 !important;
      border-color: #93c5fd !important;
      border-radius: 0.375rem;
    }
    
    /* Remove button hover effect */
    .upload-item button.hover\:text-red-700:hover {
      color: #b91c1c !important;
    }
  }
  
  /* Upload button enhancements for mobile */
  .upload-item button {
    position: relative;
    overflow: hidden;
  }
  
  .upload-item button::after {
    content: '📱';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1rem;
    opacity: 0.5;
  }
  
  /* Touch feedback */
  .upload-item button:active {
    transform: scale(0.98);
    background-color: #f3f4f6;
  }
  
  /* Camera icon animation */
  @keyframes cameraFlash {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.3;
    }
  }
  
  .camera-flash {
    animation: cameraFlash 0.3s ease-in-out;
  }
}

/* Tablet-specific upload styles */
@media (min-width: 769px) and (max-width: 1024px) {
  
  /* Larger upload buttons for tablets */
  .upload-item button {
    padding: 1.25rem;
    font-size: 1rem;
  }
  
  /* Upload grid for tablets */
  .upload-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* iOS-specific fixes */
@supports (-webkit-touch-callout: none) {
  
  /* Fix iOS input file button */
  input[type="file"] {
    -webkit-appearance: none;
  }
  
  /* Fix iOS modal positioning */
  .fixed.inset-0 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  /* Prevent iOS zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Android-specific fixes */
@media (max-width: 768px) {
  
  /* Fix Android file input */
  input[type="file"]::-webkit-file-upload-button {
    display: none;
  }
  
  /* Android modal backdrop */
  .modal-backdrop {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}
