/* ==========================================================================
   PIEL PERFECTA - PREMIUM DESIGN SYSTEM (LUXURY EDITORIAL DERMOCOSMETIC)
   ========================================================================== */

:root {
    /* Colors */
    --red: #A30B1D;
    --red-hover: #820817;
    --red-dark: #660611;
    --red-light: #FDF1F2;
    --red-light-border: #F8D7DA;
    
    --ink: #18181B;         /* Soft Charcoal / Zinc-900 */
    --ink-light: #27272A;   /* Slate Charcoal */
    --muted: #52525B;       /* Zinc-600 */
    --pale: #A1A1AA;        /* Zinc-400 */
    --white: #FFFFFF;
    
    /* Luxury Warm Cream Neutrals */
    --cream-bg: #FAF9F6;     /* Pure Alabaster / Warm Cream */
    --cream-surface: #FCFBF9;/* Soft Porcelain */
    --cream-border: #EAE8E2;  /* Warm Gray Border */
    --cream-muted: #F2EFE9;   /* Inner bezel container background */

    /* Border Radii */
    --radius-lg: 24px;       /* Outer bezel */
    --radius-md: 16px;       /* Inner core */
    --radius-sm: 8px;        /* Small elements */
    
    /* Shadows - Tinted to Warm Hue */
    --sh-sm: 0 2px 8px rgba(24, 24, 27, 0.04);
    --sh-md: 0 12px 32px rgba(24, 24, 27, 0.06);
    --sh-lg: 0 24px 64px rgba(24, 24, 27, 0.08);
    --sh-red: 0 8px 30px rgba(163, 11, 29, 0.12);
    
    /* Springs and Physics */
    --spring-bezier: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-speed: 0.6s;
    --transition-slow: 0.8s;
}

/* ── BASE & GLOBAL TEXTURE ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Jost', sans-serif;
    background: var(--cream-bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.65;
    position: relative;
    overflow-x: hidden;
}

/* Fixed, pointer-events-none noise overlay for tactile feel */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3联%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Scroll reveal states */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(4px);
    transition: transform var(--transition-slow) var(--spring-bezier), 
                opacity var(--transition-slow) var(--spring-bezier), 
                filter var(--transition-slow) var(--spring-bezier);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-wrap: balance;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
}

p {
    font-size: 1rem;
    color: var(--muted);
    max-width: 65ch;
    text-wrap: pretty;
}

strong {
    color: var(--ink);
    font-weight: 600;
}

/* ── UTILITIES ── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--red);
    margin: 1.25rem auto 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header p {
    margin: 0.75rem auto 0;
}

/* Eyebrow Tags */
.eyebrow-tag {
    display: inline-block;
    background: var(--red-light);
    color: var(--red);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--red-light-border);
    margin-bottom: 1rem;
}

/* ── BUTTONS (Nested Island CTA) ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0.85rem 1.8rem;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-speed) var(--spring-bezier);
    box-shadow: var(--sh-sm);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn:hover:not(:disabled) {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: var(--sh-red);
}

.btn:hover:not(:disabled)::after {
    transform: translateX(100%);
}

.btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

.btn:disabled {
    background: var(--pale);
    color: rgba(255,255,255,0.7);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-ghost {
    background: transparent;
    color: var(--red);
    border: 1.5px solid var(--red);
    box-shadow: none;
}

.btn-ghost:hover:not(:disabled) {
    background: var(--red-light);
}

/* Button-in-Button Trailing Icon styling */
.btn-icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform var(--transition-speed) var(--spring-bezier);
}

.btn:hover:not(:disabled) .btn-icon-circle {
    transform: scale(1.1) translateX(2px);
}

/* ── TOPBAR ── */
.site-topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-topbar strong {
    color: var(--white);
    font-weight: 600;
}

.topbar-sep {
    margin: 0 16px;
    opacity: 0.2;
    color: var(--white);
}

.topbar-wa {
    color: #4ade80;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.topbar-wa:hover {
    color: #86efac;
}

