  :root {
    --primary: crimson;
    ;
    --primary-dark: #b93511;
    --accent: #e84646;
    --cream: #FFF9F2;
    --dark: #494949;
  }

  * {
    -webkit-tap-highlight-color: transparent;
  }

  body {
    font-family: 'Inter', sans-serif;
    /*background: var(--cream);*/
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
  }

  .font-serif {
    font-family: 'Playfair Display', serif;
  }

  .hero-gradient {
    background: linear-gradient(135deg, rgba(42, 24, 16, 0.7) 0%,
        rgb(0 0 0 / 0.05) 100%),
      url(https://images.unsplash.com/photo-1555507036-ab1f4038808a?w=1200&q=80) center / cover
  }

  .category-scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-scroll::-webkit-scrollbar {
    display: none;
  }

  .cat-btn {
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .cat-btn.active {
    background: #515050;
    color: white;
    box-shadow: 0 8px 20px -6px rgba(184, 71, 42, 0.5);
  }

  .product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
  }

  .product-card:active {
    transform: scale(0.98);
  }

  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(42, 24, 16, 0.2);
  }

  .add-btn {
    background: var(--primary);
    transition: all 0.2s;
  }

  .add-btn:active {
    transform: scale(0.9);
  }

  .badge-popular {
    background: linear-gradient(135deg, #E89446, #ff4313);
  }

  .cart-float {
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  @keyframes slideUp {
    from {
      transform: translateY(100px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .cart-panel {
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .cart-panel.open {
    transform: translateY(0);
  }

  .backdrop {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .backdrop.open {
    opacity: 1;
    pointer-events: all;
  }

  .quantity-badge {
    animation: bounce 0.3s ease;
  }

  @keyframes bounce {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.3);
    }
  }

  .price-tag {
    background: linear-gradient(135deg, #FFF9F2 0%, #FFE8D6 100%);
    border: 1px dashed var(--primary);
  }

  .lang-dropdown {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s;
  }

  .lang-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .fade-in {
    animation: fadeIn 0.4s ease;
  }

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

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
  }

  @keyframes shimmer {
    100% {
      left: 100%;
    }
  }

  .sticky-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(231, 231, 231, 0.5);
  }

  .pulse-dot {
    animation: pulse 2s infinite;
  }

  @keyframes pulse {

    0%,
    100% {
      opacity: 1;
    }

    50% {
      opacity: 0.5;
    }
  }

  /* Custom Modal Styles (Detail & About Modals) */
  .custom-modal {
    position: fixed !important;
    z-index: 500 !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -45%) scale(0.95) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 90% !important;
    max-width: 440px !important;
    max-height: 85vh !important;
    background: white !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    border-radius: 2rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .custom-modal.open {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }