@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');

:root {
  /* -- Light Mode Palette -- */
  --bg-primary: #fffbf7; /* Main background, very clean */
  --bg-secondary: #ffffff; /* Slightly off-white for sections, cards */
  --border-color: #E5E7EB; /* Subtle borders for separation */
  
  --text-primary: #111827; /* Main text color, high contrast */
  --text-secondary: #6B7280; /* Lighter text for descriptions, subtitles */
  --text-on-accent: #FFFFFF; /* Text color for buttons */

  --accent-primary: #FFB982; /* Teal for secondary highlights (matches logo) */
  --accent-secondary: #01a2ff; /* Vibrant orange for primary actions (matches search button) */

  --border-primary: #D1D5DB; /* Border color for primary elements */
  --border-secondary: #9CA3AF; /* Darker border for emphasis */

  --accent-primary-hover: #E6A85F; /* Darker teal for hover states */
  --accent-secondary-hover: #018dff; /* Darker orange for hover states */
  
  /* Cosmetics Theme Colors - Light & Elegant */
  --cosmetics-rose: #F43F5E; /* Rose pink for primary accents */1
  --cosmetics-rose-light: #FFF1F2; /* Very light rose for backgrounds */
  --cosmetics-rose-hover: #E11D48; /* Darker rose for hover states */
  --cosmetics-peach: #FED7AA; /* Peach for secondary accents */
  --cosmetics-lavender: #E9D5FF; /* Lavender for highlights */
  --cosmetics-mint: #A7F3D0; /* Mint green for success states */
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}



.marcellus {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-style: normal;
}

.inter {
  font-family: "Inter", sans-serif;
}

body {
  font-family: "Marcellus", serif;
  background-color: var(--bg-primary) !important;
}


/* ======================================================================
  3. RESPONSIVE CONTAINER
  ======================================================================
  - This is an alternative to Tailwind's container if you need more custom control.
  - It's centered, has padding, and responsive max-widths.
*/
.container{
  width: 100%;
}

@media (min-width: 640px){
  .container{
    max-width: 640px;
  }
}

@media (min-width: 768px){
  .container{
    max-width: 768px;
  }
}

@media (min-width: 1024px){
  .container{
    max-width: 1024px;
  }
}

@media (min-width: 1280px){
  .container{
    max-width: 1280px;
  }
}

@media (min-width: 1536px){
  .container{
    max-width: 1536px;
  }
}

/* ======================================================================
  4. EXAMPLE USAGE (Optional)
  ======================================================================
  - Here's how you might apply these variables to custom components
    that aren't styled with Tailwind.
*/

.custom-button-primary {
    background-color: var(--accent-primary);
    color: var(--text-on-accent);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* pill shape */
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.custom-button-primary:hover {
    background-color: var(--accent-primary-hover);
}

.custom-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem; /* 12px */
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

/* ======================================================================
  5. CART BUTTON STYLES
  ======================================================================
  - Dynamic cart buttons with border styling and state management
*/

.cart-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-width: 2px;
    border-style: solid;
}

/* Default cart button state (Add to Cart) */
.cart-btn {
    border-color: #d1d5db; /* gray-300 */
    color: #374151; /* gray-700 */
    background-color: transparent;
}

.cart-btn:hover {
    border-color: #3b82f6; /* blue-500 */
    color: #2563eb; /* blue-600 */
    background-color: #eff6ff; /* blue-50 */
}

/* Remove state - red styling */
.cart-btn.border-red-500 {
    border-color: #ef4444 !important; /* red-500 */
    color: #dc2626 !important; /* red-600 */
    background-color: transparent;
}

.cart-btn.border-red-500:hover {
    background-color: #fef2f2 !important; /* red-50 */
}

/* Loading state for cart buttons */
.cart-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.cart-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Cart counter animation */
.cart-counter {
    transition: all 0.3s ease;
    animation: cartPulse 0.3s ease-in-out;
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Success/Error message styles */
.notification-success {
    background-color: #10b981;
    color: white;
}

.notification-error {
    background-color: #f87171;
    color: white;
}

.notification-warning {
    background-color: #f59e0b;
    color: white;
}

.notification-info {
    background-color: #3b82f6;
    color: white;
}

/* Responsive cart elements */
@media (max-width: 768px) {
    .cart-btn {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}

