/*
 Theme Name:   ArchFinishes Astra Child
 Theme URI:    https://example.com/
 Description:  Child theme for ArchFinishes based on Astra
 Author:       Monty
 Template:     astra
 Version:      1.0.0
*/

@import url("../astra/style.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================
   ARCHFINISHES DESIGN SYSTEM
   Based on Material Design 3 with Architectural Minimalism
   ============================================ */

/* ============================================
   1. COLOR TOKENS
   ============================================ */
:root {
    /* ============================================
       ARCHFINISHES EXACT PALETTE
       Material 3 inspired, ultra-modern minimal
       ============================================ */

    /* Primary Brand Colors */
    --af-primary: #121212;
    --af-on-primary: #FFFFFF;
    --af-secondary: #1F1F1F;
    --af-background: #FAF7F2;
    --af-surface: #FFFFFF;
    --af-on-surface: #141414;
    --af-accent: #C65A3A;
    --af-muted: #A3A3A3;
    --af-error: #E11D48;

    /* Semantic Color Mappings */
    --color-primary: var(--af-primary);
    --color-primary-hover: #2a2a2a;
    --color-primary-focus: #000000;
    --color-accent: var(--af-accent);
    --color-accent-hover: #a94e32;

    /* Surface & Background */
    --neutral-bg: var(--af-background);
    --neutral-surface: var(--af-surface);
    --neutral-text: var(--af-on-surface);
    --neutral-muted: var(--af-muted);
    --neutral-border: #E8E4DE;

    /* Legacy neutral mappings (for compatibility) */
    --neutral-1: var(--af-surface);
    --neutral-2: var(--af-background);
    --neutral-3: #E8E4DE;
    --neutral-4: var(--af-muted);
    --neutral-5: var(--af-on-surface);

    /* Text Colors */
    --text-primary: var(--af-on-surface);
    --text-secondary: var(--af-secondary);
    --text-muted: var(--af-muted);
    --text-disabled: #C4C4C4;

    /* Semantic */
    --color-text: var(--af-on-surface);
    --color-text-muted: var(--af-muted);
    --color-bg: var(--af-background);
    --color-border: #E8E4DE;
    --color-success: #16A34A;
    --color-warning: #CA8A04;
    --color-error: var(--af-error);

    /* ============================================
       2. TYPOGRAPHY TOKENS (Inter)
       ============================================ */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: var(--font-family);
    --font-body: var(--font-family);
    --font-display: var(--font-family);

    /* Type Scale - from design spec */
    --h1-size: 2.25rem;
    /* 36px - H1 */
    --h1-weight: 700;
    /* Bold */
    --h2-size: 1.75rem;
    /* 28px - H2 Bold Collections */
    --h2-weight: 700;
    /* Bold */
    --h3-size: 1.75rem;
    /* 28px - H3 Bold */
    --h3-weight: 700;
    /* Bold */
    --body-lg: 1rem;
    /* 16px - Body Large Regular */
    --body-md: 0.875rem;
    /* 14px - Body Medium Regular */
    --caption-size: 0.75rem;
    /* 12px - Caption Regular */

    /* Legacy typography mappings */
    --body-size: 1rem;
    --body-sm: 0.875rem;
    --caption: 0.75rem;

    /* Font Weights */
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Line Heights */
    --lh-tight: 1.25;
    --lh-normal: 1.5;
    --lh-relaxed: 1.75;

    /* ============================================
       3. SPACING SCALE (4-64px)
       ============================================ */
    --spacing-base: 8px;
    --spacing-1: 4px;
    --spacing-2: 8px;
    --spacing-3: 12px;
    --spacing-4: 16px;
    --spacing-5: 24px;
    --spacing-6: 32px;
    --spacing-7: 48px;
    --spacing-8: 64px;

    /* Grid */
    --container-max: 1280px;
    --gutter-desktop: 24px;
    --gutter-mobile: 16px;

    /* ============================================
       4. COMPONENT RADII (from design spec)
       ============================================ */
    --radius-card: 12px;
    /* Cards */
    --radius-button: 8px;
    /* Buttons */
    --radius-input: 4px;
    /* Inputs */
    --radius-full: 9999px;

    /* Legacy radius mappings */
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 4px;
    --radius-xs: 2px;

    /* ============================================
       5. SHADOWS (Elevation Levels)
       ============================================ */
    --shadow-dp0: none;
    --shadow-dp1: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
    --shadow-dp2: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.03);
    --shadow-dp3: 0 12px 32px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.04);

    /* ============================================
       6. TRANSITIONS
       ============================================ */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.2s ease-out;
    --transition-slow: 0.3s ease-out;

    /* ============================================
       7. ICON SIZES (Material Icons - Outlined)
       ============================================ */
    --icon-lg: 24px;
    --icon-md: 20px;
    --icon-sm: 16px;
}

/* ============================================
   IMAGE UTILITY CLASSES
   ============================================ */
.arch-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.arch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.arch-hero {
    aspect-ratio: 2 / 1;
}

.arch-card {
    aspect-ratio: 3 / 2;
}

.arch-square {
    aspect-ratio: 1 / 1;
}

/* ============================================
   BUTTON COMPONENTS
   ============================================ */