/* ── HEADER & FLOATING ISLAND NAV ── */
header {
    background: rgba(250, 249, 246, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cream-border);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--sh-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: opacity 0.2s;
}

.logo span {
    color: var(--ink);
    font-weight: 400;
}

.logo:hover {
    opacity: 0.9;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s var(--spring-bezier);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--spring-bezier);
}

.nav-links a:hover {
    color: var(--red);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--red);
}

.nav-links a.active::after {
    transform: scaleX(1);
}

/* Cart Button floating pill */
.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--cream-border);
    padding: 0.55rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s var(--spring-bezier);
    font-family: 'Jost', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--sh-sm);
}

.cart-btn:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-1px);
    box-shadow: var(--sh-md);
}

.cart-badge {
    background: var(--red);
    color: var(--white);
    min-width: 20px;
    height: 20px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    transition: transform 0.3s var(--spring-bezier);
}

.cart-btn:hover .cart-badge {
    transform: scale(1.1);
}

/* Hamburger mobile morph button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    outline: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.4s var(--spring-bezier), opacity 0.3s;
}

/* ── HERO SECTION (3 Asymmetrical panels - Flex Accordion Upgrade) ── */
.hero-visual {
    display: flex;
    height: calc(100vh - 80px);
    min-height: 560px;
    max-height: 850px;
    overflow: hidden;
    gap: 1px;
    background: var(--cream-border);
    position: relative;
    width: 100%;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex: 1;
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-panel-center {
    flex: 1.25;
}

.hero-visual:hover .hero-panel {
    flex: 0.85;
}

.hero-visual .hero-panel:hover {
    flex: 1.8;
}

@keyframes kenburns {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.05) translate(-1%, 0.5%); }
    100% { transform: scale(1) translate(0, 0); }
}

.hero-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    animation: kenburns 30s ease-in-out infinite;
}

.hero-panel:nth-child(2) img {
    animation-delay: 5s;
    animation-duration: 35s;
}

.hero-panel:nth-child(3) img {
    animation-delay: 10s;
    animation-duration: 40s;
}

.hero-panel:hover img {
    transform: scale(1.08) translate(0, 0) !important;
    animation-play-state: paused;
}

.hero-panel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 2rem 2.5rem;
    background: linear-gradient(to top, rgba(24, 24, 27, 0.75) 0%, rgba(24, 24, 27, 0.3) 40%, transparent 100%);
    color: var(--white);
    transition: background 0.6s var(--spring-bezier);
}

.hero-panel:hover .hero-panel-overlay {
    background: linear-gradient(to top, rgba(24, 24, 27, 0.85) 0%, rgba(24, 24, 27, 0.4) 50%, transparent 100%);
}

.hero-panel-tag {
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    background: var(--red);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.hero-panel-overlay h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.1;
    transform: translateY(4px);
    transition: transform 0.6s var(--spring-bezier);
}

.hero-panel:hover .hero-panel-overlay h2 {
    transform: translateY(0);
}

.hero-panel-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 100%;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.6s var(--spring-bezier), opacity 0.5s;
}

.hero-panel:hover .hero-panel-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Central badge card overlay */
.hero-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(252, 251, 249, 0.95);
    border: 1px solid var(--cream-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 2rem 2.2rem;
    text-align: center;
    box-shadow: var(--sh-lg);
    min-width: 220px;
    z-index: 10;
    transition: transform 0.4s var(--spring-bezier);
}

.hero-badge:hover {
    transform: translate(-50%, -52%);
}

.hero-badge-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.hero-badge strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 1.1rem;
}

.hero-badge-btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.3s;
}

.hero-badge-btn:hover {
    background: var(--red-hover);
}

/* ── DOUBLE-BEZEL (DOPPELRAND) CARD ARCHITECTURE ── */
.doppelrand-card {
    background: rgba(24, 24, 27, 0.02); /* Outer wrapper tint */
    border: 1px solid rgba(24, 24, 27, 0.05);
    border-radius: var(--radius-lg);
    padding: 8px;
    transition: transform var(--transition-speed) var(--spring-bezier), 
                box-shadow var(--transition-speed) var(--spring-bezier);
    display: flex;
    flex-direction: column;
}

