/* NOXARU - Estilos Principales */
/* PHP pages load fonts via <link> preconnect in <head>; @import here as fallback for any cached .html */
@import url('https://fonts.googleapis.com/css2?family=Caudex:wght@400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Voga';
    src: url('/assets/fonts/Voga-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --ivory: #FAF5F1;
    --warm-white: #FEFCFA;
    --cream: #F5EDE6;
    --blush: #F5E0E2;
    --nude: #E8D0C4;
    --marsala: #663635;
    --wine: #4A1C1C;
    --rosewater: #E1999F;
    --dusty-rose: #DEB3AD;
    --dark-gray: #2c2424;
    --text-muted: #8a7070;
    --light-gray: #f5f5f5;
    --transition: all 0.3s ease;
    --radius-card: 20px;
    --shadow-soft: 0 4px 24px rgba(102, 54, 53, 0.08);
    --shadow-hover: 0 16px 48px rgba(102, 54, 53, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.hero h2,
section h2,
.products-section-title,
.catalog-hero h1,
.banner-card h3,
.service-card h3,
.about-page-title {
    font-family: 'Caudex', serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-rendering: optimizeLegibility;
    text-shadow: 0 1px 2px rgba(102, 54, 53, 0.12);
}

.hero p,
.products-cta-sub,
.catalog-hero-sub,
.contact-subtitle,
.banner-card p,
.service-card p,
.brand-chip p,
.about-text p,
.contact-kicker,
.catalog-hero-kicker {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============= NAVBAR ============= */
/* ============= HEADER STICKY GLOBAL ============= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    position: relative;
    z-index: 1001;
    background: rgba(255, 252, 250, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(102, 54, 53, 0.07), 0 4px 24px rgba(102, 54, 53, 0.05);
}

/* ============= BARRA DE CATEGORÍAS ============= */
.cat-bar {
    background: #de6e7a;
    box-shadow: 0 2px 12px rgba(102, 54, 53, 0.18);
    position: relative;
    z-index: 998;
}

.cat-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    /* NO overflow aquí — el dropdown necesita salir del contenedor */
}

/* Cada ítem del menú */
.cat-item {
    position: relative;
}

.cat-bar-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 13px 20px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    display: block;
}

.cat-bar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(255, 248, 245, 0.7);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform 0.22s ease;
}

.cat-item:hover .cat-bar-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.cat-item:hover .cat-bar-link::after {
    transform: scaleX(1);
}

/* ── Dropdown ── */
.cat-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 48px rgba(102, 54, 53, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 2000;
    pointer-events: none;
}

.cat-dropdown--wide {
    min-width: 620px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
}

.cat-item:hover .cat-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.cat-item:hover .cat-dropdown--wide {
    transform: translateX(-50%) translateY(0);
}

.cat-dropdown-inner {
    display: flex;
    gap: 0;
    padding: 24px 28px;
}

.cat-col {
    flex: 1;
    padding: 0 16px;
    border-right: 1px solid rgba(222, 179, 173, 0.25);
}

.cat-col:first-child { padding-left: 0; }
.cat-col:last-child  { border-right: none; padding-right: 0; }

.cat-col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--marsala);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid rgba(222, 179, 173, 0.35);
}

.cat-dd-link {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark-gray);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.18s ease, padding-left 0.18s ease;
    white-space: nowrap;
}

.cat-dd-link:hover {
    color: var(--marsala);
    padding-left: 6px;
}

@media (max-width: 768px) {
    .cat-bar-inner { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
    .cat-bar-inner::-webkit-scrollbar { display: none; }
    .cat-bar-link  { font-size: 13px; padding: 11px 15px; }
    .cat-dropdown  { display: none; }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 220px;
}

.logo-full {
    width: 220px;
    height: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    flex: 1;
    margin-left: 34px;
}

/* El header del cajón solo existe en móvil — ocultar en desktop */
.nav-drawer-header { display: none; }
.nav-overlay { display: none; }

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--marsala);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rosewater);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Buscador en navbar — visible en home y catalógo */
.nav-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-input {
    width: 210px;
    padding: 8px 10px 8px 34px;
    border: 1.5px solid rgba(220, 150, 175, 0.4);
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: var(--dark-gray);
    background: #fdf8f8;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search-input::placeholder { color: #bfa0aa; }

.nav-search-input:focus {
    border-color: var(--rosewater);
    background: white;
    box-shadow: 0 2px 14px rgba(225, 153, 159, 0.2);
}

.nav-search-icon {
    position: absolute;
    left: 12px;
    color: #c0909a;
    font-size: 13px;
    pointer-events: none;
    z-index: 1;
    transition: color 0.2s;
}

.nav-search-input:focus + .nav-search-icon,
.nav-search-input:focus ~ .nav-search-icon { color: var(--marsala); }

.nav-search-clear {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #c0909a;
    font-size: 12px;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: color 0.18s;
}
.nav-search-clear:hover { color: var(--marsala); }

/* Buscador en menú móvil — solo visible cuando el menú está abierto */
.nav-search-mobile-item {
    display: none;
    padding: 10px 20px 4px;
}

.nav-search-mobile-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(222, 179, 173, 0.12);
    border: 1.5px solid rgba(222, 179, 173, 0.4);
    border-radius: 999px;
    padding: 10px 16px;
}

.nav-search-mobile-wrap i {
    color: var(--marsala);
    font-size: 14px;
    flex-shrink: 0;
}

.nav-search-mobile-input {
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--dark-gray);
    outline: none;
    width: 100%;
}

.nav-search-mobile-input::placeholder {
    color: #bfa0aa;
}

/* Ocultar buscador en navbar */
@media (max-width: 900px) {
    .nav-search-wrap { display: none; }
}

.btn-cart {
    background: transparent;
    border: 2px solid var(--marsala);
    color: var(--marsala);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    position: relative;
}