.af-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: var(--body-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.af-btn-primary:hover {
    background: var(--color-primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-dp2);
}

.af-btn-primary:active {
    transform: translateY(0);
}

.af-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    background: var(--neutral-1);
    color: var(--neutral-5);
    border: 1px solid var(--neutral-3);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: var(--body-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.af-btn-secondary:hover {
    background: var(--neutral-2);
    border-color: var(--neutral-4);
}

.af-btn-tonal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    background: var(--color-primary-100);
    color: var(--color-primary-700);
    border: none;
    border-radius: var(--radius-md);
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: var(--body-sm);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.af-btn-tonal:hover {
    background: var(--color-primary-200);
}

.af-btn-text {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-1);
    background: none;
    color: var(--color-primary);
    border: none;
    padding: 8px 12px;
    font-family: var(--font-body);
    font-size: var(--body-sm);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.af-btn-text:hover {
    color: var(--color-primary-700);
}

/* ============================================
   CARD COMPONENTS
   ============================================ */
.af-card {
    background: var(--neutral-1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dp1);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.af-card:hover {
    box-shadow: var(--shadow-dp2);
}

.af-card-elevated {
    background: var(--neutral-1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dp2);
    overflow: hidden;
}

.af-card-outlined {
    background: var(--neutral-1);
    border: 1px solid var(--neutral-3);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ============================================
   CHIP & FILTER COMPONENTS
   ============================================ */
.af-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-1);
    background: var(--neutral-2);
    color: var(--neutral-5);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-family: var(--font-body);
    font-size: var(--body-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.af-chip:hover {
    background: var(--neutral-3);
}

.af-chip.active,
.af-chip.is-active {
    background: var(--color-primary);
    color: #fff;
}

.af-chip-filter {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-1);
    background: var(--neutral-1);
    color: var(--neutral-5);
    border: 1px solid var(--neutral-3);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: var(--body-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.af-chip-filter:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.af-chip-filter.active {
    background: var(--color-primary-50);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ============================================
   BADGE COMPONENTS
   ============================================ */
.af-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--caption);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.af-badge-new {
    background: var(--color-primary);
    color: #fff;
}

.af-badge-bestseller {
    background: var(--color-success);
    color: #fff;
}

.af-badge-series {
    background: var(--color-warning);
    color: #fff;
}

/* ============================================
   INPUT COMPONENTS
   ============================================ */
.af-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--neutral-1);
    border: 1px solid var(--neutral-3);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--body-size);
    color: var(--neutral-5);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.af-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-100);
}

.af-input::placeholder {
    color: var(--neutral-4);
}

.af-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    background: var(--neutral-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239BAFCA' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid var(--neutral-3);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--body-size);
    color: var(--neutral-5);
    appearance: none;
    cursor: pointer;
}

/* ============================================
   SECTION COMPONENTS
   ============================================ */
.af-section {
    padding: calc(var(--spacing-base) * 8) 0;
}

.af-section-sm {
    padding: calc(var(--spacing-base) * 5) 0;
}

.af-section-lg {
    padding: calc(var(--spacing-base) * 12) 0;
}

.af-section-title {
    font-family: var(--font-heading);
    font-size: var(--h3-size);
    font-weight: 600;
    color: var(--neutral-5);
    margin: 0 0 var(--spacing-6);
    text-align: center;
}

.af-section-alt {
    background: var(--neutral-2);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.af-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
}

.af-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-5);
}

.af-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-4);
}

@media (max-width: 1024px) {
    .af-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .af-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .af-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .af-grid-3 {
        grid-template-columns: 1fr;
    }

    .af-grid-4 {
        grid-template-columns: 1fr;
    }

    .af-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */
.arch-animate {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.arch-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.arch-card-hover {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.arch-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-dp2);
}

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */
.af-h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: var(--lh-tight);
}

.af-h2 {
    font-size: var(--h2-size);
    font-weight: 600;
    line-height: var(--lh-tight);
}

.af-h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    line-height: var(--lh-normal);
}

.af-h4 {
    font-size: var(--h4-size);
    font-weight: 600;
    line-height: var(--lh-normal);
}

.af-body {
    font-size: var(--body-size);
    line-height: var(--lh-relaxed);
}

.af-body-sm {
    font-size: var(--body-sm);
    line-height: var(--lh-normal);
}

.af-caption {
    font-size: var(--caption);
    line-height: var(--lh-normal);
    color: var(--color-text-muted);
}

/* ============================================
   PRODUCT CARD COMPONENT
   ============================================ */
.af-product-card {
    background: var(--neutral-1);
    border: 1px solid var(--neutral-3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.af-product-card:hover {
    border-color: var(--neutral-4);
    box-shadow: var(--shadow-dp2);
}

.af-product-card__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
}

.af-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.af-product-card__badge {
    position: absolute;
    top: var(--spacing-3);
    left: var(--spacing-3);
}

.af-product-card__content {
    padding: var(--spacing-4);
}

.af-product-card__title {
    font-size: var(--body-size);
    font-weight: 600;
    color: var(--neutral-5);
    margin: 0 0 var(--spacing-2);
}

.af-product-card__price {
    font-size: var(--h4-size);
    font-weight: 700;
    color: var(--color-primary);
}

/* ============================================
   GLOBAL HEADER COMPONENTS
   ============================================ */

/* Announcement Bar */
.af-announcement-bar {
    background: var(--color-primary);
    color: #fff;
    padding: 8px 0;
    text-align: center;
    font-size: var(--body-sm);
    font-weight: 500;
}

.af-announcement-bar a {
    color: #fff;
    text-decoration: underline;
}

/* Main Header */
.af-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.af-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
}

/* Logo */
.af-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.af-header-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 8px;
    color: #fff;
}

.af-header-logo-icon svg {
    width: 18px;
    height: 18px;
}

.af-header-logo img {
    height: 32px;
    width: auto;
}

.af-header-wordmark {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-5);
    letter-spacing: -0.01em;
}

/* Navigation */
.af-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.af-nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-5);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
    transition: all 0.15s ease;
}

