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

:root {
    --color-bg: #faf7f5;
    --color-surface: #ffffff;
    --color-text: #2d2428;
    --color-muted: #7a6e72;
    --color-primary: #b86b7a;
    --color-primary-dark: #9a5563;
    --color-accent: #f3e8eb;
    --color-border: #ece4e7;
    --color-sale: #c0392b;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(45, 36, 40, 0.06);
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
}

/* ── Promo bar ── */
.promo-bar {
    background: var(--color-text);
    color: #fff;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.promo-bar strong {
    color: #f5c6cf;
}

/* ── Header ── */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    height: 5.25rem;
    width: auto;
    object-fit: contain;
}

.logo-mark {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    overflow: hidden;
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 1.25rem;
    outline: none;
    min-width: 0;
}

.search-form button {
    border: none;
    background: transparent;
    padding: 0.65rem 1rem;
    cursor: pointer;
    color: var(--color-muted);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.7rem;
    color: var(--color-muted);
    position: relative;
    transition: color var(--transition);
}

.header-action:hover {
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--color-primary);
    color: #fff;
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

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

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
}

/* ── Navigation ── */
.main-nav {
    border-top: 1px solid var(--color-border);
}

.nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-item > a:hover,
.nav-highlight > a {
    color: var(--color-primary);
}

.nav-highlight > a {
    font-weight: 700;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 50;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown ul {
    padding: 0.5rem 0;
}

.dropdown a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--color-muted);
    transition: background var(--transition), color var(--transition);
}

.dropdown a:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

/* ── Mobile nav ── */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(45, 36, 40, 0.4);
    z-index: 200;
}

.mobile-nav-panel {
    background: var(--color-surface);
    width: min(320px, 85vw);
    height: 100%;
    overflow-y: auto;
    padding: 1.5rem;
}

.mobile-nav-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.menu-close {
    border: none;
    background: none;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    color: var(--color-muted);
}

.mobile-nav-list > li {
    border-bottom: 1px solid var(--color-border);
}

.mobile-nav-list > li > a {
    display: block;
    padding: 0.85rem 0;
    font-weight: 600;
}

.mobile-nav-list ul {
    padding-bottom: 0.75rem;
}

.mobile-nav-list ul a {
    display: block;
    padding: 0.35rem 0 0.35rem 1rem;
    font-size: 0.875rem;
    color: var(--color-muted);
}

/* ── Hero ── */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: clamp(300px, 36vh, 400px);
    overflow: hidden;
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(45, 36, 40, 0.65) 0%,
        rgba(45, 36, 40, 0.38) 38%,
        rgba(45, 36, 40, 0.1) 48%,
        transparent 50%
    );
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    padding-block: 1rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    line-height: 1.15;
    max-width: 480px;
    margin-bottom: 0.5rem;
}

.hero-content p {
    max-width: 380px;
    opacity: 0.9;
    margin-bottom: 0.85rem;
    font-size: clamp(0.875rem, 1.8vw, 1rem);
    line-height: 1.4;
}

.hero .btn-primary {
    padding: 0.6rem 1.35rem;
    font-size: 0.875rem;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.hero .btn-outline {
    border-color: #fff;
    color: #fff;
}

.hero .btn-outline:hover {
    background: #fff;
    color: var(--color-text);
}

/* ── Section head ── */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
}

.section-head p {
    color: var(--color-muted);
    margin-top: 0.35rem;
}

.section-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.section-link:hover {
    text-decoration: underline;
}

/* ── Brands ── */
.brands-section {
    padding: 3.5rem 0;
    background: var(--color-surface);
}

.brands-track-wrap {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.brands-track-wrap::-webkit-scrollbar {
    display: none;
}

.brands-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    margin-inline: auto;
    padding-bottom: 0.5rem;
}

.brand-card {
    flex: 0 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    transition: transform var(--transition);
}

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

.brand-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 0.5rem;
}

.brand-card span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-muted);
}

/* ── Novedades carousel ── */
.novedades-carousel-section {
    padding: 2.5rem 0 3.5rem;
    background: #fff;
}

.products-track-wrap {
    position: relative;
    margin-top: 1.5rem;
}

.products-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.5rem 0.25rem 1rem;
}

.products-track::-webkit-scrollbar {
    display: none;
}

.products-track__item {
    flex: 0 0 260px;
    max-width: 260px;
}

.products-track__item .product-card {
    height: 100%;
    background: #fff;
}

.novedades-carousel-section .product-image {
    background: #fff;
}

