/* ========================================
   SAHARA THREADS - Egyptian Hoodie Store
   Mobile-first CSS with CSS Variables
   ======================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Colors - Egyptian-inspired palette */
    --color-sand: #f5f0e8;
    --color-sand-dark: #e8dfd4;
    --color-navy: #1a1a2e;
    --color-navy-light: #2d2d4a;
    --color-gold: #c9a84c;
    --color-gold-light: #d4b85c;
    --color-terracotta: #8b4513;
    --color-terracotta-light: #a0522d;
    --color-emerald: #2d5a3d;
    --color-emerald-light: #3a704f;
    --color-crimson: #c0392b;
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-text: #2d2d2d;
    --color-text-light: #6b6b6b;
    --color-border: #e0e0e0;
    --color-focus: #c9a84c;
    --color-error: #c0392b;
    --color-success: #2d5a3d;

    /* Spacing Scale */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */

    /* Typography */
    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-size-xs: 0.75rem;   /* 12px */
    --font-size-sm: 0.875rem;  /* 14px */
    --font-size-base: 1rem;    /* 16px */
    --font-size-lg: 1.125rem;  /* 18px */
    --font-size-xl: 1.25rem;   /* 20px */
    --font-size-2xl: 1.5rem;   /* 24px */
    --font-size-3xl: 2rem;     /* 32px */
    --font-size-4xl: 2.5rem;   /* 40px */

    /* Line Heights */
    --line-height-tight: 1.1;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.7;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-md);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-sand);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
}

/* Visually hidden but accessible */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-tight);
    font-weight: 700;
    color: var(--color-navy);
}

.section-title {
    font-size: var(--font-size-3xl);
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: var(--space-sm) auto 0;
}

.highlight {
    color: var(--color-gold);
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.btn-primary:hover {
    background: var(--color-navy-light);
    border-color: var(--color-navy-light);
    color: var(--color-white);
}

.btn-secondary {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
}

.btn-price {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

/* --- Header / Navigation --- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-navy);
}

.logo:hover {
    color: var(--color-gold);
}

.logo-icon {
    font-size: var(--font-size-2xl);
}

.nav {
    display: flex;
    gap: var(--space-xs);
}

.nav-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
    background: var(--color-sand-dark);
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: var(--space-md) 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    list-style: none;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: var(--space-sm);
    color: var(--color-border);
}

.breadcrumb-list a:hover {
    color: var(--color-gold);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--color-navy);
    font-weight: 500;
}

/* --- Hero Section --- */
.hero {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-white) 100%);
}

.hero .container {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hoodie-showcase {
    width: 100%;
    max-width: 320px;
}

/* --- Hoodie Mockup (CSS-only illustration) --- */
.hoodie-mockup {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--hoodie-color, var(--color-navy));
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hoodie-mockup.small {
    max-width: 160px;
    margin: 0 auto;
}

.hoodie-mockup.large {
    max-width: 400px;
    margin: 0 auto;
}

/* Hoodie details using pseudo-elements */
.hoodie-mockup::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    right: 10%;
    height: 25%;
    background: var(--hoodie-color, var(--color-navy));
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: inset 0 -8px 0 rgba(0,0,0,0.1);
    z-index: 1;
}

.hoodie-mockup::after {
    content: '';
    position: absolute;
    bottom: 8%;
    left: 15%;
    right: 15%;
    height: 12%;
    background: rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
}

/* Drawstrings */
.hoodie-mockup .drawstring {
    position: absolute;
    top: 18%;
    width: 3px;
    height: 15%;
    background: rgba(0,0,0,0.2);
    z-index: 2;
}

.hoodie-mockup .drawstring.left { left: 22%; }
.hoodie-mockup .drawstring.right { right: 22%; }

/* Kangaroo pocket */
.hoodie-mockup .pocket {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 18%;
    background: rgba(0,0,0,0.08);
    border-radius: var(--radius-md);
    border: 2px dashed rgba(0,0,0,0.1);
}

/* Sleeves */
.hoodie-mockup .sleeve {
    position: absolute;
    top: 25%;
    width: 18%;
    height: 55%;
    background: var(--hoodie-color, var(--color-navy));
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 0;
}