.af-nav-link:hover {
    color: var(--color-primary);
    background: rgba(26, 115, 232, 0.08);
}

.af-nav-link.active {
    color: var(--color-primary);
    background: rgba(26, 115, 232, 0.12);
}

/* Remove underline animation, use background instead */
.af-nav-link::after {
    display: none;
}

/* Header Icons - With Labels */
.af-header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.af-header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 48px;
    padding: 6px 8px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: var(--neutral-5);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
}

.af-header-icon:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-primary);
}

.af-header-icon:active {
    transform: scale(0.96);
}

.af-header-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.af-header-icon-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--neutral-4);
    text-transform: capitalize;
}

.af-header-icon:hover .af-header-icon-label {
    color: var(--color-primary);
}

/* Cart Badge */
.af-cart-bubble {
    position: relative;
}

.af-cart-bubble::after {
    content: attr(data-count);
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Box - Google Style Rounded */
.af-search-box {
    display: flex;
    align-items: center;
    background: var(--neutral-1, #FFFFFF);
    border: 1px solid var(--neutral-3, #E0E0E0);
    border-radius: 24px;
    padding: 0 6px 0 16px;
    height: 44px;
    min-width: 240px;
    max-width: 320px;
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.af-search-box:hover {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.12);
}

.af-search-box:focus-within {
    border-color: transparent;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.af-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--neutral-5, #212121);
    outline: none;
    min-width: 0;
    padding: 0 8px;
}

.af-search-input::placeholder {
    color: var(--neutral-4, #9E9E9E);
}

.af-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-primary, #4A90B8);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
    flex-shrink: 0;
}

.af-search-btn:hover {
    background: var(--color-primary-hover, #3d7a9e);
    transform: scale(1.05);
}

.af-search-btn svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff !important;
    fill: none !important;
    display: block;
}

.af-search-btn svg path {
    stroke: #ffffff !important;
    stroke-width: 2;
}

/* ============================================
   MEGA MENU PANEL
   ============================================ */
.af-mega-menu {
    position: static;
}

.af-header-inner {
    position: relative;
}

.af-mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 900px;
    max-width: calc(100vw - 48px);
    background: var(--neutral-1);
    border: 1px solid var(--neutral-3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dp3);
    padding: var(--spacing-6);
    display: none;
    opacity: 0;
    z-index: 999;
}

.af-mega-menu:hover .af-mega-menu-panel,
.af-mega-menu-panel.is-open {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-7);
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    animation: megaMenuFadeIn 0.16s ease-out;
}

@keyframes megaMenuFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mega Menu Columns */
.af-mega-col {
    min-width: 0;
}

.af-mega-col-title {
    font-family: var(--font-heading);
    font-size: var(--body-sm);
    font-weight: 600;
    color: var(--neutral-5);
    margin: 0 0 var(--spacing-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Rooms Column */
.af-mega-rooms {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
    padding-right: var(--spacing-5);
    border-right: 1px solid var(--neutral-3);
}

.af-mega-room-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--neutral-5);
    font-size: var(--body-sm);
    transition: background var(--transition-fast);
}

.af-mega-room-link:hover {
    background: var(--neutral-2);
}

.af-mega-room-link.active {
    background: var(--color-primary-50);
    color: var(--color-primary);
}

.af-mega-room-icon {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

/* Elements Grid */
.af-mega-elements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3);
}

.af-mega-element-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-2) var(--spacing-3);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--neutral-5);
    font-size: var(--body-sm);
    transition: background var(--transition-fast);
}

.af-mega-element-link:hover {
    background: var(--neutral-2);
}

.af-mega-element-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* Styles & Materials Column */
.af-mega-filters {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-5);
}

.af-mega-filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.af-mega-filter-title {
    font-size: var(--caption);
    font-weight: 600;
    color: var(--neutral-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.af-mega-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
}

/* Color Swatches */
.af-color-swatch {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--neutral-3);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.af-color-swatch:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-dp2);
}

.af-color-beige {
    background: #E4C4BA;
}

.af-color-white {
    background: #FFFFFF;
}

.af-color-brown {
    background: #8B7355;
}

.af-color-grey {
    background: #9CA3AF;
}

.af-color-black {
    background: #1F2937;
}

.af-color-tan {
    background: #D2B48C;
}

.af-color-wood {
    background: linear-gradient(135deg, #DEB887, #A0522D);
}

/* Material Chips */
.af-material-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: 6px 12px;
    background: var(--neutral-2);
    border-radius: var(--radius-sm);
    font-size: var(--caption);
    color: var(--neutral-5);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.af-material-chip:hover {
    background: var(--neutral-3);
}

.af-material-chip img {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    object-fit: cover;
}

/* Use-Case Tags */
.af-usecase-chip {
    display: inline-block;
    padding: 6px 12px;
    background: var(--neutral-1);
    border: 1px solid var(--neutral-3);
    border-radius: var(--radius-full);
    font-size: var(--caption);
    color: var(--neutral-5);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.af-usecase-chip:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Lighting Options */
.af-lighting-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-1);
    padding: 6px 12px;
    background: var(--neutral-2);
    border-radius: var(--radius-sm);
    font-size: var(--caption);
    color: var(--neutral-5);
    text-decoration: none;
    transition: background var(--transition-fast);
}

.af-lighting-chip:hover {
    background: var(--neutral-3);
}

.af-lighting-chip svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   MOBILE HEADER
   ============================================ */
.af-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.af-mobile-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--neutral-5);
}

/* Mobile Drawer */
/* Mobile Drawer */
.af-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    overflow-y: auto;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.af-mobile-drawer::-webkit-scrollbar {
    display: none;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.af-mobile-drawer.is-open {
    transform: translateX(0);
}

.af-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.af-mobile-drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    border-radius: 50%;
    color: #111111;
    cursor: pointer;
    transition: background 0.2s;
}

