/* =========================
   VARIABLES
========================= */

:root {
    --rosa: #d9a7b3;
    --rosa-claro: #f4e4e7;
    --rosa-suave: #f9eff1;

    --crema: #faf7f2;
    --beige: #eee2d4;

    --dorado: #b8955a;
    --dorado-claro: #d6bd88;

    --texto: #3f3435;
    --texto-suave: #756869;

    --blanco: #ffffff;

    --sombra: 0 10px 30px rgba(90, 60, 60, 0.10);

    --rosa-principal: #ed8495;
    --rosa: #f3a5b0;
    --rosa-claro: #fbe4e8;
    --rosa-palido: #fff4f5;
    --crema: #fffaf8;
    --dorado: #d5a95c;
    --texto: #332522;
    --blanco: #ffffff;

    --whatsapp: #25D366;
    --whatsapp-dark: #1ebe5d;

    --rojo-descuento: #d64545;
}

html {
    scroll-behavior: smooth;
}


.page-wrapper {
    overflow-x: hidden;
    width: 100%;
}


/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--crema);
    color: var(--texto);
}

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


/* =========================
   HEADER
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(250, 247, 242, 0.94);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(184, 149, 90, 0.15);
}

.navbar {
    max-width: 1200px;
    margin: auto;

    padding: 18px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;

    width: 48px;
    height: 48px;

    flex-shrink: 0;
}

.logo img {
    width: 100px;
    height: 100px;

    object-fit: cover;

    border-radius: 50%;

    display: block;
}

.logo span {
    color: var(--dorado);
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 14px;
    color: var(--texto-suave);

    transition: 0.3s;
}

nav a:hover {
    color: var(--dorado);
}


/* =========================
   HAMBURGUESA
========================= */

.hamburger {
    display: none;

    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 32px;
    height: 32px;

    background: none;
    border: none;
    padding: 0;
    cursor: pointer;

    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;

    background: var(--texto);

    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 680px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 80px 20px;

    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;

    transition: opacity 1s ease-in-out;

    z-index: 0;
}

.hero-slide.slide-1 {
    background-image:
        linear-gradient(rgba(249, 239, 241, 0.78),
            rgba(250, 247, 242, 0.94)),
        url("https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1800&q=80");
}

.hero-slide.slide-2 {
    background-image:
        linear-gradient(rgba(249, 239, 241, 0.65),
            rgba(250, 247, 242, 0.88)),
        url("https://images.unsplash.com/photo-1617038220319-276d3cfab638?auto=format&fit=crop&w=1800&q=80");
}

.hero-slide.slide-3 {
    background-image:
        linear-gradient(rgba(249, 239, 241, 0.65),
            rgba(250, 247, 242, 0.88)),
        url("/imagenes/redes/banner3.png");
    /* background:
        radial-gradient(circle at 30% 30%, rgba(213, 169, 92, 0.25), transparent 60%),
        linear-gradient(135deg, var(--rosa-palido), var(--rosa-claro)); */
}

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



.hero-content {
    position: relative;

    z-index: 2;

    max-width: 800px;
}

.hero-new-collection {
    display: none;

    margin-bottom: 25px;
}

.hero-new-collection .coming-soon {
    display: block;

    font-size: 18px;

    letter-spacing: 5px;

    text-transform: uppercase;

    color: var(--dorado);

    margin-bottom: 12px;
}

.hero-new-collection h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(50px, 7vw, 82px);

    line-height: 0.95;

    font-weight: 600;

    color: var(--texto);

    margin-bottom: 18px;
}

.hero-new-collection h2 span {
    color: var(--dorado);
}

.hero-new-collection p {
    font-size: 15px;

    letter-spacing: 1px;

    color: var(--texto-suave);
}

.hero-main-content {
    display: block;
}

/* =========================
   TEXTO DEL TERCER SLIDE
   (OFERTA 10%)
========================= */

.hero-discount {
    display: none;

    margin-bottom: 25px;
}

.hero-discount .limited-offer {
    display: inline-block;

    padding: 6px 18px;

    font-size: 12px;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: white;

    background: var(--rojo-descuento);

    border-radius: 30px;

    margin-bottom: 18px;
}

.hero-discount h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(50px, 7vw, 82px);

    line-height: 0.95;

    font-weight: 600;

    color: var(--texto);

    margin-bottom: 18px;
}

.hero-discount h2 span {
    color: var(--dorado);
}

.hero-discount p {
    font-size: 15px;

    letter-spacing: 1px;

    color: var(--texto-suave);
}