.doppelrand-card-inner {
    background: var(--white);
    border-radius: calc(var(--radius-lg) - 8px);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), var(--sh-sm);
    transition: border-color var(--transition-speed) var(--spring-bezier);
    border: 1px solid transparent;
}

.doppelrand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}

.doppelrand-card:hover .doppelrand-card-inner {
    border-color: var(--cream-border);
}

/* ── COMBOS SECTION ── */
.combos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.combo-card {
    position: relative;
}

.combo-badge-pill {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: var(--red);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: var(--sh-sm);
}

.combo-img-wrap {
    width: 100%;
    height: 180px;
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-border);
}

.combo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--spring-bezier);
}

.combo-card:hover .combo-img {
    transform: scale(1.05);
}

.combo-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.combo-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    font-family: 'Jost', sans-serif;
}

.combo-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}

.combo-products {
    font-size: 0.8rem;
    color: var(--pale);
    background: var(--cream-bg);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    border: 1px solid var(--cream-border);
}

.combo-products span {
    display: block;
    padding: 2px 0;
}

.combo-prices {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed var(--cream-border);
}

.combo-price-normal {
    font-size: 0.85rem;
    color: var(--pale);
    text-decoration: line-through;
}

.combo-price-final {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--red);
}

.combo-savings-pill {
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.combo-btn {
    width: 100%;
    padding: 0.95rem;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
    background: var(--red);
    color: var(--white);
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.3s;
}

.combo-btn:hover {
    background: var(--red-hover);
}

/* ── CATEGORY GALLERY ── */
.cat-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.cat-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    background: var(--cream-muted);
    border: 1px solid var(--cream-border);
    box-shadow: var(--sh-sm);
    transition: transform 0.4s var(--spring-bezier), box-shadow 0.4s var(--spring-bezier);
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}

.cat-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s var(--spring-bezier);
}

.cat-card:hover .cat-card-img {
    transform: scale(1.08);
}

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24,24,27,0.85) 0%, rgba(24,24,27,0.3) 45%, transparent 100%);
    transition: background 0.4s;
}

.cat-card:hover .cat-card-overlay {
    background: linear-gradient(to top, rgba(24,24,27,0.92) 0%, rgba(24,24,27,0.45) 50%, transparent 100%);
}

.cat-card-emoji {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.4s var(--spring-bezier);
}

.cat-card:hover .cat-card-emoji {
    transform: scale(1.1) rotate(-5deg);
}

.cat-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
}

.cat-card-name {
    color: var(--white);
    font-weight: 700;
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    line-height: 1.2;
    margin-bottom: 0.65rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.cat-card-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 4px 14px;
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    cursor: pointer;
}

.cat-card:hover .cat-card-btn {
    background: var(--red);
    border-color: var(--red);
    box-shadow: var(--sh-sm);
}

/* ── CATALOG SECTION ── */
.catalog-section {
    padding: 4.5rem 0 6.5rem;
}

/* Filters bar (category selection) */
.filter-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pale);
    margin-bottom: 0.9rem;
    text-align: center;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 7px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--cream-border);
    background: var(--white);
    color: var(--muted);
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--spring-bezier);
    white-space: nowrap;
    box-shadow: var(--sh-sm);
}

.filter-btn:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-1px);
}

.filter-btn:active {
    transform: scale(0.98);
}

.filter-btn.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    box-shadow: var(--sh-red);
}

/* Brand Filter section */
.brand-filter-section {
    margin-bottom: 2rem;
    padding: 1.25rem 1.75rem;
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: var(--sh-sm);
}

