/*
Theme Name: Souk Tunisia
Theme URI: https://souk-tunisia.local
Author: Tunisia Artisans
Author URI: https://souk-tunisia.local
Description: A creative, mobile-first WordPress theme celebrating authentic Tunisian artisanal products. Inspired by the vibrant souks of Tunis, the blue streets of Sidi Bou Said, and the rich heritage of Tunisian craftsmanship. Features traditional zellige patterns, Mediterranean colors, and modern UI/UX design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: souk-tunisia
Tags: custom-menu, custom-logo, featured-images, full-width-template, translation-ready, e-commerce, woocommerce, one-column, two-columns

Authentic Tunisian Products - Crafted with Love
*/

/* ==========================================================================
   CSS Custom Properties - Traditional Tunisian Color Palette
   ========================================================================== */
:root {
    /* Primary Colors - Sidi Bou Said Inspiration */
    --souk-blue: #1E5AA8;
    --souk-blue-light: #4A90D9;
    --souk-blue-dark: #0D3A6E;
    --souk-blue-glow: rgba(30, 90, 168, 0.3);
    
    /* Tunisian Flag Colors */
    --tunisia-red: #C1272D;
    --tunisia-red-light: #E63946;
    --tunisia-red-dark: #9B1B20;
    
    /* Sahara & Desert Tones */
    --sahara-gold: #C9A227;
    --sahara-bright: #E6B422;
    --sahara-warm: #D4A84B;
    --desert-sand: #F5E6C8;
    --desert-cream: #FDF8E8;
    --desert-rose: #E8B4A8;
    
    /* Mediterranean Accents */
    --mediterranean-turquoise: #17A2B8;
    --olive-green: #5D6E1E;
    --olive-dark: #4A5A15;
    --terracotta: #C75B39;
    --terracotta-light: #E07B5A;
    
    /* Craft & Artisan Colors */
    --ceramic-white: #FFFDF5;
    --henna-brown: #8B4513;
    --leather-tan: #A67B5B;
    --copper-bronze: #B87333;
    --silver-filigree: #C0C0C0;
    --palm-green: #2E5939;
    
    /* Zellige Tile Colors */
    --zellige-blue: #1E5AA8;
    --zellige-green: #1D6F42;
    --zellige-gold: #C9A227;
    --zellige-white: #F5F0E1;
    --zellige-red: #C1272D;
    
    /* Neutral Tones */
    --charcoal: #1A1A2E;
    --charcoal-light: #2D2D44;
    --soft-white: #FAF8F5;
    --medina-beige: #D4C4A8;
    --stone-gray: #8B8B8B;
    --light-gray: #E8E4DC;
    
    /* Gradients - Tunisian Landscapes */
    --gradient-sidi-bou-said: linear-gradient(135deg, #1E5AA8 0%, #4A90D9 50%, #87CEEB 100%);
    --gradient-sahara-sunset: linear-gradient(135deg, #C1272D 0%, #E6B422 50%, #F5E6C8 100%);
    --gradient-mediterranean: linear-gradient(180deg, #0D3A6E 0%, #1E5AA8 50%, #87CEEB 100%);
    --gradient-olive-grove: linear-gradient(135deg, #4A5A15 0%, #5D6E1E 50%, #8BC34A 100%);
    --gradient-zellige: linear-gradient(45deg, #1E5AA8 25%, #1D6F42 50%, #C9A227 75%, #C1272D 100%);
    --gradient-desert: linear-gradient(135deg, #F5E6C8 0%, #D4C4A8 50%, #A67B5B 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 90, 168, 0.9) 0%, rgba(29, 111, 66, 0.8) 50%, rgba(201, 162, 39, 0.9) 100%);
    
    /* Typography */
    --font-primary: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Noto Sans JP', Georgia, serif;
    --font-arabic: 'Noto Sans JP', serif;
    --font-decorative: 'Noto Sans JP', 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;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    --radius-pill: 9999px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-glow-blue: 0 0 30px rgba(30, 90, 168, 0.4);
    --shadow-glow-gold: 0 0 30px rgba(201, 162, 39, 0.4);
    
    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-fast: 150ms var(--ease-smooth);
    --transition-normal: 300ms var(--ease-smooth);
    --transition-slow: 500ms var(--ease-smooth);
    
    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* ==========================================================================
   Performance Optimizations
   ========================================================================== */

/* GPU acceleration for animated elements */
.site-header,
.main-nav,
.sub-menu,
.hero-slider,
.menu-overlay {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduce paint on scroll */
.site-header.scrolled {
    will-change: auto;
}

/* Content visibility for off-screen sections */
.site-footer,
.related-products,
.about-products,
.about-tunisia {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* Optimize font rendering */
body {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduce layout shifts */
img, video, iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}

/* Smooth scroll only when reduced motion not preferred */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Disable animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--soft-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--souk-blue);
    color: var(--ceramic-white);
}

::-moz-selection {
    background: var(--souk-blue);
    color: var(--ceramic-white);
}

/* Focus States for Accessibility */
:focus-visible {
    outline: 3px solid var(--souk-blue-light);
    outline-offset: 2px;
}

/* Links */
a {
    color: var(--souk-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--souk-blue-dark);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Buttons Base */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--space-md);
}

/* Decorative Title */
.title-decorative {
    font-family: var(--font-decorative);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--sahara-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-sm);
}

/* Arabic Text */
.text-arabic {
    font-family: var(--font-arabic);
    direction: rtl;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    max-width: 1600px;
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.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);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.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: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Section Spacing */
.section {
    padding: var(--space-4xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

/* ==========================================================================
   Tunisian Decorative Patterns
   ========================================================================== */

/* Zellige Pattern Background */
.pattern-zellige {
    position: relative;
}

.pattern-zellige::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, var(--zellige-blue) 25%, transparent 25%),
        linear-gradient(-45deg, var(--zellige-blue) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--zellige-gold) 75%),
        linear-gradient(-45deg, transparent 75%, var(--zellige-green) 75%);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

/* Moroccan Star Pattern */
.pattern-star {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L35 25L55 30L35 35L30 55L25 35L5 30L25 25Z' fill='none' stroke='%23C9A227' stroke-width='1' opacity='0.2'/%3E%3C/svg%3E");
}

/* Decorative Border */
.border-ornate {
    border: 2px solid var(--sahara-gold);
    position: relative;
}

.border-ornate::before,
.border-ornate::after {
    content: '◆';
    position: absolute;
    color: var(--sahara-gold);
    font-size: 12px;
}

.border-ornate::before {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.border-ornate::after {
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

/* Section Divider */
.divider-ornate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-2xl) 0;
}

.divider-ornate::before,
.divider-ornate::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sahara-gold), transparent);
}

.divider-ornate .icon {
    color: var(--sahara-gold);
    font-size: 1.5rem;
}

/* ==========================================================================
   Header & Navigation - Modern Redesign
   ========================================================================== */

/* Promo Bar */
.promo-bar {
    background: linear-gradient(135deg, var(--souk-blue) 0%, var(--souk-blue-dark) 100%);
    color: white;
    padding: var(--space-sm) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: calc(var(--z-fixed) + 1);
}

.promo-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    to { left: 100%; }
}

.promo-content {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.promo-icon {
    color: var(--sahara-gold);
    font-size: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

.promo-text {
    display: inline-block;
}

@media (max-width: 768px) {
    .promo-text {
        font-size: 0.75rem;
    }
}

/* Site Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 253, 245, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.site-header.scrolled {
    background: rgba(255, 253, 245, 1);
    border-bottom-color: rgba(201, 162, 39, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--space-2xl);
    padding: var(--space-md) 0;
}

/* Logo Redesign */
.site-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-wrapper img {
    height: 60px;
    width: auto;
    transition: var(--transition-normal);
    filter: drop-shadow(0 2px 8px rgba(30, 90, 168, 0.1));
}

.logo-wrapper:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(30, 90, 168, 0.2));
}

.logo-wrapper .custom-logo {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-icon {
    color: var(--sahara-gold);
    font-size: 1.8rem;
    animation: rotate 20s linear infinite;
    margin-right: var(--space-sm);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.logo-name span {
    background: linear-gradient(135deg, var(--souk-blue) 0%, var(--souk-blue-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--stone-gray);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Main Navigation - Enhanced with Dropdown */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-wrapper {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--charcoal);
    padding: var(--space-md) var(--space-lg);
    position: relative;
    transition: all 0.3s ease;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    letter-spacing: 0.3px;
}

.nav-menu > li > a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 90, 168, 0.08) 0%, rgba(201, 162, 39, 0.08) 100%);
    border-radius: var(--radius-pill);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-menu > li > a:hover::before,
.nav-menu > li.current-menu-item > a::before,
.nav-menu > li.has-dropdown:hover > a::before {
    width: 100%;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.has-dropdown:hover > a {
    color: var(--souk-blue);
}

.nav-menu > li.current-menu-item > a {
    font-weight: 700;
}

/* Dropdown Icon */
.dropdown-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: var(--sahara-gold);
}

.has-dropdown:hover > a .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown/Submenu Styles */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: var(--space-sm) 0;
    margin-top: var(--space-sm);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(201, 162, 39, 0.1);
}

.has-dropdown:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
    position: relative;
}