.btn-login {
    background: transparent;
    border: 2px solid var(--marsala);
    color: var(--marsala);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    font-size: 17px;
    flex-shrink: 0;
}

.btn-login:hover, .btn-cart:hover {
    background: var(--marsala);
    color: white;
}

/* ============= USER DROPDOWN ============= */
.user-dropdown-wrapper {
    position: relative;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(102, 54, 53, 0.18);
    border: 1px solid rgba(102, 54, 53, 0.1);
    min-width: 210px;
    z-index: 2000;
    padding: 8px;
    animation: dropdownIn 0.18s ease;
    transform-origin: top right;
}

.user-dropdown.open {
    display: block;
}

@keyframes dropdownIn {
    from { opacity: 0; transform: scale(0.94) translateY(-6px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 10px;
    color: var(--marsala);
    font-weight: 700;
    font-size: 15px;
}

.user-dropdown-header i {
    font-size: 22px;
    color: var(--rosewater);
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(102, 54, 53, 0.08);
    margin: 4px 8px;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}

.user-dropdown-item i {
    font-size: 15px;
    color: var(--rosewater);
    width: 18px;
    text-align: center;
}

.user-dropdown-item:hover {
    background: var(--ivory);
    color: var(--marsala);
}

.user-dropdown-logout {
    color: #c0392b;
}

.user-dropdown-logout i {
    color: #c0392b;
}

.user-dropdown-logout:hover {
    background: #fff0f0;
    color: #a93226;
}

.btn-cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--rosewater);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--marsala);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============= HERO SECTION ============= */
.hero {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff819cb8, rgb(139 79 45 / 56%)), url('../assets/images/bg1.webp');
    background-size: cover;
    background-position: center top;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 740px;
    color: white;
}

.hero h2 {
    font-family: 'Dancing Script', cursive;
    color: #fffaf7;
    font-size: 58px;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 1.05;
    text-wrap: balance;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-family: 'Montserrat', sans-serif;
    color: #3d1a1a;
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 0.1px;
    line-height: 1.45;
    opacity: 0.92;
}

/* ============= BOTONES ============= */
.btn-primary {
    background: linear-gradient(135deg, #c0687a 0%, #d06060 100%);
    color: white;
    border: none;
    padding: 15px 44px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.28s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(102, 54, 53, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8a3838 0%, var(--wine) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(102, 54, 53, 0.36);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--rosewater) 0%, #d4849c 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.28s ease;
    box-shadow: 0 3px 14px rgba(225, 153, 159, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #d4849c 0%, #c0607a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 96, 122, 0.3);
}

/* ============= SECCIONES ============= */
section {
    padding: 100px 0;
}

section h2 {
    font-family: 'Caudex', serif;
    font-size: 66px;
    font-weight: 700;
    color: var(--marsala);
    margin-bottom: 56px;
    text-align: center;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(102, 54, 53, 0.12);
    -webkit-font-smoothing: antialiased;
    word-break: normal;
}

/* Títulos grandes en about.html — responsivos */
.about-page-title {
    font-size: 60px;
}

/* ============= ABOUT SECTION ============= */
.about {
    background: #a97060;
}

.about h2 {
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: white;
    line-height: 1.8;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    text-align: justify;
}

.about-text p:not(:first-child) {
    color: white;
}

.about-values {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-values li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
}

.about-values i {
    color: #ffcdd2;
    font-size: 18px;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--ivory), var(--dusty-rose));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--rosewater);
    opacity: 0.5;
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.about-collage-img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    display: block;
    box-shadow: 0 12px 40px rgba(102, 54, 53, 0.18);
}

/* ============= BANNERS SECTION ============= */
.banners {
    background: var(--warm-white);
    padding: 80px 0;
}

.banners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.banner-card {
    background: white;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(222, 179, 173, 0.22);
}

.banner-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(225, 153, 159, 0.5);
}

.banner-image {
    height: 260px;
    position: relative;
    background: linear-gradient(135deg, var(--nude), var(--dusty-rose));
    overflow: hidden;
    transition: var(--transition);
}

.banner-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(102, 54, 53, 0.04), rgba(102, 54, 53, 0.14));
    pointer-events: none;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.banner-card:hover .banner-image img {
    transform: scale(1.04);
}

.banner-image-premium img {
    object-position: 30% center;
}

.banner-image-natural img {
    object-position: center 25%;
}

.banner-image-ritual img {
    object-position: center 20%;
}

.banner-card:hover .banner-image {
    opacity: 1;
}

.banner-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

..banner-card h3 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    color: var(--marsala);
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.banner-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.banner-link {
    color: var(--rosewater);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    width: fit-content;
}

.banner-link:hover {
    color: var(--marsala);
    transform: translateX(5px);
}

/* ============= SERVICES SECTION ============= */
.services {
    background: linear-gradient(160deg, #fb828f 0%, #c25460 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 5% 10%, rgba(255, 240, 242, 0.18) 0%, transparent 45%),
        radial-gradient(ellipse at 95% 90%, rgba(80, 20, 25, 0.2) 0%, transparent 45%),
        radial-gradient(ellipse at 60% 0%, rgba(255, 210, 215, 0.12) 0%, transparent 38%);
    pointer-events: none;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services h2 {
    font-family: 'Caudex', serif;
    color: #fff5f6;
    text-shadow: 0 2px 14px rgba(80, 20, 25, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 36px 28px;
    border-radius: var(--radius-card);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 0 8px 32px rgba(100, 20, 40, 0.15), inset 0 1px 0 rgba(255,255,255,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-8px);
    box-shadow: 0 18px 48px rgba(100, 20, 40, 0.22), inset 0 1px 0 rgba(255,255,255,0.45);
    border-color: rgba(255, 255, 255, 0.5);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 18px;
    color: white;
    display: block;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(100, 20, 40, 0.2);
}

.service-card h3 {
    font-family: 'Caudex', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    letter-spacing: 0.01em;
}

.service-card p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

/* ============= PRODUCTS SECTION ============= */
.products {
    background: #f3cc8d;
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.10) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.10) 50%, rgba(255, 255, 255, 0.10) 75%, transparent 75%, transparent),
        linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.06) 75%, transparent 75%, transparent),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.10) 0%, transparent 18%);
    background-size: 24px 24px, 24px 24px, 220px 220px, 220px 220px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.products .container {
    position: relative;
    z-index: 1;
}

