/*
Theme Name: Dawson Moor
Theme URI: https://dawsonmoor.com
Author: Dawson Moor
Author URI: https://dawsonmoor.com
Description: Premium architectural hardware theme with Apple-inspired aesthetics. Featuring premium European door hardware curated for the US market.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dawson-moor
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, woocommerce

Dawson Moor - Curating Europe's finest architectural hardware for discerning American architects and designers.
*/

/* ============================================
   CSS CUSTOM PROPERTIES - BRAND COLORS
   Based on Dawson Moor Visual Identity Guidelines
   ============================================ */
:root {
    /* Primary Brand Colors */
    --dm-orange: #FF4F0A;
    --dm-black: #000000;
    --dm-khaki-green: #3D3D2E;
    --dm-white-rock: #E5E3C9;
    
    /* Extended Palette */
    --dm-dark-gray: #0a0a0a;
    --dm-charcoal: #1a1a1a;
    --dm-medium-gray: #2a2a2a;
    --dm-light-gray: #f5f5f7;
    --dm-text-gray: #86868b;
    --dm-text-light: #f5f5f7;
    --dm-text-dark: #1d1d1f;
    
    /* Functional Colors */
    --dm-success: #34c759;
    --dm-warning: #ff9500;
    --dm-error: #ff3b30;
    
    /* Typography */
    --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 18px;
    --radius-2xl: 24px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(255, 79, 10, 0.15);
    
    /* Container */
    --container-max: 1400px;
    --container-narrow: 900px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dm-text-dark);
    background-color: var(--dm-light-gray);
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--dm-text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p {
    margin-bottom: 1em;
    color: var(--dm-text-gray);
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--dm-text-gray);
}

a {
    color: var(--dm-orange);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--dm-text-dark);
}

/* Text on dark backgrounds */
.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6 {
    color: var(--dm-text-light);
}

.dark-section p,
.dark-section .lead {
    color: rgba(255, 255, 255, 0.7);
}

.dark-section a {
    color: var(--dm-orange);
}

.dark-section a:hover {
    color: #fff;
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-5xl) 0;
}

.section-sm {
    padding: var(--space-3xl) 0;
}

.section-lg {
    padding: calc(var(--space-5xl) * 1.5) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--dm-orange);
    color: #fff;
}

.btn-primary:hover {
    background: #e64500;
    color: #fff;
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: var(--dm-charcoal);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--dm-medium-gray);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--dm-text-dark);
    border: 1.5px solid var(--dm-text-dark);
}

.btn-outline:hover {
    background: var(--dm-text-dark);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--dm-text-dark);
    border-color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--dm-orange);
    padding: 8px 16px;
}

.btn-ghost:hover {
    background: rgba(255, 79, 10, 0.1);
    color: var(--dm-orange);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* Link Style Button */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--dm-orange);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.link-arrow svg,
.link-arrow::after {
    transition: transform var(--transition-fast);
}

.link-arrow::after {
    content: '→';
    font-size: 1.1em;
}

.link-arrow:hover {
    gap: var(--space-sm);
    color: var(--dm-orange);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    height: 24px;
    width: auto;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color var(--transition-fast);
}

.main-nav a:hover {
    color: #fff;
}

.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    color: #fff;
}

/* Dropdown Menus */
.main-nav .menu-item-has-children {
    position: relative;
}

.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: rgba(29, 29, 31, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.main-nav .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-nav .sub-menu li {
    width: 100%;
}

.main-nav .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
}

.main-nav .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-search-toggle,
.header-cart-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.header-search-toggle:hover,
.header-cart-toggle:hover {
    color: #fff;
}

