/* Google Fonts - Distinctive Typography */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&family=Lora:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;600;700&display=swap');

/* Amazonic Art Design System - Enhanced */
:root {
    /* Enhanced Color Palette */
    --color-bg-cream: #FAF8F3;
    --color-bg-warm: #F5F1E8;
    --color-olive-dark: #3A4837;
    --color-olive: #4D5C4A;
    --color-olive-light: #6B7C65;
    --color-black: #1A1A1A;
    --color-gray: #626160;
    --color-gray-light: #8B8A89;
    --color-salmon: #F8A888;
    --color-salmon-deep: #E6896F;
    --color-mint: #CCEAEA;
    --color-mint-light: #E0F5F5;
    --color-accent-gold: #D4A574;
    --color-accent-terracotta: #C86B4E;
    --color-dark-text: #2F2E2E;
    --color-light-gray: #D3D3D3;
    --color-dark-bg: #2C2C2C;

    /* Typography System */
    --font-display: 'Crimson Text', serif;
    --font-body: 'Lora', serif;
    --font-decorative: 'Cormorant Garamond', serif;

    /* Spacing & Rhythm */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-bg-warm) 100%);
    color: var(--color-dark-text);
    line-height: 1.7;
    font-size: 18px;
    overflow-x: hidden;
}

/* Enhanced Typography */
h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 600;
    color: var(--color-olive-dark);
    line-height: 1.3;
}

h4 {
    font-family: var(--font-body);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    color: var(--color-olive);
    line-height: 1.4;
}

.subtitle-decorative {
    font-family: var(--font-decorative);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--color-olive);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

p {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--color-gray);
    line-height: 1.8;
    max-width: 65ch;
}

/* Header - Enhanced */
header {
    background: rgba(250, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(77, 92, 74, 0.1);
    transition: all var(--transition-smooth);
}

header:hover {
    background: rgba(250, 248, 243, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-olive-dark);
    letter-spacing: 10px;
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.logo:hover {
    color: var(--color-olive);
    letter-spacing: 12px;
}

.logo-underline {
    text-decoration: underline;
    text-decoration-color: var(--color-salmon);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

nav {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray);
    text-decoration: none;
    position: relative;
    transition: all var(--transition-smooth);
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-salmon), var(--color-accent-terracotta));
    transition: width var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-salmon-deep);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn, .cart-btn {
    background: none;
    border: 1px solid var(--color-olive-light);
    color: var(--color-olive-dark);
    cursor: pointer;
    font-size: 14px;
    font-family: var(--font-body);
    padding: 10px 24px;
    border-radius: 30px;
    transition: all var(--transition-smooth);
    font-weight: 500;
}

.login-btn:hover, .cart-btn:hover {
    background: var(--color-olive-dark);
    color: var(--color-bg-cream);
    border-color: var(--color-olive-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 92, 74, 0.2);
}

/* Enhanced Buttons */
.btn-salmon {
    background: linear-gradient(135deg, var(--color-salmon) 0%, var(--color-salmon-deep) 100%);
    color: var(--color-dark-text);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 48px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(248, 168, 136, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-salmon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(248, 168, 136, 0.4);
    background: linear-gradient(135deg, var(--color-salmon-deep) 0%, var(--color-salmon) 100%);
}

.btn-mint {
    background: linear-gradient(135deg, var(--color-mint) 0%, var(--color-mint-light) 100%);
    color: var(--color-dark-text);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 48px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 16px rgba(204, 234, 234, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-mint:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(204, 234, 234, 0.4);
    background: linear-gradient(135deg, var(--color-mint-light) 0%, var(--color-mint) 100%);
}

/* Decorative Line - Enhanced */
.decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-salmon), var(--color-accent-gold));
    margin: 20px 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(248, 168, 136, 0.3);
}

/* Hero Section - With Animations */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 100px 80px;
    align-items: center;
    min-height: 85vh;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(204, 234, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(248, 168, 136, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    animation: fadeInScale 1s ease-out;
    animation-fill-mode: both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(77, 92, 74, 0.1);
    transition: all var(--transition-smooth);
}

.hero-image img:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 12px 30px rgba(77, 92, 74, 0.15);
}