.brand-filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pale);
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-btn {
    padding: 6px 18px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--cream-border);
    background: var(--white);
    color: var(--muted);
    font-family: 'Jost', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.brand-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.brand-btn.active {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

/* Search bar */
.search-bar {
    display: flex;
    max-width: 460px;
    margin: 0 auto 3rem;
    border: 1.5px solid var(--cream-border);
    border-radius: 50px;
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: border-color 0.3s;
}

.search-bar:focus-within {
    border-color: var(--red);
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    background: transparent;
    color: var(--ink);
}

.search-bar button {
    padding: 10px 22px;
    background: var(--red);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    border-radius: 0 50px 50px 0;
    transition: background 0.2s;
}

.search-bar button:hover {
    background: var(--red-hover);
}

/* Products grid & cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    /* Uses doppelrand card logic natively */
    background: rgba(24, 24, 27, 0.02);
    border: 1px solid rgba(24, 24, 27, 0.05);
    border-radius: var(--radius-lg);
    padding: 8px;
    transition: transform var(--transition-speed) var(--spring-bezier), 
                box-shadow var(--transition-speed) var(--spring-bezier);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card-inner {
    background: var(--white);
    border-radius: calc(var(--radius-lg) - 8px);
    padding: 1.4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), var(--sh-sm);
    transition: border-color var(--transition-speed) var(--spring-bezier);
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
}

.product-card:hover .product-card-inner {
    border-color: var(--cream-border);
}

.product-card.out-of-stock {
    opacity: 0.65;
}

.brand-pill {
    display: inline-block;
    background: var(--cream-bg);
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.08em;
    align-self: flex-start;
    margin-bottom: 0.4rem;
    border: 1px solid var(--cream-border);
}

.product-category-tag {
    font-size: 0.72rem;
    color: var(--pale);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-img-wrap {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--cream-border);
    position: relative;
}

.product-img-catalog {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform var(--transition-speed) var(--spring-bezier);
    cursor: zoom-in;
}

.product-card:hover .product-img-catalog {
    transform: scale(1.06);
}

.product-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1.45;
    flex: 1;
    text-wrap: pretty;
    font-family: 'Jost', sans-serif;
}

.product-price-wrap {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-price-original {
    font-size: 0.85rem;
    color: var(--pale);
    text-decoration: line-through;
    display: block;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--red);
}

.product-price.promo {
    color: var(--red);
}

/* Quantity + Add actions */
.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: auto;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--cream-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--cream-surface);
}

.qty-btn {
    width: 32px;
    height: 38px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--ink);
    transition: background 0.2s;
    font-weight: 600;
}

.qty-btn:hover {
    background: var(--cream-border);
}

.qty-display {
    width: 34px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.add-btn {
    flex: 1;
    padding: 0.7rem 0.5rem;
    font-size: 0.78rem;
    border-radius: var(--radius-sm);
}

/* Badges on Cards */
.badge-promo {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--red);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    box-shadow: var(--sh-sm);
}

.badge-agotado {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: var(--muted);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
}

.badge-free-ship {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    background: #dcfce7;
    color: #16a34a;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    border: 1px solid #bfe9cf;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--pale);
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
}

/* ── MODALS & CHECKOUT ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 24, 27, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 990;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s var(--spring-bezier);
}

.modal-overlay.open {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-box {
    background: var(--cream-surface);
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.2rem;
    box-shadow: var(--sh-lg);
    animation: slideUp 0.4s var(--spring-bezier);
    position: relative;
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}

.modal-header h3 {
    font-size: 1.7rem;
    font-weight: 600;
}

.modal-close {
    background: var(--cream-bg);
    border: 1px solid var(--cream-border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--ink);
}

.modal-close:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    transform: rotate(90deg);
}

/* Cart contents list inside modal */
.cart-empty {
    text-align: center;
    padding: 3.5rem 1rem;
    color: var(--pale);
}

.cart-empty span {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--cream-border);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #fff;
    flex-shrink: 0;
    border: 1px solid var(--cream-border);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 700;
    margin-top: 3px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--cream-border);
    background: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-qty-btn:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.cart-qty-num {
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--pale);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: var(--red);
}

