/* ==========================================================================
   La Nostálgica — Vintage claro con efectos
   Mobile first, responsive fluido a tablet y desktop
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --cream:       #FFF8F3;
    --blush-bg:    #F5E3DF;
    --blush-soft:  #FAF0EB;
    --beige-card:  #F0E6DC;
    --white:       #FFFFFF;

    --terracotta:       #B87456;
    --terracotta-dark:  #9A5D42;
    --terracotta-light: #D49880;

    --dark:       #2E1A10;
    --dark-soft:  #3E2418;

    --text-dark:  #3E2418;
    --text-body:  #5C3D2E;
    --text-muted: #8B7065;
    --text-light: #A89185;

    --border:      #E8D5CB;
    --border-soft: #F0E2D8;

    --shadow-sm: 0 2px 10px rgba(62, 36, 24, 0.06);
    --shadow-md: 0 10px 30px rgba(62, 36, 24, 0.10);
    --shadow-lg: 0 20px 50px rgba(62, 36, 24, 0.18);

    --ease:      cubic-bezier(0.25, 0.8, 0.25, 1);
    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

/* Reveal - visible siempre */
.reveal, .reveal-scale, .reveal-slide-left, .reveal-slide-right {
    opacity: 1;
    transform: none;
}
.reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 {
    transition-delay: 0s;
}



body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background: var(--cream);
    line-height: 1.6;
    font-weight: 400;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.15;
}

a { color: var(--terracotta); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--terracotta-dark); }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: var(--blush-bg);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(184, 116, 86, 0.1);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-self: start;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--dark-soft);
    transition: all 0.3s var(--ease);
}

.menu-toggle:hover span:nth-child(1) { width: 22px; }
.menu-toggle:hover span:nth-child(3) { width: 18px; }

.header-logo {
    justify-self: center;
    display: block;
    transition: transform 0.3s var(--ease);
}

.header-logo:hover { transform: scale(1.03); }

.header-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
}

.header-action {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    border-radius: 50%;
    transition: all 0.3s var(--ease);
    position: relative;
}

.header-action:hover {
    background: rgba(184, 116, 86, 0.12);
    transform: scale(1.08);
}

.header-action svg { width: 22px; height: 22px; }

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--terracotta);
    color: var(--cream);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Menú lateral */
.side-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: var(--cream);
    z-index: 200;
    padding: 30px 24px;
    box-shadow: 4px 0 30px rgba(62, 36, 24, 0.15);
    transition: left 0.4s var(--ease-out);
    overflow-y: auto;
}

.side-menu.open { left: 0; }

.side-menu-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding: 0;
    line-height: 1;
    transition: transform 0.3s var(--ease);
}

.side-menu-close:hover { transform: rotate(90deg); }

.side-menu h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    font-weight: 600;
    margin: 20px 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-soft);
}

.side-menu ul { list-style: none; }

.side-menu ul li a {
    display: block;
    padding: 12px 0;
    color: var(--text-dark);
    font-size: 1rem;
    border-bottom: 1px solid var(--border-soft);
    transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
}

.side-menu ul li a:hover {
    color: var(--terracotta);
    padding-left: 8px;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(46, 26, 16, 0.4);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(3px);
}

.menu-overlay.show { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Hero — pantalla completa con imagen de fondo
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;
    background: var(--blush-bg);
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    animation: heroZoom 20s ease-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26, 10, 5, 0.82) 0%,
        rgba(26, 10, 5, 0.65) 35%,
        rgba(26, 10, 5, 0.25) 65%,
        rgba(26, 10, 5, 0.05) 100%
    );
}

/* Decoración flotante sutil */
.hero-float {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
    border: 1px solid rgba(255, 248, 243, 0.3);
    opacity: 0.5;
}

.hero-float-1 {
    top: 18%;
    right: 10%;
    width: 120px;
    height: 120px;
    animation: float1 14s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 22%;
    right: 18%;
    width: 70px;
    height: 70px;
    opacity: 0.3;
    animation: float2 18s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-15px, 10px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(15px, -20px); }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px 70px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 560px;
    color: var(--cream);
    animation: fadeInUp 0.9s var(--ease-out);
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 3.5px;
    color: var(--cream);
    font-weight: 500;
    margin-bottom: 18px;
    text-transform: uppercase;
    opacity: 0.92;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    font-weight: 500;
    color: var(--cream);
    line-height: 1.02;
    letter-spacing: -1px;
    margin-bottom: 22px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-title em {
    font-style: italic;
    color: #F0A070;
    font-weight: 400;
    text-shadow:
        0 0 20px rgba(0,0,0,0.8),
        0 2px 8px rgba(0,0,0,0.9),
        2px 2px 0 rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--cream);
    max-width: 440px;
    margin-bottom: 34px;
    line-height: 1.7;
    opacity: 0.92;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 38px;
    border: 1px solid var(--cream);
    color: var(--cream);
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cream);
    transform: translateX(-100%);
    transition: transform 0.5s var(--ease-out);
    z-index: 0;
}

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