.hero-content {
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.hero-content .subtitle-decorative {
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
}

.hero-content .decorative-line {
    animation: expandWidth 1s ease-out 0.7s;
    animation-fill-mode: both;
    transform-origin: left;
}

.hero-content h1 {
    margin: 24px 0;
    animation: fadeInUp 1s ease-out 0.9s;
    animation-fill-mode: both;
}

.hero-content p {
    margin: 30px 0;
    animation: fadeInUp 1s ease-out 1.1s;
    animation-fill-mode: both;
}

.hero-content button {
    animation: fadeInUp 1s ease-out 1.3s;
    animation-fill-mode: both;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

/* Two Column Section */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    padding: 120px 80px;
    align-items: center;
    position: relative;
}

.two-column img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transition: all var(--transition-smooth);
}

.two-column img:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--color-bg-warm) 100%);
    padding: 120px 80px;
    text-align: center;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-olive-light), transparent);
}

/* Enhanced Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 60px 0;
}

/* Enhanced Product Card */
.product-card {
    text-align: center;
    background: white;
    border-radius: 8px;
    padding: 12px;
    transition: all var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(204, 234, 234, 0.1) 0%, rgba(248, 168, 136, 0.1) 100%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(77, 92, 74, 0.08);
}

/* Product Card — Image Hover Crossfade */
.product-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    background: var(--color-bg-warm);
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: opacity 0.5s ease, transform var(--transition-smooth);
}

.product-card-img-default {
    opacity: 1;
    z-index: 1;
}

.product-card-img-hover {
    opacity: 0;
    z-index: 2;
}

.product-card:hover .product-card-img-default {
    opacity: 0;
}

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

/* When no hover image exists, scale the default */
.product-card:hover .product-card-img-default:only-child {
    opacity: 1;
    transform: scale(1.05);
}

/* Product Card — Bilingual Names */
.product-name-es {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-olive-dark);
    margin: 8px 0 2px;
    line-height: 1.3;
    transition: color var(--transition-smooth);
}

.product-card:hover .product-name-es {
    color: var(--color-salmon-deep);
}

.product-name-en {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gray-light);
    font-style: italic;
    margin: 0 0 4px;
    line-height: 1.4;
}

.product-category {
    display: inline-block;
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-salmon-deep);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 4px 0 2px;
}

.product-dimensions {
    font-size: 13px;
    color: var(--color-gray);
    margin: 4px 0;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 6px 0;
}

.product-tag {
    font-size: 11px;
    font-family: var(--font-body);
    color: var(--color-olive);
    background: rgba(77, 92, 74, 0.08);
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.02em;
}

.product-tag-style {
    font-size: 10px;
    color: var(--color-gray-light);
    background: rgba(0, 0, 0, 0.04);
}

.product-tag-clickable {
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.product-tag-clickable:hover {
    background: var(--color-olive);
    color: #fff;
}

.card-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--color-salmon) 0%, var(--color-accent-terracotta) 100%);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 3;
    letter-spacing: 0.03em;
}

/* Product Card — Price & Discount */
.product-card .price {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray);
    margin: 8px 0;
}

.price-has-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-original {
    text-decoration: line-through;
    color: var(--color-gray-light);
    font-size: 15px;
    font-weight: 400;
}

.price-sale {
    color: var(--color-accent-terracotta);
    font-size: 20px;
    font-weight: 700;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-salmon) 0%, var(--color-accent-terracotta) 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

/* Sidebar — Active Filter */
.sidebar a.active-filter {
    color: var(--color-salmon-deep);
    font-weight: 600;
}

/* Banner Section */
.banner {
    background: linear-gradient(to right,
        var(--color-olive-dark) 20%,
        var(--color-salmon) 20%,
        var(--color-salmon) 80%,
        var(--color-olive-dark) 80%);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.banner-content {
    background-color: var(--color-bg-cream);
    display: inline-block;
    padding: 40px 80px;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.banner-content em {
    font-size: 24px;
    font-family: var(--font-decorative);
    color: var(--color-gray);
    font-style: italic;
}

/* Hashtag Section */
.hashtag-section {
    background: white;
    padding: 120px 80px;
    text-align: center;
}

.image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.image-row img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    transition: all var(--transition-smooth);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.image-row img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* CTA Dark Section */
.cta-dark {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, var(--color-olive-dark) 100%);
    color: white;
    padding: 120px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(248, 168, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(204, 234, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-dark h3,
.cta-dark h2 {
    color: white;
    position: relative;
    z-index: 1;
}

.cta-dark a,
.cta-dark a:visited,
.cta-dark a:link {
    color: white;
}

.whatsapp-icon {
    font-size: 80px;
    margin-top: 30px;
    color: white;
    filter: drop-shadow(0 8px 16px rgba(37, 211, 102, 0.3));
    transition: all var(--transition-smooth);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-icon svg {
    fill: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.whatsapp-icon:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 12px 24px rgba(37, 211, 102, 0.5));
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--color-bg-cream) 0%, var(--color-bg-warm) 100%);
    padding: 80px 80px 40px;
    border-top: 1px solid rgba(77, 92, 74, 0.15);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 8px;
    margin-bottom: 24px;
    color: var(--color-olive-dark);
}

.footer-tagline {
    font-size: 16px;
    color: var(--color-gray);
    max-width: 450px;
    line-height: 1.8;
}

.newsletter-form {
    text-align: right;
}

.newsletter-form h4 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--color-olive-dark);
}