.cart-summary {
    margin: 1.75rem 0;
    padding: 1.25rem;
    background: var(--cream-muted);
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.summary-row.total {
    border-top: 1.5px solid var(--cream-border);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
}

.summary-row.total .amount {
    color: var(--red);
}

/* Checkout inputs & select elements */
.cf-group {
    margin-bottom: 1rem;
}

.cf-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cf-req {
    color: var(--red);
}

.cf-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--cream-border);
    border-radius: var(--radius-sm);
    background: var(--white);
    overflow: hidden;
    transition: border-color 0.3s;
    box-shadow: inset 0 1px 2px rgba(24, 24, 27, 0.02);
}

.cf-input-wrap:focus-within {
    border-color: var(--red);
}

.cf-icon {
    padding: 0 12px;
    font-size: 0.95rem;
    flex-shrink: 0;
    color: var(--pale);
}

.cf-prefix {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    padding-right: 6px;
    white-space: nowrap;
}

.cf-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px 12px 0;
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    background: transparent;
    color: var(--ink);
}

.cf-input.cf-has-prefix {
    padding-left: 0;
}

.cf-input-solo {
    width: 100%;
    border: 1.5px solid var(--cream-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--ink);
    transition: border-color 0.3s;
    box-shadow: inset 0 1px 2px rgba(24, 24, 27, 0.02);
}

.cf-input-solo:focus {
    outline: none;
    border-color: var(--red);
}

.cf-select {
    width: 100%;
    border: 1.5px solid var(--cream-border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--ink);
    appearance: auto;
    transition: border-color 0.3s;
    box-shadow: inset 0 1px 2px rgba(24, 24, 27, 0.02);
}

.cf-select:focus {
    outline: none;
    border-color: var(--red);
}

.cf-select:disabled {
    background: var(--cream-bg);
    color: var(--pale);
    cursor: not-allowed;
}

.btn-checkout-cta {
    width: 100%;
    padding: 1.1rem;
    margin-top: 1.25rem;
    background: #16a34a;
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s var(--spring-bezier);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
}

.btn-checkout-cta:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}

.btn-checkout-cta:active {
    transform: translateY(0) scale(0.98);
}

/* Carrier Options */
.carrier-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.carrier-card {
    cursor: pointer;
}

.carrier-card input {
    display: none;
}

.carrier-label {
    display: inline-block;
    padding: 8px 18px;
    border: 1.5px solid var(--cream-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    background: var(--white);
    transition: all 0.3s var(--spring-bezier);
    white-space: nowrap;
}

.carrier-card input:checked + .carrier-label {
    border-color: var(--red);
    color: var(--red);
    background: var(--red-light);
    box-shadow: var(--sh-sm);
}

.carrier-card:hover .carrier-label {
    border-color: var(--red);
}

/* Payment Method Cards */
.payment-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.payment-card {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1.5px solid var(--cream-border);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    background: var(--white);
    transition: all 0.3s var(--spring-bezier);
}

.payment-card input {
    display: none;
}

.payment-card:has(input:checked) {
    border-color: var(--red);
    background: var(--red-light);
}

.payment-card:hover {
    border-color: var(--red);
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
}

.payment-card:has(input:checked) .payment-label {
    color: var(--red);
}

/* ── TOAST ── */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--ink);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 10000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    white-space: nowrap;
    box-shadow: var(--sh-lg);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ── LIGHTBOX ── */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    animation: fadeIn 0.25s var(--spring-bezier);
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--sh-lg);
    animation: lbZoom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

