*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #FFFFFF;
    --black: #111111;
    --gray-light: #F5F5F5;
    --gray-mid: #E0E0E0;
    --accent: #FFD54F;
    --accent-hover: #FFC107;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', Georgia, serif;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 500;
    line-height: 1.3;
}

p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-mid);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-logo span {
    color: var(--accent-hover);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    transition: color var(--transition);
    position: relative;
}

.navbar-links a:hover {
    color: var(--black);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition);
}

.navbar-links a:hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,213,79,0.4);
}

.navbar-wa {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--black);
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px,-5px);
}

.breadcrumb {
    margin-top: 72px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-light);
}

.breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #999;
}

.breadcrumb a {
    color: #777;
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--black);
}

.breadcrumb .current {
    color: var(--black);
    font-weight: 500;
}

.producto {
    padding: 48px 0 80px;
}

.producto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.galeria {
    position: sticky;
    top: 100px;
}

.galeria-main {
    width: 100%;
    aspect-ratio: 1/1;
    max-height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--gray-light);
    margin-bottom: 12px;
    cursor: zoom-in;
}

.galeria-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: opacity 0.25s ease;
}

.producto-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.producto-tag {
    display: inline-flex;
    align-self: flex-start;
    background-color: rgba(255,213,79,0.15);
    color: #b8860b;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.producto-info h1 {
    margin: 0;
}

.producto-descripcion {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

.producto-divider {
    width: 100%;
    height: 1px;
    background-color: var(--gray-light);
}

.producto-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.producto-cta .btn {
    flex: 1;
    min-width: 180px;
}

.producto-detalles {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detalle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
}

.detalle-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-hover);
    flex-shrink: 0;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.footer {
    background-color: var(--black);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-brand span {
    color: var(--accent);
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all var(--transition);
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.wa-float svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

@media (max-width: 968px) {
    .producto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .galeria {
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-mid);
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .navbar-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .producto-cta {
        flex-direction: column;
    }
    .producto-cta .btn {
        width: 100%;
    }
}