.newsletter-form input {
    padding: 14px 20px;
    width: 280px;
    border: 2px solid var(--color-olive-light);
    border-radius: 30px;
    margin-right: 12px;
    font-family: var(--font-body);
    transition: all var(--transition-smooth);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-salmon);
    box-shadow: 0 4px 16px rgba(248, 168, 136, 0.2);
}

.footer-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(77, 92, 74, 0.15);
}

.footer-column h5 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--color-olive-dark);
}

.footer-column p {
    font-size: 15px;
    line-height: 1.8;
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(77, 92, 74, 0.1);
    font-size: 14px;
    color: var(--color-gray);
}

/* Contact Page */
.contact-section {
    background: linear-gradient(to bottom, var(--color-salmon), #FFD4C8);
    padding: 100px 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 18px;
    border: 2px solid rgba(26, 26, 26, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    transition: all var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-olive-dark);
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-form textarea {
    height: 180px;
    resize: vertical;
}

/* About Page Sections */
.about-intro {
    padding: 100px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-cream) 0%, white 100%);
}

.about-intro h4 {
    font-size: 22px;
    color: var(--color-olive);
    font-weight: 400;
    font-style: italic;
    margin-top: 40px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.about-section {
    background: linear-gradient(135deg, var(--color-light-gray) 0%, #E0DFDF 100%);
    padding: 80px 80px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 70px;
    margin-bottom: 50px;
    border-radius: 8px;
}

.about-section h4 {
    font-size: 20px;
    font-style: italic;
    color: var(--color-gray);
    margin-bottom: 24px;
}

/* Shop Page */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 60px 80px;
}

.sidebar {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.sidebar h4 {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--color-olive-dark);
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 14px;
}

.sidebar a {
    color: var(--color-gray);
    text-decoration: none;
    font-size: 15px;
    transition: all var(--transition-smooth);
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
}

.sidebar a:hover {
    color: var(--color-salmon-deep);
    background: rgba(248, 168, 136, 0.1);
    transform: translateX(4px);
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.gallery-search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.gallery-search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--color-gray);
    pointer-events: none;
}

.gallery-search-input {
    padding: 8px 15px 8px 36px;
    border: 1px solid var(--color-gray);
    background: white;
    font-family: var(--font-primary);
    font-size: 14px;
    width: 220px;
    outline: none;
    transition: border-color 0.2s;
}

.gallery-search-input:focus {
    border-color: var(--color-olive);
}

.gallery-search-input::placeholder {
    color: var(--color-gray);
}

.product-grid-shop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-grid-shop .product-name-es {
    font-size: 20px;
    margin: 4px 0 2px;
}

.product-grid-shop .product-name-en {
    font-size: 12px;
}

.product-grid-shop .price {
    font-size: 15px;
    margin: 4px 0;
}

/* Chat Widget */
.chat-widget,
.chat-widget:visited,
.chat-widget:link {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, var(--color-salmon), var(--color-salmon-deep));
    color: white;
    padding: 18px 32px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(248, 168, 136, 0.4);
    transition: all var(--transition-smooth);
    z-index: 999;
    text-decoration: none;
    display: block;
}

.chat-widget svg {
    fill: white;
}

/* Social Links */
.social-link {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-olive-dark);
    text-decoration: none;
    padding: 12px 28px;
    border: 2px solid var(--color-olive-light);
    border-radius: 30px;
    transition: all var(--transition-smooth);
    letter-spacing: 0.05em;
}

.social-link:hover {
    background: var(--color-olive-dark);
    color: var(--color-bg-cream);
    border-color: var(--color-olive-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(77, 92, 74, 0.2);
}

/* Carousel */
.mockup-carousel {
    position: relative;
    width: 100%;
    height: 650px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    height: 100%;
}

.carousel-track img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-arrow-prev {
    left: 16px;
}

.carousel-arrow-next {
    right: 16px;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-olive-dark);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chat-widget:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 48px rgba(248, 168, 136, 0.5);
}