.hero-cta:hover {
    color: var(--text-dark);
    text-decoration: none;
    gap: 16px;
    border-color: var(--cream);
}

.hero-cta:hover::before { transform: translateX(0); }

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

/* ==========================================================================
   Marquee — tira infinita con el nombre de la marca
   ========================================================================== */
.marquee {
    background: var(--blush-soft);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-style: italic;
    color: var(--terracotta);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 50px;
    letter-spacing: -0.01em;
}

.marquee-item::after {
    content: '✦';
    color: var(--terracotta-light);
    font-style: normal;
    font-size: 1rem;
    opacity: 0.7;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Barra de beneficios
   ========================================================================== */
.benefits-bar {
    background: var(--beige-card);
    padding: 36px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.benefit {
    display: flex;
    gap: 14px;
    padding: 14px 20px;
    position: relative;
    transition: transform 0.3s var(--ease);
}

.benefit:hover { transform: translateY(-3px); }

.benefit:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(184, 116, 86, 0.2);
}

.benefit:nth-child(2)::after { display: none; }

.benefit-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    color: var(--terracotta);
    transition: transform 0.4s var(--ease);
}

.benefit:hover .benefit-icon {
    transform: rotate(-8deg) scale(1.1);
}

.benefit-icon svg { width: 100%; height: 100%; }

.benefit-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--dark-soft);
    margin-bottom: 4px;
    text-transform: uppercase;
    line-height: 1.2;
}

.benefit-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Categorías
   ========================================================================== */
.categories-section {
    padding: 50px 0 30px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--dark-soft);
    font-weight: 700;
}

.section-header .view-all {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--terracotta);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s var(--ease);
}

.section-header .view-all:hover {
    gap: 14px;
    text-decoration: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.category-card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: var(--dark-soft);
    display: block;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.category-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(46, 26, 16, 0.1) 0%,
        rgba(46, 26, 16, 0.35) 50%,
        rgba(46, 26, 16, 0.75) 100%);
    z-index: 1;
    transition: opacity 0.3s;
}

.category-card-content {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    color: var(--cream);
    transition: transform 0.4s var(--ease-out);
}

.category-card:hover .category-card-content {
    transform: translateY(-3px);
}

.category-card-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 10px;
    line-height: 1.1;
    max-width: 140px;
}

.cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 248, 243, 0.85);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
}

.category-card:hover .cat-btn {
    background: var(--cream);
    color: var(--dark-soft);
    gap: 10px;
}

.cat-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--dark-soft) 100%);
}

.cat-placeholder svg {
    width: 60px;
    height: 60px;
    color: rgba(255, 248, 243, 0.3);
}

/* ==========================================================================
   Sobre mí
   ========================================================================== */
.about-section {
    padding: 30px 0 50px;
}

.about-box {
    background: var(--beige-card);
    border-radius: 12px;
    padding: 36px 24px;
    position: relative;
    overflow: hidden;
}

.about-box::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 116, 86, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    animation: floatGently 6s ease-in-out infinite;
}

.about-graphic svg {
    width: 130px;
    height: auto;
    color: var(--terracotta);
}

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

.about-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--dark-soft);
    font-weight: 600;
    margin-bottom: 14px;
}

.about-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 500;
}

.about-title em {
    font-style: italic;
    color: var(--terracotta);
    font-weight: 400;
}

.about-text p {
    color: var(--text-body);
    margin-bottom: 14px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 30px;
    border: 1px solid var(--terracotta);
    color: var(--terracotta);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: all 0.3s var(--ease);
    text-align: center;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--terracotta);
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-out);
}

.about-cta:hover {
    color: var(--cream);
    text-decoration: none;
    gap: 14px;
}

.about-cta:hover::before { transform: translateX(0); }
.about-cta > * { position: relative; z-index: 1; }

/* ==========================================================================
   Instagram
   ========================================================================== */
.instagram-section {
    padding: 40px 0 50px;
}

.instagram-header {
    margin-bottom: 20px;
    padding: 0 20px;
}

.instagram-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--dark-soft);
    font-weight: 700;
}

.instagram-header h3 a {
    color: var(--terracotta);
    font-weight: 700;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.ig-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--blush-soft);
    display: block;
}

.ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.ig-item:hover img { transform: scale(1.1); }

