/**
 * IN FASHION LUX - Design System
 * Inspired by Louis Vuitton's luxury aesthetic
 * Pixel-perfect typography and spacing
 * Version: 2.0.0
 */

/* ============================================
   1. CSS VARIABLES - DESIGN TOKENS
   Louis Vuitton inspired color palette & typography
   ============================================ */

:root {
    /* ========== COLORS ========== */

    /* Primary Palette */
    --ifl-black: #000000;
    --ifl-white: #ffffff;
    --ifl-dark: #1a1a1a;

    /* Neutral Grays - Refined scale */
    --ifl-gray-900: #191919;
    --ifl-gray-800: #333333;
    --ifl-gray-700: #4a4a4a;
    --ifl-gray-600: #666666;
    --ifl-gray-500: #888888;
    --ifl-gray-400: #999999;
    --ifl-gray-300: #b3b3b3;
    --ifl-gray-200: #e5e5e5;
    --ifl-gray-100: #f5f5f5;
    --ifl-gray-50: #fafafa;

    /* Interaction States - Soft Grey (NO PINK) */
    --ifl-hover-bg: rgba(0, 0, 0, 0.03);
    --ifl-active-bg: rgba(0, 0, 0, 0.06);
    --ifl-focus-ring: rgba(0, 0, 0, 0.1);

    /* Accent - Gold (optional luxury accent) */
    --ifl-gold: #c9a961;
    --ifl-gold-light: #d4bc7e;

    /* Borders */
    --ifl-border-light: #ebebeb;
    --ifl-border-medium: #e0e0e0;
    --ifl-border-dark: #cccccc;

    /* ========== TYPOGRAPHY ========== */

    /* Font Families */
    --ifl-font-primary: "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
    --ifl-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --ifl-font-mono: "SF Mono", Monaco, "Cascadia Code", monospace;

    /* Font Sizes - Louis Vuitton Scale */
    --ifl-text-2xs: 9px;
    /* Legal, disclaimers */
    --ifl-text-xs: 10px;
    /* Small labels */
    --ifl-text-sm: 11px;
    /* Breadcrumbs, meta */
    --ifl-text-base: 12px;
    /* Close button "Fermer" */
    --ifl-text-md: 13px;
    /* Body text, footer sections */
    --ifl-text-lg: 14px;
    /* Secondary nav */
    --ifl-text-xl: 16px;
    /* Primary body */
    --ifl-text-2xl: 18px;
    /* Phone numbers, emphasis */
    --ifl-text-3xl: 20px;
    /* Mega menu categories */
    --ifl-text-4xl: 24px;
    /* Page titles */
    --ifl-text-5xl: 28px;
    /* Section headers */
    --ifl-text-6xl: 32px;
    /* Hero subtitles */
    --ifl-text-7xl: 38px;
    /* Hero titles */
    --ifl-text-8xl: 48px;
    /* Display */

    /* Font Weights */
    --ifl-weight-light: 300;
    --ifl-weight-normal: 400;
    --ifl-weight-medium: 500;
    --ifl-weight-semibold: 600;
    --ifl-weight-bold: 700;

    /* Line Heights */
    --ifl-leading-none: 1;
    --ifl-leading-tight: 1.2;
    --ifl-leading-snug: 1.35;
    --ifl-leading-normal: 1.5;
    --ifl-leading-relaxed: 1.625;
    --ifl-leading-loose: 2;

    /* Letter Spacing */
    --ifl-tracking-tighter: -0.5px;
    --ifl-tracking-tight: 0px;
    --ifl-tracking-normal: 0.3px;
    --ifl-tracking-wide: 0.5px;
    --ifl-tracking-wider: 1px;
    --ifl-tracking-widest: 1.5px;
    --ifl-tracking-caps: 2px;
    /* For uppercase text */
    --ifl-tracking-logo: 4px;
    /* Brand name */

    /* ========== SPACING ========== */

    /* Spacing Scale - 4px base */
    --ifl-space-0: 0;
    --ifl-space-1: 4px;
    --ifl-space-2: 8px;
    --ifl-space-3: 12px;
    --ifl-space-4: 16px;
    --ifl-space-5: 20px;
    --ifl-space-6: 24px;
    --ifl-space-8: 32px;
    --ifl-space-10: 40px;
    --ifl-space-12: 48px;
    --ifl-space-16: 64px;
    --ifl-space-20: 80px;
    --ifl-space-24: 96px;
    --ifl-space-32: 128px;

    /* Mega Menu Specific Spacing */
    --ifl-menu-item-padding-x: 24px;
    --ifl-menu-item-padding-y: 18px;
    --ifl-menu-section-gap: 32px;

    /* Container */
    --ifl-container-max: 1440px;
    --ifl-container-padding: 4%;

    /* ========== EFFECTS ========== */

    /* Transitions */
    --ifl-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ifl-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ifl-ease-in: cubic-bezier(0.4, 0, 1, 1);

    --ifl-duration-fast: 150ms;
    --ifl-duration-normal: 250ms;
    --ifl-duration-slow: 350ms;
    --ifl-duration-slower: 500ms;

    --ifl-transition-fast: var(--ifl-duration-fast) var(--ifl-ease-in-out);
    --ifl-transition-normal: var(--ifl-duration-normal) var(--ifl-ease-in-out);
    --ifl-transition-slow: var(--ifl-duration-slow) var(--ifl-ease-in-out);

    /* Shadows - Subtle luxury */
    --ifl-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --ifl-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --ifl-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --ifl-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --ifl-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);

    /* Z-Index Scale */
    --ifl-z-dropdown: 100;
    --ifl-z-sticky: 500;
    --ifl-z-overlay: 900;
    --ifl-z-modal: 1000;
    --ifl-z-toast: 1100;

    /* Border Radius */
    --ifl-radius-none: 0;
    --ifl-radius-sm: 2px;
    --ifl-radius-md: 4px;
    --ifl-radius-lg: 8px;
    --ifl-radius-full: 9999px;
}