.sub-menu li a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
}

.sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--souk-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sub-menu li a:hover {
    background: rgba(30, 90, 168, 0.05);
    color: var(--souk-blue);
    padding-left: calc(var(--space-lg) + 8px);
}

.sub-menu li a:hover::before {
    transform: scaleY(1);
}

.sub-menu li.current-menu-item > a {
    background: rgba(30, 90, 168, 0.08);
    color: var(--souk-blue);
    font-weight: 600;
}

.sub-menu li.current-menu-item > a::before {
    transform: scaleY(1);
}

/* Nested Submenu (Third Level) */
.sub-menu .sub-menu {
    left: 100%;
    top: 0;
    margin-top: 0;
    margin-left: var(--space-xs);
}

.sub-menu .has-dropdown > a::after {
    content: '\u25b8';
    position: absolute;
    right: var(--space-lg);
    color: var(--sahara-gold);
    font-size: 0.75rem;
}

/* Header Actions - Redesigned */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-actions .action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    color: var(--charcoal);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    background: transparent;
}

.header-actions .action-btn:hover {
    background: linear-gradient(135deg, rgba(30, 90, 168, 0.08) 0%, rgba(201, 162, 39, 0.08) 100%);
    color: var(--souk-blue);
    transform: translateY(-2px);
}

.action-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.action-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-actions .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--tunisia-red) 0%, var(--tunisia-red-dark) 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(193, 39, 45, 0.3);
    animation: bounce-in 0.5s ease;
}