.ig-item::after {
    content: '♡';
    position: absolute;
    top: 8px;
    right: 10px;
    color: var(--cream);
    font-size: 1.1rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    z-index: 2;
    transition: transform 0.3s var(--ease);
}

.ig-item:hover::after { transform: scale(1.2); }

/* ==========================================================================
   Bottom navigation (mobile)
   ========================================================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cream);
    border-top: 1px solid var(--border);
    padding: 10px 0 8px;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    box-shadow: 0 -2px 12px rgba(62, 36, 24, 0.06);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.62rem;
    letter-spacing: 0.2px;
    padding: 4px 2px;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
    text-align: center;
}

.bottom-nav a.active,
.bottom-nav a:hover {
    color: var(--terracotta);
    text-decoration: none;
    transform: translateY(-2px);
}

.bottom-nav a svg { width: 22px; height: 22px; }

/* ==========================================================================
   Productos (página de catálogo)
   ========================================================================== */
.page-header {
    background: var(--blush-bg);
    padding: 40px 0;
    text-align: center;
}

.page-header .eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--dark-soft);
    margin-bottom: 10px;
    font-weight: 500;
    display: block;
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    color: var(--text-dark);
    font-weight: 500;
    font-style: italic;
}

.products-section {
    padding: 40px 0 60px;
}

.result-info {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
}

.result-info strong {
    color: var(--terracotta);
    font-weight: 600;
    font-style: normal;
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-soft);
    gap: 16px;
    flex-wrap: wrap;
}

.sort-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-form label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-form select {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    padding: 8px 32px 8px 14px;
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-dark);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B87456' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    border-radius: 4px;
}

.sort-form select:hover,
.sort-form select:focus {
    border-color: var(--terracotta);
    background-color: var(--blush-soft);
}

/* Grid de productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
}

.product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.4s var(--ease);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    text-decoration: none;
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--blush-soft);
    border-radius: 6px;
    margin-bottom: 12px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.4s var(--ease);
}

.product-card:hover .product-image {
    box-shadow: var(--shadow-md);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    letter-spacing: 1px;
}

.no-image.large { min-height: 420px; font-size: 1rem; }

.product-info { padding: 0 4px; }

.product-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--terracotta);
    margin-bottom: 6px;
    font-weight: 500;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s var(--ease);
}

.product-card:hover .product-name {
    color: var(--terracotta);
}

.product-price {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-soft);
}

.product-price.large {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--terracotta);
    margin: 12px 0 20px;
    font-weight: 500;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
    font-weight: 500;
}

.badge.out-of-stock {
    background: transparent;
    color: var(--terracotta-dark);
    border: 1px solid var(--terracotta-light);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-style: italic;
}

/* ==========================================================================
   Detalle de producto
   ========================================================================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.25s, gap 0.25s;
}

.back-link:hover {
    color: var(--terracotta);
    gap: 12px;
    text-decoration: none;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 0 60px;
}

.product-detail-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--blush-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    line-height: 1.1;
    margin: 8px 0;
    font-weight: 500;
}

.stock-info {
    font-size: 0.7rem;
    margin-bottom: 22px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stock-info::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.stock-info.in-stock { color: #6B8E4E; }
.stock-info.in-stock::before { background: #6B8E4E; }
.stock-info.no-stock { color: var(--terracotta-dark); }
.stock-info.no-stock::before { background: var(--terracotta-dark); }

.product-description {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--border-soft);
}

.product-description h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    font-weight: 500;
}

.product-description p {
    color: var(--text-body);
    line-height: 1.8;
    font-size: 0.95rem;
}

.btn-consultar {
    margin-top: 26px;
    padding: 16px 32px;
    background: var(--terracotta);
    color: var(--cream);
    border: 1px solid var(--terracotta);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.btn-consultar:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--dark);
    color: var(--cream);
    padding: 40px 0 24px;
    font-size: 0.85rem;
    margin-bottom: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 248, 243, 0.15);
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 8px;
}

.footer-col p {
    color: rgba(255, 248, 243, 0.65);
    line-height: 1.7;
    font-size: 0.88rem;
}

.footer-col h4 {
    font-family: 'Inter', sans-serif;
    color: var(--terracotta-light);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    color: rgba(255, 248, 243, 0.75);
    font-size: 0.88rem;
    transition: color 0.25s, padding-left 0.25s;
}

.footer-col ul li a:hover {
    color: var(--terracotta-light);
    padding-left: 4px;
}

.footer-links li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--terracotta-light);
}

.link-icon svg { width: 100%; height: 100%; }

.footer-copy {
    text-align: center;
    color: rgba(255, 248, 243, 0.4);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

/* ==========================================================================
   Respeto por las preferencias de movimiento reducido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal, .reveal-slide-left, .reveal-slide-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ==========================================================================
   Carrito y checkout
   ========================================================================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}

.cart-items { display: flex; flex-direction: column; gap: 14px; }

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 14px;
    padding: 14px;
    background: var(--cream);
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    align-items: center;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--blush-soft);
}

.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    line-height: 1.2;
    color: var(--text-dark);
}

.cart-item-price { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 8px; }

.cart-qty-form label {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-form input {
    width: 55px;
    padding: 5px 8px;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.9rem;
}

.cart-item-actions { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }

.cart-item-subtotal {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--terracotta);
}

.cart-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}

.cart-remove:hover { color: var(--terracotta-dark); }

.cart-summary {
    background: var(--beige-card);
    padding: 24px;
    border-radius: 8px;
    height: fit-content;
}

.cart-summary h2 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(184, 116, 86, 0.2);
    font-weight: 600;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(184, 116, 86, 0.2);
    font-family: 'Cormorant Garamond', serif;
}

.cart-summary-total span { font-size: 1.1rem; color: var(--text-dark); }
.cart-summary-total strong { font-size: 1.8rem; color: var(--terracotta); font-weight: 500; }

.checkout-form {
    background: var(--cream);
    padding: 24px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
}

.checkout-form .form-group { margin-bottom: 18px; }

.checkout-form label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 6px;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-body);
    border-radius: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(184, 116, 86, 0.12);
}

/* ==========================================================================
   Responsive — tablet y desktop
   ========================================================================== */