.hero-button-discount {
    border-color: var(--rojo-descuento);
}

.hero-button-discount:hover {
    background: var(--rojo-descuento);
}


/* =========================
   PAGINACIÓN
========================= */

.hero-dots {
    position: relative;

    z-index: 3;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 25px;
}

.hero-dot {
    width: 20px;
    height: 20px;

    border-radius: 50%;

    border: none;

    padding: 0;

    background: rgba(63, 52, 53, 0.35);

    cursor: pointer;

    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 50px;

    border-radius: 10px;

    background: var(--rosa-principal);
}

.hero-small {
    font-size: 25px;
    letter-spacing: 4px;
    text-transform: uppercase;

    color: var(--dorado);

    margin-bottom: 15px;
}

.hero h1 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(55px, 8vw, 95px);

    line-height: 0.9;

    font-weight: 600;

    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--dorado);
}

.hero p {
    max-width: 600px;
    margin: auto;

    font-size: 15px;
    line-height: 1.8;

    color: var(--texto-suave);
}

.hero-button {
    display: inline-block;

    margin-top: 35px;

    padding: 14px 32px;

    border: 1px solid var(--dorado);

    color: var(--texto);

    font-size: 13px;
    letter-spacing: 1px;

    transition: 0.3s;
}

.hero-button:hover {
    background: var(--dorado);
    color: white;
}


/* =========================
   CATEGORIAS
========================= */

.categories {
    max-width: 1200px;
    margin: auto;

    padding: 80px 25px 30px;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title small {
    color: var(--dorado);

    text-transform: uppercase;
    letter-spacing: 3px;

    font-size: 12px;
}

.section-title h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 50px;

    margin-top: 8px;
}

.category-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.category-card {
    min-height: 300px;

    display: flex;
    align-items: flex-end;

    padding: 35px;

    position: relative;

    overflow: hidden;

    border-radius: 4px;

    background-size: cover;
    background-position: center;

    transition: 0.4s;
}

.category-description {
    position: relative;

    margin-bottom: 35px;

    overflow: hidden;

    font-size: 20px;
}

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

.category-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(transparent 20%,
            rgba(50, 35, 35, 0.65));
}

.category-jewelry {
    background-image:
        url("https://images.unsplash.com/photo-1611652022419-a9419f74343d?auto=format&fit=crop&w=1000&q=80");
}

.category-fragrance {
    background-image:
        url("/imagenes/fragancias/fragancias.jpg");
}

.category-content {
    position: relative;
    z-index: 2;

    color: white;
}

.category-content h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 42px;

    margin-bottom: 5px;
}

.category-content p {
    font-size: 13px;
    opacity: 0.9;
}


/* =========================
   PRODUCTOS
========================= */

.products-section {
    max-width: 1200px;
    margin: auto;

    padding: 80px 25px;
}

.category-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 30px;
}

.category-heading h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 45px;
}

.category-heading span {
    color: var(--dorado);

    font-size: 13px;
}


/* =========================
   PRODUCT GRID
========================= */

.products-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

    margin-bottom: 100px;
}

.product-card {
    position: relative;

    background: white;

    border-radius: 5px;

    overflow: hidden;

    box-shadow: var(--sombra);

    transition: 0.35s;

    cursor: pointer;
}

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

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;

    display: block;

    background: var(--rosa-suave);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: var(--dorado);
}

.product-name {
    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    margin: 5px 0;
}

.product-description {
    font-size: 12px;

    line-height: 1.6;

    color: var(--texto-suave);

    min-height: 40px;
}

.product-bottom {
    margin-top: 18px;

    display: flex;

    align-items: center;
}

.price {
    display: inline-flex;

    align-items: baseline;

    gap: 8px;

    font-size: 16px;

    font-weight: 600;

    color: var(--texto);
}

/* =========================================
   FILTROS DE JOYAS
========================================= */

.jewelry-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px auto 35px;
    padding: 0 15px;
}