/* Stories Page — Category Carousel */
.story-carousel-wrapper {
    position: relative;
    margin-top: 24px;
}

.story-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    scrollbar-width: none;
}

.story-carousel::-webkit-scrollbar {
    display: none;
}

.story-carousel .product-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
}

.story-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.story-carousel-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.story-carousel-arrow.arrow-left { left: -16px; }
.story-carousel-arrow.arrow-right { right: -16px; }

.story-carousel-arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-olive-dark);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.story-section-loading {
    display: flex;
    gap: 24px;
    padding: 20px 0;
}

.story-skeleton-card {
    flex: 0 0 260px;
    height: 380px;
    background: linear-gradient(135deg, #f0ece4 25%, #e8e4dc 50%, #f0ece4 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(180deg, white 0%, var(--color-bg-cream) 100%);
    padding: 100px 80px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 50px auto 0;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 36px 32px;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-smooth);
    border: 1px solid rgba(77, 92, 74, 0.08);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: var(--color-accent-gold);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    max-width: none;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author strong {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--color-olive-dark);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--color-gray-light);
}

/* Mailing List Section */
.mailing-list-section {
    background: linear-gradient(135deg, var(--color-olive-dark) 0%, var(--color-dark-bg) 100%);
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mailing-list-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(204, 234, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(248, 168, 136, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.mailing-list-section h2 {
    color: white;
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.mailing-list-section p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 32px;
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.mailing-list-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.mailing-list-form input[type="email"],
.mailing-list-form input[type="text"] {
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 16px;
    flex: 1;
    transition: all var(--transition-smooth);
}

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

.mailing-list-form input:focus {
    outline: none;
    border-color: var(--color-salmon);
    background: rgba(255, 255, 255, 0.15);
}

.mailing-list-form .btn-salmon {
    white-space: nowrap;
    padding: 16px 36px;
}

.mailing-list-message {
    margin-top: 16px;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.mailing-list-message.success {
    color: var(--color-mint);
}

.mailing-list-message.error {
    color: var(--color-salmon);
}

/* Skeleton loading placeholders */
@keyframes skeleton-pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.skeleton-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e8e4df 0%, #f5f2ee 50%, #e8e4df 100%);
    background-size: 200% 100%;
}

.skeleton-text {
    padding: 16px;
}

.skeleton-line {
    height: 14px;
    border-radius: 6px;
    background: #e8e4df;
    margin-bottom: 10px;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.price {
    width: 35%;
    height: 18px;
    margin-top: 12px;
    background: #ddd8d2;
}

/* Values Section (about page) */
.values-section {
    background-color: var(--color-bg-cream);
    padding: 100px 80px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.values-card {
    background: white;
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.values-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

/* FAQ Section (contact page) */
.faq-section {
    padding: 80px;
    background-color: var(--color-bg-cream);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* =============================================
   HAMBURGER MENU
   ============================================= */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1050;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-olive-dark);
    margin: 6px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile nav overlay — display:none when closed, no transforms or
   visibility tricks that Safari can mishandle */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.mobile-nav-overlay.open {
    display: block;
}

/* =============================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
    header {
        padding: 20px 30px;
    }

    .hero {
        gap: 50px;
        padding: 60px 40px;
        min-height: auto;
    }

    .two-column {
        gap: 50px;
        padding: 80px 40px;
    }

    .gallery-section {
        padding: 80px 40px;
    }

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

    .hashtag-section {
        padding: 80px 40px;
    }

    .cta-dark {
        padding: 80px 40px;
    }

    .testimonials-section {
        padding: 80px 40px;
    }

    .values-section {
        padding: 60px 40px;
    }

    .faq-section {
        padding: 60px 40px;
    }

    footer {
        padding: 60px 40px 30px;
    }

    .footer-top {
        gap: 50px;
    }

    .footer-bottom {
        gap: 30px;
    }

    .contact-section {
        padding: 60px 40px;
        gap: 40px;
    }

    .about-intro {
        padding: 60px 40px;
    }

    .about-section {
        padding: 60px 40px;
    }

    .shop-layout {
        gap: 30px;
        padding: 40px;
    }

    .sidebar {
        padding: 24px;
    }

    .banner-content {
        padding: 30px 40px;
    }

    .mailing-list-section {
        padding: 60px 40px;
    }

    .nav-links {
        gap: 24px;
    }
}

/* =============================================
   TOUCH FEEDBACK (all screen sizes)
   Mobile-first: active/pressed states since
   hover doesn't exist on touch devices
   ============================================= */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .logo:hover {
        letter-spacing: 10px;
    }

    .nav-links a:hover::after {
        width: 0;
    }

    /* Active states for touch feedback (<50ms perceived) */
    .btn-salmon:active,
    .btn-mint:active {
        transform: scale(0.97);
        opacity: 0.85;
    }

    .product-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .nav-links a:active {
        background: rgba(77, 92, 74, 0.08);
    }

    .cart-btn:active,
    .login-btn:active,
    .hamburger:active {
        opacity: 0.7;
    }

    .testimonial-card:active {
        transform: scale(0.99);
    }

    .social-link:active {
        transform: scale(0.96);
        opacity: 0.8;
    }

    .chat-widget:active {
        transform: scale(0.95);
    }

    .category-filter:active,
    .artstyle-filter:active,
    .price-filter:active,
    .size-filter:active {
        background: rgba(77, 92, 74, 0.08);
        border-radius: 6px;
    }

    .product-tag-clickable:active {
        opacity: 0.7;
    }

    .footer-column a:active {
        opacity: 0.7;
    }
}

/* =============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   Touch-first redesign following mobile-design
   skill: 44px+ touch targets, 14px+ typography,
   8px+ spacing, thumb-zone CTAs, iOS safe areas
   ============================================= */
@media (max-width: 768px) {
    /* --- HEADER & NAVIGATION --- */

    /* Show hamburger */
    .hamburger {
        display: block;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Remove backdrop-filter on mobile — Safari treats it as a containing block
       for position:fixed children, trapping the nav panel inside the header.
       Also replace transition:all with specific properties to prevent Safari
       from creating a containing block during transitions. */
    header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--color-bg-cream);
        padding: 12px 16px;
        transition: background 0.3s ease, box-shadow 0.3s ease;
    }

    header:hover {
        box-shadow: none;
    }

    .logo {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .logo:hover {
        letter-spacing: 4px;
    }

    /* Slide-out nav panel — use display:none when closed to guarantee
       Safari cannot intercept touches through the hidden panel */
    nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: var(--color-bg-cream);
        z-index: 1000;
        flex-direction: column;
        padding: 90px 24px 40px;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    nav.open {
        display: flex;
    }

    /* overlay stays display:none until JS adds .open class */

    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(77, 92, 74, 0.1);
    }

    /* 44px+ tap targets for nav links */
    .nav-links a {
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 14px 12px;
        font-size: 16px;
        letter-spacing: 0.15em;
    }

    /* 44px+ tap targets for header actions */
    .nav-actions {
        display: flex;
        gap: 4px;
        align-items: center;
    }

    .login-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 10px 16px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* --- HERO --- */
    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 16px;
        min-height: auto;
    }

    .hero-image {
        order: -1;
    }

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

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
    }

    .hero-content .decorative-line {
        margin-left: auto;
        margin-right: auto;
    }

    /* --- TWO-COLUMN / CONTENT SECTIONS --- */
    .two-column {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 16px;
    }

    .two-column.reverse {
        direction: ltr;
    }

    /* --- PRODUCT GRIDS & CARDS --- */
    .gallery-section {
        padding: 40px 16px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        padding: 8px;
        border-radius: 12px;
    }

    .product-card-image-wrapper {
        height: 200px;
        border-radius: 8px;
    }

    /* Typography: enforce 14px minimum (mobile-design skill) */
    .product-name-es {
        font-size: 15px;
        line-height: 1.3;
    }

    .product-name-en {
        font-size: 14px;
        line-height: 1.3;
    }

    .product-card .price {
        font-size: 15px;
    }

    .product-dimensions {
        font-size: 12px;
    }

    /* Tags: 44px tap target via padding, 11px minimum text */
    .product-tag {
        font-size: 11px;
        padding: 6px 10px;
        min-height: 28px;
        display: inline-flex;
        align-items: center;
    }

    .product-tags {
        gap: 6px;
    }

    /* --- SHOP / GALLERY PAGE --- */
    .shop-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .sidebar {
        position: static;
        max-height: none;
        border-radius: 12px;
        padding: 20px 16px;
        order: 2;
    }

    /* Sidebar filter links: 44px touch targets */
    .sidebar ul {
        margin: 0;
    }

    .sidebar a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 14px;
    }

    .sidebar h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .shop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 20px;
    }

    .shop-header h1 {
        font-size: 28px !important;
    }

    /* Search input: 48px height, 16px font (prevent iOS zoom) */
    .gallery-search-input {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
        padding: 12px 16px 12px 40px;
        border-radius: 10px;
    }

    .gallery-search-wrapper {
        width: 100%;
    }

    /* Sort select: 48px height touch target */
    #sort-select {
        min-height: 44px;
        font-size: 14px;
        padding: 10px 16px;
        border-radius: 8px;
    }

    .product-grid-shop {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-grid-shop .product-card-image-wrapper {
        height: 180px;
    }

    .product-grid-shop .product-name-es {
        font-size: 14px;
    }

    .product-grid-shop .product-name-en {
        font-size: 12px;
    }

    .product-grid-shop .price {
        font-size: 14px;
    }

    /* --- BANNER --- */
    .banner {
        padding: 24px 16px;
    }

    .banner-content {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .banner-content em {
        font-size: 16px;
    }

    /* --- HASHTAG / SOCIAL SECTION --- */
    .hashtag-section {
        padding: 40px 16px;
    }

    .image-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .image-row img {
        height: 220px;
        border-radius: 12px;
    }

    /* --- CTA DARK --- */
    .cta-dark {
        padding: 48px 16px;
    }

    .whatsapp-icon {
        font-size: 56px;
    }

    /* --- TESTIMONIALS --- */
    .testimonials-section {
        padding: 40px 16px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .testimonial-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    /* --- MAILING LIST --- */
    .mailing-list-section {
        padding: 40px 16px;
    }

    .mailing-list-form {
        flex-direction: column;
        gap: 12px;
    }

    /* Form inputs: 48px min height, 16px font */
    .mailing-list-form input {
        min-height: 48px;
        font-size: 16px;
        padding: 12px 16px;
        border-radius: 10px;
    }

    .mailing-list-form .btn-salmon {
        width: 100%;
        min-height: 48px;
    }

    /* --- BUTTONS (global mobile) --- */
    .btn-salmon,
    .btn-mint {
        min-height: 48px;
        padding: 14px 28px;
        font-size: 15px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* --- FOOTER --- */
    footer {
        padding: 40px 16px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-logo {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .newsletter-form {
        text-align: left;
    }

    /* Newsletter inputs: 48px height */
    .newsletter-form input {
        width: 100%;
        min-height: 48px;
        font-size: 16px;
        padding: 12px 16px;
        margin-right: 0;
        margin-bottom: 0;
        border-radius: 10px;
    }

    .newsletter-form form {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-form button {
        min-height: 48px;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    /* Footer links: 44px tap targets */
    .footer-column a {
        display: inline-flex;
        align-items: center;
        min-height: 36px;
        padding: 4px 0;
    }

    .footer-column p {
        line-height: 2.2;
    }

    /* --- CONTACT PAGE --- */
    .contact-section {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 16px;
    }

    /* --- ABOUT PAGE --- */
    .about-intro {
        padding: 40px 16px;
    }

    .about-intro h4 {
        font-size: 16px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 16px;
        margin-bottom: 16px;
    }

    /* --- MOCKUP CAROUSEL --- */
    .mockup-carousel {
        height: 280px;
        border-radius: 12px;
    }

    /* Carousel arrows: 44px touch targets */
    .carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .carousel-arrow svg {
        width: 18px;
        height: 18px;
    }

    /* --- STORIES CAROUSEL --- */
    .story-carousel .product-card {
        flex: 0 0 200px;
    }

    .story-carousel-arrow {
        display: none;
    }

    /* --- SOCIAL LINKS: 44px touch targets --- */
    .social-link {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* --- CHAT WIDGET (thumb zone: bottom-right) --- */
    .chat-widget {
        bottom: 20px;
        right: 16px;
        padding: 14px 20px;
        font-size: 14px;
        min-height: 48px;
        border-radius: 24px;
        display: inline-flex;
        align-items: center;
    }

    /* --- VALUES SECTION --- */
    .values-section {
        padding: 40px 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .values-card {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .values-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    /* --- FAQ SECTION --- */
    .faq-section {
        padding: 40px 16px;
    }

    /* --- INLINE STYLE OVERRIDES --- */
    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    [style*="padding: 100px 80px"] {
        padding: 40px 16px !important;
    }

    [style*="padding: 80px"] {
        padding: 40px 16px !important;
    }
}

/* =============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   Further optimizations for iPhone SE / small screens
   ============================================= */
@media (max-width: 480px) {
    .logo {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .logo:hover {
        letter-spacing: 2px;
    }

    header {
        padding: 10px 12px;
    }

    .login-btn {
        display: none;
    }

    .hero {
        padding: 24px 12px;
        gap: 20px;
    }

    .two-column {
        padding: 32px 12px;
    }

    .gallery-section {
        padding: 32px 12px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-card-image-wrapper {
        height: 260px;
    }

    .product-name-es {
        font-size: 16px;
    }

    .shop-layout {
        padding: 12px;
    }

    .shop-header h1 {
        font-size: 24px !important;
    }

    .product-grid-shop {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-grid-shop .product-card-image-wrapper {
        height: 260px;
    }

    .product-grid-shop .product-name-es {
        font-size: 15px;
    }

    .banner {
        padding: 16px 12px;
        background: var(--color-salmon);
    }

    .banner-content {
        padding: 16px 12px;
        width: 100%;
    }

    .hashtag-section {
        padding: 32px 12px;
    }

    .cta-dark {
        padding: 40px 12px;
    }

    .testimonials-section {
        padding: 32px 12px;
    }

    .mailing-list-section {
        padding: 32px 12px;
    }

    footer {
        padding: 28px 12px 20px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-logo {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .contact-section {
        padding: 24px 12px;
    }

    .about-intro {
        padding: 32px 12px;
    }

    .about-section {
        padding: 24px 12px;
    }

    .mockup-carousel {
        height: 200px;
    }

    .image-row img {
        height: 180px;
    }

    .chat-widget {
        bottom: 16px;
        right: 12px;
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Buttons stay ≥44px, never go below 14px font */
    .btn-salmon,
    .btn-mint {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 48px;
    }

    .story-carousel .product-card {
        flex: 0 0 180px;
    }

    .values-section {
        padding: 32px 12px;
    }

    .faq-section {
        padding: 32px 12px;
    }

    .nav-links a {
        font-size: 15px;
    }
}

/* =============================================
   iOS SAFE AREAS & SAFARI FIXES
   ============================================= */
@supports (padding: env(safe-area-inset-bottom)) {
    .chat-widget {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }

    footer {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }

    nav {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@supports (padding: env(safe-area-inset-left)) {
    @media (max-width: 768px) {
        header {
            padding-left: calc(16px + env(safe-area-inset-left));
            padding-right: calc(16px + env(safe-area-inset-right));
        }
    }
}

/* Prevent iOS zoom on inputs (must be ≥16px) */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }
}


/* =============================================
   EMAIL CAPTURE POPUP
   ============================================= */

#email-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
}

#email-popup-overlay.visible {
    pointer-events: auto;
    opacity: 1;
}

#email-popup {
    position: fixed;
    bottom: -360px;
    right: 40px;
    width: 360px;
    background: var(--color-bg-cream);
    border-radius: 20px;
    padding: 36px 32px 32px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.16), 0 8px 24px rgba(77,92,74,0.12);
    border-top: 4px solid var(--color-salmon);
    transition: bottom var(--transition-bounce);
    z-index: 10001;
}

#email-popup-overlay.visible #email-popup {
    bottom: 40px;
}

#email-popup-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--color-gray-light);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color var(--transition-fast), transform var(--transition-fast);
    border-radius: 50%;
}

#email-popup-close:hover {
    color: var(--color-olive-dark);
    transform: rotate(90deg);
}

.popup-eyebrow {
    font-family: var(--font-decorative);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-salmon-deep);
    margin-bottom: 10px;
    max-width: none;
}

#email-popup h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 28px);
    color: var(--color-olive-dark);
    line-height: 1.2;
    margin-bottom: 10px;
}

.popup-subtext {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: none;
}

#email-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#popup-email {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-olive-light);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-dark-text);
    background: white;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    box-sizing: border-box;
}

#popup-email:focus {
    border-color: var(--color-salmon);
    box-shadow: 0 0 0 3px rgba(248,168,136,0.18);
}

#email-popup-form .btn-salmon {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    text-align: center;
}

#email-popup-form .btn-salmon:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.popup-message {
    font-family: var(--font-body);
    font-size: 14px;
    text-align: center;
    min-height: 20px;
    margin-top: 8px;
    max-width: none;
}

.popup-message.success { color: var(--color-olive); font-weight: 600; }
.popup-message.error   { color: var(--color-accent-terracotta); }

@media (max-width: 480px) {
    #email-popup {
        right: 12px;
        left: 12px;
        width: auto;
        padding: 28px 20px 24px;
    }
    #email-popup-overlay.visible #email-popup {
        bottom: 20px;
    }
}


/* =============================================
   BLOG HUB & ARTICLE STYLES
   ============================================= */

/* --- Reading progress bar --- */
.article-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--color-salmon);
    z-index: 10002;
    transition: width 0.1s linear;
}