.header-cart-toggle {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    background: var(--dm-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #fff;
    transition: all var(--transition-fast);
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dm-black);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

/* Brand Overlay Pattern - Using the monogram shape */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Decorative brand element */
.hero-brand-element {
    position: absolute;
    right: -10%;
    bottom: -20%;
    width: 80%;
    height: 120%;
    z-index: 2;
    opacity: 0.03;
    background-image: url('assets/images/monogram.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: var(--space-3xl) var(--space-xl);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding: 8px 16px;
    background: rgba(255, 79, 10, 0.15);
    border: 1px solid rgba(255, 79, 10, 0.3);
    border-radius: var(--radius-full);
    color: var(--dm-orange);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    color: #fff;
    margin-bottom: var(--space-lg);
}

.hero h1 span {
    color: var(--dm-orange);
}

.hero .lead {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2xl);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* ============================================
   FEATURE SECTIONS
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-card-media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.feature-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.feature-card:hover .feature-card-media img {
    transform: scale(1.05);
}

.feature-card-content {
    padding: var(--space-xl);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

/* Large Feature Card */
.feature-card-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.feature-card-lg .feature-card-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 400px;
}

@media (max-width: 1024px) {
    .feature-card-lg {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .feature-card-lg {
        grid-column: span 1;
    }
}

/* ============================================
   PRODUCT SHOWCASE (Homepage)
   ============================================ */
.product-showcase {
    background: var(--dm-black);
    color: #fff;
}

.product-showcase-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.product-showcase h2 {
    color: #fff;
}

.product-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1200px) {
    .product-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .product-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-carousel {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--dm-charcoal);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.product-card:hover {
    background: var(--dm-medium-gray);
    transform: translateY(-4px);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--dm-medium-gray);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 6px 12px;
    background: var(--dm-orange);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.product-card-content {
    padding: var(--space-lg);
}

.product-card-brand {
    display: block;
    color: var(--dm-orange);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.product-card h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card-price {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands-section {
    background: var(--dm-light-gray);
}

.brands-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 900px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.brand-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.brand-card-logo {
    height: 60px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.brand-card:hover .brand-card-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-card h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.brand-card p {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.brand-card-origin {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--dm-text-gray);
    font-size: 0.75rem;
    font-weight: 500;
}

/* ============================================
   VALUE PROPOSITION SECTION
   ============================================ */
.value-section {
    background: var(--dm-charcoal);
    color: #fff;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}

.value-item {
    text-align: center;
    padding: var(--space-xl);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 79, 10, 0.1);
    border-radius: var(--radius-xl);
    color: var(--dm-orange);
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

.value-item h4 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.value-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin: 0;
}

/* ============================================
   FLAGSHIP PRODUCT SECTION
   ============================================ */
.flagship-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000;
    overflow: hidden;
}

.flagship-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.flagship-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, #000 70%);
    z-index: 2;
}

.flagship-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.flagship-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

@media (max-width: 1024px) {
    .flagship-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.flagship-text {
    color: #fff;
}

.flagship-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--dm-orange);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-lg);
}

.flagship-text h2 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
}

.flagship-text .lead {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
}

.flagship-features {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.flagship-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

@media (max-width: 1024px) {
    .flagship-feature {
        justify-content: center;
        text-align: left;
    }
}

.flagship-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 79, 10, 0.15);
    border-radius: var(--radius-md);
    color: var(--dm-orange);
}

.flagship-feature h5 {
    color: #fff;
    margin-bottom: 4px;
}

.flagship-feature p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.flagship-image {
    position: relative;
}

.flagship-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--dm-orange) 0%, #e64500 100%);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.cta-section .btn-outline-light:hover {
    background: #fff;
    color: var(--dm-orange);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dm-black);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    margin-bottom: var(--space-lg);
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-brand p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--dm-orange);
    color: #fff;
}