/* ============================================
   2. COMPLETE STOREFRONT/WOOCOMMERCE RESET
   Ultra-aggressive: Remove ALL accent colors
   Force black/white/grey palette sitewide
   ============================================ */

/* Antialiasing for crisp text */
*,
*::before,
*::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== REMOVE ALL STOREFRONT ACCENT COLORS ===== */

/* Links - NO accent color on any state */
a,
a:link,
a:visited,
a:hover,
a:focus,
a:active,
.site a,
.site a:hover,
.entry-content a,
.entry-content a:hover,
.entry-summary a:hover,
.comment-content a:hover,
.widget a:hover,
.site-info a:hover,
.post-navigation a:hover,
.pagination a:hover,
.widget_recent_entries a:hover,
.widget_recent_comments a:hover,
.widget_archive a:hover,
.widget_categories a:hover,
.widget_meta a:hover,
.widget_pages a:hover,
.widget_nav_menu a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* Storefront Navigation - COMPLETE RESET */
.storefront-primary-navigation,
.storefront-secondary-navigation,
.main-navigation,
.main-navigation a,
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation ul.menu>li>a:hover,
.main-navigation ul.menu>li>a:focus,
.main-navigation ul.menu>li.current-menu-item>a,
.main-navigation ul.menu>li.current_page_item>a,
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item>a,
.storefront-primary-navigation ul.menu>li>a:hover,
.storefront-secondary-navigation ul.menu a:hover,
.site-header-cart .widget_shopping_cart a:hover,
.site-header-cart .widget_shopping_cart a.remove:hover {
    color: inherit !important;
    background-color: transparent !important;
}