/* ── Products ── */
.product-section {
    padding: 3.5rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: #fff;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

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

.product-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    background: linear-gradient(to top, rgba(20, 20, 20, 0.82) 0%, rgba(20, 20, 20, 0.35) 55%, transparent 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.product-image-overlay p {
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-image-overlay,
.product-card:focus-within .product-image-overlay {
    opacity: 1;
}

.featured-product {
    padding: 2.5rem 0 1rem;
    background: linear-gradient(180deg, #fdf8fa 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border);
}

.featured-product__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.featured-product__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.featured-product__media--modal {
    cursor: pointer;
}

.featured-product__media--modal:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.featured-product__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
}

.featured-product__eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.featured-product__title {
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.featured-product__description {
    color: var(--color-text);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 42ch;
}

.featured-product__description--muted {
    color: var(--color-muted);
    font-style: italic;
}

.featured-product__prices {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.featured-product__prices .product-price {
    font-size: 1.35rem;
}

.featured-product__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .featured-product__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.product-image-overlay p {
    font-size: 0.8rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.product-card:hover .product-image-overlay,
.product-card:focus-within .product-image-overlay {
    opacity: 1;
}

.featured-product {
    padding: 2.5rem 0 1rem;
    background: linear-gradient(180deg, #fdf8fa 0%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--color-border);
}

.featured-product__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.featured-product__media {
    position: relative;
    display: block;
    aspect-ratio: 1;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.featured-product__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
}

.featured-product__eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.featured-product__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.featured-product__description {
    color: var(--color-text);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 42ch;
}

.featured-product__description--muted {
    color: var(--color-muted);
    font-style: italic;
}

.featured-product__prices {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.featured-product__prices .product-price {
    font-size: 1.35rem;
}

.featured-product__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .featured-product__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    z-index: 1;
}

.product-info {
    padding: 1rem 1rem 0.5rem;
    flex: 1;
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0.35rem 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-prices {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-price {
    font-weight: 700;
    font-size: 1rem;
}

.product-original {
    font-size: 0.85rem;
    color: var(--color-muted);
    text-decoration: line-through;
}

.btn-add-cart {
    margin: 0 1rem 1rem;
    padding: 0.65rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-add-cart:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.btn-add-cart--disabled,
.btn-add-cart--disabled:hover {
    background: #eee;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
    opacity: 0.85;
}

.product-card--sold-out .product-image img {
    opacity: 0.55;
    filter: grayscale(0.4);
}

.product-card--sold-out .product-info {
    opacity: 0.85;
}

.product-card--modal {
    cursor: pointer;
}

.product-card--modal .product-card-link {
    display: block;
}

.product-card--modal:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ── Product modal ── */
.product-modal[hidden] {
    display: none !important;
}

.product-modal.is-open {
    display: flex;
}

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.55);
}

.product-modal__dialog {
    position: relative;
    width: min(920px, 100%);
    max-height: min(90vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    padding: 1.5rem;
}

.product-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.product-modal__close:hover {
    background: #e5e7eb;
}

.product-modal__grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr);
    gap: 2rem;
    align-items: center;
}

.product-modal__media {
    position: relative;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
}

.product-modal__badge {
    top: 0.75rem;
    left: 0.75rem;
}

.product-modal__title {
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.65rem;
    line-height: 1.2;
    margin: 0.35rem 0 1rem;
}

.product-modal__description {
    color: var(--color-text);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.product-modal__description:empty {
    display: none;
}

.product-modal__prices {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.product-modal__prices .product-price {
    font-size: 1.35rem;
}

.product-modal__cart {
    width: 100%;
    max-width: 280px;
}

.product-modal__soldout {
    color: var(--color-muted);
    font-weight: 600;
}

body.product-modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .product-modal__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .product-modal__cart {
        max-width: none;
    }
}

.product-badge--soldout {
    background: #6b7280;
}

.brand-card-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 1px solid var(--color-border);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.catalog-page {
    padding: 2.5rem 0 4rem;
}

.catalog-page h1 {
    font-family: var(--font-display);
    font-size: 2rem;
}

.catalog-empty {
    color: var(--color-muted);
    text-align: center;
    padding: 3rem 0;
}

.content-page {
    padding: 3rem 0 4rem;
}

.content-page-inner h1 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.content-page-body {
    line-height: 1.8;
    color: var(--color-text);
}

.content-page-body p {
    margin-bottom: 1rem;
}

/* ── Promo banner ── */
.promo-banner {
    padding: 3.5rem 0;
    background: var(--color-accent);
}

.promo-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.promo-banner-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.promo-banner-text p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    max-width: 420px;
}

.promo-banner-image img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ── Features ── */
.features-bar {
    padding: 3rem 0;
    background: var(--color-surface);
    border-block: 1px solid var(--color-border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.feature h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.feature p {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.feature a {
    color: var(--color-primary);
    font-weight: 500;
}

.feature a:hover {
    text-decoration: underline;
}

/* ── Newsletter ── */
.newsletter {
    padding: 4rem 0;
}

.newsletter-inner {
    background: var(--color-text);
    color: #fff;
    border-radius: calc(var(--radius) * 1.5);
    padding: clamp(2rem, 5vw, 3rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.35rem;
}

.newsletter-copy p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 260px;
    max-width: 420px;
}

.newsletter-form input {
    flex: 1;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    outline: none;
    min-width: 0;
}

.newsletter-form .btn-primary {
    background: var(--color-primary);
    white-space: nowrap;
}

/* ── About strip ── */
.about-strip {
    padding: 3.5rem 0 4rem;
}

.about-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-strip-image img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.about-strip-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.about-strip-text p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

/* ── Footer ── */
.site-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.footer-brand p {
    color: var(--color-muted);
    font-size: 0.875rem;
    margin: 1rem 0;
    max-width: 280px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--color-border);
    color: var(--color-text);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link svg {
    width: 1.1rem;
    height: 1.1rem;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    color: #fff;
}

.footer-social-link--facebook:hover { background: #1877f2; }
.footer-social-link--instagram:hover { background: #e4405f; }
.footer-social-link--tiktok:hover { background: #010101; }
.footer-social-link--x:hover { background: #000; }
.footer-social-link--youtube:hover { background: #ff0000; }

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-col li + li {
    margin-top: 0.5rem;
}

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

.footer-col a {
    font-size: 0.875rem;
    color: var(--color-muted);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.footer-bottom a {
    color: var(--color-muted);
}

.footer-bottom a:hover {
    color: var(--color-primary);
}

/* ── Placeholder pages ── */
.page-placeholder {
    padding: 5rem 0;
    text-align: center;
}

.page-placeholder h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.page-placeholder p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

/* ── Login button & auth ── */
.btn-login {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.auth-section {
    display: grid;
    place-items: center;
    padding: 4rem 1rem;
    min-height: 60vh;
}

.auth-card {
    width: min(100%, 420px);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.35rem;
}

.auth-subtitle {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.auth-form input,
.auth-form select {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-bg);
}

.auth-form--compact {
    margin-top: 0.5rem;
}

.btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
}

.auth-footer-note {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
}

.auth-footer-note a {
    color: var(--color-primary);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fdecea;
    color: #9b2c2c;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #e8f6ee;
    color: #1e6b42;
    border: 1px solid #b8e0c8;
}

.mobile-nav-auth {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.mobile-nav-auth a {
    display: block;
    padding: 0.65rem 0;
    font-weight: 600;
}

.mobile-login-link {
    color: var(--color-primary);
}

/* ── Admin panel ── */
.admin-body {
    background: var(--color-bg);
}

.admin-topbar {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.85rem 0;
}

.admin-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-user-badge {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    padding: 2rem 1rem 3rem;
}

.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-sidebar a {
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-muted);
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
    background: var(--color-accent);
    color: var(--color-primary);
}

.admin-content h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.35rem;
}

.admin-lead {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.admin-card,
.admin-panel {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.admin-card h2,
.admin-panel h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.admin-card p,
.admin-panel p {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 1.5rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.admin-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.admin-link-danger {
    color: var(--color-sale);
    font-weight: 600;
    font-size: 0.8rem;
}

.text-muted {
    color: var(--color-muted);
    font-size: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .promo-banner-inner,
    .about-strip-inner {
        grid-template-columns: 1fr;
    }

    .promo-banner-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 0.75rem;
    }

    .search-form {
        display: none;
    }

    .header-action span {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .hero-slide {
        height: clamp(320px, 44vh, 380px);
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(45, 36, 40, 0.55) 0%,
            rgba(45, 36, 40, 0.3) 55%,
            transparent 100%
        );
    }

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

    .hero-content h1,
    .hero-content p {
        max-width: 100%;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }

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

    .admin-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 4.2rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
    color: #fff;
}

.whatsapp-float__icon {
    width: 1.85rem;
    height: 1.85rem;
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 3.35rem;
        height: 3.35rem;
    }

    .whatsapp-float__icon {
        width: 1.65rem;
        height: 1.65rem;
    }
}

/* ── Customer auth modal ── */
.customer-auth-modal[hidden],
.order-receipt-modal[hidden] {
    display: none !important;
}

.customer-auth-modal.is-open,
.order-receipt-modal.is-open {
    display: flex;
}

.customer-auth-modal,
.order-receipt-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.customer-auth-modal__backdrop,
.order-receipt-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.55);
}

.customer-auth-modal__dialog,
.order-receipt-modal__dialog {
    position: relative;
    width: min(480px, 100%);
    max-height: min(92vh, 720px);
    overflow: auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    padding: 1.5rem;
}

.customer-auth-modal__close,
.order-receipt-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.customer-auth-modal__intro h2 {
    font-family: var(--font-display, Georgia, serif);
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.customer-auth-modal__intro p {
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.customer-auth-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.35rem;
    background: #f3f4f6;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.customer-auth-switch__btn {
    border: none;
    background: transparent;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    color: var(--color-muted);
}

.customer-auth-switch__btn.is-active {
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.customer-auth-form label {
    display: block;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.customer-auth-form input {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: 0.65rem;
    font: inherit;
}

.field-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--color-muted);
    line-height: 1.4;
}

.customer-auth-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 0.65rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
}

.customer-auth-step-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.customer-auth-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.customer-auth-submit,
.customer-auth-next,
.customer-auth-form .btn-primary {
    width: 100%;
}

.customer-auth-actions .btn {
    flex: 1;
}

body.customer-auth-open,
body.order-receipt-open {
    overflow: hidden;
}

/* ── Cart page ── */
.cart-page {
    padding: 2.5rem 0 3.5rem;
}

.cart-history {
    margin-bottom: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fafafa;
    overflow: hidden;
}

.cart-history__toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.875rem;
    color: var(--color-muted);
    cursor: pointer;
    text-align: left;
}

.cart-history__toggle span {
    font-weight: 600;
    color: var(--color-text);
}

.cart-history__count {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.cart-history__chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.cart-history__toggle.is-open .cart-history__chevron {
    transform: rotate(180deg);
}

.cart-history__panel {
    border-top: 1px solid var(--color-border);
    padding: 0.75rem 1rem 1rem;
    background: #fff;
}

.cart-history__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 280px;
    overflow-y: auto;
}

.cart-history__order {
    font-size: 0.82rem;
}

.cart-history__order-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    margin-bottom: 0.35rem;
    color: var(--color-muted);
}

.cart-history__order-head strong {
    color: var(--color-text);
    font-size: 0.85rem;
}

.cart-history__order-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 0.15rem;
}

.cart-history__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    cursor: pointer;
}

.cart-history__item--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cart-history__item-name {
    font-size: 0.82rem;
    color: var(--color-text);
}

.cart-history__item-meta {
    font-size: 0.75rem;
    color: var(--color-muted);
    white-space: nowrap;
}

.cart-history__actions {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.cart-history__feedback {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.cart-history__feedback--ok {
    color: #15803d;
}

.cart-history__feedback--error {
    color: #b91c1c;
}

.cart-lines {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-line {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

.cart-line--issue {
    border-color: #fecaca;
    background: #fffafa;
}

.cart-line__image {
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 0.65rem;
}

.cart-line__body h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cart-line__sku,
.cart-line__price {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.cart-line__alert {
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 0.35rem;
}

.cart-line__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    overflow: hidden;
}

.cart-qty button {
    width: 2rem;
    height: 2rem;
    border: none;
    background: var(--color-bg);
    cursor: pointer;
    font-size: 1rem;
}

.cart-qty span {
    min-width: 1.75rem;
    text-align: center;
    font-weight: 600;
}

.cart-line__remove {
    border: none;
    background: none;
    color: var(--color-muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

.cart-page__summary {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.cart-summary {
    width: min(100%, 360px);
    padding: 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.cart-summary__note {
    color: #b45309;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.cart-checkout-btn {
    width: 100%;
}

.order-receipt__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 700;
}

.order-receipt h2 {
    font-family: var(--font-display, Georgia, serif);
    margin: 0.35rem 0 0.75rem;
}

.order-receipt__message {
    color: var(--color-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.order-receipt__meta {
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.order-receipt__meta p {
    margin: 0.25rem 0;
}

.order-receipt__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.order-receipt__table th,
.order-receipt__table td {
    border-bottom: 1px solid var(--color-border);
    padding: 0.55rem 0.35rem;
    text-align: left;
}

.order-receipt__total {
    margin: 1rem 0;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .cart-line {
        grid-template-columns: 72px 1fr;
    }

    .cart-line__actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