@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .container { padding: 0 32px; }

    .hero { min-height: 75vh; }
    .hero-inner {
        padding: 100px 40px 90px;
        min-height: 75vh;
    }
    .hero-title { font-size: 4.2rem; }
    .hero-description { font-size: 1.1rem; }

    .marquee-item { font-size: 2.2rem; }

    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
    .benefit:nth-child(2)::after { display: block; }
    .benefit:nth-child(4)::after { display: none; }

    .categories-section { padding: 70px 0 40px; }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .category-card-content h3 { font-size: 1.15rem; max-width: 180px; }

    .about-section { padding: 40px 0 70px; }
    .about-box { padding: 50px 40px; }
    .about-inner {
        grid-template-columns: 200px 1fr 1fr;
        gap: 40px;
        align-items: center;
    }
    .about-text-wrap { display: contents; }
    .about-title { font-size: 2.4rem; }
    .about-cta { align-self: start; }

    .instagram-grid { grid-template-columns: repeat(6, 1fr); }

    .bottom-nav { display: none; }

    .site-footer {
        padding: 60px 0 30px;
        margin-bottom: 0;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 50px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 24px;
    }
    .product-name { font-size: 1.2rem; }
    .product-price { font-size: 1rem; }

    .product-detail {
        grid-template-columns: 1.1fr 1fr;
        gap: 50px;
        padding: 50px 0 80px;
    }
    .product-detail-info h1 { font-size: 2.8rem; }

    .page-header h1 { font-size: 3rem; }
    .page-header { padding: 60px 0; }

    .cart-layout { grid-template-columns: 1fr 340px; gap: 40px; }
    .cart-item { grid-template-columns: 100px 1fr auto; gap: 20px; padding: 18px; }
    .cart-item-image { width: 100px; height: 100px; }
}

@media (min-width: 1024px) {
    .hero { min-height: 80vh; }
    .hero-inner { padding: 120px 40px 110px; min-height: 80vh; }
    .hero-title { font-size: 5rem; }

    .marquee-item { font-size: 2.6rem; }

    .categories-grid { gap: 22px; }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px 28px;
    }
}

/* ==========================================================================
   Subcategorías — tabs de filtro
   ========================================================================== */
.subcats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.subcat-btn {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid var(--border);
    background: var(--blush-soft);
    color: var(--text-body);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s;
}

.subcat-btn:hover {
    border-color: var(--terracotta);
    color: var(--terracotta);
    text-decoration: none;
}

.subcat-btn.active {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--cream);
}

/* ==========================================================================
   Cabecera del catálogo
   ========================================================================== */
.catalogo-header {
    background: var(--blush-bg);
    border-bottom: 1px solid var(--border-soft);
    padding: 30px 0 26px;
    position: relative;
    overflow: hidden;
}

.catalogo-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(184, 116, 86, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.catalogo-header .container {
    position: relative;
    z-index: 1;
}

.back-link-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 16px;
    transition: color 0.25s, gap 0.25s;
    text-decoration: none;
}

.back-link-header:hover {
    color: var(--terracotta);
    gap: 12px;
    text-decoration: none;
}