@keyframes bounce-in {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Mobile Menu Toggle - Enhanced */
.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: var(--space-sm);
    cursor: pointer;
    background: transparent;
    border: none;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle-icon span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.menu-toggle.active .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-toggle-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Search Bar - Redesigned */
.header-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform-origin: top;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-2xl);
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--desert-cream);
    border-radius: var(--radius-pill);
    padding: var(--space-sm);
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.search-form:focus-within {
    border-color: var(--souk-blue);
    box-shadow: 0 0 0 4px rgba(30, 90, 168, 0.1);
}

.search-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-md);
    color: var(--souk-blue);
    font-size: 1.25rem;
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: var(--space-md) 0;
    font-size: 1.1rem;
    color: var(--charcoal);
    font-family: var(--font-primary);
}

.search-field:focus {
    outline: none;
}

.search-field::placeholder {
    color: var(--stone-gray);
}

.search-submit {
    padding: var(--space-md) var(--space-2xl);
    background: linear-gradient(135deg, var(--souk-blue) 0%, var(--souk-blue-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 90, 168, 0.3);
}

.search-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--desert-cream);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--charcoal);
    transition: var(--transition-normal);
}

.search-close:hover {
    background: var(--tunisia-red);
    color: white;
    transform: rotate(90deg);
}

/* Mobile Navigation Footer */
.mobile-nav-footer {
    display: none;
    margin-top: auto;
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--light-gray);
}

.mobile-social {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.mobile-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--desert-cream);
    color: var(--souk-blue);
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.mobile-social a:hover {
    background: var(--souk-blue);
    color: white;
    transform: translateY(-3px);
}

.mobile-contact {
    text-align: center;
    font-size: 0.85rem;
    color: var(--stone-gray);
}

.mobile-contact a {
    color: var(--souk-blue);
    font-weight: 600;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .header-inner {
        grid-template-columns: auto 1fr auto auto;
        gap: var(--space-md);
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 420px;
        height: 100vh;
        background: var(--ceramic-white);
        flex-direction: column;
        padding: var(--space-2xl) var(--space-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
        z-index: var(--z-modal);
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

    .nav-wrapper {
        width: 100%;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-menu > li:last-child {
        border-bottom: none;
    }

    .nav-menu > li > a {
        font-size: 1.1rem;
        display: flex;
        justify-content: space-between;
        padding: var(--space-lg) var(--space-md);
        border-radius: 0;
    }

    .nav-menu > li > a::before {
        display: none;
    }

    .nav-menu > li > a:hover {
        background: rgba(30, 90, 168, 0.05);
        padding-left: var(--space-lg);
    }

    /* Mobile Dropdown Styles */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(30, 90, 168, 0.03);
    }

    .has-dropdown.active > .sub-menu {
        max-height: 500px;
    }

    .sub-menu li a {
        padding-left: calc(var(--space-lg) + var(--space-md));
        font-size: 0.95rem;
    }

    .sub-menu .sub-menu li a {
        padding-left: calc(var(--space-lg) + var(--space-2xl));
    }

    .dropdown-icon {
        transition: transform 0.3s ease;
    }

    .has-dropdown.active > a .dropdown-icon {
        transform: rotate(180deg);
    }

    .mobile-nav-footer {
        display: block;
    }

    .action-label {
        display: none;
    }

    .header-actions .action-btn {
        padding: var(--space-sm);
    }

    .search-container {
        padding: var(--space-lg);
    }

    .search-form {
        padding: var(--space-xs);
    }

    .search-field {
        font-size: 1rem;
    }

    .search-submit {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .promo-bar {
        padding: var(--space-xs) 0;
    }

    .promo-content {
        font-size: 0.75rem;
        gap: var(--space-sm);
        flex-wrap: wrap;
    }

    .promo-text {
        font-size: 0.7rem;
    }

    .header-container {
        padding: 0 var(--space-md);
    }

    .header-inner {
        padding: var(--space-sm) 0;
        gap: var(--space-sm);
    }

    .logo-wrapper img,
    .logo-wrapper .custom-logo {
        height: 50px;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .logo-name {
        font-size: 1.4rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .header-actions {
        gap: var(--space-xs);
    }

    .action-icon {
        font-size: 1.1rem;
    }

    .main-nav {
        max-width: 100%;
        padding: var(--space-xl) var(--space-md);
    }

    .search-close {
        top: var(--space-sm);
        right: var(--space-sm);
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .promo-text {
        display: block;
        width: 100%;
        text-align: center;
    }

    .promo-icon {
        display: none;
    }

    .logo-wrapper img,
    .logo-wrapper .custom-logo {
        height: 45px;
    }

    .logo-icon {
        font-size: 1.3rem;
        margin-right: var(--space-xs);
    }

    .logo-name {
        font-size: 1.25rem;
    }

    .logo-tagline {
        display: none;
    }

    .action-icon {
        font-size: 1rem;
    }

    .header-actions .cart-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    .search-form {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .search-icon-wrapper {
        display: none;
    }

    .search-submit {
        width: 100%;
    }
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: var(--z-modal-backdrop);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-sidi-bou-said);
    margin-top: 0;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-dots {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-top: var(--space-2xl);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-normal);
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--sahara-gold);
    border-color: var(--sahara-gold);
    transform: scale(1.2);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: var(--space-xl);
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--sahara-bright);
    display: block;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.95;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

/* Animated Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: var(--transition-normal);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--sahara-gold);
    color: var(--charcoal);
    border-color: var(--sahara-gold);
}

.btn-primary:hover {
    background: var(--sahara-bright);
    border-color: var(--sahara-bright);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
    color: var(--charcoal);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--charcoal);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--souk-blue);
    border-color: var(--souk-blue);
}

.btn-outline:hover {
    background: var(--souk-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

.btn-dark {
    background: var(--charcoal);
    color: white;
    border-color: var(--charcoal);
}

.btn-dark:hover {
    background: var(--charcoal-light);
    border-color: var(--charcoal-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header .subtitle {
    font-family: var(--font-decorative);
    font-size: 1.25rem;
    color: var(--sahara-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.section-header .subtitle::before,
.section-header .subtitle::after {
    content: '✦';
    font-size: 0.75rem;
}

.section-header h2 {
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--stone-gray);
    font-size: 1.1rem;
}

/* ==========================================================================
   Featured Categories
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1.2;
    cursor: pointer;
    group: true;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    transition: var(--transition-normal);
}

.category-card:hover::before {
    background: linear-gradient(180deg, rgba(30, 90, 168, 0.3) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.category-card:hover .category-card-content {
    transform: translateY(0);
}

.category-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.category-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    opacity: 0;
    transition: var(--transition-normal);
}

.category-card:hover p {
    opacity: 1;
}

.category-card .explore-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--sahara-bright);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-card .explore-link svg {
    transition: var(--transition-fast);
}

.category-card:hover .explore-link svg {
    transform: translateX(5px);
}

/* ==========================================================================
   Product Cards
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Product Showcase Grid - Visual Gallery */
.products-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: var(--space-md);
}

@media (max-width: 992px) {
    .products-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 240px;
    }
}

@media (max-width: 576px) {
    .products-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.showcase-item.showcase-large {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 576px) {
    .showcase-item.showcase-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sahara-gold);
    display: block;
    margin-bottom: var(--space-xs);
}

.showcase-overlay h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: white;
}

.showcase-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sahara-gold);
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--desert-cream);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    z-index: 2;
}