/* Storefront BUTTONS - Only WooCommerce/Form buttons get black background */
/* EXCLUDE: header buttons, mega menu buttons, navigation toggles */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce #respond input#submit.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment #place_order,
.woocommerce ul.products li.product .button,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link,
.wp-block-button__link,
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
.widget a.button,
.site-header-cart .widget_shopping_cart a.button,
form input[type="submit"],
form button[type="submit"],
.woocommerce form button[type="submit"] {
    background-color: var(--ifl-dark, #1a1a1a) !important;
    color: var(--ifl-white, #ffffff) !important;
    border-color: var(--ifl-dark, #1a1a1a) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Button HOVER - slightly lighter black */
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.button.alt:hover,
.added_to_cart:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce ul.products li.product .button:hover,
.wp-block-button__link:hover,
.wc-block-components-button:hover {
    background-color: var(--ifl-gray-800, #333333) !important;
    color: var(--ifl-white, #ffffff) !important;
    border-color: var(--ifl-gray-800, #333333) !important;
}

/* Storefront SITE HEADER elements */
.site-branding h1 a,
.site-title a,
.site-title a:hover,
.site-description {
    color: inherit !important;
}

/* Storefront INFO/META elements */
.storefront-product-pagination a:hover,
.storefront-sorting a:hover,
.star-rating span:before,
.quantity .plus:hover,
.quantity .minus:hover,
.onsale,
.woocommerce span.onsale,
.wc-block-components-product-badge {
    background-color: var(--ifl-dark, #1a1a1a) !important;
    color: var(--ifl-white, #ffffff) !important;
}

/* WooCommerce PRICE colors */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.price ins,
.woocommerce ul.products li.product .price {
    color: var(--ifl-dark, #1a1a1a) !important;
}

/* WooCommerce PRODUCT elements */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    border-top-color: var(--ifl-dark, #1a1a1a) !important;
}

.woocommerce-info::before,
.woocommerce-message::before {
    color: var(--ifl-dark, #1a1a1a) !important;
}

/* Forms - Focus states */
input:focus,
textarea:focus,
select:focus,
.input-text:focus,
.woocommerce form .input-text:focus {
    border-color: var(--ifl-dark, #1a1a1a) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--ifl-dark, #1a1a1a) !important;
    color: var(--ifl-white, #ffffff) !important;
    border-color: var(--ifl-dark, #1a1a1a) !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--ifl-dark, #1a1a1a) !important;
    border-bottom-color: var(--ifl-dark, #1a1a1a) !important;
}

/* Review/Rating */
.woocommerce p.stars a:hover,
.woocommerce p.stars.selected a.active~a:hover,
.woocommerce p.stars a:hover~a,
.woocommerce p.stars.selected a.active~a {
    color: var(--ifl-dark, #1a1a1a) !important;
}

/* Storefront Footer */
.site-footer,
.site-info,
.footer-widgets {
    color: var(--ifl-gray-600, #666666) !important;
}

.site-footer a,
.site-info a,
.footer-widgets a {
    color: var(--ifl-gray-600, #666666) !important;
}

.site-footer a:hover,
.site-info a:hover,
.footer-widgets a:hover {
    color: var(--ifl-dark, #1a1a1a) !important;
}

/* MEGA MENU - Transparent backgrounds for all interactions */
.ifl-mega-menu__item.is-active>.ifl-mega-menu__link,
.ifl-mega-menu__item:hover>.ifl-mega-menu__link,
.ifl-mega-menu__link:hover,
.ifl-mega-menu__link:focus,
.ifl-mega-menu__link.is-active {
    background-color: transparent !important;
    color: var(--ifl-dark, #1a1a1a) !important;
    opacity: 0.6;
}

/* ===== HEADER & MEGA MENU BUTTONS - TRANSPARENT ===== */
/* Force transparent backgrounds for header/navigation buttons */
.ifl-header button,
.ifl-header__menu-toggle,
.ifl-header__search-toggle,
.ifl-header__account-toggle,
.ifl-header__cart-toggle,
.ifl-mega-menu button,
.ifl-mega-menu__close,
.ifl-mega-menu__back,
.ifl-mega-menu__link,
.ifl-mega-menu__link--expand,
button.ifl-mega-menu__close,
button.ifl-mega-menu__back,
button.ifl-mega-menu__link {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
}

/* Mega menu panel - WHITE background */
.ifl-mega-menu__panel {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.ifl-mega-menu__level {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.ifl-mega-menu__footer {
    background: var(--ifl-gray-50, #fafafa) !important;
}

/* Force removal of ANY inline pink styles */
[style*="cc3366"],
[style*="CC3366"],
[style*="c33"],
[style*="C33"],
[style*="e91e63"],
[style*="E91E63"],
[style*="pink"],
[style*="Pink"],
[style*="PINK"] {
    background-color: var(--ifl-dark, #1a1a1a) !important;
    color: var(--ifl-white, #ffffff) !important;
    border-color: var(--ifl-dark, #1a1a1a) !important;
}

/* ============================================
   3. BASE TYPOGRAPHY STYLES
   ============================================ */

body {
    font-family: var(--ifl-font-primary);
    font-size: var(--ifl-text-lg);
    font-weight: var(--ifl-weight-normal);
    line-height: var(--ifl-leading-normal);
    color: var(--ifl-dark);
    letter-spacing: var(--ifl-tracking-normal);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ifl-font-primary);
    font-weight: var(--ifl-weight-normal);
    line-height: var(--ifl-leading-tight);
    letter-spacing: var(--ifl-tracking-tight);
    color: var(--ifl-dark);
}

h1 {
    font-size: var(--ifl-text-6xl);
}

h2 {
    font-size: var(--ifl-text-5xl);
}

h3 {
    font-size: var(--ifl-text-4xl);
}

h4 {
    font-size: var(--ifl-text-3xl);
}

h5 {
    font-size: var(--ifl-text-2xl);
}

h6 {
    font-size: var(--ifl-text-xl);
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--ifl-transition-fast);
}

a:hover {
    opacity: 0.7;
}

/* ============================================
   4. UTILITY CLASSES - TYPOGRAPHY
   ============================================ */

/* Font Sizes */
.ifl-text-2xs {
    font-size: var(--ifl-text-2xs);
}

.ifl-text-xs {
    font-size: var(--ifl-text-xs);
}

.ifl-text-sm {
    font-size: var(--ifl-text-sm);
}

.ifl-text-base {
    font-size: var(--ifl-text-base);
}

.ifl-text-md {
    font-size: var(--ifl-text-md);
}

.ifl-text-lg {
    font-size: var(--ifl-text-lg);
}

.ifl-text-xl {
    font-size: var(--ifl-text-xl);
}

.ifl-text-2xl {
    font-size: var(--ifl-text-2xl);
}

.ifl-text-3xl {
    font-size: var(--ifl-text-3xl);
}

.ifl-text-4xl {
    font-size: var(--ifl-text-4xl);
}

.ifl-text-5xl {
    font-size: var(--ifl-text-5xl);
}

.ifl-text-6xl {
    font-size: var(--ifl-text-6xl);
}

/* Font Weights */
.ifl-font-light {
    font-weight: var(--ifl-weight-light);
}

.ifl-font-normal {
    font-weight: var(--ifl-weight-normal);
}

.ifl-font-medium {
    font-weight: var(--ifl-weight-medium);
}

.ifl-font-semibold {
    font-weight: var(--ifl-weight-semibold);
}

.ifl-font-bold {
    font-weight: var(--ifl-weight-bold);
}

/* Letter Spacing */
.ifl-tracking-tight {
    letter-spacing: var(--ifl-tracking-tight);
}

.ifl-tracking-normal {
    letter-spacing: var(--ifl-tracking-normal);
}

.ifl-tracking-wide {
    letter-spacing: var(--ifl-tracking-wide);
}

.ifl-tracking-wider {
    letter-spacing: var(--ifl-tracking-wider);
}

.ifl-tracking-caps {
    letter-spacing: var(--ifl-tracking-caps);
    text-transform: uppercase;
}

/* Text Transform */
.ifl-uppercase {
    text-transform: uppercase;
}

.ifl-lowercase {
    text-transform: lowercase;
}

.ifl-capitalize {
    text-transform: capitalize;
}

/* Text Alignment */
.ifl-text-left {
    text-align: left;
}

.ifl-text-center {
    text-align: center;
}

.ifl-text-right {
    text-align: right;
}

/* Special Typography */
.ifl-serif {
    font-family: var(--ifl-font-serif);
}

.ifl-sans {
    font-family: var(--ifl-font-primary);
}

/* ============================================
   5. MEGA MENU TYPOGRAPHY
   Precise Louis Vuitton-style sizing
   ============================================ */

/* Close Button - "X Fermer" */
.ifl-menu-close {
    display: flex;
    align-items: center;
    gap: var(--ifl-space-3);
    font-size: var(--ifl-text-base);
    /* 12px */
    font-weight: var(--ifl-weight-normal);
    letter-spacing: var(--ifl-tracking-wide);
    color: var(--ifl-dark);
    text-transform: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--ifl-space-4) var(--ifl-space-6);
    transition: opacity var(--ifl-transition-fast);
}

.ifl-menu-close:hover {
    opacity: 0.6;
}

.ifl-menu-close svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.5;
}

/* Menu Category Items - Large elegant text */
.ifl-menu-category {
    font-size: var(--ifl-text-3xl);
    /* 20px - matching LV */
    font-weight: var(--ifl-weight-normal);
    letter-spacing: var(--ifl-tracking-normal);
    line-height: var(--ifl-leading-snug);
    color: var(--ifl-dark);
    padding: var(--ifl-menu-item-padding-y) var(--ifl-menu-item-padding-x);
    display: block;
    text-decoration: none;
    transition: opacity var(--ifl-transition-fast);
    cursor: pointer;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.ifl-menu-category:hover {
    opacity: 0.6;
}

/* Menu Footer Sections */
.ifl-menu-section-label {
    font-size: var(--ifl-text-xs);
    /* 10px */
    font-weight: var(--ifl-weight-medium);
    letter-spacing: var(--ifl-tracking-caps);
    text-transform: uppercase;
    color: var(--ifl-gray-500);
    margin-bottom: var(--ifl-space-2);
}

.ifl-menu-section-value {
    font-size: var(--ifl-text-2xl);
    /* 18px */
    font-weight: var(--ifl-weight-normal);
    letter-spacing: var(--ifl-tracking-wide);
    color: var(--ifl-dark);
}

.ifl-menu-footer-link {
    font-size: var(--ifl-text-md);
    /* 13px */
    font-weight: var(--ifl-weight-normal);
    letter-spacing: var(--ifl-tracking-normal);
    color: var(--ifl-gray-700);
    display: flex;
    align-items: center;
    gap: var(--ifl-space-3);
    padding: var(--ifl-space-4) 0;
    transition: color var(--ifl-transition-fast);
    text-decoration: none;
}

.ifl-menu-footer-link:hover {
    color: var(--ifl-dark);
    opacity: 1;
}

.ifl-menu-footer-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: opacity var(--ifl-transition-fast);
}

.ifl-menu-footer-link:hover svg {
    opacity: 1;
}

/* ============================================
   6. BUTTONS
   ============================================ */

.ifl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ifl-space-2);
    padding: var(--ifl-space-4) var(--ifl-space-8);
    border: 1px solid var(--ifl-dark);
    background: transparent;
    font-family: var(--ifl-font-primary);
    font-size: var(--ifl-text-sm);
    font-weight: var(--ifl-weight-normal);
    text-transform: uppercase;
    letter-spacing: var(--ifl-tracking-caps);
    color: var(--ifl-dark);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--ifl-transition-normal);
}

.ifl-btn:hover {
    background: var(--ifl-dark);
    color: var(--ifl-white);
    opacity: 1;
}

.ifl-btn-primary {
    background: var(--ifl-dark);
    color: var(--ifl-white);
}

.ifl-btn-primary:hover {
    background: var(--ifl-gray-800);
}

.ifl-btn-ghost {
    border-color: transparent;
}

.ifl-btn-ghost:hover {
    background: var(--ifl-hover-bg);
    color: var(--ifl-dark);
}

.ifl-btn-sm {
    padding: var(--ifl-space-2) var(--ifl-space-4);
    font-size: var(--ifl-text-xs);
}

.ifl-btn-lg {
    padding: var(--ifl-space-5) var(--ifl-space-10);
    font-size: var(--ifl-text-base);
}

/* WhatsApp Button */
.ifl-btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: var(--ifl-white);
}

.ifl-btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
}

/* ============================================
   7. LAYOUT UTILITIES
   ============================================ */

.ifl-container {
    max-width: var(--ifl-container-max);
    margin: 0 auto;
    padding: 0 var(--ifl-container-padding);
}

.ifl-flex {
    display: flex;
}

.ifl-flex-col {
    flex-direction: column;
}

.ifl-flex-center {
    align-items: center;
    justify-content: center;
}

.ifl-flex-between {
    justify-content: space-between;
}

.ifl-flex-start {
    justify-content: flex-start;
}

.ifl-flex-end {
    justify-content: flex-end;
}

.ifl-items-center {
    align-items: center;
}

.ifl-items-start {
    align-items: flex-start;
}

.ifl-items-end {
    align-items: flex-end;
}

.ifl-gap-1 {
    gap: var(--ifl-space-1);
}

.ifl-gap-2 {
    gap: var(--ifl-space-2);
}

.ifl-gap-3 {
    gap: var(--ifl-space-3);
}

.ifl-gap-4 {
    gap: var(--ifl-space-4);
}

.ifl-gap-5 {
    gap: var(--ifl-space-5);
}

.ifl-gap-6 {
    gap: var(--ifl-space-6);
}

.ifl-gap-8 {
    gap: var(--ifl-space-8);
}

/* Grid */
.ifl-grid {
    display: grid;
}

.ifl-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ifl-space-5);
}

.ifl-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ifl-space-5);
}

.ifl-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ifl-space-5);
}

/* ============================================
   8. SPACING UTILITIES
   ============================================ */

/* Margin */
.ifl-m-0 {
    margin: 0;
}

.ifl-mt-1 {
    margin-top: var(--ifl-space-1);
}

.ifl-mt-2 {
    margin-top: var(--ifl-space-2);
}

.ifl-mt-4 {
    margin-top: var(--ifl-space-4);
}

.ifl-mt-6 {
    margin-top: var(--ifl-space-6);
}

.ifl-mt-8 {
    margin-top: var(--ifl-space-8);
}

.ifl-mb-1 {
    margin-bottom: var(--ifl-space-1);
}

.ifl-mb-2 {
    margin-bottom: var(--ifl-space-2);
}

.ifl-mb-4 {
    margin-bottom: var(--ifl-space-4);
}

.ifl-mb-6 {
    margin-bottom: var(--ifl-space-6);
}

.ifl-mb-8 {
    margin-bottom: var(--ifl-space-8);
}

/* Padding */
.ifl-p-0 {
    padding: 0;
}

.ifl-p-2 {
    padding: var(--ifl-space-2);
}

.ifl-p-4 {
    padding: var(--ifl-space-4);
}

.ifl-p-6 {
    padding: var(--ifl-space-6);
}

.ifl-p-8 {
    padding: var(--ifl-space-8);
}

.ifl-px-4 {
    padding-left: var(--ifl-space-4);
    padding-right: var(--ifl-space-4);
}

.ifl-px-6 {
    padding-left: var(--ifl-space-6);
    padding-right: var(--ifl-space-6);
}

.ifl-py-4 {
    padding-top: var(--ifl-space-4);
    padding-bottom: var(--ifl-space-4);
}

.ifl-py-6 {
    padding-top: var(--ifl-space-6);
    padding-bottom: var(--ifl-space-6);
}

/* ============================================
   9. CARDS & COMPONENTS
   ============================================ */

.ifl-card {
    background: var(--ifl-white);
    border: 1px solid var(--ifl-border-light);
}

.ifl-product-card {
    text-align: center;
    cursor: pointer;
}

.ifl-product-card__image {
    background: var(--ifl-gray-100);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: var(--ifl-space-4);
    padding: var(--ifl-space-8);
}

.ifl-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--ifl-transition-slow);
}

.ifl-product-card:hover .ifl-product-card__image img {
    transform: scale(1.05);
}

.ifl-product-card__name {
    font-size: var(--ifl-text-md);
    font-weight: var(--ifl-weight-normal);
    margin-bottom: var(--ifl-space-2);
}

.ifl-product-card__price {
    font-size: var(--ifl-text-md);
    color: var(--ifl-gray-600);
}

/* ============================================
   10. FORMS
   ============================================ */

.ifl-input {
    border: none;
    border-bottom: 1px solid var(--ifl-dark);
    width: 100%;
    padding: var(--ifl-space-3) 0;
    font-family: var(--ifl-font-primary);
    font-size: var(--ifl-text-lg);
    background: transparent;
    outline: none;
    transition: border-color var(--ifl-transition-fast);
}

.ifl-input:focus {
    border-bottom-width: 2px;
}

.ifl-input::placeholder {
    color: var(--ifl-gray-400);
}

/* ============================================
   11. RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --ifl-text-3xl: 18px;
        --ifl-text-4xl: 22px;
        --ifl-text-5xl: 26px;
        --ifl-text-6xl: 30px;
        --ifl-text-7xl: 34px;
    }

    .ifl-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ifl-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    :root {
        --ifl-text-3xl: 16px;
        --ifl-text-4xl: 20px;
        --ifl-text-5xl: 24px;
        --ifl-text-6xl: 28px;
        --ifl-text-7xl: 32px;
        --ifl-menu-item-padding-x: 16px;
        --ifl-menu-item-padding-y: 14px;
    }

    .ifl-grid-4,
    .ifl-grid-3,
    .ifl-grid-2 {
        grid-template-columns: 1fr;
    }

    .ifl-btn {
        width: 100%;
    }
}