/*
Theme Name: Farmelle
Theme URI: https://farmelle-beauty.com
Author: Antigravity UI/UX Developer
Author URI: https://farmelle-beauty.com
Description: Premium, elegant, and modern luxury WordPress/WooCommerce theme for skincare & beauty brand Farmelle. High-performance, SEO-optimized, fully responsive, Polylang multilingual (Arabic/English) with native RTL support, and Elementor compatible.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farmelle
Tags: e-commerce, two-columns, translation-ready, custom-menu, custom-logo, custom-header, featured-images, rtl-language-support

This theme is built from scratch to deliver a visual masterpiece for luxury skincare.
Colors:
  - Soft Rose Pink: #D8A7B1 (Primary feminine highlights)
  - Nude Beige: #E9D8C7 (Soft background accents)
  - Premium White: #F9F7F5 (Base site backgrounds)
  - Elegant Gold: #C7A36B (Premium borders, hovers, buttons)
  - Deep Taupe: #6E5B52 (Primary premium typography and structural elements)
*/

/* ==========================================================================
   1. Clean Core CSS Reset & Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --rose-pink: #D8A7B1;
    --nude-beige: #E9D8C7;
    --premium-white: #F9F7F5;
    --elegant-gold: #C7A36B;
    --deep-taupe: #6E5B52;
    --deep-taupe-rgb: 110, 91, 82;
    --white: #FFFFFF;
    --black: #1C1A19;
    --border-color: rgba(110, 89, 82, 0.15);
    
    /* Layout & Spacing */
    --container-width: 1200px;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Check direction in WordPress header, but define variables. If Arabic/RTL is used, we load Cairo */
body.rtl {
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Cairo', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--premium-white);
    color: var(--deep-taupe);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   2. Typography & Headings
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--deep-taupe);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

a {
    color: var(--deep-taupe);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--elegant-gold);
}

p {
    margin-bottom: 1.5rem;
    color: rgba(110, 91, 82, 0.85);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   3. Premium Luxury UI Helpers
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.luxury-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--deep-taupe);
    color: var(--premium-white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--deep-taupe);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.luxury-btn:hover {
    background-color: transparent;
    color: var(--deep-taupe);
    border-color: var(--deep-taupe);
}

.luxury-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: transparent;
    color: var(--deep-taupe);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--elegant-gold);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.luxury-btn-secondary:hover {
    background-color: var(--elegant-gold);
    color: var(--white);
}

/* Rounded luxury cards */
.luxury-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(110, 91, 82, 0.03);
    border: 1px solid rgba(110, 91, 82, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.luxury-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(110, 91, 82, 0.06);
    border-color: var(--nude-beige);
}