@keyframes lbZoom {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.lightbox-close:hover {
    background: var(--red);
    border-color: var(--red);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    max-width: 80vw;
    pointer-events: none;
}

/* ── CONTACT SECTION ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-feature {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    border: 1px solid var(--cream-border);
    transition: all 0.3s var(--spring-bezier);
    box-shadow: var(--sh-sm);
}

.contact-feature:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.contact-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 1rem;
    transition: transform 0.4s var(--spring-bezier);
}

.contact-feature:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-feature h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.6rem;
    font-family: 'Jost', sans-serif;
}

.contact-feature p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}

.contact-cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem 4rem;
    align-items: center;
    box-shadow: var(--sh-lg);
    position: relative;
    overflow: hidden;
}

.contact-cta-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(163, 11, 29, 0.15) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.contact-cta-left h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.contact-cta-left p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.contact-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.contact-step span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-cta-right {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

.contact-wa-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #25D366;
    color: var(--white);
    padding: 1.1rem 1.6rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s var(--spring-bezier);
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
}

.contact-wa-btn:hover {
    background: #1da855;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

.contact-wa-btn strong {
    color: var(--white);
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.contact-wa-btn small {
    display: block;
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 3px;
}

.contact-horario {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.contact-email-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    text-decoration: none;
    text-align: center;
    transition: color 0.2s;
}

.contact-email-link:hover {
    color: var(--white);
}

/* ── REVIEWS & TESTIMONIALS ── */
.review-card {
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    box-shadow: var(--sh-sm);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.review-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 3px;
}

.review-text {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.review-author {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pale);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── FAQ ACCORDION ── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-md);
    background: var(--white);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--red);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.4rem 1.6rem;
    font-family: 'Jost', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    transition: color 0.2s;
}

.faq-q:hover {
    color: var(--red);
}

.faq-arrow {
    font-size: 1.1rem;
    color: var(--pale);
    transition: transform 0.3s var(--spring-bezier);
    flex-shrink: 0;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--red);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.75;
    padding: 0 1.6rem;
    transition: max-height 0.4s var(--spring-bezier), padding 0.4s var(--spring-bezier);
}

.faq-item.open .faq-a {
    max-height: 250px;
    padding: 0 1.6rem 1.4rem;
}

/* ── WHATSAPP FLOATING BUTTON ── */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 300;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s var(--spring-bezier), box-shadow 0.3s var(--spring-bezier);
    animation: pulse-wa 2.5s infinite;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4); }
    50%      { box-shadow: 0 8px 45px rgba(37, 211, 102, 0.65); }
}

.wa-float-label {
    position: absolute;
    right: 68px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--spring-bezier), transform 0.3s var(--spring-bezier);
    transform: translateX(10px);
    font-family: 'Jost', sans-serif;
    box-shadow: var(--sh-md);
}

.wa-float:hover .wa-float-label {
    opacity: 1;
    transform: translateX(0);
}

/* ── FOOTER & SOCIAL LINKS ── */
.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cream-muted);
    border: 1px solid var(--cream-border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.15rem;
    transition: all 0.3s var(--spring-bezier);
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.social-link.fb:hover { background: #1877F2; color: var(--white); border-color: #1877F2; }
.social-link.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: var(--white); border-color: transparent; }
.social-link.tt:hover { background: #010101; color: var(--white); border-color: #010101; }
.social-link.wa:hover { background: #25D366; color: var(--white); border-color: #25D366; }

footer {
    background: var(--white);
    border-top: 1px solid var(--cream-border);
    padding: 3.5rem 0;
    text-align: center;
    color: var(--pale);
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
}

/* ── PAGE HERO (Static detail pages top banner) ── */
.page-hero {
    background: var(--ink);
    color: var(--white);
    padding: 5rem 0 4.5rem;
    text-align: center;
    position: relative;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(163, 11, 29, 0.08) 0%, transparent 80%);
    pointer-events: none;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.page-hero-meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.page-hero-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.page-hero-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ── PRODUCT / COMBO DYNAMIC DETAIL VIEW ── */
.wrap {
    max-width: 1100px;
    margin: 2rem auto 4.5rem;
    padding: 0 5%;
}

.crumb {
    font-size: 0.78rem;
    color: var(--pale);
    margin: 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.crumb a {
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}

.detail {
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--sh-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.media {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    min-height: 380px;
    border-right: 1px solid var(--cream-border);
}

.media img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
}

.media a.zoom {
    display: block;
    width: 100%;
    cursor: zoom-in;
}

.media a.zoom::after {
    content: "🔍 Ampliar";
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(24, 24, 27, 0.85);
    color: var(--white);
    font-size: 0.74rem;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.media.big {
    padding: 2rem;
}

.media.big img {
    max-height: 700px;
}

.detail .badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: var(--sh-sm);
}

.detail .badge.out {
    background: var(--pale);
    left: auto;
    right: 20px;
}

.info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info .cat {
    display: inline-block;
    background: var(--red-light);
    color: var(--red);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    align-self: flex-start;
    border: 1px solid var(--red-light-border);
}

.info .title {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 0.9rem;
}

.info .desc {
    color: var(--muted);
    font-size: 0.96rem;
    margin-bottom: 1.75rem;
    line-height: 1.65;
}

.info .price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 2rem;
}

.info .price .now {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ink);
}

.info .price .now.promo {
    color: var(--red);
}

.info .price .old {
    font-size: 1.2rem;
    color: var(--pale);
    text-decoration: line-through;
}

/* Dynamic product inclusions for combos */
.includes {
    margin-top: 2rem;
    border-top: 1px solid var(--cream-border);
    padding-top: 1.75rem;
}

.includes h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ink);
}