.hoodie-mockup .sleeve.left {
    left: -8%;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.hoodie-mockup .sleeve.right {
    right: -8%;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Embroidery overlay for product page */
.embroidery {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse at 50% 25%, var(--color-gold) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 75%, var(--color-gold) 0%, transparent 30%);
    opacity: 0.15;
    pointer-events: none;
}

/* ========================================
   HOME PAGE SPECIFIC STYLES
   ======================================== */

/* --- Features Section --- */
.features {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-sand);
    border-radius: var(--radius-xl);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

.feature-desc {
    color: var(--color-text-light);
    font-size: var(--font-size-base);
}

/* --- Featured Products --- */
.featured {
    padding: var(--space-3xl) 0;
    background: var(--color-sand);
}

.product-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.product-card {
    display: grid;
    gap: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.product-image {
    display: flex;
    justify-content: center;
    padding: var(--space-lg);
    background: var(--color-sand);
}

.product-info {
    padding: var(--space-lg);
    text-align: center;
}

.product-name {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
}

.product-desc {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
}

.product-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-md);
}

/* --- About Section --- */
.about {
    padding: var(--space-3xl) 0;
    background: var(--color-white);
}

.about-content {
    display: grid;
    gap: var(--space-2xl);
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    margin-left: 0;
}

.about-text p {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
}

.about-visual {
    display: flex;
    justify-content: center;
}

/* --- Newsletter --- */
.newsletter {
    padding: var(--space-3xl) 0;
    background: var(--color-navy);
    color: var(--color-white);
}

.newsletter .section-title {
    color: var(--color-white);
}

.newsletter .section-title::after {
    background: var(--color-gold);
}

.newsletter-desc {
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: var(--space-md);
    font-size: var(--font-size-base);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.05);
    color: var(--color-white);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
    border-color: var(--color-gold);
    background: rgba(255,255,255,0.1);
}

.newsletter-form .btn-primary {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
}

.newsletter-form .btn-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
}

.newsletter-message {
    text-align: center;
    margin-top: var(--space-md);
    font-size: var(--font-size-sm);
    min-height: 1.5em;
}

.newsletter-message.success {
    color: var(--color-gold);
}

.newsletter-message.error {
    color: #ff6b6b;
}

/* --- Footer --- */
.footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-brand .logo:hover {
    color: var(--color-gold);
}

.footer-tagline {
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    font-size: var(--font-size-lg);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-2px);
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
}

.footer-nav ul {
    list-style: none;
}

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

.footer-nav a {
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-sm);
}

.footer-nav a:hover {
    color: var(--color-gold);
}

.footer-contact address {
    font-style: normal;
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.footer-contact p {
    margin-bottom: var(--space-sm);
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: var(--font-size-sm);
}

/* ========================================
   PRODUCT PAGE SPECIFIC STYLES
   ======================================== */

.product-page {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.product-layout {
    display: grid;
    gap: var(--space-2xl);
}

.product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mockup-container {
    width: 100%;
    max-width: 400px;
}

.mockup-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--color-surface);
    transition: opacity var(--transition-base);
    opacity: 1;
}

.mockup-image:not([src]) {
    display: none;
}

.color-swatch-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-light);
    align-self: flex-start;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: flex-start;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-focus);
}

.color-swatch.selected {
    border-color: var(--color-navy);
    transform: scale(1.15);
}

.color-swatch.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Product Info Panel */
.product-info-panel {
    display: grid;
    gap: var(--space-lg);
}

.product-category {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    font-weight: 600;
}

.product-title {
    font-size: var(--font-size-3xl);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-light);
}

.stars {
    color: var(--color-gold);
    letter-spacing: 2px;
}

.rating-text {
    font-size: var(--font-size-sm);
}

.product-description {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text);
}

.product-price-large {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-navy);
}

/* Option Groups */
.option-group {
    display: grid;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
}

.option-label {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-navy);
}

/* Color Options (larger for product page) */
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.color-option {
    position: relative;
}

.color-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.color-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    min-width: 80px;
    border: 3px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--color-sand);
}

.color-option-label:hover {
    background: var(--color-sand-dark);
}

.color-option input:focus-visible + .color-option-label {
    box-shadow: 0 0 0 3px var(--color-focus);
}