.catalogo-header-text .eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--terracotta);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.catalogo-header-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    color: var(--text-dark);
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.catalogo-header-text p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Subcategorías — separadas del sort-bar, encima del grid */
.subcats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-soft);
}

/* Logo más grande en header */
.header-logo img {
    height: 100px !important;
}

@media (min-width: 768px) {
    .header-logo img {
        height: 130px !important;
    }

    .catalogo-header-text h1 { font-size: 3.2rem; }
    .catalogo-header { padding: 40px 0 36px; }
}

/* ==========================================================================
   Slideshow del hero — múltiples imágenes que rotan
   ========================================================================== */
.hero-bg .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-bg .slide.active {
    opacity: 1;
}

.hero-bg .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: heroZoom 20s ease-out infinite alternate;
}

/* ==========================================================================
   Marquesina de fotos — franja horizontal infinita
   ========================================================================== */
.photo-marquee {
    overflow: hidden;
    position: relative;
    background: var(--dark-soft);
    line-height: 0;
}

.photo-marquee-track {
    display: flex;
    gap: 6px;
    white-space: nowrap;
    animation: photoMarquee 35s linear infinite;
    width: max-content;
}

.photo-marquee:hover .photo-marquee-track {
    animation-play-state: paused;
}

.photo-marquee-track img {
    height: 180px;
    width: auto;
    object-fit: cover;
    display: inline-block;
    vertical-align: top;
    flex-shrink: 0;
}

@keyframes photoMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (min-width: 768px) {
    .photo-marquee-track img { height: 240px; }
}

/* Fondo slideshow en cabecera del catálogo */
.catalogo-header {
    position: relative;
}

.catalogo-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.catalogo-header-bg .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.catalogo-header-bg .slide.active { opacity: 1; }

.catalogo-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.35);
}

.catalogo-header .container {
    position: relative;
    z-index: 2;
}

/* Cuando hay fondo oscuro, el texto tiene que ser claro */
.catalogo-header:has(.catalogo-header-bg) .back-link-header,
.catalogo-header:has(.catalogo-header-bg) .catalogo-header-text .eyebrow,
.catalogo-header:has(.catalogo-header-bg) .catalogo-header-text h1,
.catalogo-header:has(.catalogo-header-bg) .catalogo-header-text p {
    color: var(--cream);
}

.catalogo-header:has(.catalogo-header-bg) .back-link-header {
    color: rgba(255, 248, 243, 0.7);
}

.catalogo-header:has(.catalogo-header-bg) .back-link-header:hover {
    color: var(--cream);
}

/* ==========================================================================
   Efectos futuristas — hero text
   ========================================================================== */

/* Typewriter — el eyebrow empieza invisible, el JS lo escribe */
.fx-typewriter {
    opacity: 0;
    border-right: 2px solid var(--terracotta-light);
    animation: cursorBlink 0.8s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

@keyframes cursorBlink {
    0%, 100% { border-color: var(--terracotta-light); }
    50%       { border-color: transparent; }
}

/* Glitch — título con doble sombra desplazada */
.fx-glitch {
    position: relative;
}

.fx-glitch::before,
.fx-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.fx-glitch::before {
    color: var(--terracotta-light);
    animation: glitchTop 4s infinite linear;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    opacity: 0.7;
}

.fx-glitch::after {
    color: #88ccff;
    animation: glitchBot 4s infinite linear;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    opacity: 0.5;
}

@keyframes glitchTop {
    0%,  87%  { transform: translate(0); opacity: 0; }
    88%        { transform: translate(-3px, -2px); opacity: 0.8; }
    89%        { transform: translate(3px, 1px); opacity: 0.8; }
    90%        { transform: translate(-2px, 0); opacity: 0.8; }
    91%,  100% { transform: translate(0); opacity: 0; }
}

@keyframes glitchBot {
    0%,  90%  { transform: translate(0); opacity: 0; }
    91%        { transform: translate(3px, 2px); opacity: 0.7; }
    92%        { transform: translate(-3px, -1px); opacity: 0.7; }
    93%        { transform: translate(2px, 0); opacity: 0.7; }
    94%,  100% { transform: translate(0); opacity: 0; }
}

/* Fade-in up para la descripción */
.fx-fadein-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fx-fadein-up.fx-visible {
    opacity: 0.92;
    transform: translateY(0);
}

/* Botón con entrada y glow */
.fx-btn {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out,
                background 0.4s, color 0.4s, gap 0.3s, box-shadow 0.4s;
}

.fx-btn.fx-visible {
    opacity: 1;
    transform: translateX(0);
}

.fx-btn:hover {
    box-shadow: 0 0 28px rgba(255, 248, 243, 0.35), 0 0 60px rgba(184, 116, 86, 0.25) !important;
}

/* Glow pulsante en el eyebrow cuando está tipeado */
.fx-typewriter[style*="opacity: 1"],
.fx-typewriter[style*="opacity:1"] {
    text-shadow: 0 0 12px rgba(212, 152, 128, 0.6);
}

/* Escaneo de línea sobre el hero — efecto retro */
.hero::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(212, 152, 128, 0.4) 40%,
        rgba(255, 248, 243, 0.6) 50%,
        rgba(212, 152, 128, 0.4) 60%,
        transparent 100%);
    animation: scanLine 6s linear infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes scanLine {
    from { top: -2px; }
    to   { top: 100%; }
}