.inc-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 0.9rem;
    padding: 10px;
    background: var(--cream-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--cream-border);
}

.inc-item img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.inc-item .n {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.inc-item .s {
    font-size: 0.78rem;
    color: var(--pale);
    margin-top: 2px;
}

/* Skincare technical sheet (Ficha técnica Eucerin) */
.ficha {
    margin-top: 2rem;
    border-top: 1px solid var(--cream-border);
    padding-top: 1.75rem;
    display: grid;
    gap: 1.5rem;
}

.ficha .meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--muted);
    background: var(--cream-bg);
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
}

.ficha .meta b {
    color: var(--ink);
    font-weight: 600;
}

.ficha .blk h4 {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ficha .blk p, .ficha .blk ol {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.65;
}

.ficha .blk ol {
    margin: 0.25rem 0 0 1.25rem;
}

.ficha .blk ol li {
    margin-bottom: 0.4rem;
}

/* ── RESPONSIVE ADAPTABILITY ── */
@media (max-width: 992px) {
    .hero-visual {
        flex-direction: column;
        height: auto;
        max-height: none;
    }
    .hero-panel {
        flex: none;
        height: 40vh;
        width: 100%;
    }
    
    .hero-badge {
        display: none; /* Centered badge removed on stacked mobile */
    }
    
    .cat-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.96);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid var(--cream-border);
        box-shadow: var(--sh-md);
        z-index: 190;
        padding: 1rem 5% 2rem;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s var(--spring-bezier), opacity 0.3s;
    }
    
    .nav-links.open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(24, 24, 27, 0.04);
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .nav-links a::after {
        display: none; /* Disable underline effect on mobile */
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hamburger Active morph state */
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .detail {
        grid-template-columns: 1fr;
    }
    
    .media {
        border-right: none;
        border-bottom: 1px solid var(--cream-border);
        padding: 2rem;
    }
    
    .info {
        padding: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-img-wrap {
        height: 140px;
    }
    
    .contact-cta-box {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 2rem;
    }
    
    .contact-cta-left h3 {
        font-size: 1.8rem;
    }
    
    .cat-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .product-card {
        padding: 4px;
    }
    
    .product-card-inner {
        padding: 0.85rem;
    }
    
    .product-title {
        font-size: 0.82rem;
        margin-bottom: 0.5rem;
    }
    
    .product-price {
        font-size: 1.15rem;
    }
    
    .add-btn {
        font-size: 0.72rem;
        padding: 0.6rem 0.4rem;
    }
    
    .qty-btn {
        width: 26px;
        height: 32px;
    }
    
    .qty-display {
        width: 26px;
    }
    
    .logo {
        font-size: 1.7rem;
    }
    
    .site-topbar {
        font-size: 0.68rem;
    }
    
    .topbar-sep {
        margin: 0 8px;
    }
}