.jewelry-filter {
    border: 1px solid #d5a95c;
    background: transparent;
    color: #6f4c45;
    padding: 9px 20px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jewelry-filter:hover {
    background: #fbe4e8;
    color: #332522;
}

.jewelry-filter.active {
    background: #d5a95c;
    color: #ffffff;
    border-color: #d5a95c;
}

/* Animación de las tarjetas al filtrar */

.jewelry-product-hidden {
    display: none !important;
}

@media (max-width: 600px) {

    .jewelry-filters {
        gap: 8px;
        margin-top: 24px;
        margin-bottom: 30px;
    }

    .jewelry-filter {
        padding: 8px 14px;
        font-size: 12px;
    }
}


/* =========================
   DESCUENTO
========================= */

.discount-badge {
    position: absolute;

    top: 8px;
    right: 8px;

    width: 90px;
    height: 90px;

    z-index: 5;

    pointer-events: none;
}

.price-original {
    text-decoration: line-through;

    color: var(--rojo-descuento);

    font-size: 13px;
    font-weight: 500;

    opacity: 0.85;
}

.price-discounted {
    color: var(--dorado);

    font-weight: 700;
}


/* =========================
   SEPARADOR
========================= */

.separator {
    display: flex;

    align-items: center;

    gap: 20px;

    margin: 30px 0 70px;
}

.separator::before,
.separator::after {
    content: "";

    height: 1px;

    flex: 1;

    background: var(--beige);
}

.separator span {
    color: var(--dorado);

    font-size: 20px;
}


/* =========================
   BOTÓN WHATSAPP (verde)
========================= */

.whatsapp-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    padding: 13px 26px;

    background: var(--whatsapp);

    color: white;

    border: none;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 600;

    font-family: "Poppins", sans-serif;

    cursor: pointer;

    transition: 0.3s;
}

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


/* =========================
   ¿CÓMO COMPRAR?
========================= */

.how-to-buy-section {
    max-width: 1100px;

    margin: auto;

    padding: 90px 25px 60px;

    text-align: center;
}

.how-to-buy-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    margin-top: 40px;
}

.how-to-buy-step {
    padding: 30px 20px;

    background: white;

    border-radius: 10px;

    box-shadow: var(--sombra);
}

.step-number {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    margin: 0 auto 16px;

    border-radius: 50%;

    background: var(--dorado);

    color: white;

    font-family: "Cormorant Garamond", serif;

    font-size: 18px;

    font-weight: 700;
}

.how-to-buy-step h3 {
    font-size: 14px;

    margin-bottom: 8px;

    color: var(--texto);
}

.how-to-buy-step p {
    font-size: 12px;

    line-height: 1.6;

    color: var(--texto-suave);
}

.shipping-note,
.attention-hours {
    margin-top: 20px;

    font-size: 13px;

    color: var(--texto-suave);
}

.shipping-note strong,
.attention-hours strong {
    color: var(--dorado);
}


/* =========================
   FORMAS DE PAGO
========================= */

.payment-section {
    padding: 90px 25px;

    background:
        linear-gradient(135deg,
            #fdf0f2,
            #fffaf7);

    border-top: 1px solid rgba(217, 167, 179, 0.25);
    border-bottom: 1px solid rgba(217, 167, 179, 0.25);
}

.payment-header {
    text-align: center;

    margin-bottom: 45px;
}

.payment-header>span {
    font-size: 20px;

    letter-spacing: 3px;

    color: var(--dorado);
}

.payment-header h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 60px;

    margin: 5px 0;
}

.payment-header h2 em {
    color: var(--rosa);

    font-weight: 500;
}

.payment-header p {
    font-size: 18px;

    letter-spacing: 1px;

    color: var(--texto-suave);
}

.payment-icon img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 12px;

    background: white;
    border: 2px solid var(--rosa);
    border-radius: 18px;
}

.payment-icon {
    min-width: 110px;
    height: 110px;

    border-radius: 18px;

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 30px;

    font-weight: 600;

    overflow: hidden;
}

.payment-icon.bcp {
    background: #07529b;

    font-size: 22px;

    font-weight: 700;
}


/* CONTENEDOR */

.payment-container {
    max-width: 1000px;

    margin: auto;

    display: grid;

    gap: 20px;
}


/* TARJETA */

.payment-card {
    display: flex;

    align-items: center;

    gap: 30px;

    background: rgba(255, 255, 255, 0.75);

    border: 1px solid rgba(217, 167, 179, 0.45);

    border-radius: 15px;

    padding: 30px 35px;

    box-shadow: 0 8px 25px rgba(90, 60, 60, 0.05);
}


/* TARJETAS DE PAGO SIMPLIFICADAS */

.payment-container-simple {
    grid-template-columns: repeat(2, 1fr);
}

.payment-card-simple {
    flex-direction: column;

    text-align: center;

    gap: 14px;
}

.payment-logos {
    display: flex;

    justify-content: center;

    gap: 12px;
}

.payment-card-simple h3 {
    font-size: 18px;
}