/* El slider de productos ocupa más ancho que el contenedor estándar */
.products .container {
    max-width: 1320px;
}

.products-slider-outer {
    max-width: 1220px;
    margin: 0 auto;
}

.products-section-title {
    font-family: 'Caudex', serif;
    font-size: 66px;
    font-weight: 700;
    color: var(--marsala);
    text-align: center;
    margin-bottom: 0;
    letter-spacing: 0.02em;
    line-height: 1.15;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    text-shadow: 0 1px 2px rgba(102, 54, 53, 0.12);
}

.products-slider-outer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(102, 54, 53, 0.25);
    background: white;
    color: var(--marsala);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(102, 54, 53, 0.1);
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    pointer-events: all;
}

.slider-arrow:hover {
    background: var(--marsala);
    color: white;
    border-color: var(--marsala);
    transform: scale(1.08);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
}

.products-slider-wrapper {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.products-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card {
    background: white;
    border: 1px solid rgba(222, 179, 173, 0.28);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: box-shadow 0.32s ease, transform 0.32s ease, border-color 0.32s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    /* el ancho lo asigna JS según viewport y slides visibles */
    flex-shrink: 0;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-7px);
    border-color: rgba(225, 153, 159, 0.4);
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    background: linear-gradient(135deg, #fdf0f4 0%, #e8c8d0 60%, #f0d8e4 100%);
    overflow: hidden;
    opacity: 1;
    font-size: 0;
    position: relative;
}

#productos .product-image {
    aspect-ratio: 1 / 1;
}

/* Fallback elegante cuando no hay imagen — nunca queda vacío */
.product-image::before {
    content: 'NOXARU';
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(102, 54, 53, 0.28);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
}

.product-meta {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-title {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--marsala);
    line-height: 1.28;
    letter-spacing: 0.01em;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.product-desc {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.45;
    letter-spacing: 0.01em;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.5em;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--rosewater);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    color: var(--marsala);
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--marsala);
    letter-spacing: 0.02em;
    line-height: 1;
    margin: 6px 0 0;
}

.product-btn {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: 100%;
    margin-top: 12px;
    padding: 13px 16px;
    border-radius: 30px;
}

/* === Cabecera centrada de la sección de productos === */
.products-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.products-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 14px;
}

.products-section-cta {
    text-align: center;
    margin-bottom: 44px;
}

.products-cta-sub,
.catalog-hero-sub,
.banner-card p,
.brand-chip p {
    font-family: 'Dancing Script', cursive;
}

.products-cta-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
}


.products-cta-sub::before,
.products-cta-sub::after {
    content: '';
    flex: 1;
    max-width: 2000px;
    height: 1.6px;
    background: var(--text-muted);
    opacity: 0.45;
    border-radius: 2px;
}

.btn-catalog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 38px;
    border-radius: 999px;
    border: none;
    color: #ffffff;
    background: #de6e7a;
    font-family: 'Montserrat', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(225, 153, 159, 0.3);
    transition: all 0.28s ease;
    cursor: pointer;
}

.btn-catalog i {
    font-size: 12px;
    transition: transform 0.28s ease;
}

.btn-catalog:hover {
    background: linear-gradient(135deg, #c0687a 0%, #d06060 100%);
    box-shadow: 0 6px 24px rgba(192, 96, 122, 0.28);
    transform: translateY(-2px);
    color: white;
}

.btn-catalog:hover i {
    transform: translateX(4px);
}

.btn-catalog-inline {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 12px rgba(225, 153, 159, 0.25);
}

.btn-catalog-inline i {
    font-size: 11px;
}

.rating {
    color: var(--rosewater);
    font-size: 14px;
}

.btn-add-cart {
    width: 100%;
    background: linear-gradient(135deg, var(--marsala) 0%, #8a3838 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 3px 14px rgba(102, 54, 53, 0.22);
    transition: all 0.28s ease;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #8a3838 0%, var(--wine) 100%);
    box-shadow: 0 6px 22px rgba(102, 54, 53, 0.3);
    transform: translateY(-2px);
}

/* ============= CONTACT SECTION ============= */
.contact {
    background: linear-gradient(160deg, var(--warm-white) 0%, #fdf0f4 40%, #f7eef8 100%);
    position: relative;
    overflow: hidden;
}

.contact-bg-deco {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(255, 182, 210, 0.22) 0%, transparent 45%),
        radial-gradient(ellipse at 100% 100%, rgba(210, 170, 240, 0.18) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 10%, rgba(255, 210, 220, 0.15) 0%, transparent 35%);
    background-image:
        radial-gradient(rgba(210, 130, 160, 0.08) 1.5px, transparent 1.5px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 75%, transparent);
    background-size: 30px 30px, 18px 18px;
    pointer-events: none;
}

.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 52px;
}

.contact-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #c0607a;
    background: rgba(220, 130, 160, 0.12);
    border: 1px solid rgba(220, 130, 160, 0.28);
}

.contact-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: #9a6472;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.75;
    margin-top: 10px;
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(200px, 1fr);
    gap: 56px;
    align-items: start;
    padding-right: 32%;
}

/* Imagen decorativa de fondo — fade lateral derecha */
.contact-deco-img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44%;
    pointer-events: none;
    z-index: 0;
}

