 :root {
      --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
      --accent-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
      --dark-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
      
      --bg-primary: #ffffff;
      --bg-secondary: #f8f9fa;
      --bg-accent: #f1f5f9;
      
      --text-primary: #0f172a;
      --text-secondary: #475569;
      --text-muted: #94a3b8;
      
      --border-light: #e2e8f0;
      --border-medium: #cbd5e1;
      
      --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
      --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
      --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
      --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
      --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
      --shadow-2xl: 0 25px 60px rgba(0, 0, 0, 0.2);
      
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-xl: 20px;
      --radius-2xl: 24px;
      
      --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* Decorative Background Elements */
    body::before {
      content: '';
      position: fixed;
      top: -50%;
      right: -20%;
      width: 800px;
      height: 800px;
      background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
      border-radius: 50%;
      z-index: -1;
      animation: float 20s ease-in-out infinite;
    }

    body::after {
      content: '';
      position: fixed;
      bottom: -30%;
      left: -15%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(245, 87, 108, 0.08) 0%, transparent 70%);
      border-radius: 50%;
      z-index: -1;
      animation: float 15s ease-in-out infinite reverse;
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      33% { transform: translate(30px, -30px) rotate(120deg); }
      66% { transform: translate(-20px, 20px) rotate(240deg); }
    }

    /* ===== HEADER SECTION ===== */
    header {
      background: var(--primary-gradient);
      box-shadow: var(--shadow-lg);
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
      pointer-events: none;
    }

    header .navbar {
      padding: 1rem 0;
      position: relative;
    }

    header .navbar-brand {
      font-weight: 900;
      font-size: 1.75rem;
      letter-spacing: -0.5px;
      text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
      display: flex;
      align-items: center;
      gap: 8px;
      transition: var(--transition-base);
    }

    header .navbar-brand i {
      font-size: 1.5rem;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.1); }
    }

    header .navbar-brand:hover {
      transform: translateY(-2px);
    }

    header .nav-link {
      font-weight: 600;
      font-size: 0.95rem;
      transition: var(--transition-base);
      position: relative;
      padding: 10px 18px !important;
      margin: 0 4px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    header .nav-link::before {
      content: '';
      position: absolute;
      bottom: 8px;
      left: 18px;
      right: 18px;
      height: 2px;
      background: white;
      transform: scaleX(0);
      transition: var(--transition-base);
    }

    header .nav-link:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
    }

    header .nav-link.active {
      background: rgba(255, 255, 255, 0.25);
    }

    header .nav-link.active::before {
      transform: scaleX(1);
    }

    /* ===== HERO SECTION ===== */
    .hero-section {
      background: var(--dark-gradient);
      color: white;
      padding: 100px 0 80px;
      position: relative;
      overflow: hidden;
    }

    .hero-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 87, 108, 0.3) 0%, transparent 50%);
      opacity: 0.6;
    }

    .hero-section::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0px, transparent 1px, transparent 40px, rgba(255, 255, 255, 0.03) 41px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, transparent 1px, transparent 40px, rgba(255, 255, 255, 0.03) 41px);
    }

    .hero-section .container {
      position: relative;
      z-index: 2;
    }

    .hero-section h1 {
      font-family: 'Playfair Display', serif;
      font-size: 4rem;
      font-weight: 900;
      margin-bottom: 20px;
      text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      letter-spacing: -1px;
      line-height: 1.1;
      background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: fadeInUp 0.8s ease-out;
    }

    .hero-section p {
      font-size: 1.3rem;
      opacity: 0.92;
      max-width: 600px;
      margin: 0 auto 30px;
      font-weight: 400;
      animation: fadeInUp 0.8s ease-out 0.2s backwards;
    }

    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 60px;
      margin-top: 50px;
      animation: fadeInUp 0.8s ease-out 0.4s backwards;
    }

    .hero-stat {
      text-align: center;
    }

    .hero-stat-number {
      font-size: 2.5rem;
      font-weight: 800;
      display: block;
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-stat-label {
      font-size: 0.9rem;
      opacity: 0.8;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 600;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ===== FILTER/CATEGORY SECTION ===== */
    .category-section {
      background: white;
      padding: 30px;
      border-radius: var(--radius-2xl);
      box-shadow: var(--shadow-md);
      margin: -40px auto 60px;
      max-width: 1200px;
      position: relative;
      z-index: 10;
      border: 1px solid var(--border-light);
    }

    .category-pills {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .category-pill {
      padding: 12px 28px;
      border-radius: 50px;
      border: 2px solid var(--border-light);
      background: white;
      color: var(--text-secondary);
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transition: var(--transition-base);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .category-pill:hover {
      border-color: #667eea;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }

    .category-pill.active {
      background: var(--primary-gradient);
      color: white;
      border-color: transparent;
      box-shadow: var(--shadow-sm);
    }

    /* ===== PRODUCT SECTION ===== */
    .product-section {
      padding: 60px 0 80px;
    }

    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: 3rem;
      font-weight: 900;
      color: var(--text-primary);
      margin-bottom: 16px;
      position: relative;
      display: inline-block;
      letter-spacing: -0.5px;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -12px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 5px;
      background: var(--accent-gradient);
      border-radius: 10px;
    }

    .section-subtitle {
      font-size: 1.1rem;
      color: var(--text-secondary);
      margin-top: 24px;
      font-weight: 400;
    }

    /* ===== PRODUCT CARDS ===== */
    .card {
      border: none;
      border-radius: var(--radius-xl);
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      background: white;
      box-shadow: var(--shadow-sm);
      height: 100%;
      position: relative;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border-radius: var(--radius-xl);
      padding: 2px;
      background: var(--primary-gradient);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: var(--transition-base);
    }

    .card:hover {
      transform: translateY(-16px) scale(1.02);
      box-shadow: var(--shadow-2xl);
    }

    .card:hover::before {
      opacity: 1;
    }

    .card-img-wrapper {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
      height: 260px;
    }

    .card-img-top {
      height: 100%;
      width: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .card:hover .card-img-top {
      transform: scale(1.15) rotate(2deg);
    }

    /* Badges */
    .badge-discount {
      position: absolute;
      top: 16px;
      left: 16px;
      background: var(--secondary-gradient);
      color: white;
      padding: 8px 16px;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 700;
      box-shadow: var(--shadow-lg);
      z-index: 10;
      letter-spacing: 0.5px;
    }

    .badge-new {
      position: absolute;
      top: 16px;
      right: 16px;
      background: var(--success-gradient);
      color: white;
      padding: 6px 14px;
      border-radius: 50px;
      font-size: 0.75rem;
      font-weight: 700;
      box-shadow: var(--shadow-md);
      z-index: 10;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* Quick View Overlay */
    .quick-view-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
      opacity: 0;
      transition: var(--transition-base);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding: 20px;
    }

    .card:hover .quick-view-overlay {
      opacity: 1;
    }

    .quick-view-btn {
      background: white;
      color: var(--text-primary);
      border: none;
      padding: 10px 24px;
      border-radius: 50px;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transform: translateY(20px);
      transition: var(--transition-base);
      box-shadow: var(--shadow-lg);
    }

    .card:hover .quick-view-btn {
      transform: translateY(0);
    }

    .quick-view-btn:hover {
      background: var(--primary-gradient);
      color: white;
    }

    /* Card Body */
    .card-body {
      padding: 24px;
      display: flex;
      flex-direction: column;
    }

    .card-category {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-muted);
      font-weight: 700;
      margin-bottom: 8px;
    }

    .card-title {
      font-size: 1.15rem;
      font-weight: 700;
      min-height: 52px;
      color: var(--text-primary);
      margin-bottom: 12px;
      line-height: 1.4;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      transition: var(--transition-fast);
    }

    .card:hover .card-title {
      color: #667eea;
    }

    .card-text {
      font-size: 0.9rem;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 16px;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Rating */
    .star-rating {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 16px;
    }

    .star-rating i {
      font-size: 1rem;
    }

    .rating-count {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-left: 4px;
      font-weight: 600;
    }

    /* Price Section */
    .price-section {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 20px;
      padding: 16px;
      background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
      border-radius: var(--radius-md);
      border: 1px solid #bbf7d0;
    }

    .price-current {
      font-size: 1.75rem;
      font-weight: 900;
      background: linear-gradient(135deg, #059669, #10b981);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -0.5px;
    }

    .price-original {
      font-size: 1.05rem;
      color: var(--text-muted);
      text-decoration: line-through;
      font-weight: 500;
    }

    .price-save {
      font-size: 0.8rem;
      color: #059669;
      font-weight: 700;
      background: #dcfce7;
      padding: 4px 10px;
      border-radius: 20px;
      margin-left: auto;
    }

    /* Card Footer */
    .card-footer {
      background: linear-gradient(to top, #f8fafc, white);
      border-top: 1px solid var(--border-light);
      padding: 20px 24px;
      display: flex;
      gap: 10px;
    }

    .btn-add-cart {
      flex: 1;
      background: var(--primary-gradient);
      border: none;
      color: white;
      padding: 14px 24px;
      border-radius: var(--radius-md);
      font-weight: 700;
      font-size: 0.95rem;
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .btn-add-cart::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .btn-add-cart:hover::before {
      width: 300px;
      height: 300px;
    }

    .btn-add-cart:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    }

    .btn-add-cart:active {
      transform: translateY(-1px);
    }

    .btn-wishlist {
      background: white;
      border: 2px solid var(--border-light);
      color: var(--text-muted);
      padding: 14px 18px;
      border-radius: var(--radius-md);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .btn-wishlist:hover {
      border-color: #ef4444;
      background: linear-gradient(135deg, #fee2e2, #fecaca);
      color: #ef4444;
      transform: scale(1.1) rotate(5deg);
    }

    .btn-wishlist i {
      font-size: 1.1rem;
    }

    /* ===== LOADING STATE ===== */
    .loading {
      text-align: center;
      padding: 100px 0;
    }

    .spinner-container {
      position: relative;
      width: 80px;
      height: 80px;
      margin: 0 auto 30px;
    }

    .spinner {
      width: 80px;
      height: 80px;
      border: 4px solid var(--border-light);
      border-top-color: #667eea;
      border-right-color: #764ba2;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    .spinner-glow {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 60px;
      height: 60px;
      background: var(--primary-gradient);
      border-radius: 50%;
      opacity: 0.2;
      animation: pulse-glow 2s ease-in-out infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    @keyframes pulse-glow {
      0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
      50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
    }

    .loading-text {
      font-size: 1.1rem;
      color: var(--text-secondary);
      font-weight: 600;
    }

    /* ===== FOOTER ===== */
    footer {
      background: var(--dark-gradient);
      color: #cbd5e1;
      padding: 60px 0 30px;
      margin-top: 100px;
      box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.1);
      position: relative;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    }

    .footer-brand {
      font-size: 1.8rem;
      font-weight: 900;
      color: white;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .footer-brand i {
      font-size: 1.5rem;
    }

    footer h5 {
      color: white;
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 24px;
      position: relative;
      padding-bottom: 12px;
    }

    footer h5::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--accent-gradient);
      border-radius: 2px;
    }

    footer ul {
      list-style: none;
      padding: 0;
    }

    footer ul li {
      margin-bottom: 12px;
    }

    footer a {
      color: #94a3b8;
      text-decoration: none;
      transition: var(--transition-fast);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 500;
    }

    footer a:hover {
      color: white;
      transform: translateX(5px);
    }

    .social-links {
      display: flex;
      gap: 16px;
    }

    .social-link {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      transition: var(--transition-base);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .social-link:hover {
      background: var(--primary-gradient);
      transform: translateY(-4px) rotate(5deg);
      box-shadow: var(--shadow-lg);
      border-color: transparent;
    }

    .footer-bottom {
      margin-top: 50px;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      text-align: center;
    }

    .footer-bottom p {
      margin-bottom: 8px;
      font-weight: 500;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1200px) {
      .hero-section h1 {
        font-size: 3.5rem;
      }
    }

    @media (max-width: 992px) {
      .hero-section h1 {
        font-size: 3rem;
      }

      .section-title {
        font-size: 2.5rem;
      }

      .hero-stats {
        gap: 40px;
      }
    }

    @media (max-width: 768px) {
      .hero-section {
        padding: 60px 0 50px;
      }

      .hero-section h1 {
        font-size: 2.5rem;
      }

      .hero-section p {
        font-size: 1.1rem;
      }

      .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
      }

      .section-title {
        font-size: 2rem;
      }

      .category-section {
        padding: 20px;
        margin: -30px auto 40px;
      }

      .category-pills {
        gap: 8px;
      }

      .category-pill {
        padding: 10px 20px;
        font-size: 0.85rem;
      }

      .card-img-wrapper {
        height: 200px;
      }

      .price-current {
        font-size: 1.5rem;
      }

      .social-links {
        justify-content: center;
      }
    }

    @media (max-width: 576px) {
      .hero-section h1 {
        font-size: 2rem;
      }

      .section-title {
        font-size: 1.75rem;
      }

      header .navbar-brand {
        font-size: 1.4rem;
      }

      .btn-add-cart {
        font-size: 0.85rem;
        padding: 12px 16px;
      }
    }

    /* ===== UTILITY ANIMATIONS ===== */
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .fade-in {
      animation: fadeIn 0.6s ease-out;
    }

    /* ===== SCROLLBAR ===== */
    ::-webkit-scrollbar {
      width: 12px;
    }

    ::-webkit-scrollbar-track {
      background: #f1f5f9;
    }

    ::-webkit-scrollbar-thumb {
      background: var(--primary-gradient);
      border-radius: 10px;
      border: 2px solid #f1f5f9;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }

    /* ===== SMOOTH SCROLL ===== */
    html {
      scroll-behavior: smooth;
    }