.product-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: var(--tunisia-red);
    color: white;
}

.badge-new {
    background: var(--souk-blue);
    color: white;
}

.badge-handmade {
    background: var(--sahara-gold);
    color: var(--charcoal);
}

/* Product Quick Actions */
.product-actions {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-normal);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    color: var(--charcoal);
}

.product-action-btn:hover {
    background: var(--souk-blue);
    color: white;
    transform: scale(1.1);
}

.product-action-btn.liked {
    background: var(--tunisia-red);
    color: white;
}

/* Product Info */
.product-card-info {
    padding: var(--space-lg);
}

.product-category {
    font-size: 0.75rem;
    color: var(--souk-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}

.product-card h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card h3 a {
    color: var(--charcoal);
}

.product-card h3 a:hover {
    color: var(--souk-blue);
}

/* Product Price */
.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.product-price .current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--souk-blue);
}

.product-price .original-price {
    font-size: 0.9rem;
    color: var(--stone-gray);
    text-decoration: line-through;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.product-rating .stars {
    display: flex;
    gap: 2px;
    color: var(--sahara-gold);
}

.product-rating .stars svg {
    width: 14px;
    height: 14px;
}

.product-rating .count {
    font-size: 0.8rem;
    color: var(--stone-gray);
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: var(--space-md);
    background: var(--charcoal);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.add-to-cart-btn:hover {
    background: var(--souk-blue);
    color: white;
}

.add-to-cart-btn svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   About/Story Section
   ========================================================================== */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.about-images .image-main {
    grid-column: span 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-images .image-secondary {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .subtitle {
    font-family: var(--font-decorative);
    font-size: 1.25rem;
    color: var(--sahara-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-sm);
}

.about-content h2 {
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--stone-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.about-feature {
    display: flex;
    gap: var(--space-md);
}

.about-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--desert-cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--souk-blue);
}

.about-feature-icon svg {
    width: 28px;
    height: 28px;
}

.about-feature h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--stone-gray);
    margin: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L35 25L55 30L35 35L30 55L25 35L5 30L25 25Z' fill='none' stroke='%23C9A227' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.testimonials-section .section-header .subtitle {
    color: var(--sahara-gold);
}

.testimonials-section .section-header h2 {
    color: white;
}

.testimonials-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--sahara-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--sahara-gold);
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.testimonial-author img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    border: 3px solid var(--sahara-gold);
    object-fit: cover;
}

.testimonial-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--gradient-sidi-bou-said);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 3px solid var(--sahara-gold);
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-author-info h4 {
    color: white;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.testimonial-author-info p {
    color: var(--sahara-gold);
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   Instagram Gallery Section
   ========================================================================== */
.instagram-section {
    overflow: hidden;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
}

@media (max-width: 992px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 90, 168, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.instagram-overlay svg {
    width: 32px;
    height: 32px;
    color: white;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover .instagram-overlay svg {
    transform: scale(1);
}

/* ==========================================================================
   Parallax Banner Section
   ========================================================================== */
.parallax-banner {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .parallax-banner {
        background-attachment: scroll;
        min-height: 400px;
    }
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 90, 168, 0.85) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: var(--space-2xl);
    max-width: 1000px;
}

.parallax-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.parallax-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
}

.parallax-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .parallax-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--sahara-gold);
    line-height: 1;
    margin-bottom: var(--space-xs);
    font-family: var(--font-heading);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
    background: var(--gradient-sahara-sunset);
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-content .subtitle {
    color: var(--charcoal);
    opacity: 0.8;
}

.newsletter-content h2 {
    color: var(--charcoal);
}

.newsletter-content p {
    color: var(--charcoal);
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    background: white;
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--charcoal);
}