.contact-deco-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    opacity: 0.82;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 18%,
        rgba(0, 0, 0, 0.72) 42%,
        black 68%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 18%,
        rgba(0, 0, 0, 0.72) 42%,
        black 68%
    );
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.info-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(225, 153, 159, 0.25), rgba(200, 120, 150, 0.15));
    border: 1.5px solid rgba(220, 150, 175, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--marsala);
}

.info-item h4 {
    color: var(--marsala);
    margin-bottom: 4px;
    font-size: 15px;
}

.info-item p {
    color: #9a6472;
    font-size: 14px;
    margin: 0;
}

.contact-social {
    margin-top: 8px;
}

.contact-social p {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #c0607a;
    margin-bottom: 12px;
}

.contact-social-links {
    display: flex;
    gap: 12px;
}

.contact-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(220, 150, 175, 0.35);
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--marsala);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-social-links a:hover {
    background: var(--marsala);
    color: white;
    border-color: var(--marsala);
    transform: translateY(-2px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(220, 150, 175, 0.2);
    border-radius: 24px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(200, 100, 140, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Inputs con label flotante */
.form-field {
    position: relative;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 18px 16px 8px;
    border: 1.5px solid rgba(220, 150, 175, 0.35);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    background: rgba(255, 250, 252, 0.8);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
    color: #5a3040;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #b08090;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
}

.form-field textarea ~ label {
    top: 20px;
    transform: none;
}

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
    top: 8px;
    transform: none;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: #c0607a;
    font-weight: 600;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(200, 100, 140, 0.6);
    box-shadow: 0 0 0 3px rgba(220, 130, 160, 0.12);
    background: white;
}

.contact-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.btn-whatsapp {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: scale(1.1);
}

/* ============= BRANDS SECTION ============= */
.brands-section {
    position: relative;
    background: linear-gradient(160deg, #fff5f7 0%, #fce8ee 35%, #f9f0fb 65%, #fdf0f5 100%);
    border-top: none;
    border-bottom: none;
    overflow: hidden;
}

/* Manchas de color suaves */
.brands-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 5% 10%, rgba(255, 182, 210, 0.35) 0%, transparent 40%),
        radial-gradient(ellipse at 95% 90%, rgba(210, 170, 240, 0.25) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 0%, rgba(255, 200, 220, 0.2) 0%, transparent 35%),
        radial-gradient(ellipse at 30% 100%, rgba(250, 210, 230, 0.3) 0%, transparent 40%);
    pointer-events: none;
}

/* Puntos decorativos */
.brands-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(220, 130, 170, 0.12) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
}

.brands-section .container {
    position: relative;
    z-index: 1;
}

.brands-headline {
    max-width: 780px;
    margin: 0 auto 38px;
    text-align: center;
}

.brands-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #c0607a;
    background: rgba(220, 130, 160, 0.13);
    border: 1px solid rgba(220, 130, 160, 0.3);
}

.brands-headline h2 {
    margin-bottom: 12px;
    color: var(--marsala);
}