.af-mobile-drawer-close:hover {
    background: rgba(0, 0, 0, 0.08);
}

.af-mobile-drawer-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.af-mobile-nav {
    padding: var(--spacing-4);
}

/* Hide Downloads icon in header on mobile */
@media (max-width: 1024px) {
    .af-header-icon.af-icon-downloads {
        display: none !important;
    }
}

.af-mobile-nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.af-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.af-mobile-nav-link {
    display: block;
    padding: var(--spacing-4) 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--neutral-5);
    text-decoration: none;
    flex-grow: 1;
}

.af-mobile-nav-link:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.af-mobile-nav-item .af-mobile-nav-link {
    border-bottom: none;
}

.af-mobile-sub-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    border-radius: 50%;
    color: #111111;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.af-mobile-sub-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
}

.af-mobile-sub-toggle.is-open {
    transform: rotate(180deg);
}

.af-mobile-sub-menu {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    margin-bottom: 12px;
}

.af-mobile-sub-inner {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
}

.af-mobile-sub-title {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--neutral-4);
    margin: 16px 0 8px;
    letter-spacing: 0.05em;
}

.af-mobile-sub-title:first-child {
    margin-top: 0;
}

.af-mobile-sub-link {
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: var(--neutral-5);
    text-decoration: none;
}

.af-mobile-sub-link.highlight {
    color: var(--color-primary);
    font-weight: 500;
}

.af-mobile-c2a {
    padding: 24px 0 0;
}

.af-btn-full {
    width: 100%;
    justify-content: center;
}

.af-mobile-nav-link:hover {
    color: var(--color-primary);
}

.af-mobile-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-4);
    padding: var(--spacing-5);
    border-top: 1px solid var(--neutral-3);
}

/* Mobile Overlay */
.af-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

.af-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .af-header-nav {
        display: none;
    }

    .af-mobile-toggle {
        display: flex;
    }

    .af-mega-menu-panel {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .af-header-inner {
        padding: 0 16px;
        height: 64px;
    }

    .af-header-wordmark {
        font-size: 1rem;
    }

    .af-header-icons {
        gap: var(--spacing-2);
    }
}

/* ============================================
   ELEMENT MARQUEE (Above Hero)
   ============================================ */
.af-element-marquee {
    position: relative;
    overflow: hidden;
    background: var(--neutral-2, #F5F5F5);
    border-bottom: 1px solid var(--neutral-3, #E0E0E0);
    padding: 16px 0;
}

.af-element-marquee::before,
.af-element-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.af-element-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--neutral-2, #F5F5F5) 0%, transparent 100%);
}

.af-element-marquee::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, var(--neutral-2, #F5F5F5) 100%);
}

.af-marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 50s linear infinite;
}

.af-element-marquee:hover .af-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.af-marquee-content {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.af-marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 28px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center center;
}

.af-marquee-item:hover {
    transform: scale(1.15);
    z-index: 10;
}

.af-marquee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--neutral-1, #FFFFFF);
    border: 1px solid var(--neutral-3, #E0E0E0);
    border-radius: 50%;
    color: var(--neutral-5, #212121);
    transition: all 0.3s ease;
}

.af-marquee-icon svg {
    width: 20px;
    height: 20px;
}

.af-marquee-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.af-marquee-item:hover .af-marquee-icon {
    background: var(--color-primary, #4A90B8);
    border-color: var(--color-primary, #4A90B8);
    color: #fff;
    box-shadow: 0 4px 12px rgba(74, 144, 184, 0.3);
}

.af-marquee-text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--neutral-4, #9E9E9E);
    transition: color 0.2s ease;
}

.af-marquee-item:hover .af-marquee-text {
    color: var(--neutral-5, #212121);
}

/* Responsive Marquee */
@media (max-width: 768px) {
    .af-element-marquee {
        padding: 12px 0;
    }

    .af-marquee-icon {
        width: 32px;
        height: 32px;
    }

    .af-marquee-icon svg {
        width: 16px;
        height: 16px;
    }

    .af-marquee-text {
        font-size: 10px;
    }

    .af-marquee-item {
        gap: 6px;
        padding: 6px 20px;
    }

    .af-marquee-track {
        animation-duration: 35s;
    }
}

/* ============================================
   GLOBAL FOOTER COMPONENTS
   ============================================ */

.af-footer {
    background: var(--neutral-5);
    color: var(--neutral-1);
}

.af-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.af-footer-main {
    padding: calc(var(--spacing-base) * 8) 0;
}

.af-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: var(--spacing-7);
}

/* Brand Column */
.af-footer-brand {
    padding-right: var(--spacing-5);
}

.af-footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    text-decoration: none;
    margin-bottom: var(--spacing-4);
}

.af-footer-logo svg {
    flex-shrink: 0;
}

.af-footer-logo span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-1);
    letter-spacing: 0.05em;
}

.af-footer-about {
    font-size: var(--body-sm);
    line-height: 1.6;
    color: var(--neutral-4);
    margin: 0 0 var(--spacing-5);
}

/* Social Links */
.af-footer-social {
    display: flex;
    gap: var(--spacing-3);
}

.af-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--neutral-4);
    transition: all var(--transition-fast);
}

.af-footer-social-link:hover {
    background: var(--color-primary);
    color: var(--neutral-1);
}

/* Footer Columns */
.af-footer-col {
    min-width: 0;
}