.newsletter-form button {
    padding: var(--space-md) var(--space-2xl);
    background: var(--charcoal);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    background: var(--souk-blue);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-zellige);
}

.footer-main {
    padding: var(--space-4xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-brand .footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-brand .logo-text span {
    color: var(--sahara-gold);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--sahara-gold);
    color: var(--charcoal);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--sahara-gold);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-links a:hover {
    color: var(--sahara-gold);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-contact li svg {
    width: 20px;
    height: 20px;
    color: var(--sahara-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-contact-social a svg {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-contact-social a:hover {
    background: var(--sahara-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

.footer-payments {
    display: flex;
    gap: var(--space-sm);
}

.footer-payments img {
    height: 30px;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer-payments img:hover {
    opacity: 1;
}

/* ==========================================================================
   WooCommerce Overrides
   ========================================================================== */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1200px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

.woocommerce ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce .products .product {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.woocommerce .products .product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.woocommerce .products .product a img {
    margin: 0;
    border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    padding: var(--space-md) var(--space-lg) var(--space-sm);
    color: var(--charcoal);
}

.woocommerce ul.products li.product .price {
    padding: 0 var(--space-lg);
    font-size: 1.1rem;
    color: var(--souk-blue);
    font-weight: 700;
}

.woocommerce ul.products li.product .button {
    margin: var(--space-md) var(--space-lg) var(--space-lg);
    padding: var(--space-md);
    background: var(--charcoal);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    width: calc(100% - var(--space-lg) * 2);
    text-align: center;
    transition: var(--transition-normal);
}

.woocommerce ul.products li.product .button:hover {
    background: var(--souk-blue);
}

.woocommerce span.onsale {
    background: var(--tunisia-red);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    min-width: auto;
    min-height: auto;
    line-height: 1.4;
}

/* Single Product */
.woocommerce div.product {
    padding: var(--space-3xl) 0;
}

.woocommerce div.product .product_title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--charcoal);
}

.woocommerce div.product p.price {
    font-size: 1.75rem;
    color: var(--souk-blue);
    font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin-bottom: var(--space-lg);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-weight: 600;
    color: var(--charcoal);
}

.woocommerce div.product form.cart .button {
    background: var(--souk-blue);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-2xl);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-normal);
}

.woocommerce div.product form.cart .button:hover {
    background: var(--souk-blue-dark);
}

/* Cart */
.woocommerce-cart .woocommerce {
    padding: var(--space-3xl) 0;
}

.woocommerce table.shop_table {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.woocommerce .cart-collaterals .cart_totals {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.woocommerce a.button.wc-forward,
.woocommerce .checkout-button {
    background: var(--souk-blue) !important;
    border-radius: var(--radius-md) !important;
    padding: var(--space-md) var(--space-2xl) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: var(--transition-normal) !important;
}

.woocommerce a.button.wc-forward:hover,
.woocommerce .checkout-button:hover {
    background: var(--souk-blue-dark) !important;
}

/* ==========================================================================
   Page Templates - Modern UI/UX
   ========================================================================== */
.page-header {
    background: linear-gradient(135deg, var(--souk-blue) 0%, var(--souk-blue-dark) 100%);
    padding: calc(var(--space-lg) + 80px) 0 var(--space-md);
    color: white;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(180deg, transparent, var(--soft-white));
    pointer-events: none;
}

/* Product Header - Modern Design */
.product-header {
    padding: calc(var(--space-md) + 80px) 0 var(--space-sm);
    background: linear-gradient(135deg, var(--souk-blue) 0%, #143d73 100%);
}

.product-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Product Navigation */
.product-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

/* Back to Shop Link */
.back-to-shop {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.back-to-shop:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-3px);
}

.back-to-shop svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.back-to-shop:hover svg {
    transform: translateX(-2px);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb .sep {
    opacity: 0.5;
    margin: 0 2px;
}

/* WooCommerce Breadcrumb Override */
.woocommerce-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
}

.woocommerce-breadcrumb a {
    color: white;
    opacity: 0.8;
}

.woocommerce-breadcrumb a:hover {
    opacity: 1;
}

/* Product Badges */
.product-badges {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.badge-category {
    background: rgba(201, 162, 39, 0.2);
    color: var(--sahara-gold);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.badge-category:hover {
    background: rgba(201, 162, 39, 0.35);
    color: #e0b82f;
    transform: translateY(-1px);
}

.badge-sale {
    background: var(--tunisia-red);
    color: white;
    animation: pulse-badge 2s infinite;
}

.badge-soldout {
    background: rgba(100, 100, 100, 0.8);
    color: white;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(193, 39, 45, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(193, 39, 45, 0); }
}

/* Standard Page Headers */
.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin: 0;
}

.page-content {
    padding: var(--space-3xl) 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-header {
        padding: calc(var(--space-sm) + 70px) 0 var(--space-xs);
    }
    
    .product-nav {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }
    
    .back-to-shop {
        order: 1;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .back-to-shop span {
        display: none;
    }
    
    .breadcrumb-nav {
        order: 3;
        flex: 100%;
        justify-content: flex-start;
        margin-top: var(--space-xs);
    }
    
    .product-badges {
        order: 2;
        margin-left: auto;
    }
    
    .woocommerce-breadcrumb {
        font-size: 0.65rem;
    }
    
    .badge {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s var(--ease-smooth) forwards;
}

.animate-fade-down {
    animation: fadeInDown 0.6s var(--ease-smooth) forwards;
}

.animate-fade-left {
    animation: fadeInLeft 0.6s var(--ease-smooth) forwards;
}

.animate-fade-right {
    animation: fadeInRight 0.6s var(--ease-smooth) forwards;
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--light-gray) 25%, var(--soft-white) 50%, var(--light-gray) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-white {
    color: white;
}

.text-gold {
    color: var(--sahara-gold);
}

.text-blue {
    color: var(--souk-blue);
}

.bg-white {
    background: white;
}

.bg-cream {
    background: var(--desert-cream);
}

.bg-dark {
    background: var(--charcoal);
}

.hidden {
    display: none !important;
}

.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 Visibility */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .show-mobile-only {
        display: none !important;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .product-actions {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-page {
    background: var(--soft-white);
}

/* Contact Header */
.contact-header {
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--souk-blue) 0%, #143d73 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.contact-header-content {
    position: relative;
    z-index: 1;
}

.contact-header .header-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sahara-gold);
    margin-bottom: var(--space-lg);
}

.contact-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.contact-header .header-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

.header-decoration {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.header-decoration svg {
    width: 100%;
    height: auto;
}

/* Contact Section */
.contact-section {
    padding: var(--space-4xl) 0;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-3xl);
    align-items: start;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--souk-blue) 0%, #143d73 100%);
    border-radius: var(--radius-md);
    color: white;
}

.info-content h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--souk-blue);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.info-content a {
    color: var(--text-color);
    transition: color 0.2s ease;
}

.info-content a:hover {
    color: var(--souk-blue);
}

.info-note {
    display: inline-block;
    margin-top: var(--space-xs);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--soft-white);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* Social Links */
.social-links {
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--souk-blue) 0%, #143d73 100%);
    border-radius: var(--radius-lg);
    text-align: center;
}

.social-links h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: white;
    color: var(--souk-blue);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-sm);
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-fallback .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--space-sm);
}

.form-group .required {
    color: var(--tunisia-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--souk-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 90, 168, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 400;
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--souk-blue);
}

.form-checkbox a {
    color: var(--souk-blue);
    text-decoration: underline;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 90, 168, 0.3);
}

.btn-submit svg {
    transition: transform 0.2s ease;
}

.btn-submit:hover svg {
    transform: translateX(3px);
}

/* Map Section */
.map-section {
    padding: var(--space-4xl) 0;
    background: white;
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    position: relative;
    height: 400px;
}

.map-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e8f0f8 0%, #d0e2f0 100%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%231E5AA8' fill-opacity='0.08'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 90, 168, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.map-content {
    text-align: center;
    color: white;
    padding: var(--space-2xl);
}

.map-content svg {
    margin-bottom: var(--space-lg);
    opacity: 0.9;
}

.map-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.map-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    background: transparent;
    border: 2px solid white;
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--souk-blue);
}