.color-option input:checked + .color-option-label {
    border-color: var(--color-navy);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.color-option-swatch {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.color-option-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
}

/* Size Options */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.size-option {
    position: relative;
}

.size-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.size-option-label {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-sand);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 60px;
    text-align: center;
}

.size-option-label:hover {
    background: var(--color-sand-dark);
}

.size-option input:focus-visible + .size-option-label {
    box-shadow: 0 0 0 3px var(--color-focus);
}

.size-option input:checked + .size-option-label {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.size-option input:disabled + .size-option-label {
    opacity: 0.4;
    cursor: not-allowed;
}

.size-guide-link {
    margin: 0;
    font-size: var(--font-size-sm);
}

.size-guide-link a {
    color: var(--color-gold);
    font-weight: 500;
}

.size-guide-link a:hover {
    text-decoration: underline;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    max-width: 150px;
}

.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: var(--font-size-xl);
    font-weight: 300;
    color: var(--color-navy);
    background: var(--color-sand);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    background: var(--color-sand-dark);
    border-color: var(--color-navy);
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-navy);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    border-color: var(--color-focus);
    outline: none;
}

/* Product Details Accordion */
.product-details {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-details summary {
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-details summary::-webkit-details-marker {
    display: none;
}

.product-details summary::after {
    content: '+';
    font-size: var(--font-size-xl);
    color: var(--color-gold);
    transition: transform var(--transition-fast);
}

.product-details[open] summary::after {
    transform: rotate(45deg);
}

.product-details ul {
    padding: 0 var(--space-lg) var(--space-lg);
    list-style: none;
    display: grid;
    gap: var(--space-sm);
}

.product-details li {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.product-details li:last-child {
    border-bottom: none;
}

.product-details strong {
    min-width: 120px;
    color: var(--color-navy);
}

/* Size Guide Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.modal[hidden] {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: modalIn var(--transition-normal);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.modal-header h2 {
    font-size: var(--font-size-xl);
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: var(--font-size-2xl);
    color: var(--color-text-light);
    background: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-sand);
    color: var(--color-navy);
}

.modal-body {
    padding: var(--space-lg);
}

.table-wrapper {
    overflow-x: auto;
    margin: var(--space-md) calc(var(--space-lg) * -1) var(--space-lg);
    padding: 0 var(--space-lg);
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.size-table th,
.size-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.size-table th {
    background: var(--color-sand);
    font-weight: 600;
    color: var(--color-navy);
}

.size-table tbody tr:hover {
    background: var(--color-sand);
}

.size-note {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    text-align: center;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 1100;
}

.toast[hidden] {
    display: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-gold);
    color: var(--color-navy);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: bold;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablet (≥ 640px) */
@media (min-width: 640px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        text-align: left;
    }

    .hero-subtitle {
        margin-left: 0;
        margin-right: auto;
    }

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

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

    .about-content {
        grid-template-columns: 1fr 1fr;
    }

    .about-text .section-title {
        text-align: left;
    }

    .newsletter-form {
        flex-direction: row;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .product-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .product-gallery {
        position: sticky;
        top: 100px;
    }
}

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
    :root {
        --font-size-4xl: 3.5rem;
    }

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

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .product-title {
        font-size: var(--font-size-4xl);
    }

    .modal-content {
        max-width: 600px;
    }
}

/* Large Desktop (≥ 1280px) */
@media (min-width: 1280px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

/* ========================================
   ANIMATIONS & MICRO-INTERACTIONS
   ======================================== */

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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: slideUp var(--transition-slow) ease-out;
}

.hero-visual {
    animation: fadeIn var(--transition-slow) ease-out var(--transition-fast) both;
}

.feature-card,
.product-card {
    animation: slideUp var(--transition-normal) ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 100ms; }
.feature-card:nth-child(2) { animation-delay: 200ms; }
.feature-card:nth-child(3) { animation-delay: 300ms; }

.product-card:nth-child(1) { animation-delay: 100ms; }
.product-card:nth-child(2) { animation-delay: 200ms; }
.product-card:nth-child(3) { animation-delay: 300ms; }

/* Reduced motion */
@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;
    }
}

/* Print styles */
@media print {
    .header, .footer, .btn, .newsletter, .modal, .toast {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        background: none;
        padding: 0;
    }
}