.af-footer-heading {
    font-family: var(--font-heading);
    font-size: var(--body-sm);
    font-weight: 600;
    color: var(--neutral-1);
    margin: 0 0 var(--spacing-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.af-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.af-footer-links a {
    display: inline-block;
    font-size: var(--body-sm);
    color: var(--neutral-4);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.af-footer-links a:hover {
    color: var(--neutral-1);
}

/* Newsletter Column */
.af-footer-newsletter {
    padding-left: var(--spacing-5);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.af-footer-newsletter-sub {
    font-size: var(--caption);
    color: var(--neutral-4);
    margin: 0 0 var(--spacing-4);
    line-height: 1.5;
}

.af-newsletter-form {
    display: flex;
    gap: var(--spacing-2);
}

.af-newsletter-form .af-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--neutral-1);
}

.af-newsletter-form .af-input::placeholder {
    color: var(--neutral-4);
}

.af-newsletter-form .af-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
}

.af-newsletter-form .af-btn-primary {
    white-space: nowrap;
}

/* Footer Divider */
.af-footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* Bottom Bar */
.af-footer-bottom {
    padding: var(--spacing-5) 0;
}

.af-footer-disclaimer {
    font-size: var(--caption);
    color: var(--neutral-4);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .af-footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-6);
    }

    .af-footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .af-footer-about {
        max-width: 500px;
    }

    .af-footer-newsletter {
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: var(--spacing-5);
        text-align: center;
    }

    .af-newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .af-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-5);
        text-align: center;
    }

    .af-footer-col {
        padding: 0 !important;
        border: none !important;
    }

    .af-footer-social {
        justify-content: center;
    }

    .af-newsletter-form {
        flex-direction: column;
    }

    .af-footer-main {
        padding: calc(var(--spacing-base) * 5) 0;
    }
}

/* ============================================
   HOMEPAGE COMPONENTS
   ============================================ */

.af-homepage {
    overflow-x: hidden;
    /* Hide potential internal scrollbars */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.af-homepage::-webkit-scrollbar {
    display: none;
}

.af-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   FOLD 1: HERO
   ============================================ */
.af-hero {
    background: var(--neutral-2);
    padding: calc(var(--spacing-base) * 10) 0;
}

.af-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.af-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-8);
    align-items: center;
}

.af-hero-content {
    max-width: 520px;
}

.af-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-5);
    margin: 0 0 var(--spacing-4);
}

.af-hero-subtitle {
    font-size: var(--h5-size);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0 0 var(--spacing-6);
}

.af-hero-ctas {
    display: flex;
    gap: var(--spacing-3);
    flex-wrap: wrap;
}

/* Hero Image Montage */
.af-hero-images {
    position: relative;
}

.af-hero-montage {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-4);
}

.af-hero-img-main {
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-shadow: var(--shadow-dp2);
}

.af-hero-img-stack {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.af-hero-img-stack .arch-img-wrap {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dp1);
}

/* ============================================
   FOLD 2: SHOP BY ELEMENT
   ============================================ */
.af-shop-elements {
    background: var(--neutral-1);
}

.af-elements-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-4);
}

.af-element-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-5) var(--spacing-3);
    background: var(--neutral-1);
    border: 1px solid var(--neutral-3);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.af-element-card:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-50);
}

.af-element-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-2);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-3);
    color: var(--color-primary);
}

.af-element-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-3);
}

.af-element-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.af-element-name {
    font-size: var(--body-sm);
    font-weight: 600;
    color: var(--neutral-5);
    margin-bottom: var(--spacing-1);
}

.af-element-meta {
    font-size: var(--caption);
    color: var(--neutral-4);
}

/* ============================================
   FOLD 3: SHOP BY STYLE
   ============================================ */
.af-shop-styles {
    text-align: center;
}

.af-styles-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-3);
}

/* ============================================
   FOLD 4: FEATURED COLLECTIONS
   ============================================ */
.af-collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-5);
}

.af-collection-card {
    background: var(--neutral-1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-3);
}

.af-collection-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.af-collection-content {
    padding: var(--spacing-4);
    text-align: center;
}

.af-collection-title {
    font-size: var(--body-size);
    font-weight: 600;
    color: var(--neutral-5);
    margin: 0 0 var(--spacing-1);
}

.af-collection-desc {
    font-size: var(--caption);
    color: var(--neutral-4);
    margin: 0 0 var(--spacing-3);
}

/* ============================================
   FOLD 5: BESTSELLERS
   ============================================ */
.af-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-6);
}

.af-section-header .af-section-title {
    margin: 0;
    text-align: left;
}

.af-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-5);
}

.af-product-card__meta {
    margin-bottom: var(--spacing-2);
}

.af-product-card__tag {
    display: inline-block;
    font-size: var(--caption);
    color: var(--color-primary);
    background: var(--color-primary-50);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* ============================================
   FOLD 6: HOW IT WORKS
   ============================================ */
.af-how-it-works {
    text-align: center;
}

.af-steps-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--spacing-6);
}

.af-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.af-step-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-100);
    border-radius: var(--radius-lg);
    margin: 0 auto var(--spacing-4);
    color: var(--color-primary);
}

.af-step-title {
    font-size: var(--body-size);
    font-weight: 600;
    color: var(--neutral-5);
    margin: 0 0 var(--spacing-2);
}

.af-step-desc {
    font-size: var(--body-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.af-step-arrow {
    font-size: 1.5rem;
    color: var(--neutral-4);
    padding-top: 24px;
}

/* ============================================
   FOLD 7: BLOG PREVIEW
   ============================================ */
.af-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-5);
}

.af-blog-card {
    display: block;
    text-decoration: none;
    background: var(--neutral-1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--neutral-3);
}

.af-blog-card__image {
    position: relative;
}

