:root {
      --bg: #ffffff;
      --card: #ffffff;
      --accent: #2563eb;
      --accent-hover: #1d4ed8;
      --muted: #64748b;
      --muted-light: #94a3b8;
      --success: #22c55e;
      --error: #ef4444;
      --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.08);
      --ring: #dbeafe;
      --ink: #0f172a;
      --ink-2: #334155;
      --border: #e2e8f0;
      --radius: 12px;
      --transition: all 0.3s ease;
    }

    [data-theme="dark"] {
      --bg: #0f172a;
      --card: #1e293b;
      --accent: #3b82f6;
      --accent-hover: #2563eb;
      --muted: #94a3b8;
      --muted-light: #64748b;
      --success: #22c55e;
      --error: #ef4444;
      --shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.3);
      --ring: #1e3a8a;
      --ink: #f1f5f9;
      --ink-2: #cbd5e1;
      --border: #334155;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg);
      color: var(--ink);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      transition: var(--transition);
      padding-bottom: 70px; /* Bottom navigation के लिए space */
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* Header */
    header {
      background: var(--card);
      box-shadow: var(--shadow);
      padding: 12px 16px;
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid var(--border);
      transition: var(--transition);
    }

    .header-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 12px;
      justify-content: space-between;
    }

    .brand {
      font-weight: 800;
      color: var(--ink);
      font-size: 18px;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
    }

    .brand .chip {
      background: var(--accent);
      color: #fff;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: 6px;
      font-size: 12px;
    }

    .search-wrap {
      flex: 1;
      display: flex;
      max-width: 500px;
      margin: 0;
      margin-right: 10px;
    }

    .search-wrap input {
      flex: 1;
      padding: 10px 14px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      font-family: inherit;
      font-size: 14px;
      transition: all 0.2s ease;
      background: var(--card);
      color: var(--ink);
    }

    .search-wrap input:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--ring);
    }

    .cta {
      display: flex;
      gap: 8px;
      position: relative;
      align-items: center;
    }

    .btn {
      background: var(--accent);
      color: #fff;
      border: 0;
      padding: 8px 14px;
      border-radius: var(--radius);
      cursor: pointer;
      font-weight: 600;
      font-size: 13px;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn:hover {
      background: var(--accent-hover);
      transform: translateY(-1px);
    }

    .btn.secondary {
      background: #f1f5f9;
      color: var(--ink-2);
    }

    .btn.secondary:hover {
      background: #e2e8f0;
      transform: translateY(-1px);
    }

    .btn.error {
      background: var(--error);
    }

    .btn.error:hover {
      background: #dc2626;
    }

    .btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    /* Theme Toggle Button */
    .theme-toggle {
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6px;
      border-radius: 50%;
      transition: all 0.2s ease;
      color: var(--ink);
    }

    .theme-toggle:hover {
      background: var(--border);
    }

    .theme-toggle svg {
      width: 18px;
      height: 18px;
    }

    .theme-toggle .moon-icon {
      display: none;
    }

    [data-theme="dark"] .theme-toggle .sun-icon {
      display: none;
    }

    [data-theme="dark"] .theme-toggle .moon-icon {
      display: block;
    }

    /* Notification Badge */
    .notification-badge {
      position: absolute;
      top: -5px;
      right: -5px;
      background-color: var(--error);
      color: white;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: bold;
      animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }

    /* Container */
    .container {
      max-width: 1100px;
      margin: 20px auto;
      padding: 0 16px;
      min-height: 70vh;
    }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      border-radius: var(--radius);
      padding: 20px;
      margin-bottom: 20px;
      transition: var(--transition);
    }

    [data-theme="dark"] .hero {
      background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    }

    .hero h1 {
      margin: 0 0 6px 0;
      font-size: 22px;
      font-weight: 700;
    }

    .hero p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    /* Steps */
    .steps {
      display: flex;
      gap: 6px;
      justify-content: center;
      margin: 20px 0;
      flex-wrap: wrap;
    }

    .step-pill {
      background: #fff;
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid var(--border);
      font-weight: 600;
      color: var(--ink-2);
      cursor: pointer;
      user-select: none;
      transition: all 0.2s ease;
      font-size: 13px;
    }

    .step-pill:hover {
      border-color: var(--accent);
    }

    .step-pill.disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .step-pill.disabled:hover {
      border-color: var(--border);
    }

    /* Enhanced Product Grid */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }

    .product-card {
      background: var(--card);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      border: 1px solid var(--border);
      transition: all 0.3s ease;
      cursor: pointer;
      position: relative;
    }

    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }

    .product-card-image {
      height: 160px;
      background-position: center;
      background-size: cover;
      position: relative;
      cursor: pointer;
      background-color: #f8fafc;
    }

    .product-card-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      background: #ff4444;
      color: white;
      padding: 3px 6px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 700;
      z-index: 2;
    }

    .product-card-body {
      padding: 14px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .product-card-title {
      font-weight: 600;
      margin-bottom: 6px;
      font-size: 15px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .product-card-rating {
      display: flex;
      align-items: center;
      margin-bottom: 6px;
      font-size: 13px;
    }

    .product-card-stars {
      color: #ffc107;
      margin-right: 4px;
    }

    .product-card-review-count {
      color: var(--muted);
    }

    .product-card-price {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 6px;
    }

    .product-card-current-price {
      font-weight: 700;
      color: var(--ink);
      font-size: 16px;
    }

    .product-card-original-price {
      text-decoration: line-through;
      color: var(--muted);
      font-size: 13px;
    }

    .product-card-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 10px;
    }

    .action-btn {
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6px;
      border-radius: 50%;
      transition: all 0.2s ease;
    }

    .action-btn:hover {
      background: #f1f5f9;
    }

    .wishlist-btn {
      color: var(--muted);
    }

    /* FIXED: Instant Red Wishlist */
    .wishlist-btn.active {
      color: red !important;
      background: #fee2e2 !important;
    }

    .wishlist-btn.active svg {
      fill: red !important;
    }

    .share-btn {
      color: var(--muted);
    }

    /* Pages */
    .page {
      display: none;
    }

    .page.active {
      display: block;
      animation: fadeIn 0.3s ease;
    }

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

    .card-panel {
      background: var(--card);
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: var(--shadow);
      margin-bottom: 14px;
      border: 1px solid var(--border);
      transition: var(--transition);
    }

    .card-panel h3 {
      margin-top: 0;
      margin-bottom: 12px;
      font-size: 17px;
      font-weight: 600;
    }

    label {
      display: block;
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 6px;
      font-weight: 500;
    }

    input, select, textarea {
      width: 100%;
      padding: 10px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      background: var(--card);
      outline: none;
      font-family: inherit;
      font-size: 14px;
      transition: all 0.2s ease;
      color: var(--ink);
    }

    input:focus, select:focus, textarea:focus {
      box-shadow: 0 0 0 3px var(--ring);
      border-color: var(--accent);
    }

    .row {
      display: flex;
      gap: 14px;
    }

    .col {
      flex: 1;
    }

    .summary {
      background: #f8fafc;
      padding: 14px;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
    }

    [data-theme="dark"] .summary {
      background: #1e293b;
    }

    .center {
      text-align: center;
    }

    footer {
      margin-top: 40px;
      text-align: center;
      color: var(--muted);
      padding: 24px 0;
      border-top: 1px solid var(--border);
      transition: var(--transition);
    }

    /* Thumbnails */
    .thumbs {
      display: flex;
      gap: 8px;
      margin-top: 10px;
      flex-wrap: wrap;
    }

    .thumb {
      width: 50px;
      height: 50px;
      border-radius: 6px;
      background-size: cover;
      background-position: center;
      border: 2px solid transparent;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .thumb:hover {
      transform: scale(1.05);
    }

    .thumb.selected {
      border-color: var(--accent);
    }

    /* FIX FOR PROBLEM 1: Remove blue background from order page slider */
    #orderPage .gallery-main {
      background-color: transparent !important;
    }

    .gallery-main {
      height: 300px;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      position: relative;
      overflow: hidden;
    }

    /* Product Detail Page */
    .product-detail-page {
      padding: 16px;
    }
    
    .product-detail-container {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    
    .product-detail-gallery {
      flex: 1;
      min-width: 300px;
      position: relative;
    }
    
    .product-detail-info {
      flex: 1;
      min-width: 300px;
    }
    
    .product-detail-main-image {
      width: 100%;
      height: 400px;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      margin-bottom: 12px;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.3s ease;
    }

    .product-detail-main-image:hover {
      transform: scale(1.02);
    }

    .product-detail-thumbnails {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }
    
    .product-detail-thumbnail {
      width: 70px;
      height: 70px;
      border-radius: 8px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border: 2px solid var(--border);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .product-detail-thumbnail:hover,
    .product-detail-thumbnail.active {
      border-color: var(--accent);
      transform: scale(1.05);
    }
    
    .product-detail-title {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    
    .product-detail-price {
      font-size: 24px;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 12px;
    }
    
    .product-detail-desc {
      color: var(--muted);
      margin-bottom: 16px;
      font-size: 15px;
    }
    
    .product-detail-full-desc {
      margin-bottom: 20px;
      line-height: 1.6;
      color: var(--ink-2);
    }
    
    .product-detail-meta {
      background: #f8fafc;
      padding: 14px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      margin-bottom: 20px;
    }

    [data-theme="dark"] .product-detail-meta {
      background: #1e293b;
    }
    
    .product-detail-meta h4 {
      margin: 0 0 10px 0;
      color: var(--accent);
      font-size: 15px;
    }
    
    .back-to-products {
      display: inline-flex;
      align-items: center;
      margin-bottom: 16px;
      color: var(--accent);
      font-weight: 600;
      cursor: pointer;
      padding: 8px 14px;
      border-radius: var(--radius);
      background: #f1f5f9;
      transition: all 0.2s ease;
    }

    [data-theme="dark"] .back-to-products {
      background: #1e293b;
    }
    
    .back-to-products:hover {
      background: #e2e8f0;
      color: var(--accent-hover);
    }

    /* Similar Products Section */
    .similar-products {
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }
    
    .similar-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 14px;
      color: var(--ink);
    }

    /* Carousel Controls for Product Detail */
    .detail-carousel-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 16px;
      color: var(--ink);
      transition: all 0.2s ease;
      z-index: 10;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .detail-carousel-control:hover {
      background: rgba(255, 255, 255, 1);
      transform: translateY(-50%) scale(1.1);
    }

    .detail-carousel-control.prev {
      left: 10px;
    }

    .detail-carousel-control.next {
      right: 10px;
    }

    .detail-carousel-dots {
      position: absolute;
      bottom: 12px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 6px;
      z-index: 10;
    }

    .detail-carousel-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .detail-carousel-dot.active {
      background: rgba(255, 255, 255, 1);
      transform: scale(1.3);
    }

    /* Category Navigation */
    .categories {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 14px 0 20px;
      justify-content: center;
    }
    
    .category-pill {
      background: #fff;
      padding: 6px 12px;
      border-radius: 20px;
      border: 1px solid var(--border);
      font-weight: 500;
      color: var(--ink-2);
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 13px;
      white-space: nowrap;
    }
    
    .category-pill:hover, .category-pill.active {
      background: var(--accent);
      color: white;
      border-color: var(--accent);
    }
    
    .category-pill.active {
      font-weight: 600;
    }

    /* Carousel Controls */
    .carousel-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      border: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 16px;
      color: var(--ink);
      transition: all 0.2s ease;
      z-index: 10;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .carousel-control:hover {
      background: rgba(255, 255, 255, 1);
      transform: translateY(-50%) scale(1.1);
    }

    .carousel-control.prev {
      left: 10px;
    }

    .carousel-control.next {
      right: 10px;
    }

    .carousel-dots {
      position: absolute;
      bottom: 12px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 6px;
      z-index: 10;
    }

    .carousel-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .carousel-dot.active {
      background: rgba(255, 255, 255, 1);
      transform: scale(1.3);
    }

    /* About Us Section */
    .about-us {
      margin-top: 30px;
      padding: 18px;
      background: #f8fafc;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      text-align: center;
    }

    [data-theme="dark"] .about-us {
      background: #1e293b;
    }

    .about-us h3 {
      margin-bottom: 10px;
      color: var(--accent);
    }

    .about-us p {
      color: var(--ink-2);
      max-width: 600px;
      margin: 0 auto;
    }

    /* My Orders Page */
    .orders-container {
      max-width: 800px;
      margin: 0 auto;
    }
    
    .order-card {
      background: var(--card);
      border-radius: var(--radius);
      padding: 18px;
      box-shadow: var(--shadow);
      margin-bottom: 16px;
      border: 1px solid var(--border);
      cursor: pointer;
      transition: all 0.3s ease;
      user-select: none;
    }
    
    .order-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-hover);
    }
    
    .order-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border);
    }
    
    .order-id {
      font-weight: 600;
      color: var(--accent);
    }
    
    .order-date {
      color: var(--muted);
      font-size: 13px;
    }
    
    .order-estimated {
      color: var(--success);
      font-size: 13px;
      font-weight: 500;
      margin-top: 4px;
    }
    
    .order-status {
      display: inline-block;
      padding: 3px 8px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 600;
    }
    
    .status-confirmed {
      background: #dcfce7;
      color: #166534;
    }
    
    .status-shipped {
      background: #dbeafe;
      color: #1e40af;
    }
    
    .status-delivered {
      background: #dcfce7;
      color: #166534;
    }
    
    .status-cancelled {
      background: #fee2e2;
      color: #991b1b;
    }
    
    .order-details {
      display: flex;
      gap: 14px;
      margin-bottom: 14px;
    }
    
    .order-product-image {
      width: 70px;
      height: 70px;
      border-radius: 8px;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      border: 1px solid var(--border);
    }
    
    .order-product-info {
      flex: 1;
    }
    
    .order-product-title {
      font-weight: 600;
      margin-bottom: 6px;
    }
    
    .order-product-price {
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 6px;
    }
    
    .order-product-meta {
      color: var(--muted);
      font-size: 13px;
    }
    
    .order-actions {
      display: flex;
      justify-content: flex-end;
      gap: 8px;
    }

    /* Order Detail Page */
    .order-detail-page {
      background: var(--card);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow);
      margin-bottom: 20px;
    }
    
    .order-detail-section {
      margin-bottom: 18px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--border);
    }
    
    .order-detail-section:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }
    
    .order-detail-label {
      font-weight: 600;
      color: var(--muted);
      margin-bottom: 6px;
      font-size: 13px;
    }
    
    .order-detail-value {
      font-size: 15px;
      color: var(--ink);
    }
    
    .order-detail-image {
      width: 100px;
      height: 100px;
      border-radius: 8px;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      border: 1px solid var(--border);
      margin-right: 14px;
    }
    
    .order-detail-product {
      display: flex;
      align-items: center;
      margin-bottom: 14px;
    }
    
    .order-detail-product-info {
      flex: 1;
    }

    /* Horizontal Product Slider */
    .product-slider {
      margin: 24px 0;
      position: relative;
    }
    
    .slider-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
    }
    
    .slider-title {
      font-size: 18px;
      font-weight: 700;
    }
    
    .slider-controls {
      display: flex;
      gap: 6px;
    }
    
    .slider-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--card);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .slider-btn:hover {
      background: var(--accent);
      color: white;
      border-color: var(--accent);
    }
    
    .slider-container {
      overflow-x: auto;
      scroll-behavior: smooth;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE and Edge */
      user-select: none;
    }
    
    .slider-container::-webkit-scrollbar {
      display: none; /* Chrome, Safari and Opera */
    }
    
    .slider-track {
      display: flex;
      gap: 14px;
      padding: 4px;
      user-select: none;
    }
    
    .slider-item {
      flex: 0 0 auto;
      width: 180px;
      background: var(--card);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
      transition: all 0.3s ease;
      cursor: pointer;
      user-select: none;
    }
    
    .slider-item:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-hover);
    }
    
    .slider-item-img {
      height: 140px;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
    }
    
    .slider-item-body {
      padding: 10px;
    }
    
    .slider-item-title {
      font-weight: 600;
      font-size: 13px;
      margin-bottom: 6px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .slider-item-price {
      font-weight: 700;
      color: var(--accent);
      font-size: 15px;
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--card);
      color: var(--ink);
      padding: 14px 18px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-hover);
      display: flex;
      align-items: center;
      gap: 8px;
      z-index: 1000;
      transform: translateX(-50%) translateY(-100px);
      opacity: 0;
      transition: all 0.3s ease;
      max-width: 90%;
      text-align: center;
    }
    
    .toast.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }
    
    .toast.success {
      border-left: 4px solid var(--success);
    }
    
    .toast.error {
      border-left: 4px solid var(--error);
    }
    
    .toast-icon {
      font-size: 18px;
    }
    
    .toast.success .toast-icon {
      color: var(--success);
    }
    
    .toast.error .toast-icon {
      color: var(--error);
    }

    /* Cancellation Modal */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    
    .modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    
    .cancellation-modal {
      background: var(--card);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow-hover);
      max-width: 500px;
      width: 90%;
      max-height: 80vh;
      overflow-y: auto;
    }
    
    .cancellation-modal h3 {
      margin-top: 0;
      margin-bottom: 14px;
      color: var(--ink);
    }
    
    .cancellation-reason {
      margin-bottom: 10px;
      padding: 10px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .cancellation-reason:hover {
      border-color: var(--accent);
      background: #f8fafc;
    }
    
    .cancellation-reason.selected {
      border-color: var(--accent);
      background: var(--ring);
    }
    
    .cancellation-reason input {
      margin-right: 8px;
      width: auto;
    }
    
    .cancellation-actions {
      display: flex;
      gap: 10px;
      margin-top: 18px;
      justify-content: flex-end;
    }

    /* Alert Modal - Updated with Cancel and Yes buttons */
    .alert-modal {
      background: var(--card);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow-hover);
      max-width: 500px;
      width: 90%;
      text-align: center;
    }
    
    .alert-modal h3 {
      margin-top: 0;
      margin-bottom: 14px;
      color: var(--ink);
    }
    
    .alert-modal p {
      margin-bottom: 18px;
      line-height: 1.6;
    }
    
    .alert-modal .alert-icon {
      font-size: 40px;
      color: var(--error);
      margin-bottom: 14px;
    }
    
    /* New styles for alert modal buttons */
    .alert-modal-buttons {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin-top: 18px;
    }

    /* Quantity Input Controls */
    .quantity-control {
      display: flex;
      align-items: center;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      width: 100%;
    }
    
    .quantity-control button {
      background: #f1f5f9;
      border: none;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 15px;
      transition: all 0.2s ease;
    }
    
    .quantity-control button:hover {
      background: #e2e8f0;
    }
    
    .quantity-control input {
      flex: 1;
      text-align: center;
      border: none;
      border-left: 1px solid var(--border);
      border-right: 1px solid var(--border);
      border-radius: 0;
      padding: 8px;
      margin: 0;
      background: var(--card);
      color: var(--ink);
    }

    /* Delivery Congratulations */
    .delivery-congrats {
      background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
      border: 1px solid #22c55e;
      border-radius: var(--radius);
      padding: 14px;
      margin-top: 14px;
      text-align: center;
      color: #166534;
      font-weight: 600;
    }
    
    .delivery-congrats-icon {
      font-size: 22px;
      margin-bottom: 6px;
    }

    /* Refund Request Section */
    .refund-section {
      background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
      border: 1px solid #f59e0b;
      border-radius: var(--radius);
      padding: 14px;
      margin-top: 14px;
    }
    
    .refund-title {
      font-size: 15px;
      font-weight: 600;
      color: #92400e;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    
    .refund-note {
      color: #92400e;
      font-size: 13px;
      margin-bottom: 10px;
    }
    
    .refund-time-left {
      background: #fef3c7;
      border: 1px solid #f59e0b;
      border-radius: 20px;
      padding: 5px 10px;
      font-size: 11px;
      font-weight: 600;
      color: #92400e;
      display: inline-block;
      margin-bottom: 10px;
    }

    /* Mobile Menu Icon */
    .menu-icon {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 22px;
      height: 16px;
      cursor: pointer;
    }
    
    .menu-icon span {
      height: 2px;
      width: 100%;
      background-color: var(--ink);
      border-radius: 2px;
      transition: all 0.3s ease;
    }
    
    /* Mobile Menu */
    .mobile-menu {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100vh;
      background: var(--card);
      box-shadow: var(--shadow-hover);
      z-index: 1000;
      transition: left 0.3s ease;
      overflow-y: auto;
    }
    
    .mobile-menu.active {
      left: 0;
    }
    
    .menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 18px;
      border-bottom: 1px solid var(--border);
    }
    
    .menu-close {
      font-size: 22px;
      cursor: pointer;
      color: var(--muted);
    }
    
    .menu-items {
      padding: 14px 0;
    }
    
    .menu-item {
      display: flex;
      align-items: center;
      padding: 10px 18px;
      color: var(--ink);
      transition: all 0.2s ease;
      cursor: pointer;
    }
    
    .menu-item:hover {
      background: #f1f5f9;
      color: var(--accent);
    }
    
    .menu-item svg {
      margin-right: 10px;
      width: 16px;
      height: 16px;
    }
    
    .menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    
    .menu-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Recently Viewed Products */
    .recently-viewed {
      margin: 30px 0;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }

    .recently-viewed-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 14px;
      color: var(--ink);
    }

    /* Newsletter Section */
    .newsletter-section {
      background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
      border-radius: var(--radius);
      padding: 24px 20px;
      text-align: center;
      margin: 30px 0;
      border: 1px solid var(--border);
    }

    [data-theme="dark"] .newsletter-section {
      background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    }

    .newsletter-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 6px;
      color: var(--ink);
    }

    .newsletter-desc {
      color: var(--muted);
      margin-bottom: 16px;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
    }

    .newsletter-form {
      display: flex;
      max-width: 400px;
      margin: 0 auto;
      gap: 8px;
    }

    .newsletter-input {
      flex: 1;
      padding: 10px 14px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      font-family: inherit;
      font-size: 14px;
      background: var(--card);
      color: var(--ink);
    }

    .newsletter-btn {
      background: var(--accent);
      color: white;
      border: none;
      padding: 10px 16px;
      border-radius: var(--radius);
      cursor: pointer;
      font-weight: 600;
      transition: all 0.2s ease;
    }

    .newsletter-btn:hover {
      background: var(--accent-hover);
    }

    /* Social Sharing */
    .social-sharing {
      display: flex;
      gap: 8px;
      margin-top: 16px;
    }

    .share-btn {
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 6px 10px;
      border-radius: var(--radius);
      background: #f1f5f9;
      color: var(--ink);
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .share-btn:hover {
      background: #e2e8f0;
      transform: translateY(-1px);
    }

    .share-btn.facebook { background: #f0f7ff; color: #1877f2; }
    .share-btn.twitter { background: #f0f9ff; color: #1da1f2; }
    .share-btn.whatsapp { background: #f0fff4; color: #25d366; }

    /* Stock Status */
    .stock-status {
      display: inline-block;
      padding: 3px 6px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .in-stock {
      background: #dcfce7;
      color: #166534;
    }

    .low-stock {
      background: #fef3c7;
      color: #92400e;
    }

    .out-of-stock {
      background: #fee2e2;
      color: #991b1b;
    }

    /* Product SKU */
    .product-sku {
      color: var(--muted);
      font-size: 13px;
      margin-bottom: 8px;
    }

    /* Breadcrumb Navigation */
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 16px;
      font-size: 13px;
      color: var(--muted);
    }

    .breadcrumb a {
      color: var(--accent);
    }

    .breadcrumb span {
      color: var(--muted-light);
    }

    /* Loading Spinner */
    .loading-spinner {
      display: inline-block;
      width: 18px;
      height: 18px;
      border: 2px solid #f3f3f3;
      border-top: 2px solid var(--accent);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Price Filter - Professional */
    .price-filter {
      background: var(--card);
      border-radius: var(--radius);
      padding: 16px;
      margin-bottom: 20px;
      border: 1px solid var(--border);
    }

    .price-filter-title {
      font-weight: 600;
      margin-bottom: 16px;
      font-size: 16px;
      color: var(--ink);
    }

    .price-range-slider-container {
      margin: 20px 0;
    }

    .price-slider-track {
      height: 4px;
      background: #e5e7eb;
      border-radius: 2px;
      position: relative;
    }

    .price-slider-range {
      position: absolute;
      height: 4px;
      background: var(--accent);
      border-radius: 2px;
    }

    .price-slider-thumb {
      position: absolute;
      width: 20px;
      height: 20px;
      background: white;
      border: 2px solid var(--accent);
      border-radius: 50%;
      top: -8px;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }

    .price-range-inputs {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 16px;
    }

    .price-input-wrapper {
      flex: 1;
      position: relative;
    }

    .price-input-wrapper span {
      position: absolute;
      left: 10px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
    }

    .price-input {
      padding: 10px 10px 10px 30px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      width: 100%;
      background: var(--card);
      color: var(--ink);
    }

    .price-input-separator {
      color: var(--muted);
      font-weight: 500;
    }

    .price-filter-buttons {
      display: flex;
      gap: 10px;
      margin-top: 16px;
    }

    /* FIXED: Instant Wishlist Button Active State */
    .wishlist-btn.active {
      color: red !important;
      background: #fee2e2 !important;
      border-color: red !important;
      transition: none !important;
    }

    .wishlist-btn.active:hover {
      background: #fecaca !important;
    }

    /* Product Detail Page Wishlist Button - INSTANT RED */
    #detailWishlistBtn.active {
      background: red !important;
      color: white !important;
      border-color: red !important;
      transition: none !important;
    }

    #detailWishlistBtn.active:hover {
      background: #dc2626 !important;
    }

    /* Remove transitions from wishlist buttons */
    .wishlist-btn, #detailWishlistBtn {
      transition: none !important;
    }

    .wishlist-btn svg {
      transition: none !important;
    }

    /* Size and Color Selection - UPDATED FOR PROFESSIONAL LOOK */
    .size-color-selection {
      margin: 18px 0;
    }

    .size-options, .color-options {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 8px 0 16px;
    }

    .size-option, .color-option {
      padding: 10px 14px;
      border: 2px solid var(--border);
      border-radius: var(--radius);
      cursor: pointer;
      transition: all 0.2s ease;
      background: var(--card);
      color: var(--ink);
      font-weight: 500;
      min-width: 45px;
      text-align: center;
    }

    .size-option:hover, .color-option:hover {
      border-color: var(--accent);
      transform: translateY(-2px);
    }

    .size-option.selected, .color-option.selected {
      background: var(--accent);
      color: white;
      border-color: var(--accent);
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    .color-option {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .color-option::after {
      content: '';
      position: absolute;
      top: -3px;
      left: -3px;
      right: -3px;
      bottom: -3px;
      border: 2px solid transparent;
      border-radius: 50%;
      transition: all 0.2s ease;
    }

    .color-option.selected::after {
      border-color: var(--accent);
    }

    /* Color Switcher Section */
    .color-switcher-section {
      margin: 20px 0;
      padding: 16px;
      background: #f8fafc;
      border-radius: var(--radius);
      border: 1px solid var(--border);
    }

    .selected-color-display {
      font-size: 14px;
      margin-bottom: 12px;
      color: var(--muted);
    }

    .selected-color-display strong {
      color: var(--ink);
      font-weight: 600;
    }

    .color-options-grid {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    
    .color-box {
      width: 50px;
      height: 50px;
      border-radius: 8px;
      border: 2px solid var(--border);
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: all 0.2s ease;
      background-size: cover;
      background-position: center;
    }
    
    .color-box:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }
    
    .color-box.selected {
      border-color: #000;
      box-shadow: 0 0 0 2px #000, 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .color-box.out-of-stock {
      opacity: 0.5;
      cursor: not-allowed;
      position: relative;
    }
    
    .color-box.out-of-stock::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.6);
      border-radius: 6px;
    }
    
    .color-label {
      font-size: 11px;
      text-align: center;
      margin-top: 4px;
      color: var(--ink);
      font-weight: 500;
    }

    /* Remove blue overlay from product images */
    .product-img-slider:focus,
    .product-detail-main-image:focus,
    .gallery-main:focus {
      outline: none;
      box-shadow: none;
    }

    /* Product image container fixes */
    .product-img-slider-container,
    .product-detail-gallery,
    .gallery-main {
      background-color: transparent !important;
    }

    /* NEW: Remove blue highlight from product and order pages */
    .card,
    .card-body,
    .product-img-slider-container,
    .gallery-main,
    .product-detail-main-image,
    .product-detail-thumbnail,
    .slider-item,
    .order-card,
    .order-detail-page {
      -webkit-tap-highlight-color: transparent;
      outline: none;
    }

    /* Keep blue highlight only for menu items */
    .menu-item {
      -webkit-tap-highlight-color: rgba(37, 99, 235, 0.1);
    }

    /* Size validation error styling */
    .size-validation-error {
      color: var(--error);
      font-size: 13px;
      margin-top: 6px;
      display: none;
    }

    .size-validation-error.show {
      display: block;
    }

    /* Cancel Order Flow Modal */
    .cancel-confirm-modal {
      background: var(--card);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow-hover);
      max-width: 500px;
      width: 90%;
      max-height: 80vh;
      overflow-y: auto;
    }

    .cancel-confirm-modal h3 {
      margin-top: 0;
      margin-bottom: 14px;
      color: var(--ink);
    }

    .cancel-confirm-modal .payment-charge-note {
      background: #fef3c7;
      border: 1px solid #f59e0b;
      border-radius: var(--radius);
      padding: 14px;
      margin: 14px 0;
      color: #92400e;
    }

    .cancel-confirm-modal .refund-calculation {
      background: #f8fafc;
      border-radius: var(--radius);
      padding: 14px;
      margin: 14px 0;
    }

    [data-theme="dark"] .cancel-confirm-modal .refund-calculation {
      background: #1e293b;
    }

    .cancel-confirm-modal .refund-calculation p {
      margin: 6px 0;
    }

    .cancel-confirm-actions {
      display: flex;
      gap: 10px;
      margin-top: 18px;
      justify-content: flex-end;
    }

    /* NEW: Login/Signup Modal Styles */
    .auth-modal {
      background: var(--card);
      border-radius: var(--radius);
      padding: 24px;
      box-shadow: var(--shadow-hover);
      max-width: 450px;
      width: 90%;
      max-height: 80vh;
      overflow-y: auto;
      position: relative;
    }
    
    .auth-modal h3 {
      margin-top: 0;
      margin-bottom: 20px;
      color: var(--ink);
      text-align: center;
      font-size: 22px;
    }
    
    .auth-tabs {
      display: flex;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--border);
    }
    
    .auth-tab {
      flex: 1;
      padding: 10px;
      text-align: center;
      cursor: pointer;
      font-weight: 600;
      color: var(--muted);
      transition: all 0.2s ease;
      border-bottom: 2px solid transparent;
    }
    
    .auth-tab.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }
    
    .auth-form {
      display: none;
    }
    
    .auth-form.active {
      display: block;
    }
    
    .auth-form-group {
      margin-bottom: 14px;
    }
    
    .auth-form-footer {
      margin-top: 20px;
      text-align: center;
      font-size: 13px;
      color: var(--muted);
    }
    
    .auth-form-footer a {
      color: var(--accent);
      cursor: pointer;
    }
    
    .user-profile {
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      position: relative;
    }
    
    .user-avatar {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: var(--accent);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 13px;
    }
    
    .user-name {
      font-weight: 600;
      color: var(--ink);
      font-size: 13px;
    }
    
    /* NEW: Google Avatar Styles */
    .user-avatar-img {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      object-fit: cover;
    }

    /* NEW: Account Page Avatar */
    .account-avatar-img {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      object-fit: cover;
    }
    
    /* NEW: Close button for auth modal */
    .auth-close {
      position: absolute;
      top: 14px;
      right: 14px;
      background: none;
      border: none;
      font-size: 22px;
      cursor: pointer;
      color: var(--muted);
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.2s ease;
    }
    
    .auth-close:hover {
      background: #f1f5f9;
      color: var(--ink);
    }
    
    /* NEW: Google Sign-In Button */
    .google-signin-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      padding: 10px 14px;
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      margin-top: 14px;
    }
    
    .google-signin-btn:hover {
      background: #f8fafc;
      border-color: var(--accent);
    }
    
    .google-signin-btn img {
      width: 16px;
      height: 16px;
    }
    
    .divider {
      display: flex;
      align-items: center;
      margin: 16px 0;
      color: var(--muted);
      font-size: 13px;
    }
    
    .divider::before,
    .divider::after {
      content: '';
      flex: 1;
      border-bottom: 1px solid var(--border);
    }
    
    .divider span {
      padding: 0 10px;
    }

    /* NEW: Image Zoom Modal */
    .zoom-modal {
      background: rgba(0, 0, 0, 0.95);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .zoom-content {
      position: relative;
      max-width: 90%;
      max-height: 90%;
    }
    
    .zoom-image {
      max-width: 100%;
      max-height: 90vh;
      object-fit: contain;
      cursor: move;
    }
    
    .zoom-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.9);
      color: #333;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 24px;
      transition: all 0.2s ease;
      z-index: 10;
      font-weight: bold;
    }
    
    .zoom-close:hover {
      background: white;
      transform: scale(1.1);
    }
    
    .zoom-controls {
      position: absolute;
      bottom: 20px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 10px;
      z-index: 10;
    }
    
    .zoom-btn {
      background: rgba(255, 255, 255, 0.9);
      color: #333;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 20px;
      transition: all 0.2s ease;
      font-weight: bold;
    }
    
    .zoom-btn:hover {
      background: white;
      transform: scale(1.1);
    }

    /* NEW: Enhanced Product Gallery */
    .product-gallery-zoom {
      position: relative;
      cursor: zoom-in;
    }
    
    .zoom-indicator {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 11px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .product-gallery-zoom:hover .zoom-indicator {
      opacity: 1;
    }

    /* NEW: Forgot Password Form Styles */
    .forgot-password-form {
      display: none;
    }
    
    .forgot-password-form.active {
      display: block;
    }
    
    .back-to-login {
      color: var(--accent);
      cursor: pointer;
      font-weight: 600;
      margin-top: 14px;
      text-align: center;
    }
    
    .back-to-login:hover {
      color: var(--accent-hover);
    }

    /* === Clean Animated Banners CSS === */
    .hero-messages {
      margin-top: 8px;
      font-size: 14px;
      color: var(--muted);
      font-weight: 600;
      display: flex;
      justify-content: center;
      gap: 20px;
      overflow: hidden;
      position: relative;
    }
    .hero-messages span {
      opacity: 0;
      position: absolute;
      transition: opacity 0.6s ease;
    }
    .hero-messages span.active {
      opacity: 1;
      position: relative;
    }

    .highlight-strip {
      margin-top: 12px;
      padding: 8px 14px;
      border-radius: 8px;
      background: linear-gradient(90deg,#2563eb,#1d4ed8);
      color: white;
      font-weight: 600;
      text-align: center;
      animation: pulseStrip 4s infinite;
      cursor: pointer;
      font-size: 14px;
    }
    @keyframes pulseStrip {
      0%,100% { box-shadow: 0 0 0 rgba(37,99,235,0); }
      50% { box-shadow: 0 0 12px rgba(37,99,235,0.35); }
    }

    /* Search Results Grid */
    #homeSearchResults {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      margin-top: 16px;
    }

    /* Trending Now Section */
    .trending-section {
      margin: 24px 0;
    }

    .trending-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
    }

    .trending-title {
      font-size: 18px;
      font-weight: 700;
    }

    /* NEW: Banner Carousel Styles */
    .banner-carousel {
      position: relative;
      width: 100%;
      height: 180px;
      border-radius: var(--radius);
      overflow: hidden;
      margin-bottom: 20px;
      box-shadow: var(--shadow);
    }

    .banner-track {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.5s ease;
    }

    .banner-slide {
      min-width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      cursor: pointer;
    }

    .banner-controls {
      position: absolute;
      bottom: 12px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 6px;
      z-index: 10;
    }

    .banner-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .banner-dot.active {
      background: rgba(255, 255, 255, 1);
      transform: scale(1.2);
    }

    /* NEW: Category Circles Styles */
    .category-circles {
      margin: 24px 0;
    }

    .category-circles-title {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 14px;
      text-align: center;
    }

    .category-circles-container {
      display: flex;
      gap: 16px;
      overflow-x: auto;
      padding: 8px 0;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .category-circles-container::-webkit-scrollbar {
      display: none;
    }

    .category-circle {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      min-width: 70px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .category-circle:hover {
      transform: translateY(-5px);
    }

    .category-circle-image {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border: 2px solid var(--border);
      transition: all 0.2s ease;
    }

    .category-circle:hover .category-circle-image {
      border-color: var(--accent);
    }

    .category-circle-name {
      font-size: 11px;
      font-weight: 600;
      text-align: center;
      color: var(--ink);
    }

    /* NEW: Contact WhatsApp Button */
    .whatsapp-contact-button {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #25D366;
      color: white;
      padding: 10px 16px;
      border-radius: var(--radius);
      font-weight: 600;
      margin-top: 10px;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .whatsapp-contact-button:hover {
      background: #128C7E;
      transform: translateY(-2px);
    }

    /* NEW: Enhanced Product Image for Mobile */
    .product-detail-main-image.mobile-optimized {
      height: 60vh;
      max-height: 400px;
    }

    /* NEW: Professional Enhancements */
    .professional-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      background: var(--accent);
      color: white;
      padding: 3px 6px;
      border-radius: 4px;
      font-size: 9px;
      font-weight: 700;
      z-index: 2;
    }

    .professional-tag {
      display: inline-block;
      background: var(--accent);
      color: white;
      padding: 3px 6px;
      border-radius: 4px;
      font-size: 9px;
      font-weight: 600;
      margin-left: 6px;
    }

    .professional-header {
      background: linear-gradient(135deg, var(--accent), var(--accent-hover));
      color: white;
      padding: 14px;
      border-radius: var(--radius);
      margin-bottom: 16px;
      text-align: center;
    }

    /* Footer Styles */
    .footer-container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 16px;
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      margin-bottom: 24px;
      text-align: left;
    }

    .footer-section h3 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 14px;
      color: var(--ink);
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 8px;
    }

    .footer-links a {
      color: var(--muted);
      transition: color 0.2s ease;
      cursor: pointer;
    }

    .footer-links a:hover {
      color: var(--accent);
    }

    .contact-info {
      color: var(--muted);
    }

    .contact-info p {
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
    }

    .social-links {
      display: flex;
      gap: 12px;
      margin-top: 16px;
    }

    .social-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--card);
      color: var(--ink);
      transition: all 0.2s ease;
      border: 1px solid var(--border);
    }

    .social-link:hover {
      background: var(--accent);
      color: white;
      transform: translateY(-2px);
    }

    .copyright {
      text-align: center;
      padding: 16px 0;
      background-color: var(--card);
      color: var(--muted);
      font-size: 13px;
      border-top: 1px solid var(--border);
      transition: var(--transition);
    }

    /* Social Media Icons in Mobile Menu */
    .social-menu-item {
      display: flex;
      align-items: center;
      padding: 10px 18px;
      color: var(--ink);
      transition: all 0.2s ease;
      cursor: pointer;
      justify-content: center;
    }
    
    .social-menu-item:hover {
      background: #f1f5f9;
    }
    
    .social-menu-item svg {
      width: 22px;
      height: 22px;
    }

    /* NEW: Empty State Styles */
    .empty-state {
      text-align: center;
      padding: 40px 16px;
      color: var(--muted);
    }
    
    .empty-icon {
      width: 100px;
      height: 100px;
      margin-bottom: 20px;
      opacity: 0.7;
    }
    
    .empty-state h3 {
      font-size: 20px;
      margin-bottom: 10px;
      color: var(--ink);
    }
    
    .empty-state p {
      font-size: 15px;
      margin-bottom: 20px;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .empty-btn {
      display: inline-block;
      background: var(--accent);
      color: white;
      padding: 10px 20px;
      border-radius: var(--radius);
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s ease;
    }
    
    .empty-btn:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
    }

    /* NEW: Product Image Full Screen Modal */
    .product-image-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.95);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 3000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    
    .product-image-modal.active {
      opacity: 1;
      visibility: visible;
    }
    
    .product-image-modal-content {
      position: relative;
      max-width: 90%;
      max-height: 90%;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
    }
    
    .product-image-modal-image {
      max-width: 100%;
      max-height: 80vh;
      object-fit: contain;
      margin: auto;
      cursor: grab;
    }
    
    .product-image-modal-image:active {
      cursor: grabbing;
    }
    
    .product-image-modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.9);
      color: #333;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 24px;
      transition: all 0.2s ease;
      font-weight: bold;
      z-index: 10;
    }
    
    .product-image-modal-close:hover {
      background: white;
      transform: scale(1.1);
    }
    
    .product-image-modal-controls {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      display: flex;
      justify-content: space-between;
      padding: 0 20px;
      transform: translateY(-50%);
      z-index: 10;
    }
    
    .product-image-modal-prev,
    .product-image-modal-next {
      background: rgba(255, 255, 255, 0.9);
      color: #333;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 20px;
      transition: all 0.2s ease;
      font-weight: bold;
    }
    
    .product-image-modal-prev:hover,
    .product-image-modal-next:hover {
      background: white;
      transform: scale(1.1);
    }
    
    .product-image-modal-dots {
      position: absolute;
      bottom: 20px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 8px;
      z-index: 10;
    }
    
    .product-image-modal-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .product-image-modal-dot.active {
      background: rgba(255, 255, 255, 1);
      transform: scale(1.2);
    }

    /* NEW: Review and Rating Styles */
    .review-section {
      margin-top: 24px;
      padding-top: 16px;
      border-top: 1px solid var(--border);
    }
    
    .review-form {
      background: #f8fafc;
      border-radius: var(--radius);
      padding: 18px;
      margin-bottom: 24px;
    }
    
    .review-form h3 {
      margin-top: 0;
      margin-bottom: 14px;
      color: var(--accent);
    }
    
    .rating-input {
      display: flex;
      gap: 6px;
      margin-bottom: 14px;
    }
    
    .rating-star {
      font-size: 22px;
      color: #ddd;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    
    .rating-star.active {
      color: #ffc107;
    }
    
    .review-textarea {
      min-height: 80px;
      resize: vertical;
      font-size: 14px;
    }
    
    .review-submit-btn {
      margin-top: 10px;
    }
    
    .reviews-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    
    .review-item {
      background: var(--card);
      border-radius: var(--radius);
      padding: 14px;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
      position: relative;
    }
    
    .review-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    
    .reviewer-name {
      font-weight: 600;
      font-size: 14px;
    }
    
    .review-date {
      color: var(--muted);
      font-size: 12px;
    }
    
    .review-rating {
      color: #ffc107;
      margin-bottom: 8px;
      font-size: 14px;
    }
    
    .review-text {
      color: var(--ink-2);
      line-height: 1.5;
      font-size: 14px;
    }
    
    .review-delete-btn {
      position: absolute;
      top: 14px;
      right: 14px;
      background: none;
      border: none;
      color: var(--error);
      cursor: pointer;
      font-size: 13px;
      padding: 4px 8px;
      border-radius: 4px;
      transition: all 0.2s ease;
    }
    
    .review-delete-btn:hover {
      background: #fee2e2;
    }

    /* NEW: Payment Gateway Charge Note */
    .payment-charge-note {
      background: #fffbeb;
      border: 1px solid #f59e0b;
      border-radius: var(--radius);
      padding: 10px 14px;
      margin: 14px 0;
      color: #92400e;
      font-size: 13px;
    }

    /* NEW: Order Tracking Styles */
    .order-tracking {
      margin: 16px 0;
    }
    
    .tracking-steps {
      display: flex;
      justify-content: space-between;
      position: relative;
      margin: 24px 0;
    }
    
    .tracking-steps::before {
      content: '';
      position: absolute;
      top: 12px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--border);
      z-index: 1;
    }
    
    .tracking-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      z-index: 2;
    }
    
    .tracking-step-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 6px;
      transition: all 0.3s ease;
      font-size: 12px;
    }
    
    .tracking-step.active .tracking-step-icon {
      background: var(--accent);
      color: white;
    }
    
    .tracking-step.completed .tracking-step-icon {
      background: var(--success);
      color: white;
    }
    
    .tracking-step-label {
      font-size: 11px;
      text-align: center;
      color: var(--muted);
    }
    
    .tracking-step.active .tracking-step-label {
      color: var(--accent);
      font-weight: 600;
    }
    
    .tracking-step.completed .tracking-step-label {
      color: var(--success);
    }

    /* NEW: Sticky Product Detail Buttons */
    .product-detail-actions {
      position: sticky;
      bottom: 70px; /* Bottom navigation के ऊपर */
      background: var(--card);
      padding: 14px;
      border-top: 1px solid var(--border);
      display: flex;
      gap: 10px;
      z-index: 100;
      margin-top: 20px;
    }

    /* NEW: Password Reset Modal Styles */
    .password-reset-modal {
      background: var(--card);
      border-radius: var(--radius);
      padding: 20px;
      box-shadow: var(--shadow-hover);
      max-width: 450px;
      width: 90%;
      max-height: 80vh;
      overflow-y: auto;
    }

    /* Better loading states */
    .product-card-image::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
      background-size: 200% 100%;
      animation: loading 1.5s infinite;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .product-card-image.loading::before {
      opacity: 1;
    }

    @keyframes loading {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    /* Address Management Styles */
    .saved-address-card {
      background: #f8fafc;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 14px;
      margin-bottom: 10px;
      transition: all 0.2s ease;
      position: relative;
    }

    [data-theme="dark"] .saved-address-card {
      background: #1e293b;
    }

    .saved-address-card:hover {
      border-color: var(--accent);
    }

    .saved-address-card.selected {
      border-color: var(--accent);
      background: var(--ring);
    }

    .address-actions {
      display: flex;
      gap: 6px;
      margin-top: 10px;
      justify-content: flex-end;
    }

    .address-actions .btn {
      padding: 5px 10px;
      font-size: 11px;
    }

    /* FIXED: Instagram Icon */
    .instagram-fixed {
      fill: #E4405F;
    }

    /* UPDATED: Order Page Product Selection */
    .product-selection-section {
      margin: 16px 0;
      padding: 18px;
      background: #f8fafc;
      border-radius: var(--radius);
      border: 1px solid var(--border);
    }

    .selection-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 14px;
      color: var(--ink);
    }

    /* NEW: Professional Color Selection System */
    .color-selection-system {
      margin: 20px 0;
    }
    
    .color-selection-title {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--ink);
    }
    
    .selected-color-display {
      font-size: 14px;
      margin-bottom: 14px;
      color: var(--muted);
    }
    
    .selected-color-display strong {
      color: var(--ink);
    }
    
    .color-options-grid {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    
    .color-box {
      width: 50px;
      height: 50px;
      border-radius: 8px;
      border: 2px solid var(--border);
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: all 0.2s ease;
      background-size: cover;
      background-position: center;
    }
    
    .color-box:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }
    
    .color-box.selected {
      border-color: #000;
      box-shadow: 0 0 0 2px #000, 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .color-box.out-of-stock {
      opacity: 0.5;
      cursor: not-allowed;
    }
    
    .color-box.out-of-stock::after {
      content: 'Out of Stock';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      font-size: 8px;
      text-align: center;
      padding: 2px;
    }
    
    .color-label {
      font-size: 11px;
      text-align: center;
      margin-top: 4px;
      color: var(--ink);
      font-weight: 500;
    }

    /* Skeleton Loaders */
    .skeleton {
      background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
      background-size: 200% 100%;
      animation: loading 1.5s infinite;
      border-radius: var(--radius);
    }

    .product-card.skeleton {
      border: none;
    }
    
    .product-card.skeleton .product-card-image {
      background: none;
    }
    
    .product-card.skeleton .product-card-title {
      height: 14px;
      width: 80%;
      margin-bottom: 8px;
    }
    
    .product-card.skeleton .product-card-rating {
      height: 12px;
      width: 60%;
      margin-bottom: 8px;
    }
    
    .product-card.skeleton .product-card-price {
      height: 16px;
      width: 50%;
    }
    
    .banner-carousel.skeleton {
      background: #f0f0f0;
    }
    
    .category-circle.skeleton .category-circle-image {
      background: #f0f0f0;
    }
    
    .category-circle.skeleton .category-circle-name {
      height: 10px;
      width: 40px;
      background: #f0f0f0;
      border-radius: 4px;
    }

    /* Advanced Search Panel */
    .search-panel {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: var(--card);
      z-index: 2000;
      transform: translateY(-100%);
      transition: transform 0.3s ease;
      overflow-y: auto;
      padding: 20px 16px;
    }

    .search-panel.active {
      transform: translateY(0);
    }

    .search-panel-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
    }

    .search-panel-input {
      flex: 1;
      padding: 12px 16px;
      border: 2px solid var(--accent);
      border-radius: var(--radius);
      font-size: 16px;
      background: var(--card);
      color: var(--ink);
    }

    .search-panel-close {
      background: none;
      border: none;
      font-size: 24px;
      color: var(--muted);
      cursor: pointer;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.2s ease;
    }

    .search-panel-close:hover {
      background: #f1f5f9;
    }

    .search-section {
      margin-bottom: 24px;
    }

    .search-section-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--ink);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .clear-history {
      font-size: 13px;
      color: var(--accent);
      cursor: pointer;
      background: none;
      border: none;
      font-weight: 500;
    }

    .recent-searches {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .recent-search-item {
      padding: 10px 12px;
      border-radius: var(--radius);
      background: #f8fafc;
      border: 1px solid var(--border);
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .recent-search-item:hover {
      background: #f1f5f9;
      border-color: var(--accent);
    }

    .recent-search-remove {
      background: none;
      border: none;
      color: var(--error);
      cursor: pointer;
      font-size: 18px;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.2s ease;
    }

    .recent-search-remove:hover {
      background: #fee2e2;
    }

    .popular-searches {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .popular-search-tag {
      padding: 8px 12px;
      border-radius: 20px;
      background: #f1f5f9;
      border: 1px solid var(--border);
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 13px;
      color: var(--ink-2);
    }

    .popular-search-tag:hover {
      background: var(--accent);
      color: white;
      border-color: var(--accent);
    }

    .search-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .search-tag {
      padding: 6px 10px;
      border-radius: 16px;
      background: #e0f2fe;
      border: 1px solid #bae6fd;
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 12px;
      color: #0369a1;
    }

    .search-tag:hover {
      background: #bae6fd;
    }

    /* Bottom Navigation */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--card);
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-around;
      padding: 10px 0;
      z-index: 1000;
      box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .bottom-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      cursor: pointer;
      padding: 8px 12px;
      border-radius: var(--radius);
      transition: all 0.2s ease;
      min-width: 60px;
    }

    .bottom-nav-item:hover {
      background: #f1f5f9;
    }

    .bottom-nav-item.active {
      color: var(--accent);
      background: var(--ring);
    }

    .bottom-nav-icon {
      font-size: 20px;
    }

    .bottom-nav-label {
      font-size: 11px;
      font-weight: 500;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .header-inner {
        flex-wrap: wrap;
      }
      
      .search-wrap {
        margin-left: 0;
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
      }
      
      .row {
        flex-direction: column;
      }
      
      .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }
      
      .steps {
        gap: 6px;
      }
      
      .step-pill {
        font-size: 12px;
        padding: 8px 12px;
      }
      
      .categories {
        overflow-x: auto;
        padding-bottom: 8px;
        justify-content: flex-start;
      }

      .carousel-control {
        width: 32px;
        height: 32px;
        font-size: 14px;
      }
      
      .product-detail-container {
        flex-direction: column;
      }
      
      .product-detail-main-image {
        height: 50vh;
        max-height: 400px;
      }
      
      .order-details {
        flex-direction: column;
      }
      
      .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
      
      .order-actions {
        justify-content: flex-start;
      }
      
      .cancellation-modal {
        padding: 16px;
      }
      
      .cancellation-actions {
        flex-direction: column;
      }
      
      .alert-modal {
        padding: 16px;
      }
      
      .alert-modal-buttons {
        flex-direction: column;
      }
      
      .quantity-control button {
        width: 36px;
        height: 36px;
      }
      
      .menu-icon {
        display: flex;
      }
      
      .cta .btn:not(:last-child) {
        display: none;
      }
      
      .banner-carousel {
        height: 140px;
      }
      
      .category-circles-container {
        gap: 12px;
      }
      
      .category-circle {
        min-width: 60px;
      }
      
      .category-circle-image {
        width: 50px;
        height: 50px;
      }

      .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .social-menu-item {
        padding: 12px 18px;
      }

      .product-image-modal-prev,
      .product-image-modal-next {
        width: 36px;
        height: 36px;
        font-size: 18px;
      }

      .size-options, .color-options {
        gap: 6px;
      }

      .size-option, .color-option {
        padding: 8px 12px;
        min-width: 40px;
        font-size: 13px;
      }
      
      .color-options-grid {
        gap: 8px;
      }
      
      .color-box {
        width: 45px;
        height: 45px;
      }

      .product-detail-actions {
        bottom: 60px;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 0 12px;
      }
      
      .product-detail-main-image {
        height: 40vh;
        max-height: 300px;
      }
      
      .product-detail-thumbnail {
        width: 50px;
        height: 50px;
      }
      
      .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }
      
      .banner-carousel {
        height: 100px;
      }

      .size-option, .color-option {
        padding: 6px 10px;
        min-width: 36px;
        font-size: 12px;
      }
      
      .color-options-grid {
        gap: 6px;
      }
      
      .color-box {
        width: 40px;
        height: 40px;
      }

      .hero h1 {
        font-size: 20px;
      }

      .product-detail-title {
        font-size: 20px;
      }

      .product-detail-price {
        font-size: 22px;
      }

      .bottom-nav-label {
        font-size: 10px;
      }

      .bottom-nav-icon {
        font-size: 18px;
      }
    }

    /* NEW: Logout Button Styles */
    .logout-btn {
      background: var(--error);
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: var(--radius);
      cursor: pointer;
      font-weight: 600;
      font-size: 13px;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .logout-btn:hover {
      background: #dc2626;
      transform: translateY(-1px);
    }

    /* NEW: Remove sticky buttons */
    .fk-sticky-buttons {
      display: none !important;
    }

    /* NEW: Colorful Social Media Icons in Footer */
    .social-link.instagram { color: #E4405F; }
    .social-link.youtube { color: #FF0000; }
    .social-link.telegram { color: #26A5E4; }
    .social-link.facebook { color: #1877F2; }
    
    .social-link:hover {
      background: var(--accent);
      color: white !important;
    }

    /* Product Image Gallery Styles */
    .product-gallery {
      position: relative;
      width: 100%;
      max-width: 600px;
      margin: 0 auto;
    }

    .main-product-image {
      width: 100%;
      height: 500px;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      margin-bottom: 16px;
      cursor: zoom-in;
      transition: all 0.3s ease;
    }

    .product-thumbnails {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 10px 0;
    }

    .product-thumbnail {
      width: 80px;
      height: 80px;
      border-radius: 8px;
      background-size: cover;
      background-position: center;
      border: 2px solid transparent;
      cursor: pointer;
      transition: all 0.2s ease;
      flex-shrink: 0;
    }

    .product-thumbnail:hover {
      border-color: var(--accent);
    }

    .product-thumbnail.active {
      border-color: var(--accent);
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    .color-option-thumbnail {
      width: 60px;
      height: 60px;
      border-radius: 8px;
      background-size: cover;
      background-position: center;
      border: 2px solid transparent;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .color-option-thumbnail:hover {
      border-color: var(--accent);
    }

    .color-option-thumbnail.active {
      border-color: var(--accent);
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    /* Image Zoom Modal Enhancements */
    .image-zoom-controls {
      position: fixed;
      top: 20px;
      left: 20px;
      z-index: 3001;
      display: flex;
      gap: 10px;
    }

    .zoom-control-btn {
      background: rgba(255, 255, 255, 0.9);
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 18px;
      transition: all 0.2s ease;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .zoom-control-btn:hover {
      background: white;
      transform: scale(1.1);
    }

    /* Policy Page Styles */
    .policy-page {
      max-width: 800px;
      margin: 0 auto;
      padding: 20px 0;
    }

    .back-button {
      display: inline-flex;
      align-items: center;
      margin-bottom: 24px;
      color: var(--accent);
      font-weight: 600;
      cursor: pointer;
      padding: 8px 16px;
      border-radius: var(--radius);
      background: #f1f5f9;
      transition: all 0.2s ease;
    }

    .back-button:hover {
      background: #e2e8f0;
      color: var(--accent-hover);
    }