/* --- Blog Grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 40px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.13);
}

/* Image container — <a> tag wrapping <img> */
.blog-card-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 28px 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-salmon-deep);
    margin: 0 0 10px;
}

.blog-card h3,
.blog-card h2 {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--color-olive-dark);
    line-height: 1.3;
    margin: 0 0 12px;
    font-weight: 400;
}

.blog-card h3 a,
.blog-card h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card-read-time {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--color-gray-light);
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.7;
    flex: 1;
    margin: 0 0 20px;
    max-width: none;
}

.blog-card-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-olive-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition-fast);
    margin-top: auto;
}

.blog-card-link::after {
    content: '\2192';
    transition: transform var(--transition-fast);
}

.blog-card:hover .blog-card-link {
    color: var(--color-salmon-deep);
}

.blog-card:hover .blog-card-link::after {
    transform: translateX(5px);
}

/* --- Article page layout --- */
.article-header {
    background: var(--color-bg-warm);
    padding: 72px 40px 52px;
    text-align: center;
}

.article-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.article-breadcrumb {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--color-gray-light);
    margin-bottom: 24px;
}

.article-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.article-breadcrumb a:hover {
    color: var(--color-salmon);
}

.article-category-label {
    font-family: var(--font-decorative);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    color: var(--color-salmon);
    margin: 0 0 14px;
    display: block;
}