.af-blog-card__badge {
    position: absolute;
    top: var(--spacing-3);
    left: var(--spacing-3);
}

.af-blog-card__content {
    padding: var(--spacing-4);
}

.af-blog-card__title {
    font-size: var(--body-size);
    font-weight: 600;
    color: var(--neutral-5);
    margin: 0 0 var(--spacing-2);
    line-height: 1.4;
}

.af-blog-card__excerpt {
    font-size: var(--body-sm);
    color: var(--color-text-muted);
    margin: 0 0 var(--spacing-3);
    line-height: 1.5;
}

.af-blog-card__date {
    font-size: var(--caption);
    color: var(--neutral-4);
}

/* ============================================
   FOLD 8: EMAIL CAPTURE
   ============================================ */
.af-email-capture {
    background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--neutral-2) 100%);
}

.af-email-capture-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-7);
    background: var(--neutral-1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dp2);
}

.af-email-capture-title {
    font-size: var(--h3-size);
    font-weight: 600;
    color: var(--neutral-5);
    margin: 0 0 var(--spacing-2);
}

.af-email-capture-subtitle {
    font-size: var(--body-sm);
    color: var(--color-text-muted);
    margin: 0 0 var(--spacing-5);
}

.af-email-capture-form {
    display: flex;
    gap: var(--spacing-2);
    max-width: 400px;
    margin: 0 auto;
}

.af-email-capture-form .af-input {
    flex: 1;
}

/* ============================================
   HOMEPAGE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .af-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }

    .af-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .af-hero-ctas {
        justify-content: center;
    }

    .af-hero-montage {
        max-width: 600px;
        margin: 0 auto;
    }

    .af-elements-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .af-collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .af-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .af-steps-grid {
        flex-wrap: wrap;
    }

    .af-step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .af-hero {
        padding: calc(var(--spacing-base) * 6) 0;
    }

    .af-hero-title {
        font-size: 2rem;
    }

    .af-elements-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-3);
    }

    .af-element-card {
        padding: var(--spacing-4) var(--spacing-2);
    }

    .af-blog-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
}

@media (max-width: 640px) {
    .af-hero-montage {
        grid-template-columns: 1fr;
    }

    .af-hero-img-stack {
        flex-direction: row;
    }

    .af-elements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .af-collections-grid {
        grid-template-columns: 1fr;
    }

    .af-products-grid {
        grid-template-columns: 1fr;
    }

    .af-email-capture-form {
        flex-direction: column;
    }

    .af-section-header {
        flex-direction: column;
        gap: var(--spacing-3);
        text-align: center;
    }

    .af-section-header .af-section-title {
        text-align: center;
    }
}

/* ============================================
   MOBILE OPTIMIZATION - COMPREHENSIVE STYLES
   ============================================ */

/* Mobile Hamburger Menu Icon */
.af-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.af-mobile-toggle:hover,
.af-mobile-toggle:focus {
    background: rgba(0, 0, 0, 0.04);
}

.af-mobile-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--neutral-5, #333);
}

/* Mobile Menu Panel */
.af-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    -webkit-overflow-scrolling: touch;
}

.af-mobile-menu.is-open {
    right: 0;
}

.af-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.af-mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.af-mobile-menu-close:hover {
    background: #F5F5F5;
}

.af-mobile-menu-nav {
    padding: 16px 0;
}

.af-mobile-nav-link {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #F5F5F5;
    transition: background 0.2s;
}

.af-mobile-nav-link:hover,
.af-mobile-nav-link:active {
    background: #F8F9FA;
    color: var(--color-primary, #1A73E8);
}

/* Tablet Breakpoint - 1024px */
@media (max-width: 1024px) {

    /* Show hamburger, hide desktop nav */
    .af-mobile-toggle {
        display: flex;
    }

    .af-header-nav {
        display: none !important;
    }

    .af-mega-menu-panel {
        display: none !important;
    }

    /* Header adjustments */
    .af-header-inner {
        padding: 0 16px;
    }

    .af-header-icons {
        gap: 4px;
    }

    /* Hide icon labels on tablet */
    .af-header-icon-label {
        display: none;
    }

    .af-header-icon {
        min-width: 40px;
        padding: 8px;
    }

    /* Hero adjustments */
    .af-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-6, 32px);
        text-align: center;
    }

    .af-hero-content {
        order: 1;
    }

    .af-hero-images {
        order: 2;
    }

    .af-hero-ctas {
        justify-content: center;
    }

    /* Elements grid - 3 columns on tablet */
    .af-elements-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    /* Steps grid */
    .af-steps-grid {
        flex-wrap: wrap;
        gap: 24px;
    }

    .af-step {
        flex: 1 1 calc(50% - 12px);
        min-width: 200px;
    }

    .af-step-arrow {
        display: none;
    }
}