.payment-note {
    font-size: 13px;

    color: var(--texto-suave);
}

.payment-card-simple .whatsapp-btn {
    margin: 6px auto 0;
}


/* GRACIAS */

.payment-thanks {
    text-align: center;

    margin-top: 45px;
}

.payment-thanks em {
    font-family: "Cormorant Garamond", serif;

    color: var(--rosa);

    font-size: 40px;
}

.payment-thanks div {
    display: inline-block;

    margin-top: 18px;

    padding: 12px 35px;

    border: 1px solid var(--rosa);

    border-radius: 30px;

    letter-spacing: 4px;

    font-size: 12px;
}



/* =========================
   ABOUT
========================= */

.about {
    background: var(--rosa-claro);

    padding: 80px 25px;

    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: auto;
}

.about h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: 48px;

    margin-bottom: 20px;
}

.about p {
    color: var(--texto-suave);

    font-size: 14px;

    line-height: 1.9;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #3f3435;

    color: white;

    padding: 50px 25px 25px;

    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 20px;
}

.footer-logo-container {
    width: 200px;
    height: 200px;
    display: flex;
}

.footer-logo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 20%;
    display: block;
    margin: auto;
}

.footer-logo span {
    color: var(--dorado-claro);
}

footer p {
    font-size: 12px;

    color: #ddd;

    margin-bottom: 30px;
}

.social {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 20px;

    margin-bottom: 30px;
}

.social a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    transition: 0.3s;
}

.social a:hover {
    background: var(--dorado-claro);
}

.social a svg {
    transition: 0.3s;
}

.copyright {
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 10px;

    color: #aaa;
}


/* =========================
   WHATSAPP FLOTANTE
========================= */

.whatsapp {
    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #25D366;

    color: white;

    font-size: 25px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);

    z-index: 2000;
}


/* =========================
   CONTADOR DE VISITAS
========================= */

.visit-counter-section {
    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 60px 25px;

    text-align: center;
}

.visit-line {
    width: 80px;
    height: 2px;

    background: var(--dorado);

    margin-bottom: 22px;
}

.visit-number {
    font-family: "Cormorant Garamond", serif;

    font-size: 56px;

    font-weight: 600;

    color: var(--texto);

    line-height: 1;
}

.visit-label {
    margin-top: 8px;

    font-size: 11px;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: var(--texto-suave);
}


/* =========================
   VISTA DE DETALLE DEL PRODUCTO
========================= */

.product-modal {
    position: fixed;
    inset: 0;

    z-index: 3000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.product-modal.active {
    display: flex;
}

.product-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(51, 37, 34, 0.55);

    backdrop-filter: blur(3px);
}

.product-modal-content {
    position: relative;

    z-index: 2;

    background: var(--crema);

    max-width: 860px;
    width: 100%;

    max-height: 90vh;

    overflow-y: auto;

    border-radius: 12px;

    display: flex;

    flex-direction: column;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);

    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 3;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.85);

    color: var(--texto);

    cursor: pointer;

    transition: 0.3s;
}

.modal-close:hover {
    background: var(--rosa);
    color: white;
}

.modal-main {
    display: grid;

    grid-template-columns: 1fr 1fr;
}

.modal-gallery {
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: var(--rosa-suave);
}

.modal-gallery .discount-badge {
    top: 14px;
    right: 14px;

    width: 90px;
    height: 90px;
}

.modal-slide {
    position: absolute;
    inset: 0;

    opacity: 0;

    transition: opacity 0.6s ease-in-out;
}

.modal-slide.active {
    opacity: 1;
}

.modal-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.modal-dots {
    position: absolute;

    bottom: 16px;

    left: 0;
    right: 0;

    z-index: 3;

    display: flex;

    justify-content: center;

    gap: 8px;
}

.modal-dot {
    width: 15px;
    height: 15px;

    border-radius: 50%;

    border: none;

    padding: 0;

    background: rgba(255, 255, 255, 0.6);

    cursor: pointer;

    transition: 0.3s;
}

.modal-dot.active {
    width: 35px;

    border-radius: 10px;

    background: var(--rosa-principal);
}

.modal-info {
    padding: 35px 30px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.modal-price {
    display: flex;

    align-items: baseline;

    gap: 10px;

    font-size: 25px;

    font-weight: 600;

    color: var(--dorado);

    margin-bottom: 8px;
}

.modal-price .price-original {
    font-size: 16px;
}

.modal-price .price-discounted {
    font-size: 25px;
}

.modal-info h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 40px;

    margin-bottom: 14px;
}