/* Partícula decorativa extra en el hero */
.hero-float-1 {
    animation: float1 12s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

.hero-float-2 {
    animation: float2 16s ease-in-out infinite, glowPulse 4s ease-in-out infinite 1s;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: none; opacity: 0.4; }
    50%       { box-shadow: 0 0 20px rgba(212, 152, 128, 0.4); opacity: 0.7; }
}

/* Scroll reveal con efecto de línea lateral — para secciones */
.reveal.visible::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--terracotta);
    animation: lineGrow 0.6s ease-out 0.3s forwards;
}

@keyframes lineGrow {
    from { height: 0; }
    to   { height: 100%; }
}

/* Cards de producto — borde glow al hover */
.product-card:hover .product-image {
    box-shadow: 0 0 0 1px var(--terracotta-light),
                0 20px 40px rgba(62, 36, 24, 0.2) !important;
}

/* Categorías — overlay con efecto de scan al hover */
.category-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(212, 152, 128, 0.08) 50%,
        transparent 100%);
    z-index: 3;
    transition: none;
    pointer-events: none;
}

.category-card:hover::after {
    animation: catScan 0.8s ease-out;
}

@keyframes catScan {
    from { top: -100%; }
    to   { top: 100%; }
}

/* Marquee con glow en los items al hover */
.marquee:hover .marquee-item {
    text-shadow: 0 0 20px rgba(184, 116, 86, 0.5);
}

/* ==========================================================================
   Transición entre páginas — page transition
   ========================================================================== */

/* Overlay principal que cubre toda la pantalla */
#page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

/* 8 franjas que se expanden de izquierda a derecha */
.pt-strip {
    flex: 1;
    background: var(--dark-soft);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}

/* Cada franja con un delay escalonado — efecto cascada */
.pt-strip:nth-child(1) { transition-delay: 0.00s; background: #F5E3DF; }
.pt-strip:nth-child(2) { transition-delay: 0.04s; background: #EDD4CF; }
.pt-strip:nth-child(3) { transition-delay: 0.08s; background: #F5E3DF; }
.pt-strip:nth-child(4) { transition-delay: 0.12s; background: #E8C9C3; }
.pt-strip:nth-child(5) { transition-delay: 0.16s; background: #F5E3DF; }
.pt-strip:nth-child(6) { transition-delay: 0.20s; background: #EDD4CF; }
.pt-strip:nth-child(7) { transition-delay: 0.24s; background: #F5E3DF; }
.pt-strip:nth-child(8) { transition-delay: 0.28s; background: #E8C9C3; }

/* Estado activo: franjas expandidas (cubriendo la pantalla) */
#page-transition.entering .pt-strip {
    transform: scaleX(1);
}

/* Estado salida: franjas se contraen hacia la derecha */
#page-transition.leaving .pt-strip {
    transform: scaleX(0);
    transform-origin: right center;
    transition-delay: 0s !important;
}

/* Línea de luz que cruza encima de las franjas */
#page-transition::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(184, 116, 86, 0.4) 30%,
        rgba(184, 116, 86, 0.7) 50%,
        rgba(184, 116, 86, 0.4) 70%,
        transparent 100%);
    box-shadow: 0 0 10px 2px rgba(184, 116, 86, 0.25);
    animation: none;
    z-index: 2;
}

#page-transition.entering::after {
    animation: sweepLine 0.6s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes sweepLine {
    from { left: -3px; }
    to   { left: 100%; }
}

/* Fade de entrada del contenido al llegar */
body.page-entering {
    animation: pageEnter 0.5s ease-out forwards;
}

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

/* ==========================================================================
   Efectos en cards de productos — catalogo.php
   ========================================================================== */

/* Cards aparecen con stagger al scroll */
.product-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out,
                box-shadow 0.4s ease, border-color 0.3s ease;
}

/* Solo cuando JS está activo se ocultan inicialmente */
.js-ready .product-card {
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible,
.js-ready .product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger por posición en el grid */
.product-card:nth-child(4n+1) { transition-delay: 0.00s; }
.product-card:nth-child(4n+2) { transition-delay: 0.08s; }
.product-card:nth-child(4n+3) { transition-delay: 0.16s; }
.product-card:nth-child(4n+4) { transition-delay: 0.24s; }

/* Línea de scan en la cabecera del catálogo — igual que el hero */
.catalogo-header::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(212, 152, 128, 0.3) 40%,
        rgba(255, 248, 243, 0.5) 50%,
        rgba(212, 152, 128, 0.3) 60%,
        transparent 100%);
    animation: scanLine 6s linear infinite;
    pointer-events: none;
    z-index: 3;
}

/* Círculos flotantes decorativos en la cabecera del catálogo */
.catalogo-header-text {
    position: relative;
}

.catalogo-header-text::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -20px;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(212, 152, 128, 0.25);
    border-radius: 50%;
    pointer-events: none;
    animation: float1 12s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

.catalogo-header-text::after {
    content: '';
    position: absolute;
    right: 20px;
    bottom: -30px;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(212, 152, 128, 0.15);
    border-radius: 50%;
    pointer-events: none;
    animation: float2 16s ease-in-out infinite;
}

/* Glitch doble sombra en el título del catálogo */
.catalogo-header .fx-glitch::before {
    color: var(--terracotta-light);
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    opacity: 0.6;
}

.catalogo-header .fx-glitch::after {
    color: rgba(200, 200, 255, 0.6);
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    opacity: 0.4;
}

/* Nombre de producto con efecto highlight al hover */
.product-card:hover .product-name {
    color: var(--terracotta);
}

/* Precio con brillo sutil al hover */
.product-card:hover .product-price {
    text-shadow: 0 0 20px rgba(184, 116, 86, 0.3);
}

/* Sort bar con línea de acento */
.sort-bar {
    position: relative;
}

.sort-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--terracotta), transparent);
    animation: sortBarLine 1.5s ease-out 0.5s forwards;
}