/* Mobile Breakpoint - 768px */
@media (max-width: 768px) {

    /* Reduce section padding */
    .af-section {
        padding: 48px 0;
    }

    .af-section-lg {
        padding: 56px 0;
    }

    .af-container {
        padding: 0 16px;
    }

    /* Hero text sizing */
    .af-hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .af-hero-subtitle {
        font-size: 1rem;
    }

    .af-hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .af-hero-ctas .af-btn-primary,
    .af-hero-ctas .af-btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Section titles smaller */
    .af-section-title {
        font-size: 1.5rem;
    }

    /* Elements grid - 3 columns */
    .af-elements-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .af-element-card {
        padding: 16px 8px;
    }

    .af-element-name {
        font-size: 11px;
    }

    .af-element-meta {
        display: none;
    }

    /* Collections */
    .af-collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .af-collection-card {
        min-height: auto;
    }

    /* Products grid - 2 columns */
    .af-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .af-product-card__content {
        padding: 12px;
    }

    .af-product-card__title {
        font-size: 13px;
    }

    .af-product-card__price {
        font-size: 14px;
    }

    /* Blog grid */
    .af-blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Email capture */
    .af-email-capture-box {
        padding: 32px 20px;
    }

    .af-email-capture-title {
        font-size: 1.25rem;
    }

    .af-email-capture-form {
        flex-direction: column;
        gap: 12px;
    }

    .af-email-capture-form .af-input,
    .af-email-capture-form .af-btn-primary {
        width: 100%;
    }

    /* Steps - single column */
    .af-step {
        flex: 1 1 100%;
    }

    /* Announcement bar */
    .af-announcement-bar {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {

    /* Header */
    .af-header-inner {
        height: 56px;
        padding: 0 12px;
    }

    .af-header-wordmark {
        font-size: 14px;
    }

    .af-header-logo svg {
        width: 14px;
        height: 14px;
    }

    /* Reduce padding further */
    .af-container {
        padding: 0 12px;
    }

    .af-section {
        padding: 40px 0;
    }

    /* Hero */
    .af-hero-title {
        font-size: 1.5rem;
    }

    .af-hero-subtitle {
        font-size: 0.9rem;
    }

    .af-hero-montage {
        gap: 12px;
    }

    /* Elements - 2 columns */
    .af-elements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .af-element-card {
        padding: 12px 6px;
    }

    .af-element-icon svg {
        width: 28px;
        height: 28px;
    }

    .af-element-name {
        font-size: 10px;
    }

    /* Style chips */
    .af-styles-chips {
        gap: 8px;
    }

    .af-chip-filter {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Collections - single column */
    .af-collections-grid {
        grid-template-columns: 1fr;
    }

    /* Products - single column on very small screens */
    .af-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Section header */
    .af-section-title {
        font-size: 1.25rem;
    }

    /* Marquee */
    .af-element-marquee {
        padding: 12px 0;
    }

    .af-marquee-item {
        padding: 0 12px;
        gap: 6px;
    }

    .af-marquee-icon {
        width: 28px;
        height: 28px;
    }

    .af-marquee-text {
        font-size: 12px;
    }

    /* Footer adjustments */
    .af-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .af-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Fix images on mobile */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .arch-img-wrap {
        width: 100%;
    }

    .af-hero-img-main {
        max-height: 250px;
    }

    .af-hero-img-stack .arch-img-wrap {
        max-height: 120px;
    }
}

/* Touch-friendly buttons */
@media (max-width: 768px) {

    .af-btn-primary,
    .af-btn-secondary,
    .af-btn-tonal {
        min-height: 48px;
        padding: 14px 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE STYLES - Matches Design Mockup Exactly
   ═══════════════════════════════════════════════════════════════════════════ */

/* Container */
.af-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.af-homepage {
    background: #fff;
}

.af-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */
.af-hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #F7F9FB 0%, #FFFFFF 100%);
}

.af-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.af-hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.af-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.af-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.af-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.af-btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
}

.af-btn-primary:hover {
    background: #1557B0;
    color: #fff;
}

.af-btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--neutral-border);
}

.af-btn-outline:hover {
    background: var(--neutral-bg);
    border-color: var(--text-muted);
}

/* Hero Image Grid (6 images) */
.af-hero-images {
    position: relative;
}

.af-hero-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
}

.af-hero-image-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.af-hero-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOP BY ELEMENT
   ═══════════════════════════════════════════════════════════════════════════ */
.af-shop-element {
    padding: 60px 0;
    background: #fff;
}

.af-elements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.af-element-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.af-element-card:hover {
    transform: translateY(-2px);
}

.af-element-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--neutral-border);
    margin-bottom: 8px;
}

.af-element-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.af-element-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOP BY STYLE
   ═══════════════════════════════════════════════════════════════════════════ */
.af-shop-style {
    padding: 40px 0 60px;
    background: #fff;
}

.af-style-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.af-style-chip {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--neutral-border);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.af-style-chip:hover {
    background: var(--neutral-bg);
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURED COLLECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.af-collections {
    padding: 60px 0;
    background: #fff;
}

.af-collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.af-collection-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none;
    display: block;
}

.af-collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.af-collection-card:hover img {
    transform: scale(1.05);
}

.af-collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    color: #fff;
}

.af-collection-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.af-collection-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.af-collection-link {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BESTSELLERS
   ═══════════════════════════════════════════════════════════════════════════ */
.af-bestsellers {
    padding: 60px 0;
    background: #fff;
}

.af-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.af-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--neutral-border);
    transition: box-shadow 0.2s ease;
}

.af-product-card:hover {
    box-shadow: var(--shadow-dp2);
}

.af-product-image-link {
    display: block;
    text-decoration: none;
}

.af-product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.af-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.af-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.af-badge-new {
    background: var(--color-primary);
    color: #fff;
}

.af-badge-bestseller {
    background: #F59E0B;
    color: #fff;
}

.af-badge-commercial,
.af-badge-series {
    background: #6B7280;
    color: #fff;
}

.af-product-info {
    padding: 16px;
}

.af-product-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.af-product-title a {
    color: inherit;
    text-decoration: none;
}