.modal-info p {
    font-size: 15px;

    line-height: 1.7;

    color: var(--texto-suave);

    margin-bottom: 25px;
}


/* =========================================
   PRODUCTOS RELACIONADOS
========================================= */

.related-section {
    padding: 35px 30px;
    width: 100%;
}

.related-section h4 {
    text-align: left;
    margin-bottom: 20px;
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
}


/* Contenedor del carrusel */

.related-carousel {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}


/* Lista de productos */

.related-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;

    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
    -ms-overflow-style: none;

    padding: 5px 2px 10px;
}

.related-grid::-webkit-scrollbar {
    display: none;
}


/* Card */

.related-card {
    min-width: 0;
    width: 100%;

    cursor: pointer;

    scroll-snap-align: start;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
}


/* Imagen */

.related-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;
    border-radius: 12px;

    background: #fffaf8;
}


.related-product-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.3s ease;
}


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


/* Badge 10% */

.related-discount-badge {
    position: absolute;

    top: 8px;
    right: 8px;

    width: 45px;
    height: 45px;

    object-fit: contain;

    z-index: 2;

    pointer-events: none;
}


/* Nombre */

.related-name {
    margin-top: 9px;

    font-family: 'Poppins', sans-serif;
    font-size: 12px;

    color: #332522;

    text-align: center;

    line-height: 1.3;
}


/* Precio */

.related-price {
    margin-top: 4px;

    font-family: 'Poppins', sans-serif;
    font-size: 13px;

    text-align: center;

    color: #6f4c45;
}


/* =========================================
   FLECHAS
========================================= */

.related-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 250, 248, 0.95);

    color: #d5a95c;

    font-size: 30px;
    font-family: Arial, sans-serif;

    line-height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 3px 12px rgba(51, 37, 34, 0.15);

    z-index: 5;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}


.related-arrow.visible {
    opacity: 1;
    visibility: visible;
}


.related-arrow:hover {
    background: #fbe4e8;

    transform:
        translateY(-50%) scale(1.08);
}


.related-arrow-left {
    left: -18px;
}


.related-arrow-right {
    right: -18px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .related-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;

    }


    .related-discount-badge {

        width: 38px;
        height: 38px;

        top: 6px;
        right: 6px;

    }


    .related-name {

        font-size: 11px;

    }


    .related-price {

        font-size: 12px;

    }


    .related-arrow {

        width: 34px;
        height: 34px;

        font-size: 26px;

    }


    .related-arrow-left {

        left: -10px;

    }


    .related-arrow-right {

        right: -10px;

    }

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 650px) {

    .price {
        font-size: 13px;
    }

    .payment-section {
        padding: 65px 15px;
    }

    .payment-header h2 {
        font-size: 45px;
    }

    .payment-card {
        flex-direction: column;

        text-align: center;

        padding: 25px 18px;
    }

    .payment-icon {
        min-width: 90px;
        height: 90px;
    }

    .about h2 {
        font-size: 40px;
    }

    .product-modal-content {
        max-height: 92vh;
    }

    .modal-main {
        grid-template-columns: 1fr;
    }

    .modal-info {
        padding: 25px 22px;

        text-align: center;
    }

    .modal-info h3 {
        font-size: 28px;
    }

    .modal-price {
        justify-content: center;
    }

    .whatsapp-btn {
        margin: 0 auto;
    }

}

@media (max-width: 1000px) {

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 900px) {

    .how-to-buy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 750px) {

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    body {
        padding-top: 78px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;

        width: 70%;
        max-width: 300px;
        height: 100vh;

        background: var(--crema);

        flex-direction: column;

        justify-content: center;
        align-items: center;

        gap: 30px;

        transition: right 0.4s ease;

        box-shadow: -5px 0 25px rgba(90, 60, 60, 0.15);
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 18px;
    }

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

    .products-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 15px;
    }

    .products-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 21px;
    }

    .category-heading h2 {
        font-size: 36px;
    }

    .payment-container-simple {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {

    .hero {
        min-height: 600px;
    }

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

    .product-description {
        display: none;
    }

    .visit-number {
        font-size: 44px;
    }

    .how-to-buy-grid {
        grid-template-columns: 1fr;
    }

    .discount-badge {
        width: 60px;
        height: 60px;
    }

    .modal-gallery .discount-badge {
        top: 60px;
        right: 20px;

        width: 90px;
        height: 90px;
    }


}