.brands-description {
    color: #9a6472;
    font-size: 16px;
    line-height: 1.7;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.brand-chip {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(220, 150, 175, 0.25);
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 18px rgba(200, 100, 140, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.brand-chip:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 130, 165, 0.5);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 32px rgba(200, 100, 140, 0.15), inset 0 1px 0 rgba(255,255,255,1);
}

.brand-mark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    background: linear-gradient(145deg, var(--marsala), #8a4b4a);
    color: white;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    box-shadow: 0 3px 10px rgba(200, 100, 140, 0.2);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-chip h3 {
    color: var(--marsala);
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;
}

.brand-chip p {
    margin: 4px 0 0;
    color: #a87080;
    font-size: 13px;
    line-height: 1.4;
}

/* ============= FOOTER ============= */
.footer {
    background: linear-gradient(160deg, var(--marsala) 0%, var(--wine) 100%);
    color: rgba(255, 255, 255, 0.88);
    padding: 72px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 200, 210, 0.06) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

@media (min-width: 1px) and (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (min-width: 1px) and (max-width: 560px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-section h4 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.01em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--rosewater);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.06);
}

.social-links a:hover {
    background: var(--rosewater);
    border-color: var(--rosewater);
    transform: translateY(-2px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact li i {
    width: 18px;
    text-align: center;
    color: var(--rosewater);
    font-size: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--rosewater);
}

/* ============= MODALES ============= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.cart-modal-content {
    max-width: 720px;
    width: min(92vw, 720px);
    max-height: min(86vh, 820px);
    padding: 34px 34px 28px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(102, 54, 53, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 241, 240, 0.98));
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--marsala);
    transition: var(--transition);
}

.close:hover {
    color: var(--rosewater);
}

.modal h2 {
    color: var(--marsala);
    margin-bottom: 20px;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    max-height: min(46vh, 420px);
    overflow-y: auto;
    padding-right: 6px;
}

.cart-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(222, 173, 174, 0.55);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 34px rgba(102, 54, 53, 0.08);
}

.cart-item-media {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(249, 241, 240, 1), rgba(233, 200, 201, 0.9));
}

.cart-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    color: var(--marsala);
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.cart-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-item-quantity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(249, 241, 240, 1);
    color: #8c6662;
    font-size: 13px;
    font-weight: 600;
}

.cart-item-quantity span {
    white-space: nowrap;
}

.cart-qty-input {
    width: 54px;
    border: 0;
    border-radius: 999px;
    background: white;
    color: var(--marsala);
    padding: 6px 10px;
    text-align: center;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(222, 173, 174, 0.65);
}

.cart-qty-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(126, 71, 70, 0.22);
}

.cart-item-unit {
    color: #97726e;
    font-size: 13px;
    font-weight: 600;
}

.cart-item-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.cart-item-price {
    color: var(--marsala);
    font-weight: 700;
    font-size: 20px;
    white-space: nowrap;
}

.btn-remove-cart {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 54, 53, 0.06);
    border: none;
    border-radius: 999px;
    color: #8f6661;
    cursor: pointer;
    font-size: 15px;
    transition: var(--transition);
}

.btn-remove-cart:hover {
    background: rgba(102, 54, 53, 0.12);
    color: var(--marsala);
    transform: translateY(-1px);
}

.empty-cart {
    text-align: center;
    padding: 44px 24px;
    color: #8f7a78;
    border: 1px dashed rgba(222, 173, 174, 0.7);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
}

.empty-cart-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--marsala);
    background: rgba(249, 241, 240, 1);
    font-size: 28px;
}

.empty-cart-title {
    color: var(--marsala);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-cart-copy {
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.55;
}

.cart-summary {
    padding-top: 22px;
    border-top: 1px solid rgba(222, 173, 174, 0.6);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 18px 22px;
    background: rgba(255, 248, 247, 0.95);
    border: 1px solid rgba(222, 173, 174, 0.55);
    border-radius: 20px;
}

.cart-total-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #97726e;
}

.cart-total h3 {
    margin: 0;
    color: var(--marsala);
    font-size: 1.9rem;
    line-height: 1;
}

.cart-checkout-btn {
    width: 100%;
    margin-top: 0;
    padding: 16px 24px;
    border-radius: 999px;
    font-size: 17px;
}

/* Form */
.modal-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--marsala);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--dusty-rose);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--marsala);
    box-shadow: 0 0 0 3px rgba(225, 153, 159, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-options a {
    color: var(--rosewater);
    text-decoration: none;
}

.form-options a:hover {
    color: var(--marsala);
}

.signup-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.signup-link a {
    color: var(--rosewater);
    text-decoration: none;
    font-weight: 600;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        order: 1;
        flex-shrink: 0;
    }

    .logo {
        order: 2;
        min-width: unset;
        flex-shrink: 0;
    }

    .logo-full {
        width: 100px;
        max-width: 100px;
    }

    .nav-content {
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        padding: 10px 0;
        position: relative;
    }

    /* Flatten nav-actions so its children participate in nav-content flex order */
    .nav-actions {
        display: contents;
    }

    /* Show the search bar inline — tamaño justo entre logo e iconos */
    .nav-search-wrap {
        display: flex !important;
        order: 3;
        flex: 1 1 0;
        min-width: 0;
        max-width: 160px;
    }

    .nav-search-input {
        width: 100%;
        min-width: 0;
        max-width: 160px;
        padding: 7px 8px 7px 28px;
        font-size: 12px;
    }

    .user-dropdown-wrapper {
        order: 4;
        flex-shrink: 0;
    }

    .btn-cart {
        order: 5;
        flex-shrink: 0;
        padding: 6px 10px;
        font-size: 12px;
    }

    .btn-login {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    /* ── Cajón lateral izquierdo ── */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 75vw;
        max-width: 270px;
        display: block !important;   /* block, no flex — los li se apilan solos */
        list-style: none;
        margin: 0;
        padding: 0;
        background: #fff8f7;
        z-index: 10000;
        box-shadow: 6px 0 32px rgba(102, 54, 53, 0.25);
        border-right: 2px solid rgba(222,179,173,0.4);
        transform: translateX(-105%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Cabecera del cajón */
    .nav-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 24px 20px 20px;
        background: linear-gradient(135deg, #c47a80 0%, var(--marsala) 100%);
    }

    .nav-drawer-title {
        font-family: 'Montserrat', 'Segoe UI', sans-serif;
        font-size: 20px;
        font-weight: 800;
        letter-spacing: 0.15em;
        color: white;
    }

    .nav-close {
        background: rgba(255,255,255,0.25);
        border: none;
        color: white;
        font-size: 18px;
        cursor: pointer;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
        flex-shrink: 0;
    }

    .nav-close:hover { background: rgba(255,255,255,0.45); }

    /* Items del menú */
    .nav-menu li {
        display: block;
        border-bottom: 1px solid rgba(222, 179, 173, 0.3);
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 18px 24px;
        font-family: 'Montserrat', 'Segoe UI', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: var(--marsala);
        letter-spacing: 0.02em;
        transition: background 0.2s, padding-left 0.2s;
        text-decoration: none;
    }

    .nav-menu li a::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--rosewater);
        flex-shrink: 0;
    }

    .nav-menu li a:hover {
        background: rgba(222, 179, 173, 0.15);
        padding-left: 32px;
        color: var(--wine);
    }

    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: transparent;
        z-index: 9999;
        pointer-events: none;
    }

    .nav-overlay.active {
        display: block;
        pointer-events: none;
    }

    .about-page-title {
        font-size: 32px !important;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    section h2 {
        font-size: 30px;
    }

    section {
        padding: 72px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .banners-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-title-row {
        flex-direction: column;
        gap: 10px;
    }

    .products-section-title {
        font-size: 32px;
    }

    /* slider en tablet: flechas algo más pequeñas — el ancho de card lo calcula JS */
    .slider-arrow {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 13px;
    }
    .products-slider-outer {
        gap: 8px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-deco-img {
        display: none;
    }

    .brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }

    .btn-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .cart-modal-content {
        padding: 24px 18px 18px;
        border-radius: 24px;
    }

    .cart-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .cart-item-media {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .cart-item-side {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 4px;
    }

    .cart-item-price {
        font-size: 18px;
    }

    .cart-total {
        padding: 16px 18px;
    }

    .cart-total h3 {
        font-size: 1.55rem;
    }
}

@media (max-width: 480px) {
    .logo {
        min-width: auto;
    }

    .about-page-title {
        font-size: 26px !important;
    }
}

/* ===== PRODUCT DETAIL MODAL ===== */
.product-detail-modal .modal-content {
    max-width: 860px;
    width: min(94vw, 860px);
    max-height: min(90vh, 800px);
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    background: #fff;
    box-shadow: 0 30px 80px rgba(102, 54, 53, 0.18);
}

.pdm-gallery {
    flex: 0 0 48%;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    position: relative;
    min-height: 340px;
}

.pdm-gallery img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.pdm-info {
    flex: 1;
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.pdm-info .close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    line-height: 1;
}

.pdm-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--rosewater);
    font-weight: 600;
    margin-bottom: 6px;
}