@keyframes sortBarLine {
    from { width: 0; }
    to   { width: 60%; }
}

/* ==========================================================================
   Página Sobre mí
   ========================================================================== */
.sobre-mi-wrap {
    padding: 60px 0 80px;
}

.sobre-mi-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.sobre-mi-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-mi-gramofono svg {
    width: 180px;
    height: auto;
    color: var(--terracotta);
    animation: floatGently 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(184, 116, 86, 0.25));
}

.sobre-mi-foto {
    border-radius: 8px;
    overflow: hidden;
    max-width: 340px;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.sobre-mi-foto img { width: 100%; height: auto; display: block; }

.sobre-mi-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 500;
}

.sobre-mi-titulo em {
    font-style: italic;
    color: var(--terracotta);
}

.sobre-mi-texto p {
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 1rem;
}

.sobre-mi-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn-sobre {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.btn-primary-sobre {
    background: var(--terracotta);
    color: var(--cream);
    border: 1px solid var(--terracotta);
}

.btn-primary-sobre:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    color: var(--cream);
    text-decoration: none;
}

.btn-outline-sobre {
    background: transparent;
    color: var(--terracotta);
    border: 1px solid var(--terracotta);
}

.btn-outline-sobre:hover {
    background: var(--terracotta);
    color: var(--cream);
    text-decoration: none;
}

/* Stats */
.sobre-mi-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
}

.stat-item {
    background: var(--beige-card);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--terracotta);
    line-height: 1;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .sobre-mi-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
        align-items: center;
    }

    .sobre-mi-titulo { font-size: 2.8rem; }
    .sobre-mi-gramofono svg { width: 220px; }
}

/* ==========================================================================
   Página Contacto
   ========================================================================== */
.contacto-wrap {
    padding: 60px 0 80px;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contacto-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 500;
}

.contacto-info > p {
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.contacto-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.contacto-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-body);
    font-size: 0.95rem;
    transition: color 0.25s, gap 0.25s;
    text-decoration: none;
}

.contacto-link:hover {
    color: var(--terracotta);
    gap: 16px;
    text-decoration: none;
}

.contacto-link .link-icon {
    width: 20px;
    height: 20px;
    color: var(--terracotta);
}

/* Anillos decorativos */
.contacto-deco {
    position: relative;
    height: 80px;
    display: none;
}

.deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--terracotta-light);
}

.deco-ring-1 { width:70px; height:70px; left:0; top:0; opacity:0.3; animation:float1 12s ease-in-out infinite; }
.deco-ring-2 { width:45px; height:45px; left:50px; top:15px; opacity:0.2; animation:float2 16s ease-in-out infinite; }
.deco-ring-3 { width:25px; height:25px; left:30px; top:40px; opacity:0.15; animation:float1 10s ease-in-out infinite reverse; }