.footer-column h5 {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

.footer-copyright {
    font-size: 0.8125rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
}

.footer-links a:hover {
    color: #fff;
}

/* ============================================
   WOOCOMMERCE STYLES
   ============================================ */

/* Shop Archive */
.woocommerce-page {
    padding-top: 52px; /* Header height */
}

.woocommerce-products-header {
    background: var(--dm-black);
    color: #fff;
    padding: var(--space-4xl) 0;
    text-align: center;
}

.woocommerce-products-header h1 {
    color: #fff;
}

.woocommerce-products-header .term-description {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

/* Product Grid */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 1200px) {
    ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    ul.products {
        grid-template-columns: 1fr;
    }
}

ul.products li.product {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

ul.products li.product .woocommerce-loop-product__link {
    display: block;
}

ul.products li.product img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0;
}

ul.products li.product .woocommerce-loop-product__title {
    padding: var(--space-md) var(--space-lg) var(--space-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--dm-text-dark);
    margin: 0;
}

ul.products li.product .price {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 0.9375rem;
    color: var(--dm-text-gray);
}

ul.products li.product .price del {
    color: var(--dm-text-gray);
    opacity: 0.5;
}

ul.products li.product .price ins {
    color: var(--dm-orange);
    text-decoration: none;
    font-weight: 600;
}

ul.products li.product .button {
    display: none;
}

/* Product badges */
ul.products li.product .onsale {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 6px 12px;
    background: var(--dm-orange);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin: 0;
    min-width: auto;
    min-height: auto;
    line-height: 1;
}

/* Single Product */
.single-product .product {
    padding: var(--space-4xl) 0;
}

.single-product .woocommerce-product-gallery {
    background: var(--dm-light-gray);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.single-product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
}

.single-product .summary {
    padding: var(--space-xl) 0;
}

.single-product .product_title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.single-product .price {
    font-size: 1.5rem;
    color: var(--dm-text-dark);
    margin-bottom: var(--space-lg);
}

.single-product .woocommerce-product-details__short-description {
    color: var(--dm-text-gray);
    margin-bottom: var(--space-xl);
}

/* Add to cart button */
.single-product .single_add_to_cart_button {
    background: var(--dm-orange) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: var(--radius-xl) !important;
    transition: all var(--transition-base) !important;
}

.single-product .single_add_to_cart_button:hover {
    background: #e64500 !important;
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

/* Quantity input */
.single-product .quantity {
    display: flex;
    align-items: center;
}

.single-product .quantity .qty {
    width: 80px;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1rem;
}

/* Product tabs */
.woocommerce-tabs {
    margin-top: var(--space-4xl);
}

.woocommerce-tabs ul.tabs {
    display: flex;
    gap: var(--space-xs);
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: var(--dm-text-gray);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all var(--transition-fast);
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
    color: var(--dm-text-dark);
    border-bottom-color: var(--dm-orange);
}

/* Related products */
.related.products {
    margin-top: var(--space-4xl);
    padding-top: var(--space-4xl);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.related.products h2 {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

/* Cart */
.woocommerce-cart-form {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.woocommerce-cart-form table {
    margin: 0;
}

.woocommerce-cart-form th,
.woocommerce-cart-form td {
    padding: var(--space-lg);
    vertical-align: middle;
}

.woocommerce-cart-form thead {
    background: var(--dm-light-gray);
}

.woocommerce-cart-form .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.cart_totals {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.wc-proceed-to-checkout .checkout-button {
    background: var(--dm-orange) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    border-radius: var(--radius-xl) !important;
    width: 100%;
    transition: all var(--transition-base) !important;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: #e64500 !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    border: none;
}

.woocommerce-message {
    background: rgba(52, 199, 89, 0.1);
    color: var(--dm-success);
}

.woocommerce-info {
    background: rgba(255, 79, 10, 0.1);
    color: var(--dm-orange);
}

.woocommerce-error {
    background: rgba(255, 59, 48, 0.1);
    color: var(--dm-error);
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    padding: var(--space-lg) 0;
    font-size: 0.875rem;
    color: var(--dm-text-gray);
}

.woocommerce-breadcrumb a {
    color: var(--dm-text-gray);
}

.woocommerce-breadcrumb a:hover {
    color: var(--dm-orange);
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */

/* Standard Page */
.page-header {
    background: var(--dm-black);
    color: #fff;
    padding: calc(52px + var(--space-4xl)) 0 var(--space-4xl);
    text-align: center;
}

.page-header h1 {
    color: #fff;
}

.page-content {
    padding: var(--space-4xl) 0;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: var(--dm-charcoal);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    color: #fff;
}

.contact-info-card h3 {
    color: #fff;
    margin-bottom: var(--space-xl);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-info-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 79, 10, 0.15);
    border-radius: var(--radius-md);
    color: var(--dm-orange);
    flex-shrink: 0;
}

.contact-info-item h5 {
    color: #fff;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9375rem;
}

/* Forms */
.dm-form {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
}

.dm-form label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--dm-text-dark);
}

.dm-form input[type="text"],
.dm-form input[type="email"],
.dm-form input[type="tel"],
.dm-form textarea,
.dm-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    margin-bottom: var(--space-lg);
}

.dm-form input:focus,
.dm-form textarea:focus,
.dm-form select:focus {
    outline: none;
    border-color: var(--dm-orange);
}

.dm-form textarea {
    min-height: 150px;
    resize: vertical;
}

.dm-form button[type="submit"] {
    background: var(--dm-orange);
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.dm-form button[type="submit"]:hover {
    background: #e64500;
    transform: scale(1.02);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-orange { color: var(--dm-orange); }
.text-white { color: #fff; }
.text-dark { color: var(--dm-text-dark); }
.text-gray { color: var(--dm-text-gray); }

.bg-black { background-color: var(--dm-black); }
.bg-charcoal { background-color: var(--dm-charcoal); }
.bg-light { background-color: var(--dm-light-gray); }
.bg-white { background-color: #fff; }
.bg-orange { background-color: var(--dm-orange); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }

.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive utilities */
@media (max-width: 1024px) {
    .hide-tablet { display: none; }
}

@media (max-width: 640px) {
    .hide-mobile { display: none; }
}