.pdm-title {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--marsala);
    line-height: 1.2;
    margin-bottom: 10px;
}

.pdm-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.pdm-price {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--marsala);
    margin-bottom: 20px;
}

.pdm-price .pdm-price-old {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 10px;
    font-weight: 500;
}

/* Color/Variant selector */
.pdm-variants-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.pdm-variants-label span {
    font-weight: 400;
    color: var(--text-muted);
}

.pdm-variant-dots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.pdm-variant-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.pdm-variant-dot:hover {
    transform: scale(1.1);
}

.pdm-variant-dot.active {
    border-color: var(--marsala);
    box-shadow: 0 0 0 2px var(--marsala), 0 2px 8px rgba(102,54,53,0.25);
}

.pdm-variant-dot .pdm-dot-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
}

.pdm-variant-name {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: -12px;
    margin-bottom: 16px;
}

.pdm-stock {
    font-size: 12px;
    color: var(--rosewater);
    margin-bottom: 18px;
}

.pdm-stock i {
    margin-right: 4px;
}

/* Quantity + Add to cart */
.pdm-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
}

.pdm-qty {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--nude);
    border-radius: 10px;
    overflow: hidden;
}

.pdm-qty button {
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--marsala);
    cursor: pointer;
    transition: background 0.2s;
}

.pdm-qty button:hover {
    background: var(--cream);
}

.pdm-qty input {
    width: 44px;
    text-align: center;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    background: none;
}

.pdm-add-btn {
    flex: 1;
    padding: 12px 20px;
    background: var(--marsala);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pdm-add-btn:hover {
    background: var(--wine);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102,54,53,0.25);
}

/* Make product cards clickable */
.product-card {
    cursor: pointer;
}

.product-card .product-image {
    cursor: pointer;
}

/* Responsive detail modal */
@media (max-width: 700px) {
    .product-detail-modal .modal-content {
        flex-direction: column;
        max-height: 92vh;
    }
    .pdm-gallery {
        flex: 0 0 auto;
        min-height: 240px;
        padding: 20px;
    }
    .pdm-gallery img {
        max-height: 260px;
    }
    .pdm-info {
        padding: 24px 20px 20px;
    }
    .pdm-title {
        font-size: 22px;
    }
    .pdm-price {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .logo-full {
        width: 120px;
        height: auto;
        max-width: 130px;
    }

    .nav-actions {
        gap: 6px;
    }

    .btn-login, .btn-cart {
        padding: 7px 9px;
        font-size: 13px;
    }

    .hero {
        height: 480px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* slider en móvil: flechas mínimas — el ancho de card lo calcula JS (= wrapper.offsetWidth) */
    .slider-arrow {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 12px;
        box-shadow: none;
    }
    .products-slider-outer {
        gap: 6px;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }
}

/* ============= PÁGINA CATÁLOGO (productos.html) ============= */

.catalog-page {
    background: var(--ivory);
}

.catalog-hero {
    background: linear-gradient(150deg, #fffafa 0%, #fdf0f4 55%, #f8f0fb 100%);
    padding: 72px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(222, 179, 173, 0.25);
}

.catalog-hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #c0607a;
    background: rgba(220, 130, 160, 0.12);
    border: 1px solid rgba(220, 130, 160, 0.28);
}

.catalog-hero h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 50px;
    font-weight: 700;
    color: var(--marsala);
    margin-bottom: 16px;
    text-shadow: 0 1px 2px rgba(102, 54, 53, 0.12);
    -webkit-font-smoothing: antialiased;
}

.catalog-hero-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #9a6472;
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.catalog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--marsala);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    letter-spacing: 0.04em;
}

.catalog-back-link:hover {
    opacity: 1;
}

/* Buscador integrado en el hero */
.catalog-hero-search {
    position: relative;
    max-width: 480px;
    margin: 28px auto 0;
}

.catalog-hero-search .catalog-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #c0909a;
    font-size: 14px;
    pointer-events: none;
}

.catalog-hero-search .catalog-search {
    width: 100%;
    padding: 13px 42px 13px 44px;
    border: 1.5px solid rgba(220, 150, 175, 0.4);
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--dark-gray);
    background: white;
    outline: none;
    box-shadow: 0 4px 20px rgba(200, 120, 150, 0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-hero-search .catalog-search::placeholder { color: #bfa0aa; }

.catalog-hero-search .catalog-search:focus {
    border-color: var(--rosewater);
    box-shadow: 0 4px 24px rgba(225, 153, 159, 0.22);
}

.catalog-hero-search .catalog-search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #c0909a;
    font-size: 13px;
    display: flex;
    align-items: center;
    padding: 2px;
    transition: color 0.18s;
}
.catalog-hero-search .catalog-search-clear:hover { color: var(--marsala); }

.catalog-section {
    padding: 56px 0 96px;
    background: white;
}

/* ── Layout sidebar + grid ── */
.catalog-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: start;
}

/* SIDEBAR */
.catalog-sidebar {
    position: sticky;
    top: 88px;
    background: #fffafa;
    border: 1px solid rgba(222, 179, 173, 0.28);
    border-radius: 18px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    min-height: 28px;
}

.sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(222, 179, 173, 0.2);
}

.sidebar-group:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b08090;
    margin: 0;
}