.af-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.af-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.af-tag {
    display: inline-block;
    padding: 4px 8px;
    background: var(--neutral-bg);
    border-radius: 4px;
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.af-btn-cart {
    width: 100%;
    padding: 10px 16px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.af-btn-cart:hover {
    background: #1557B0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════════════════════════════ */
.af-how-it-works {
    padding: 60px 0;
    background: var(--neutral-bg);
}

.af-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.af-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.af-step-icon {
    width: 80px;
    height: 80px;
    background: #E8DFD5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.af-step-icon .material-symbols-outlined {
    font-size: 32px;
    color: #8B7355;
}

.af-step-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.af-step-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    max-width: 260px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FROM THE BLOG
   ═══════════════════════════════════════════════════════════════════════════ */
.af-blog {
    padding: 60px 0;
    background: #fff;
}

.af-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.af-section-header .af-section-title {
    margin-bottom: 0;
}

.af-section-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
}

.af-section-link:hover {
    color: var(--color-primary);
}

.af-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.af-post-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--neutral-border);
    transition: box-shadow 0.2s ease;
}

.af-post-card:hover {
    box-shadow: var(--shadow-dp2);
}

.af-post-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.af-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.af-post-content {
    padding: 16px;
}

.af-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.af-post-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0 0 8px 0;
}

.af-post-excerpt {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   EMAIL CAPTURE
   ═══════════════════════════════════════════════════════════════════════════ */
.af-email-capture {
    padding: 60px 0;
    background: var(--neutral-bg);
}

.af-email-box {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.af-email-box h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.af-email-box p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0 0 24px 0;
}

.af-email-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.af-email-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--neutral-border);
    border-radius: 8px;
    font-size: 0.9375rem;
    outline: none;
}

.af-email-form input[type="email"]:focus {
    border-color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .af-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .af-hero-content h1 {
        font-size: 2.25rem;
    }

    .af-elements-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .af-collections-grid,
    .af-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .af-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .af-hero {
        padding: 40px 0 60px;
    }

    .af-hero-content h1 {
        font-size: 1.875rem;
    }

    .af-hero-subtitle {
        font-size: 1rem;
    }

    .af-hero-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .af-elements-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .af-steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .af-posts-grid {
        grid-template-columns: 1fr;
    }

    .af-email-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .af-container {
        padding: 0 16px;
    }

    .af-hero-content h1 {
        font-size: 1.625rem;
    }

    .af-hero-buttons {
        flex-direction: column;
    }

    .af-hero-buttons .af-btn {
        width: 100%;
        justify-content: center;
    }

    .af-elements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .af-collections-grid,
    .af-products-grid {
        grid-template-columns: 1fr;
    }

    .af-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.af-footer {
    background: var(--af-background, #FAF7F2);
    border-top: 1px solid var(--neutral-border, #E8E4DE);
    padding: 80px 0 40px;
    margin-top: auto;
}

.af-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.af-footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--neutral-border, #E8E4DE);
}

/* Brand Column */
.af-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.af-footer-logo {
    display: inline-block;
    text-decoration: none;
}

.af-footer-logo img {
    height: 32px;
    width: auto;
}

.af-footer-wordmark {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--af-primary, #121212);
    letter-spacing: -0.02em;
}

.af-footer-blurb {
    font-size: 0.875rem;
    color: var(--af-muted, #A3A3A3);
    line-height: 1.6;
    margin: 0;
}

.af-footer-gst {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--af-on-surface, #141414);
    background: var(--af-surface, #FFFFFF);
    border: 1px solid var(--neutral-border, #E8E4DE);
    border-radius: 6px;
    padding: 8px 12px;
    width: fit-content;
}

.af-footer-gst .material-symbols-outlined {
    font-size: 18px;
    color: var(--af-accent, #C65A3A);
}

/* Link Columns */
.af-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.af-footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--af-on-surface, #141414);
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.af-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.af-footer-list a {
    font-size: 0.875rem;
    color: var(--af-muted, #A3A3A3);
    text-decoration: none;
    transition: color 0.15s ease;
}

.af-footer-list a:hover {
    color: var(--af-on-surface, #141414);
}

/* Newsletter */
.af-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.af-footer-newsletter-desc {
    font-size: 0.8125rem;
    color: var(--af-muted, #A3A3A3);
    margin: 0;
}

.af-newsletter-form {
    display: flex;
    gap: 8px;
}

.af-newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--af-surface, #FFFFFF);
    border: 1px solid var(--neutral-border, #E8E4DE);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--af-on-surface, #141414);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.af-newsletter-input:focus {
    outline: none;
    border-color: var(--af-primary, #121212);
    box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.08);
}

.af-newsletter-input::placeholder {
    color: var(--af-muted, #A3A3A3);
}

.af-newsletter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--af-primary, #121212);
    color: var(--af-on-primary, #FFFFFF);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.af-newsletter-btn:hover {
    background: var(--af-secondary, #1F1F1F);
    transform: translateX(2px);
}

.af-newsletter-btn .material-symbols-outlined {
    font-size: 20px;
}

/* Footer Bottom */
.af-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    gap: 24px;
}

.af-footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.af-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--af-muted, #A3A3A3);
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.af-social-icon:hover {
    color: var(--af-on-surface, #141414);
    background: rgba(18, 18, 18, 0.04);
}

.af-social-icon svg {
    width: 20px;
    height: 20px;
}

.af-footer-copyright {
    font-size: 0.8125rem;
    color: var(--af-muted, #A3A3A3);
}

.af-footer-payment {
    display: flex;
    align-items: center;
    gap: 8px;
}

.af-payment-icon {
    height: 24px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.af-payment-icon:hover {
    opacity: 1;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .af-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .af-footer-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .af-footer {
        padding: 48px 0 32px;
    }

    .af-footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .af-footer-newsletter {
        grid-column: span 1;
    }

    .af-footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .af-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* ============================================
   MOBILE RESPONSIVENESS — scoped to small screens only
   ============================================ */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
}