/* FAQ Teaser */
.faq-teaser {
    padding: var(--space-3xl) 0;
    background: var(--soft-white);
}

.faq-teaser-content {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.faq-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sahara-gold) 0%, #a88520 100%);
    border-radius: var(--radius-lg);
    color: white;
}

.faq-text {
    flex: 1;
}

.faq-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-color);
}

.faq-text p {
    color: var(--text-muted);
    margin: 0;
}

/* Contact Form 7 Overrides */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fafafa;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--souk-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 90, 168, 0.1);
}

.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 90, 168, 0.3);
}

/* Contact Page Mobile Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .social-links {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding: calc(var(--space-2xl) + 80px) 0 var(--space-3xl);
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-section {
        padding: var(--space-2xl) 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: var(--space-lg);
    }
    
    .contact-form-wrapper {
        padding: var(--space-xl);
    }
    
    .contact-form-fallback .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .faq-teaser-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.about-page {
    background: var(--soft-white);
}

/* About Header */
.about-header {
    padding: calc(var(--space-3xl) + 80px) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--souk-blue) 0%, #143d73 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.about-header-content {
    position: relative;
    z-index: 1;
}

.about-header .header-label,
.section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sahara-gold);
    margin-bottom: var(--space-lg);
}

.about-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.about-header .header-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* Mission Section */
.about-mission {
    padding: var(--space-4xl) 0;
    background: white;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.mission-content .section-label {
    background: rgba(30, 90, 168, 0.1);
    border-color: rgba(30, 90, 168, 0.2);
    color: var(--souk-blue);
}

.mission-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-xl);
    line-height: 1.3;
}

.mission-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.mission-values {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sahara-gold) 0%, #a88520 100%);
    border-radius: var(--radius-md);
    color: white;
}

.value-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Mission Image */
.mission-image {
    position: relative;
}

.mission-image .image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #e8f0f8 0%, #d0e2f0 100%);
}