.catalog-select {
    width: 100%;
    padding: 9px 32px 9px 12px;
    border: 1.5px solid rgba(220, 150, 175, 0.35);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--marsala);
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c0607a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-select:focus {
    border-color: var(--rosewater);
    box-shadow: 0 0 0 3px rgba(225, 153, 159, 0.15);
}
.catalog-select:hover { border-color: var(--rosewater); }

/* Contador y limpiar */
.catalog-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #a07080;
    font-weight: 600;
}

.catalog-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1.5px solid rgba(192, 96, 122, 0.35);
    background: transparent;
    color: #c0607a;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.catalog-clear-btn:hover {
    background: rgba(192, 96, 122, 0.08);
    border-color: #c0607a;
}

/* Contenido principal */
.catalog-main { min-width: 0; }

/* Estado vacío */
.catalog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 80px 20px;
    text-align: center;
    color: #b09098;
}
.catalog-empty i {
    font-size: 40px;
    opacity: 0.3;
}
.catalog-empty p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Cards en el catálogo no necesitan ancho fijo — CSS grid controla */
.catalog-grid .product-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex-shrink: unset;
}

/* Tipografía más contenida solo para productos.html */
.catalog-grid .product-meta {
    padding: 16px 16px 15px;
    gap: 4px;
}

.catalog-grid .product-title {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.28;
    min-height: 0;
    margin-bottom: 2px;
}

.catalog-grid .product-desc {
    font-size: 13px;
    line-height: 1.45;
    min-height: 3.5em;
}

.catalog-grid .price {
    font-size: 20px;
}

.catalog-grid .product-btn {
    font-size: 12px;
    padding: 10px 14px;
}

/* Responsive catálogo */
@media (max-width: 1024px) {
    .catalog-hero h1 { font-size: 34px; }
    .catalog-layout { grid-template-columns: 200px 1fr; gap: 24px; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 768px) {
    .catalog-hero { padding: 52px 0 44px; }
    .catalog-hero h1 { font-size: 28px; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-sidebar {
        position: static;
        border-radius: 12px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 16px;
    }
    .catalog-sidebar .sidebar-group {
        flex-direction: column;
        border-bottom: none;
        padding: 0;
        flex: 1 1 calc(50% - 6px);
    }
    .catalog-sidebar .sidebar-header { width: 100%; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 480px) {
    .catalog-sidebar .sidebar-group { flex: 1 1 100%; }
    .catalog-grid { grid-template-columns: 1fr; }
}

/* ===== PRODUCT CARD LINK + QUICK VIEW ===== */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.quick-view-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(222,179,173,0.3);
    color: var(--marsala);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: var(--marsala);
    color: white;
    border-color: var(--marsala);
}

/* ===== PDP — PÁGINA DEDICADA DE PRODUCTO ===== */
.pdp-breadcrumb {
    background: var(--cream);
    padding: 14px 0;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(222,179,173,0.2);
}
.pdp-breadcrumb a {
    color: var(--marsala);
    text-decoration: none;
}
.pdp-breadcrumb a:hover { text-decoration: underline; }
.pdp-breadcrumb span { margin: 0 8px; color: #c7a3a0; }

.pdp-main { padding: 48px 0 40px; }

.pdp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.pdp-gallery { position: sticky; top: 100px; }

.pdp-image-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #fdf0f4 0%, #e8c8d0 60%, #f0d8e4 100%);
    margin-bottom: 12px;
}
.pdp-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pdp-image-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pdp-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
}
.pdp-thumb:hover { opacity: 0.9; }
.pdp-thumb.active {
    border-color: var(--marsala);
    opacity: 1;
}

.pdp-info { padding-top: 8px; }

.pdp-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--marsala);
    margin: 0 0 6px;
}

.pdp-title {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 34px;
    font-weight: 600;
    color: var(--marsala);
    margin: 0 0 16px;
    line-height: 1.2;
}

.pdp-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--marsala);
    margin-bottom: 20px;
}

.pdp-variants { margin-bottom: 18px; }
.pdp-variants-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.pdp-variant-dots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pdp-variant-dot {
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 3px;
    background: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.pdp-variant-dot.active {
    border-color: var(--marsala);
}

/* ── Acabados de swatch ── */
.pdp-variant-dot .pdp-swatch-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

/* Shimmer: reflejo que se expande, va a la derecha y vuelve a la izquierda */
.pdp-variant-dot.acab-shimmer .pdp-swatch-circle::before {
    background:
        radial-gradient(ellipse 72% 50% at 50% 50%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.2) 46%, transparent 72%),
        radial-gradient(ellipse 45% 32% at 50% 50%, rgba(255,255,255,0.45) 0%, transparent 100%);
    animation: shimmer-reflect 2.1s ease-in-out infinite;
}
@keyframes shimmer-reflect {
    0% {
        transform: translateX(-10%) scale(0.72);
        opacity: 0.28;
    }
    50% {
        transform: translateX(12%) scale(1.12);
        opacity: 0.85;
    }
    100% {
        transform: translateX(-10%) scale(0.72);
        opacity: 0.28;
    }
}