/* Formulario */
.contacto-form {
    background: var(--beige-card);
    padding: 30px 24px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
}

.cf-group {
    margin-bottom: 20px;
    position: relative;
}

.cf-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.cf-group.focused label { color: var(--terracotta); }

.cf-group input,
.cf-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    background: var(--cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-body);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.cf-group input:focus,
.cf-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(184, 116, 86, 0.1);
}

.cf-group textarea { resize: vertical; min-height: 120px; }

.cf-submit {
    width: 100%;
    padding: 16px 28px;
    background: var(--terracotta);
    color: var(--cream);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cf-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--terracotta-dark);
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}

.cf-submit:hover::before { transform: translateX(0); }
.cf-submit > * { position: relative; z-index: 1; }
.cf-submit:hover { gap: 18px; }

/* Éxito */
.contacto-success {
    text-align: center;
    padding: 80px 20px;
    max-width: 520px;
    margin: 0 auto;
}

.contacto-success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--beige-card);
    border: 2px solid var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--terracotta);
    margin: 0 auto 24px;
    animation: floatGently 4s ease-in-out infinite;
}

.contacto-success h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.contacto-success p { color: var(--text-muted); font-size: 1rem; }

@media (min-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr 1.4fr;
        gap: 60px;
        align-items: start;
    }

    .contacto-deco { display: block; }
    .contacto-info h2 { font-size: 2.4rem; }
}

/* ==========================================================================
   Navbar desktop + hamburguesa solo mobile
   ========================================================================== */

/* Hamburguesa: visible solo en mobile */
.menu-toggle { display: flex; }

/* Navbar: oculto en mobile */
.header-nav { display: none; }

@media (min-width: 768px) {
    /* Ocultar hamburguesa en desktop */
    .menu-toggle { display: none !important; }

    /* Mostrar navbar */
    .header-nav {
        display: block;
        background: var(--blush-bg);
        border-top: 1px solid var(--border-soft);
    }

    .header-nav-inner {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 32px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .nav-link {
        font-family: 'Inter', sans-serif;
        font-size: 0.78rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--text-muted);
        padding: 14px 16px;
        text-decoration: none;
        position: relative;
        transition: color 0.25s;
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 16px;
        right: 16px;
        height: 2px;
        background: var(--terracotta);
        transform: scaleX(0);
        transition: transform 0.25s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--text-dark);
        text-decoration: none;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleX(1);
    }

    /* Dropdown categorías */
    .nav-dropdown {
        position: relative;
    }

    .nav-dropdown-btn svg {
        transition: transform 0.25s;
    }

    .nav-dropdown:hover .nav-dropdown-btn svg {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--cream);
        border: 1px solid var(--border-soft);
        border-radius: 6px;
        min-width: 180px;
        box-shadow: var(--shadow-md);
        opacity: 0;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 0.25s, transform 0.25s;
        z-index: 200;
        overflow: hidden;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-dropdown-item {
        display: block;
        padding: 11px 18px;
        font-family: 'Inter', sans-serif;
        font-size: 0.82rem;
        color: var(--text-body);
        text-decoration: none;
        transition: background 0.15s, color 0.15s, padding-left 0.2s;
        border-bottom: 1px solid var(--border-soft);
    }

    .nav-dropdown-item:last-child { border-bottom: none; }

    .nav-dropdown-item:hover {
        background: var(--blush-soft);
        color: var(--terracotta);
        padding-left: 24px;
    }

    /* En desktop el header cambia de layout a columna */
    .site-header {
        padding: 0;
    }

    .header-inner {
        padding: 16px 32px;
    }
}

/* ==========================================================================
   Galería de producto — miniaturas
   ========================================================================== */
.gallery-main {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--blush-soft);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-bottom: 12px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: var(--terracotta);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .gallery-thumb { width: 80px; height: 80px; }
}



/* Fix galería miniaturas */
.product-detail-image { display: flex; flex-direction: column; gap: 12px; }
.gallery-main { width: 100%; aspect-ratio: 1; overflow: hidden; background: #FAF0EB; border-radius: 8px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs { display: flex !important; flex-direction: row !important; gap: 8px !important; flex-wrap: wrap !important; }
.gallery-thumb { width: 72px !important; height: 72px !important; border-radius: 4px !important; overflow: hidden !important; cursor: pointer !important; border: 2px solid transparent !important; display: block !important; flex-shrink: 0 !important; }
.gallery-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.gallery-thumb.active { border-color: #B87456 !important; }