.mission-image .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-image .image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--souk-blue);
    opacity: 0.3;
}

.mission-image .image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--sahara-gold) 0%, #a88520 100%);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* Story Section */
.about-story {
    padding: var(--space-4xl) 0;
    background: var(--soft-white);
}

.story-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.story-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-top: var(--space-md);
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--souk-blue) 0%, var(--sahara-gold) 100%);
}

.timeline-item {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 3px solid var(--souk-blue);
    border-radius: 50%;
    z-index: 1;
}

.timeline-marker span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--souk-blue);
}

.timeline-content {
    flex: 1;
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--souk-blue);
    margin-bottom: var(--space-sm);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Tunisia Section */
.about-tunisia {
    padding: var(--space-4xl) 0;
    background: white;
}

.tunisia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.image-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
    height: 500px;
}

.collage-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collage-main {
    grid-row: 1 / 3;
}

.collage-item .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.collage-item .image-placeholder.blue {
    background: linear-gradient(135deg, var(--souk-blue) 0%, #143d73 100%);
}

.collage-item .image-placeholder.gold {
    background: linear-gradient(135deg, var(--sahara-gold) 0%, #a88520 100%);
}

.collage-item .image-placeholder.red {
    background: linear-gradient(135deg, var(--tunisia-red) 0%, #9a1f24 100%);
}

.tunisia-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-top: var(--space-md);
    margin-bottom: var(--space-xl);
}

.tunisia-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.tunisia-facts {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid #eee;
}

.fact-item {
    text-align: center;
}

.fact-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--souk-blue);
    line-height: 1;
}

.fact-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* Products Section */
.about-products {
    padding: var(--space-4xl) 0;
    background: var(--soft-white);
}

.products-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.products-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.products-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.product-category-card {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--souk-blue) 0%, #143d73 100%);
    border-radius: 50%;
    color: white;
    margin: 0 auto var(--space-lg);
}

.product-category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-sm);
}

.product-category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.about-cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--souk-blue) 0%, #143d73 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--souk-blue);
}

/* Social Section */
.about-social {
    padding: var(--space-3xl) 0;
    background: white;
}

.social-content {
    text-align: center;
}

.social-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-sm);
}

.social-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-2xl);
    background: var(--soft-white);
    border-radius: var(--radius-lg);
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link-card:hover {
    background: var(--souk-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 90, 168, 0.3);
}