/* Glitter: escarcha ultra-densa visible */
.pdp-variant-dot.acab-glitter .pdp-swatch-circle::before {
    background:
        /* Destellos prominentes */
        radial-gradient(circle at 22% 28%, rgba(255,255,255,1) 0.5px, rgba(255,255,255,0.7) 1px, rgba(255,255,255,0.3) 1.8px, transparent 2.5px),
        radial-gradient(circle at 68% 18%, rgba(255,255,255,1) 0.5px, rgba(255,255,255,0.7) 1px, rgba(255,255,255,0.3) 1.8px, transparent 2.5px),
        radial-gradient(circle at 75% 72%, rgba(255,255,255,1) 0.5px, rgba(255,255,255,0.65) 1px, rgba(255,255,255,0.25) 1.8px, transparent 2.5px),
        radial-gradient(circle at 35% 78%, rgba(255,255,255,0.98) 0.5px, rgba(255,255,255,0.6) 1px, rgba(255,255,255,0.2) 1.8px, transparent 2.5px),
        radial-gradient(circle at 88% 45%, rgba(255,255,255,0.95) 0.4px, rgba(255,255,255,0.5) 0.9px, rgba(255,255,255,0.2) 1.6px, transparent 2.2px),
        /* Escarcha densa y visible */
        radial-gradient(circle at 8% 10%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 15% 18%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 12% 28%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 18% 38%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 22% 48%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 16% 58%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 20% 68%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 14% 78%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 18% 88%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 28% 8%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 32% 18%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 38% 28%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 35% 38%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 42% 48%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 45% 58%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 48% 68%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 42% 78%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 38% 88%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 52% 8%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 58% 18%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 55% 28%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 62% 38%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 65% 48%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 68% 58%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 62% 68%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 58% 78%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 55% 88%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 72% 8%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 78% 18%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 75% 28%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 82% 38%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 85% 48%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 88% 58%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 82% 68%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 78% 78%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 75% 88%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 92% 12%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 95% 25%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 92% 38%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 95% 52%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 92% 65%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 88% 78%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 28% 52%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 48% 42%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 68% 62%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 52% 72%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 32% 62%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 72% 42%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px),
        radial-gradient(circle at 85% 22%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 95% 68%, rgba(255,255,255,0.82) 0.25px, transparent 0.5px),
        radial-gradient(circle at 25% 42%, rgba(255,255,255,0.85) 0.25px, transparent 0.5px),
        radial-gradient(circle at 65% 82%, rgba(255,255,255,0.8) 0.25px, transparent 0.5px);
    animation: glitter-frost 1.7s ease-in-out infinite;
}
.pdp-variant-dot.acab-glitter .pdp-swatch-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 65% at 48% 42%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.12) 45%, transparent 80%);
    mix-blend-mode: screen;
    animation: glitter-frost-glow 1.7s ease-in-out infinite;
}
@keyframes glitter-frost {
    0% {
        opacity: 0.55;
        transform: scale(0.985);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.015);
    }
    100% {
        opacity: 0.55;
        transform: scale(0.985);
    }
}
@keyframes glitter-frost-glow {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.62;
    }
    100% {
        opacity: 0.3;
    }
}

/* Metálico: gradiente brillante con borde */
.pdp-variant-dot.acab-metallic .pdp-swatch-circle::before {
    background: linear-gradient(
        150deg,
        rgba(255,255,255,0.6) 0%,
        rgba(255,255,255,0.1) 40%,
        rgba(255,255,255,0.4) 60%,
        rgba(255,255,255,0.05) 100%
    );
}

.pdp-stock {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #2e7d32;
    margin-bottom: 24px;
}

.pdp-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 28px;
}

.pdp-qty {
    display: flex;
    align-items: center;
    border: 1px solid rgba(222,179,173,0.35);
    border-radius: 10px;
    overflow: hidden;
}
.pdp-qty button {
    width: 40px;
    height: 44px;
    border: none;
    background: var(--cream);
    font-size: 18px;
    cursor: pointer;
    color: var(--marsala);
    transition: background 0.2s;
}
.pdp-qty button:hover { background: rgba(222,179,173,0.3); }
.pdp-qty input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    outline: none;
}

.pdp-add-btn {
    flex: 1;
    padding: 14px 24px;
    background: var(--marsala);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pdp-add-btn:hover {
    background: var(--wine);
    transform: translateY(-1px);
}

.pdp-extras {
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(222,179,173,0.2);
    padding-top: 24px;
}
.pdp-extra-item {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: var(--cream);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
}
.pdp-extra-item i {
    color: var(--marsala);
    font-size: 20px;
    margin-top: 2px;
}
.pdp-extra-item strong {
    display: block;
    font-size: 13px;
    color: var(--marsala);
    margin-bottom: 2px;
}
.pdp-extra-item span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Acordeones */
.pdp-details {
    max-width: 800px;
    margin: 48px auto;
    border-top: 1px solid rgba(222,179,173,0.2);
}
.pdp-accordion { border-bottom: 1px solid rgba(222,179,173,0.2); }
.pdp-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--marsala);
    cursor: pointer;
}
.pdp-accordion-btn i { color: var(--text-muted); font-size: 14px; }
.pdp-accordion-content {
    padding: 0 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}
.pdp-specs-table { width: 100%; border-collapse: collapse; }
.pdp-specs-table td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(222,179,173,0.12);
    font-size: 14px;
}
.pdp-specs-table tr:last-child td { border-bottom: none; }
.pdp-specs-table td:first-child { width: 140px; color: var(--marsala); }

/* Recomendados */
.pdp-recommended { padding: 48px 0 60px; background: var(--cream); }
.pdp-rec-title {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--marsala);
    margin: 0 0 28px;
    font-style: italic;
}
.pdp-rec-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}
.pdp-rec-card {
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(222,179,173,0.15);
    transition: box-shadow 0.25s, transform 0.25s;
}
.pdp-rec-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.pdp-rec-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #fdf0f4 0%, #e8c8d0 60%, #f0d8e4 100%);
}
.pdp-rec-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pdp-rec-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--marsala);
    padding: 12px 12px 4px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pdp-rec-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--marsala);
    padding: 0 12px 14px;
    margin: 0;
}

/* PDP Responsive */
@media (max-width: 900px) {
    .pdp-layout { grid-template-columns: 1fr; gap: 32px; }
    .pdp-gallery { position: static; }
    .pdp-rec-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .pdp-title { font-size: 26px; }
    .pdp-price { font-size: 22px; }
    .pdp-extras { flex-direction: column; }
    .pdp-actions { flex-direction: column; }
    .pdp-add-btn { width: 100%; }
    .pdp-rec-grid { grid-template-columns: repeat(2, 1fr); }
}