.article-read-time-header {
    font-size: 13px;
    color: var(--color-gray-light);
    letter-spacing: 0.05em;
    margin: 16px 0 0;
}

.article-header h1 {
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.15;
    color: var(--color-olive-dark);
    margin: 0 0 20px;
    font-weight: 400;
}

/* Fix class mismatch — support both names */
.article-header .article-intro,
.article-header-intro {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--color-gray);
    line-height: 1.75;
    max-width: 660px;
    margin: 0 auto;
}

/* Full-width hero image between header and body */
.article-hero {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    line-height: 0;
}

.article-hero img,
.article-hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Article body */
.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 40px 88px;
}

.article-body h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 36px);
    margin-top: 60px;
    margin-bottom: 18px;
    color: var(--color-olive-dark);
    line-height: 1.2;
    font-weight: 400;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-top: 40px;
    margin-bottom: 14px;
    color: var(--color-olive);
    font-weight: 600;
}

.article-body p {
    max-width: none;
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.9;
    color: var(--color-gray);
}

.article-body ul,
.article-body ol {
    margin: 0 0 28px 28px;
}

.article-body li {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--color-gray);
    margin-bottom: 12px;
    line-height: 1.75;
}

.article-body blockquote {
    border-left: 3px solid var(--color-salmon);
    margin: 40px 0;
    padding: 20px 32px;
    background: var(--color-bg-warm);
    border-radius: 0 12px 12px 0;
}