/* About Page Mobile Responsive */
@media (max-width: 992px) {
    .mission-grid,
    .tunisia-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .mission-image {
        order: -1;
    }
    
    .mission-image .image-wrapper {
        aspect-ratio: 16/9;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .image-collage {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: calc(var(--space-2xl) + 80px) 0 var(--space-3xl);
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .about-mission,
    .about-story,
    .about-tunisia,
    .about-products,
    .about-cta {
        padding: var(--space-2xl) 0;
    }
    
    .story-timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
    }
    
    .timeline-marker span {
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: var(--space-lg);
    }
    
    .tunisia-facts {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .fact-number {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-category-card {
        padding: var(--space-xl);
    }
    
    .social-links-large {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link-card {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   SEO ENHANCEMENT STYLES
   ============================================ */

/* Table of Contents */
.table-of-contents {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table-of-contents h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--souk-blue, #1E5AA8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-of-contents h4::before {
    content: '📑';
}

.table-of-contents ol {
    margin: 0;
    padding-left: 1.5rem;
    counter-reset: toc-counter;
}

.table-of-contents li {
    margin: 0.5rem 0;
    line-height: 1.5;
    counter-increment: toc-counter;
}

.table-of-contents li::marker {
    color: var(--sahara-gold, #C9A227);
    font-weight: 600;
}

.table-of-contents a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.table-of-contents a:hover {
    color: var(--souk-blue, #1E5AA8);
    padding-left: 0.25rem;
}

.table-of-contents .toc-sub {
    font-size: 0.9em;
    margin-left: 1rem;
}

/* Reading Time */
.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0f7ff;
    border: 1px solid #d0e3f7;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #4a6fa5;
    margin-bottom: 1.5rem;
}

.reading-time-icon {
    font-size: 1rem;
}

/* Auto-linked keywords */
a.auto-link {
    color: var(--souk-blue, #1E5AA8);
    text-decoration: none;
    border-bottom: 1px dotted var(--souk-blue, #1E5AA8);
    transition: border-color 0.2s ease;
}

a.auto-link:hover {
    border-bottom-style: solid;
}

/* Breadcrumb SEO Styles */
.breadcrumbs,
.woocommerce-breadcrumb {
    font-size: 0.875rem;
    color: #6c757d;
    padding: 0.75rem 0;
}

.breadcrumbs a,
.woocommerce-breadcrumb a {
    color: var(--souk-blue, #1E5AA8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover {
    color: var(--sahara-gold, #C9A227);
}

.breadcrumb-sep {
    margin: 0 0.5rem;
    color: #adb5bd;
}

/* Schema-friendly product cards */
.product-card[itemscope] {
    position: relative;
}

/* Screen reader only but SEO visible */
.sr-only-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Content visibility for CWV */
.related-products,
.cross-sells,
.upsells {
    content-visibility: auto;
    contain-intrinsic-size: 400px;
}

/* FAQ Schema styling (if FAQ page exists) */
.faq-item {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 600;
    color: var(--souk-blue, #1E5AA8);
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question::before {
    content: 'Q.';
    color: var(--sahara-gold, #C9A227);
    font-weight: 700;
}

.faq-answer {
    color: #495057;
    line-height: 1.7;
    padding-left: 1.5rem;
}

.faq-answer::before {
    content: 'A.';
    color: var(--tunisia-red, #C1272D);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Structured data helper styles */
[itemprop="name"] {
    font-weight: 500;
}

[itemprop="description"] {
    line-height: 1.7;
}

/* Article metadata */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Print styles for SEO (Google indexes printed version too) */
@media print {
    .table-of-contents {
        page-break-inside: avoid;
        border: 1px solid #000;
    }
    
    .reading-time {
        display: none;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    a.auto-link::after {
        content: none;
    }
}

/* ============================================
   ADVANCED SEO STYLES - PHASE 4
   ============================================ */

/* Author Box */
.author-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    margin: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    border-left: 4px solid var(--souk-blue, #1E5AA8);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
}

.author-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-name a {
    color: var(--souk-blue, #1E5AA8);
    text-decoration: none;
}

.author-name a:hover {
    color: var(--sahara-gold, #C9A227);
}

.author-bio {
    margin: 0 0 0.75rem 0;
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.6;
}

.author-link {
    display: inline-block;
    color: var(--sahara-gold, #C9A227);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-link:hover {
    color: var(--souk-blue, #1E5AA8);
}

/* Related Products in Posts */
.seo-related-products {
    margin: 3rem 0;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

.seo-related-products h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    color: var(--souk-blue, #1E5AA8);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-product-item {
    display: block;
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s ease;
}

.related-product-item:hover {
    transform: translateY(-4px);
}

.related-product-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.related-product-item span {
    display: block;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

/* YouTube Facade (lazy load) */
.youtube-facade {
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    transition: transform 0.2s ease;
}

.youtube-facade:hover {
    transform: scale(1.02);
}

/* Popular Posts Widget */
.popular-posts-widget {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
}

.popular-posts-widget h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: var(--souk-blue, #1E5AA8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popular-posts-widget h4::before {
    content: '🔥';
}

.popular-post-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.popular-post-item:last-child {
    border-bottom: none;
}

.popular-post-rank {
    width: 24px;
    height: 24px;
    background: var(--sahara-gold, #C9A227);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-post-title {
    flex: 1;
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

.popular-post-title:hover {
    color: var(--souk-blue, #1E5AA8);
}

/* Comparison Table Styles */
table.comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}

table.comparison th {
    background: var(--souk-blue, #1E5AA8);
    color: white;
    padding: 1rem;
    text-align: left;
}

table.comparison td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

table.comparison tr:nth-child(even) {
    background: #f8f9fa;
}

table.comparison tr:hover {
    background: #e9f0f8;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--sahara-gold, #C9A227);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: #333;
}

.testimonial-rating {
    color: #f5c518;
    font-size: 0.9rem;
}

/* Admin Bar SEO Link */
#wp-admin-bar-seo-test .ab-icon::before {
    content: '📊';
    top: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* ============================================
   ADVANCED SEO STYLES - PHASE 6 (FINAL)
   ============================================ */

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 0;
    margin: 1rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #495057;
    background: #f8f9fa;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.trust-badges .badge span {
    font-size: 1rem;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.social-share .share-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--souk-blue, #1E5AA8);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-share a:hover {
    transform: scale(1.1);
    background: var(--sahara-gold, #C9A227);
}

/* Local NAP (Name, Address, Phone) */
.local-nap {
    padding: 2rem;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--souk-blue, #1E5AA8);
}

.local-nap [itemprop="name"] {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--souk-blue, #1E5AA8);
    margin-bottom: 1rem;
}

.local-nap [itemprop="address"] {
    margin-bottom: 0.5rem;
    color: #495057;
}

.local-nap [itemprop="telephone"],
.local-nap [itemprop="email"] {
    color: #495057;
    margin-bottom: 0.25rem;
}

.local-nap iframe {
    margin-top: 1rem;
    border-radius: 8px;
}

/* AMP Indicator */
.amp-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00c853;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 9999;
}

/* Course/Job/Recipe Cards */
.schema-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s ease;
}

.schema-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.schema-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--souk-blue, #1E5AA8);
    margin-bottom: 0.75rem;
}

.schema-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.schema-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Verification Badges */
.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.verification-badge::before {
    content: '✓';
    font-weight: bold;
}

/* Legal Pages */
.legal-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
}

.legal-page-content h2 {
    color: var(--souk-blue, #1E5AA8);
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.legal-page-content ul {
    padding-left: 1.5rem;
}

/* Cart/Checkout Trust Indicators */
.checkout-trust {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkout-trust-icon {
    font-size: 2rem;
}

.checkout-trust-text {
    font-size: 0.9rem;
    color: #2e7d32;
}

/* Print Styles Enhancement */
@media print {
    .social-share,
    .trust-badges,
    .local-nap iframe,
    .amp-indicator {
        display: none !important;
    }
    
    .local-nap {
        border: 1px solid #000;
        padding: 1rem;
    }
}

/* Responsive for Phase 6 elements */
@media (max-width: 768px) {
    .trust-badges {
        justify-content: center;
    }
    
    .social-share {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .social-share .share-label {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .local-nap {
        padding: 1.5rem;
    }
    
    .local-nap iframe {
        height: 200px;
    }
}