.article-body blockquote p {
    font-family: var(--font-decorative);
    font-size: 19px;
    font-style: italic;
    color: var(--color-olive);
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-body blockquote cite {
    font-size: 13px;
    color: var(--color-gray-light);
    font-style: normal;
    letter-spacing: 0.05em;
}

/* CTA box inside article */
.article-cta-box {
    background: linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-mint-light) 100%);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 44px 40px;
    text-align: center;
    margin: 52px 0;
}

.article-cta-box h3 {
    margin-top: 0;
    color: var(--color-olive-dark);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 400;
}

.article-cta-box p {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Contact CTA box variant */
.article-contact-box {
    background: var(--color-olive-dark);
    color: #fff;
    border-radius: 16px;
    padding: 44px 40px;
    text-align: center;
    margin: 52px 0;
}

.article-contact-box p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.article-contact-box h3 {
    color: #fff;
    margin-top: 0;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 400;
}

/* Related articles */
.article-related {
    background: var(--color-bg-cream);
    padding: 64px 40px 72px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.article-related h3 {
    font-size: clamp(20px, 3vw, 30px);
    color: var(--color-olive-dark);
    margin-bottom: 36px;
    font-weight: 400;
}

.article-related .blog-grid {
    margin: 0 auto;
}

/* Divider */
.article-divider {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 52px 0;
}

@media (max-width: 768px) {
    .blog-grid { padding: 0 16px; gap: 20px; }
    .article-header { padding: 52px 20px 40px; }
    .article-body { padding: 40px 20px 60px; }
    .article-cta-box { padding: 32px 20px; }
    .article-contact-box { padding: 32px 20px; }
    .article-related { padding: 48px 20px; }
    .article-hero { max-height: 280px; }
    .article-hero img, .article-hero-image { max-height: 280px; }
}
