/* Zero Fitness Performance CSS */

/* CSS Custom Properties (Variables) */
:root {
    /* Zero Fitness Performance Brand Colors */
    --zf-black: hsl(0, 0%, 15%);
    /* #262626 */
    --zf-white: hsl(0, 0%, 100%);
    --zf-white-card: #f3f0eb;
    /* #FFFFFF */
    --zf-green: hsl(89, 64%, 47%);
    /* #70C232 */
    --zf-electric-blue: hsl(127, 100%, 50%);
    /* #00FF12 */
    --zf-accent: hsl(33, 8%, 95%);
    /* #F3F0EB */
    --text-primary: hsl(0, 0%, 98%);
    --gradient-1: hsl(142, 84%, 48%);
    --gradient-2: hsl(142, 84%, 38%);
    --background-gradient: hsl(0, 0%, 8%);
    --gradient-primary: linear-gradient(135deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
    --gradient-bg: linear-gradient(135deg, var(--background-gradient) 0%, hsl(0, 0%, 5%) 100%);



    /* Semantic tokens based on brand */
    --background: linear-gradient(135deg, var(--background-gradient) 0%, hsl(0, 0%, 5%) 100%);
    --foreground: var(--zf-black);
    --card: var(--zf-white);
    --card-foreground: var(--zf-black);
    --primary: var(--zf-black);
    --primary-foreground: var(--zf-white);
    --secondary: var(--zf-green);
    --secondary-foreground: var(--zf-white);
    --accent: var(--zf-accent);
    --accent-foreground: var(--zf-black);
    --electric: var(--zf-electric-blue);
    --electric-foreground: var(--zf-black);
    --muted: var(--zf-accent);
    --muted-foreground: hsl(0, 0%, 45%);
    --border: hsl(0, 0%, 90%);
    --input: hsl(0, 0%, 95%);
    --ring: var(--zf-green);
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: var(--zf-white);
    --radius: 0.75rem;

    /* Typography */
    --font-bebas: 'Bebas Neue', cursive;
    --font-inter: 'Inter', sans-serif;

    /* Shadows */
    --shadow-soft: 0 4px 20px hsla(0, 0%, 15%, 0.08);
    --shadow-medium: 0 8px 30px hsla(0, 0%, 15%, 0.12);
    --shadow-strong: 0 15px 40px hsla(0, 0%, 15%, 0.15);
    --shadow-green: 0 8px 25px hsla(89, 64%, 47%, 0.3);
    --shadow-electric: 0 8px 25px hsla(127, 100%, 50%, 0.3);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--zf-black), hsl(0, 0%, 25%));
    --gradient-green: linear-gradient(135deg, var(--zf-green), hsl(89, 64%, 40%));
    --gradient-electric: linear-gradient(135deg, var(--zf-electric-blue), hsl(127, 100%, 40%));
    --gradient-card: linear-gradient(145deg, var(--zf-white), var(--zf-accent));

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-out;
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Asegura que el contenido se pinte por encima del glow */
.featured .section-header,
.featured .products-grid {
    position: relative;
    z-index: 1;
}



/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-inter);
    background-color: var(--background-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.text-accent {
    color: var(--secondary);
}

.text-electric {
    color: var(--electric) !important;
}

.text-black {
    color: var(--zf-black) !important;
}

.text-white {
    color: var(--zf-white) !important;
}


/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-bebas);
    font-weight: bold;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background: hsl(0, 0%, 20%);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-green);
}

.btn-secondary:hover {
    background: hsl(89, 64%, 40%);
    transform: translateY(-1px);
}

.btn-secondary-lg {
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    box-shadow: var(--shadow-green);
}

.btn-electric {
    background: var(--electric);
    color: var(--electric-foreground);
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    box-shadow: var(--shadow-electric);
    animation: glow 2s ease-in-out infinite alternate;
    backdrop-filter: blur(10px);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background: var(--accent);
    border-color: var(--secondary);
}

.btn-outline-white {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
}

.btn-outline-white:hover {
    background: var(--primary-foreground);
    color: var(--primary);
}

.btn-outline-sm {
    background: transparent;
    color: var(--primary-foreground);
    border: 1px solid var(--primary-foreground);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn i {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: hsla(0, 0%, 100%, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsla(0, 0%, 90%, 0.5);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo h1 {
    font-family: var(--font-bebas);
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.logo-accent {
    color: var(--secondary);
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    font-family: var(--font-inter);
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--secondary);
}

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

.cart-btn,
.mobile-menu-btn {
    position: relative;
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-btn:hover,
.mobile-menu-btn:hover {
    background: var(--accent);
}

.cart-btn i,
.mobile-menu-btn i {
    width: 20px;
    height: 20px;
    color: var(--foreground);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.nav-mobile {
    display: none;
    border-top: 1px solid hsla(0, 0%, 90%, 0.5);
    padding: 1rem 0;
    animation: slideDown 0.3s ease-out;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile-link {
    font-family: var(--font-inter);
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    transition: var(--transition-fast);
}

.nav-mobile-link:hover {
    color: var(--secondary);
}


/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    /* background: var(--gradient-bg); */
    color: var(--primary-foreground);
    overflow: hidden;
    position: relative;
}


.bg-gradient {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--zf-green);
    width: 150px;
    height: 150px;
    filter: blur(150px);
    animation: floatY 10s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}


@keyframes floatY {
    0% {
        top: 40%;
        left: 20%;
    }

    50% {
        top: 50%;
        left: 30%;
    }

    100% {
        top: 40%;
        left: 20%;
    }
}

.bg-gradient-right {
    position: absolute;
    z-index: 0 !important;
    right: 0;
    bottom: -50px;
    transform: translateY(-50%);
    background-color: var(--zf-green);
    width: 150px;
    height: 150px;
    backdrop-filter: blur(100px);
    filter: blur(150px);
    animation: floatRight 10s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}


@keyframes floatRight {
    0% {
        right: 0;
        bottom: -35px;
    }

    50% {
        right: 5%;
        bottom: -30px;
    }

    100% {
        right: 0;
        bottom: -35px;
    }
}




.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    height: 75dvh;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-bebas);
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-accent {
    background: var(--gradient-green);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: hsla(0, 0%, 100%, 0.9);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-image {
    position: relative;
    margin-left: 5dvw;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image img {
    width: 200% !important;
    max-width: 140%;
    height: auto;
    border-radius: var(--radius);
}

@media (max-width: 880px) {
    .hero-image {
        display: none;
        margin-left: 30dvw;
        margin-top: 2dvh;
    }

    .hero-image img {
        width: 50% !important;
        height: auto;
    }
}



/* Featured Section */


.bg-gradient-star {
    position: absolute;
    z-index: 0;
    /* detrás del contenido de la sección */
    right: 45%;
    bottom: 50%;
    transform: translateY(-50%);
    background-color: var(--zf-green);
    width: 300px;
    height: 300px;
    backdrop-filter: blur(250px);
    filter: blur(250px);
    animation: floatStar 10s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}


@keyframes floatStar {
    0% {
        right: 45%;
        bottom: 15%;
    }

    50% {
        right: 45%;
        bottom: 35%;
    }

    100% {
        right: 45%;
        bottom: 15%;
    }
}


.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-family: var(--font-bebas);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.section-icon i {
    width: 32px;
    height: 32px;
}

.section-title {
    font-family: var(--font-bebas);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 4rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--zf-white);
    max-width: 512px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.featured-card {
    position: relative;
    background: var(--card);
    border: 1px solid hsla(0, 0%, 90%, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: scaleIn 0.6s ease-out;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.featured-main {
    order: -1;
}

@media (min-width: 768px) {
    .featured-main {
        order: 0;
    }
}

.featured-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-family: var(--font-bebas);
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    z-index: 10;
}

.featured-badge-new {
    background: var(--electric);
    color: var(--electric-foreground);
}

.featured-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.featured-main img {
    height: 300px;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.featured-content {
    padding: 1.5rem;
}

.featured-content h3 {
    font-family: var(--font-bebas);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.featured-content p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.featured-price {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.price-current {
    font-family: var(--font-bebas);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--foreground);
}

.price-original {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

/* Products Section */
.products {
    padding: 4rem 0;
    /* background: var(--background); */
    position: relative;
    overflow: hidden;
}

.featured {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}


.bg-gradient-product {
    position: absolute;
    z-index: 0;
    /* detrás del contenido de la sección */
    right: 45%;
    bottom: 50%;
    transform: translateY(-50%);
    background-color: var(--zf-green);
    width: 300px;
    height: 300px;
    backdrop-filter: blur(250px);
    filter: blur(250px);
    animation: floatStar 10s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

.lava-lamp-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}




/* Lámpara de lava: blobs orgánicos inspirados en el código HTML proporcionado */
.lava-lamp {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.lava-lamp::before,
.lava-lamp::after {
    content: '';
    position: absolute;
    border-radius: 47% 53% 45% 55% / 67% 59% 41% 33%;
    background: linear-gradient(45deg,
            hsla(89, 64%, 47%, 0.25),
            hsla(127, 100%, 50%, 0.20),
            hsla(89, 64%, 47%, 0.18));
    filter: blur(80px) contrast(15);
    mix-blend-mode: screen;
    animation: lavaRotate 12s linear infinite, lavaFloat 8s ease-in-out infinite alternate;
}

.lava-lamp::before {
    width: 180px;
    height: 200px;
    top: 20%;
    left: 15%;
    animation-duration: 15s, 10s;
}

.lava-lamp::after {
    width: 220px;
    height: 180px;
    top: 60%;
    right: 20%;
    animation-direction: reverse, normal;
    animation-duration: 18s, 12s;
    background: linear-gradient(45deg,
            hsla(127, 100%, 50%, 0.22),
            hsla(89, 64%, 47%, 0.16),
            hsla(127, 100%, 50%, 0.14));
}

/* Blob adicional para más movimiento */
.lava-lamp {
    background: radial-gradient(circle at 70% 30%, hsla(89, 64%, 47%, 0.12) 0%, transparent 50%);
    animation: lavaBackground 20s ease-in-out infinite;
}

@keyframes lavaRotate {
    0% {
        transform: rotate(0deg) scale(1);
        border-radius: 47% 53% 45% 55% / 67% 59% 41% 33%;
    }

    25% {
        border-radius: 67% 33% 65% 35% / 47% 79% 21% 53%;
    }

    50% {
        transform: rotate(180deg) scale(1.1);
        border-radius: 37% 63% 25% 75% / 87% 19% 81% 13%;
    }

    75% {
        border-radius: 77% 23% 85% 15% / 27% 89% 11% 73%;
    }

    100% {
        transform: rotate(360deg) scale(1);
        border-radius: 47% 53% 45% 55% / 67% 59% 41% 33%;
    }
}

@keyframes lavaFloat {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(-30px) translateX(15px);
    }

    100% {
        transform: translateY(0px) translateX(0px);
    }
}

@keyframes lavaBackground {

    0%,
    100% {
        background-position: 70% 30%;
        background-size: 300% 300%;
    }

    50% {
        background-position: 30% 70%;
        background-size: 400% 400%;
    }
}

/* Asegura que el contenido quede por encima del efecto */
.products .section-header,
.products .product-filters,
.products .four-grid,
.products .products-grid,
.products .load-more {
    position: relative;
    z-index: 1;
}




.product-filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .product-filters {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background: transparent;
    color: var(--muted-foreground);
    border: 1px solid var(--muted-foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-family: var(--font-inter);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.view-toggle {
    display: flex;
    border: 1px solid hsla(0, 0%, 90%, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
}

.view-btn {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.view-btn.active,
.view-btn:hover {
    background: var(--accent);
}

.view-btn i {
    width: 16px;
    height: 16px;
    color: var(--muted-foreground);
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.four-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Responsive Grid Breakpoints */
/* Large tablets and small desktops: 3 columns */
@media (max-width: 1200px) {
    .four-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

/* Mobile landscape: 2 columns with smaller gap */
@media (max-width: 768px) {
    .products-grid {
        gap: 14px;
    }

    .four-grid {
        gap: 14px;
    }
}

/* Mobile portrait: 1 column */
@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .four-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.product-card {
    position: relative;
    background: var(--card);
    border: 1px solid hsla(0, 0%, 90%, 0.5);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: scaleIn 0.6s ease-out;
    transition: all 0.5s ease-in-out;

}

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

.product-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
    /* filas x columnas */
    z-index: 10;
}

.badge {
    padding: 0.22rem 0.6rem;
    border-radius: 9999px;
    font-family: var(--font-inter);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    backdrop-filter: blur(4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
}

.badge-new {
    background: rgba(17, 24, 39, 0.85);
    /* gris muy oscuro translúcido */
    color: #fff;
}

.badge-sale {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

/* Versión compacta de featured-badge cuando aparece dentro de product-card */
.product-card .product-badges .featured-badge {
    position: static;
    /* evita ocupar la esquina absoluta */
    display: inline-block;
    padding: 0.22rem 0.6rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--secondary), hsl(89, 64%, 40%));
    color: var(--secondary-foreground);
    font-family: var(--font-inter);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    backdrop-filter: blur(4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
}

/* Responsive: badges aún más compactas en móviles pequeños */
@media (max-width: 420px) {
    .product-card .product-badges {
        gap: 0.3rem 0.4rem;
        max-width: 86%;
    }

    .product-card .product-badges .badge,
    .product-card .product-badges .featured-badge {
        font-size: 0.65rem;
        padding: 0.18rem 0.5rem;
    }
}

.favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    background: hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

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

.favorite-btn i {
    width: 16px;
    height: 16px;
    color: var(--muted-foreground);
}

.favorite-btn:hover i {
    color: var(--zf-green);
}

/* Favorite button active/liked state */
.favorite-btn.active {
    color: white;
}

.favorite-btn.active i {
    color: white;
    fill: white;
}

.favorite-btn.active:hover {
    background: hsl(var(--primary) / 0.9);
}

/* Alternative styling for filled heart */
.favorite-btn .heart-filled {
    fill: var(--zf-green);
    color: var(--zf-green);
}

.favorite-btn:hover .heart-filled {
    fill: hsl(var(--zf-green) / 0.8);
    color: hsl(var(--zf-green) / 0.8);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gradient-card);
}

/* ===== ORDER DETAILS PAGE STYLES ===== */
.order-details {
    min-height: 100vh;
    background: var(--background-gradient);
    padding: 2rem 0;
}

.order-details .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.order-header {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.order-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.order-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-title {
    font-family: var(--font-bebas);
    font-size: 2.5rem;
    color: var(--zf-black);
    margin: 0;
}

.order-number {
    background: var(--zf-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.1rem;
}

.order-status-badge .status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.status-shipped {
    background: #e0e7ff;
    color: #3730a3;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.order-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.order-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.order-card .card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--zf-black);
    margin-bottom: 1.5rem;
}

.order-progress {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 3rem;
    width: 2px;
    height: 1.5rem;
    background: #e5e7eb;
}

.progress-step.completed:not(:last-child)::after {
    background: var(--zf-green);
}

.step-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.progress-step.completed .step-icon {
    background: var(--zf-green);
    color: white;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    color: var(--zf-black);
}

.step-date {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.order-details .product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.order-details .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.product-details {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: var(--zf-black);
    margin-bottom: 0.25rem;
}

.product-category {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.product-quantity,
.product-price {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.product-total {
    text-align: right;
}

.total-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.total-amount {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--zf-black);
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-row.total {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--zf-black);
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.customer-info,
.delivery-info,
.payment-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.info-value {
    color: var(--zf-black);
}

.info-value.address {
    line-height: 1.5;
}

.delivery-badge,
.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.delivery-badge.ship {
    background: #dbeafe;
    color: #1e40af;
}

.delivery-badge.pickup {
    background: #f3e8ff;
    color: #7c3aed;
}

.payment-badge.paypal {
    background: #fef3c7;
    color: #92400e;
}

.payment-badge.transfer {
    background: #e0e7ff;
    color: #3730a3;
}

.transaction-id {
    font-family: monospace;
    font-size: 0.875rem;
    background: #f9fafb;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
}

.order-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
}

.order-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.order-actions .btn-secondary {
    background: var(--zf-green);
    color: white;
}

.order-actions .btn-secondary:hover {
    background: hsl(89, 64%, 40%);
}

.order-actions .btn-outline {
    background: transparent;
    color: var(--zf-black);
    border: 1px solid var(--border);
}

.order-actions .btn-outline:hover {
    background: var(--zf-accent);
}

/* Order page responsive styles */
@media (max-width: 768px) {
    .order-grid {
        grid-template-columns: 1fr;
    }

    .order-header-content {
        flex-direction: column;
        gap: 1rem;
    }

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

    .product-item {
        flex-direction: column;
        text-align: center;
    }

    .order-actions {
        flex-direction: column;
    }
}

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

.product-actions {
    position: absolute;
    bottom: 0;
    background-color: var(--zf-green) !important;
    color: var(--zf-white);
    padding: 1rem;
    width: 100%;
    text-align: center;
    opacity: 0;

}


.product-actions button {
    background-color: var(--zf-green);
    color: var(--zf-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
}


.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgb(0 0 0 / 57%) 0%, rgb(0 0 0 / 8%) 70%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 5;
}

.product-card:hover .product-actions {
    opacity: 1;
    position: block;

}


.product-card:hover .product-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.product-overlay .btn {
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    border: none;
    background: var(--zf-green);
    color: var(--zf-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(112, 194, 50, 0.3);
}

.product-overlay .btn:hover {
    background: var(--zf-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(112, 194, 50, 0.5);
    filter: brightness(1.1);
}

.product-overlay .btn i {
    width: 18px;
    height: 18px;
}

.product-info {
    padding: 1rem;
}

.product-category {
    font-size: 0.75rem;
    font-family: var(--font-inter);
    font-weight: 500;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-name {
    font-family: var(--font-bebas);
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    display: flex;
    align-items: center;
}

.star {
    width: 12px;
    height: 12px;
    color: hsla(0, 0%, 45%, 0.3);
}

.star.filled {
    color: var(--secondary);
    fill: var(--secondary);
}

.reviews {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-btn {
    background: transparent;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .add-btn {
    opacity: 1;
}

.add-btn:hover {
    background: var(--accent);
}

.add-btn i {
    width: 16px;
    height: 16px;
    color: var(--foreground);
}

.load-more {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.pagination-controls>span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--zf-white);
    font-weight: 500;
}

.pagination-controls #qty_page {
    width: 60px;
    padding: 0.375rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

.pagination-controls #qty_page:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(0, 0, 0, 0.4);
}

.pagination-controls #qty_page::-webkit-inner-spin-button,
.pagination-controls #qty_page::-webkit-outer-spin-button {
    opacity: 1;
}

.pagination-controls .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-controls .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsive Pagination Controls */
/* Tablets and below */
@media (max-width: 992px) {
    .pagination-controls {
        gap: 1rem;
        padding: 0.875rem;
    }

    .pagination-controls>span {
        font-size: 0.8rem;
    }

    .pagination-controls .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
    .pagination-controls {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .pagination-controls>span {
        font-size: 0.75rem;
        gap: 0.35rem;
    }

    .pagination-controls #qty_page {
        width: 50px;
        padding: 0.3rem 0.4rem;
        font-size: 0.8rem;
    }

    .pagination-controls .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        gap: 0.35rem;
    }

    .page-info {
        font-size: 0.8rem;
        gap: 0.25rem;
    }

    .page-info strong {
        font-size: 0.9rem;
    }
}

/* Mobile phones */
@media (max-width: 640px) {
    .load-more {
        justify-content: center;
    }

    .pagination-controls {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        width: 100%;
    }

    .pagination-controls>span {
        order: 1;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .page-info {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .pagination-controls .btn {
        order: 3;
        width: 100%;
        justify-content: center;
        padding: 0.625rem 1rem;
    }

    .pagination-controls .prev-page {
        order: 3;
    }

    .pagination-controls .next-page {
        order: 4;
    }
}

/* Very small mobile devices */
@media (max-width: 480px) {
    .pagination-controls {
        padding: 0.875rem 0.5rem;
    }

    .pagination-controls>span {
        font-size: 0.7rem;
        flex-wrap: wrap;
    }

    .pagination-controls #qty_page {
        width: 45px;
        font-size: 0.75rem;
    }

    .pagination-controls .btn {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    .pagination-controls .btn i {
        width: 14px;
        height: 14px;
    }
}

.page-info {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #fff;
    padding: 0 0.5rem;
    font-weight: 500;
}

.page-info strong {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1rem;
    min-width: 24px;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    /* background: linear-gradient(135deg, var(--background), hsla(33, 8%, 95%, 0.2)); */
    background: #fff;
}

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

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid hsla(0, 0%, 90%, 0.5);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-family: var(--font-bebas);
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.testimonial-card {
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid hsla(0, 0%, 90%, 0.5);
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: hsla(89, 64%, 47%, 0.2);
}

.quote-icon {
    margin-bottom: 1rem;
}

.quote-icon i {
    width: 24px;
    height: 24px;
    color: hsla(89, 64%, 47%, 0.6);
}

.testimonial-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, hsla(89, 64%, 47%, 0.2), hsla(127, 100%, 50%, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-right: 0.75rem;
}

.author-name {
    font-weight: 500;
    color: var(--foreground);
    font-size: 0.875rem;
}

.author-role {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-cta p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.cta-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-green);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.cta-text i {
    width: 20px;
    height: 20px;
}

.cta-text i:first-child {
    color: var(--secondary);
}

.cta-text i:last-child {
    color: var(--electric);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1a1a1a 50%, var(--primary) 100%);
    color: var(--primary-foreground);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, hsla(89, 64%, 47%, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, hsla(127, 100%, 50%, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text h3 {
    font-family: var(--font-bebas);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--electric) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: hsla(0, 0%, 100%, 0.9);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1rem;
}

.about-text .btn {
    margin-top: 2rem;
}

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

.achievement-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.05) 0%, hsla(0, 0%, 100%, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid hsla(0, 0%, 100%, 0.15);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--electric) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.1) 0%, hsla(0, 0%, 100%, 0.15) 100%);
    transform: translateY(-8px);
    border-color: hsla(89, 64%, 47%, 0.4);
    box-shadow: 0 12px 40px hsla(89, 64%, 47%, 0.2);
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-number {
    font-family: var(--font-bebas);
    font-size: 1.75rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--electric) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.achievement-label {
    font-size: 0.9rem;
    color: hsla(0, 0%, 100%, 0.85);
    line-height: 1.5;
}

.values {
    margin-bottom: 4rem;
}

.values-title {
    font-family: var(--font-bebas);
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--electric) 100%);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .values-grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.05) 0%, hsla(0, 0%, 100%, 0.08) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid hsla(0, 0%, 100%, 0.15);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsla(89, 64%, 47%, 0.1) 0%, hsla(127, 100%, 50%, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, hsla(0, 0%, 100%, 0.1) 0%, hsla(0, 0%, 100%, 0.15) 100%);
    border-color: hsla(89, 64%, 47%, 0.5);
    box-shadow: 0 12px 40px hsla(89, 64%, 47%, 0.25);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.value-icon>div {
    padding: 1rem;
    background: linear-gradient(135deg, hsla(89, 64%, 47%, 0.2) 0%, hsla(127, 100%, 50%, 0.15) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px hsla(89, 64%, 47%, 0.2);
}

.value-card:hover .value-icon>div {
    background: linear-gradient(135deg, hsla(89, 64%, 47%, 0.3) 0%, hsla(127, 100%, 50%, 0.2) 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px hsla(89, 64%, 47%, 0.3);
}

.value-icon i {
    width: 32px;
    height: 32px;
    color: var(--secondary);
}

.value-card h4 {
    font-family: var(--font-bebas);
    font-size: 1.35rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

.value-card p {
    font-size: 0.9rem;
    color: hsla(0, 0%, 100%, 0.85);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.about-cta {
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
}

.about-cta h3 {
    font-family: var(--font-bebas);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .about-cta h3 {
        font-size: 2.5rem;
    }
}

.about-cta p {
    font-size: 1.125rem;
    color: hsla(0, 0%, 100%, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
}

.footer-benefits {
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-fast);
}

.benefit:hover {
    color: var(--secondary);
}

.benefit i {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    transition: var(--transition-fast);
}

.benefit:hover i {
    transform: scale(1.1);
}

.benefit span {
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 0.875rem;
}

.footer-main {
    padding: 4rem 0;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section {
    /* Base styles for footer sections */
}

.footer-logo {
    font-family: var(--font-bebas);
    font-size: 1.875rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.footer-description {
    color: hsla(0, 0%, 100%, 0.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    color: var(--primary-foreground);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: hsla(89, 64%, 47%, 0.2);
    color: var(--secondary);
}

.social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.footer-title {
    font-family: var(--font-bebas);
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: hsla(0, 0%, 100%, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
}

.newsletter-text {
    color: hsla(0, 0%, 100%, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.newsletter {
    display: flex;
    margin-bottom: 1.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: hsla(0, 0%, 100%, 0.1);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    border-radius: var(--radius);
    color: var(--primary-foreground);
    font-family: var(--font-inter);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-input::placeholder {
    color: hsla(0, 0%, 100%, 0.5);
}

.newsletter-btn {
    margin-left: 0.5rem;
    padding: 0.5rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background: hsl(89, 64%, 40%);
}

.newsletter-btn i {
    width: 16px;
    height: 16px;
}

.contact-info {
    /* Base styles for contact info */
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.contact-item i {
    width: 16px;
    height: 16px;
    color: var(--secondary);
    margin-right: 0.75rem;
}

.contact-item span {
    color: hsla(0, 0%, 100%, 0.8);
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
    }
}

.copyright {
    font-size: 0.875rem;
    color: hsla(0, 0%, 100%, 0.6);
    text-align: center;
}

@media (min-width: 768px) {
    .copyright {
        text-align: left;
    }
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.legal-links a {
    color: hsla(0, 0%, 100%, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

.legal-links a:hover {
    color: var(--secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes glow {
    from {
        filter: drop-shadow(0 0 8px hsla(127, 100%, 50%, 0.6)) drop-shadow(0 0 15px hsla(127, 100%, 50%, 0.4));
    }

    to {
        filter: drop-shadow(0 0 12px hsla(127, 100%, 50%, 0.8)) drop-shadow(0 0 25px hsla(127, 100%, 50%, 0.6));
    }
}

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .about-cta h3 {
        font-size: 1.5rem;
    }
}

/* Brand Ambassadors */
.ambassadors-hero {
    padding: 5rem 0 2rem;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.ambassadors-hero .section-title {
    margin-bottom: .5rem;
}

.ambassadors-hero .section-description {
    max-width: 820px;
    margin: 0 auto;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.benefit-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    padding: 1rem;
    border-radius: 12px;
    background: hsla(0, 0%, 100%, 0.04);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    box-shadow: var(--shadow-soft);
}

.benefit-item i {
    width: 22px;
    height: 22px;
    color: var(--zf-green);
}

.ambassadors {
    padding: 4rem 0;
}

.ambassadors-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    align-items: center;
}

.ambassadors-card .card-title {
    margin-bottom: .25rem;
    text-align: center;
}

.ambassadors-card .card-subtitle {
    margin-bottom: 1rem;
    color: var(--zf-white);
    text-align: center;
}

.input-with-prefix {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--accent);
    overflow: hidden;
}

.input-with-prefix>span {
    padding: 0.5rem 0.75rem;
    color: var(--muted-foreground);
}

.input-with-prefix input {
    border: none;
    outline: none;
    background: transparent;
    padding: 0.6rem 0.75rem;
    color: var(--foreground);
}

.ambassadors-info .info-title {
    margin-bottom: .5rem;
}

.ambassadors-info .info-list {
    display: grid;
    gap: .5rem;
    margin: 0 0 .75rem;
}

@media (max-width: 1024px) {
    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

/* Horizontal centering for ambassadors grid only */
.ambassadors-grid.centered-h {
    grid-template-columns: 1fr;
    justify-items: center;
    /* center content horizontally */
}

.ambassadors-grid.centered-h .ambassadors-card {
    width: 100%;
    max-width: 820px;
    margin-inline: auto;
}

/* Ambassadors form polish */
.ambassadors-card .form-control label {
    display: inline-block;
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: 6px;
}

.ambassadors-card .contact-form .form-row {
    display: grid;
    gap: 12px;
}

.ambassadors-card .contact-form .form-row.two-cols {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .ambassadors-card .contact-form .form-row.two-cols {
        grid-template-columns: 1fr;
    }
}

.ambassadors-card .contact-form input,
.ambassadors-card .contact-form select,
.ambassadors-card .contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--accent);
    color: var(--foreground);
    transition: var(--transition-fast);
    outline: none;
}



.ambassadors-card .contact-form textarea {
    resize: vertical;
}

.ambassadors-card .contact-form input::placeholder,
.ambassadors-card .contact-form textarea::placeholder {
    color: var(--muted-foreground);
}

.ambassadors-card .contact-form select:focus {
    /* Mantener el borde en verde pero sin halo para no chocar con el menú nativo */
    border-color: hsla(89, 64%, 47%, 0.9);
    box-shadow: none;
    /* evita el resplandor que se superpone con el dropdown */
    background: var(--accent);
    color: var(--foreground);
    outline: 2px solid hsla(89, 64%, 47%, 0.55);
    outline-offset: 2px;
    /* resalta sin invadir el dropdown */
}


.ambassadors-card .contact-form input:focus,
.ambassadors-card .contact-form textarea:focus {
    border-color: hsla(89, 64%, 47%, 0.8);
    outline: 2px solid hsla(89, 64%, 47%, 0.55);
    background: hsla(0, 0%, 100%, 0.06);
    color: var(--zf-white);
}

/* Normalize select appearance */
.ambassadors-card .contact-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%),
        linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 4px), calc(100% - 12px) calc(50% - 4px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

/* Input with @ prefix */
.ambassadors-card .input-with-prefix {
    border-color: var(--border);
    background: var(--accent);
}

.ambassadors-card .input-with-prefix>span {
    background: hsla(0, 0%, 100%, 0.04);
    border-right: 1px solid var(--border);
    font-weight: 700;
}

.ambassadors-card .input-with-prefix input {
    padding: 0.68rem 0.85rem;
}

/* Al enfocar el input interno, el fondo visible es el del contenedor */
.ambassadors-card .input-with-prefix:focus-within {
    background: hsl(0, 0%, 8%);
    /* negro del tema para focus */
    border-color: hsla(89, 64%, 47%, 0.9);
    outline: 2px solid hsla(89, 64%, 47%, 0.55);
    outline-offset: 2px;
}

.ambassadors-card .input-with-prefix input:focus {
    color: var(--zf-white);
}

.ambassadors-card .input-with-prefix input::placeholder {
    color: rgba(229, 231, 235, 0.7);
    /* mejora contraste del placeholder sobre fondo oscuro */
}

/* Button alignment */
.ambassadors-card .form-actions {
    margin-top: .25rem;
}

/* Ambassadors image styling */
.ambassadors-info .ambassadors-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    /* for proper blend layering */
    background: radial-gradient(120% 120% at 100% 0%, rgba(112, 194, 50, 0.10), rgba(0, 0, 0, 0));
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 1px hsla(0, 0%, 100%, 0.06);
    aspect-ratio: 4 / 5;
}

.ambassadors-info .ambassadors-img::before {
    content: "";
    position: absolute;
    inset: -1px;
    /* slight bleed for the ring */
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(112, 194, 50, 0.6), rgba(0, 255, 18, 0.25), rgba(255, 255, 255, 0.08));
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
    /* gradient ring thickness */
    pointer-events: none;
}

.ambassadors-info .ambassadors-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    filter: saturate(105%) contrast(102%);
    transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1), filter .3s ease;
}

.ambassadors-info .ambassadors-img:hover img {
    transform: scale(1.06);
    filter: saturate(112%) contrast(105%);
}

.ambassadors-info .ambassadors-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 60% at 80% 20%, rgba(112, 194, 50, 0.18), transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .ambassadors-info {
        order: -1;
    }

    .ambassadors-info .ambassadors-img {
        max-width: 520px;
        margin: 0 auto 1rem;
        aspect-ratio: 16 / 9;
    }
}

/* Toasts */
.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
    pointer-events: none;
}

.toast {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    min-width: 280px;
    max-width: 380px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #fff;
    color: var(--zf-green);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid hsla(0, 0%, 0%, 0.08);
    backdrop-filter: blur(6px);
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 10000;
}

.toast--success {
    border-left: 4px solid var(--zf-green);
}

.toast--error {
    border-left: 4px solid hsl(0, 84%, 60%);
}

.toast__icon {
    width: 18px;
    height: 18px;
    color: var(--zf-green);
}

.toast__title {
    font-weight: 800;
    letter-spacing: .2px;
}

.toast__msg {
    font-size: 0.875rem;
    color: var(--zf-green);
}

.toast__close {
    cursor: pointer;
    color: var(--muted-foreground);
    background: transparent;
    border: none;
    font-weight: 700;
    line-height: 1;
    transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.toast__close:hover,
.toast__close:focus {
    color: hsl(0, 0%, 35%);
    transform: rotate(0deg) scale(1.05);
    opacity: 0.9;
}

@keyframes toast-in {
    from {
        transform: translateX(12px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(12px);
        opacity: 0;
    }
}


.carousel-products-container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    /* recorta el contenido y mantiene el radio del card */
}

.carousel-products {
    display: flex;
    gap: 0;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    /* scroll horizontal táctil */
    scroll-snap-type: x mandatory;
    /* snapping por slide */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* oculta la barra de scroll */
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
}

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

/* Chrome/Safari */

/* cada slide ocupa el 100% del contenedor (1 imagen visible a la vez) */
.carousel-product {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: center;
    position: relative;
}

.carousel-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* centra el recorte */
    display: block;
}


@keyframes sliding {
    30% {
        transform: translateX(0);
    }

    35% {
        transform: translateX(-100%);
    }

    65% {
        transform: translateX(-100%);
    }

    70% {
        transform: translateX(-200%);
    }

    98% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Cart Drawer (slide-in from right) */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1001;
    /* above header (1000) and below drawer */
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(420px, 92vw);
    background: var(--card);
    color: var(--card-foreground);
    border-left: 1px solid hsla(0, 0%, 90%, 0.6);
    box-shadow: var(--shadow-medium);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    /* above overlay */
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid hsla(0, 0%, 90%, 0.6);
    background: hsla(0, 0%, 100%, 0.9);
    backdrop-filter: blur(8px);
}

.cart-drawer__title {
    font-family: var(--font-bebas);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.cart-drawer__close {
    background: transparent;
    border: none;
    padding: 0.35rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-drawer__close:hover {
    background: var(--accent);
}

.cart-drawer__close i {
    width: 20px;
    height: 20px;
    color: var(--foreground);
}

.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    border: 1px solid hsla(0, 0%, 92%, 0.8);
    border-radius: var(--radius);
    padding: 0.5rem;
    background: var(--card);
}

.cart-item__img {
    width: 64px;
    height: 64px;
    border-radius: calc(var(--radius) - 4px);
    object-fit: cover;
    background: var(--accent);
}

.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cart-item__name {
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.95rem;
}

.cart-item__meta {
    font-size: 0.8rem;
    color: var(--muted-foreground);
}

.cart-item__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid hsla(0, 0%, 90%, 0.8);
    border-radius: var(--radius);
    padding: 0.2rem 0.4rem;
}

.qty button {
    background: transparent;
    border: none;
    padding: 0.15rem;
    cursor: pointer;
}

.qty input {
    width: 2.2rem;
    border: none;
    text-align: center;
    background: transparent;
}

.cart-drawer__footer {
    border-top: 1px solid hsla(0, 0%, 90%, 0.6);
    padding: 0.85rem 1rem 1rem;
    background: hsla(0, 0%, 100%, 0.96);
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.cart-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 420px) {
    .cart-actions {
        grid-template-columns: 1fr 1fr;
    }
}

.cart-actions span {
    font-size: 1.1rem;
    margin-left: 0.2rem;
    margin-top: 0.1rem;
    font-weight: 600;
}

.remove-item {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--danger);
    font-size: 1.5rem;
    padding: 0.2rem;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
}

.remove-item:hover {
    background: #e03444;
    color: var(--card);
}

/* Prevent body scroll when cart open */
body.cart-open {
    overflow: hidden;
}

/* Checkout */
.checkout {
    padding: 7rem 0 3rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 1.5rem;
}

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

.checkout-card,
.summary-card {
    background: var(--card);
    border: 1px solid hsla(0, 0%, 90%, 0.5);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-soft);
}

.checkout-section-title {
    font-family: var(--font-bebas);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: .75rem;
    color: var(--foreground);
}

/* Form fields */
.field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: .75rem;
}

.field label {
    font-size: .9rem;
    color: var(--muted-foreground);
}

.field input,
.field select {
    background: hsla(33, 8%, 95%, 0.5);
    border: 1px solid hsla(0, 0%, 90%, .7);
    border-radius: var(--radius);
    padding: .625rem .75rem;
    color: var(--foreground);
    transition: var(--transition-fast);
}

.field input::placeholder {
    color: var(--muted-foreground);
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--secondary);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.field-row .field {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .field-row {
        grid-template-columns: 1fr;
    }
}

.checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--muted-foreground);
    font-size: .9rem;
    margin-top: .25rem;
}

/* Unify left column: make stacked cards look like a single card */
.checkout-column .checkout-card {
    margin: 0;
    border-radius: 0;
    border-bottom: none;
    box-shadow: none;
}

.checkout-column .checkout-card+.checkout-card {
    border-top: 1px solid hsla(0, 0%, 90%, 0.5);
    /* subtle separator between sections */
}

.checkout-column .checkout-card:first-of-type {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.checkout-column .checkout-card:last-of-type {
    border-bottom: 1px solid hsla(0, 0%, 90%, 0.5);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* Improve readability: stronger label and checkbox text */
.field label {
    color: var(--foreground);
}

.checkbox {
    color: var(--foreground);
}

.option-card-radio .option-title {
    color: var(--foreground);
}

/* Make section titles readable on light backgrounds */
.checkout-section-title {
    color: var(--primary);
}

/* Inputs and static helper text contrast improvements */
.shipping-placeholder {
    color: var(--zf-black);
}

.pickup-info span {
    color: var(--zf-black);
}

.pickup-info strong {
    color: var(--zf-black);
}

/* Delivery: radio option cards and panels */
.delivery {
    position: relative;
}

.delivery-radio {
    display: none;
}

.delivery-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    margin-bottom: .75rem;
}

.option-card-radio {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: .75rem .85rem;
    background: var(--card);
    border: 2px solid hsla(0, 0%, 90%, .8);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-fast);
}

.option-card-radio:hover {
    border-color: var(--secondary);
}

.option-card-radio .option-title {
    font-weight: 600;
    color: var(--foreground);
}

.option-card-radio i {
    width: 18px;
    height: 18px;
    color: var(--muted-foreground);
}

/* Panels visibility controlled by radios using sibling selectors */
.delivery-panels .delivery-panel {
    display: none;
}

#delivery_ship:checked~.delivery-panels .panel-ship {
    display: block;
}

#delivery_pickup:checked~.delivery-panels .panel-pickup {
    display: block;
}

/* When a label is clicked, give a visual active state using :has if supported */
@supports(selector(:has(*))) {

    .delivery:has(#delivery_ship:checked) label[for="delivery_ship"],
    .delivery:has(#delivery_pickup:checked) label[for="delivery_pickup"] {
        border-color: var(--secondary);
        box-shadow: var(--shadow-soft);
    }
}

/* Pickup */
.pickup-note {
    background: var(--accent);
    color: var(--accent-foreground);
    border: 1px solid hsla(0, 0%, 90%, .5);
    border-radius: var(--radius);
    padding: .6rem .75rem;
    margin-bottom: .75rem;
}

.pickup-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.pickup-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .75rem;
    align-items: center;
    border: 1px solid hsla(0, 0%, 90%, .6);
    border-radius: var(--radius);
    padding: .6rem .75rem;
    background: var(--card);
}

.pickup-info {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.pickup-info span {
    color: var(--muted-foreground);
    font-size: .9rem;
}

/* Payment */
.payment-box {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.payment-tab {
    border: 1.5px solid hsla(0, 0%, 90%, .8);
    border-radius: var(--radius);
    overflow: hidden;
}

.payment-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: hsla(33, 8%, 95%, .5);
    border-bottom: 1px solid hsla(0, 0%, 90%, .7);
    padding: .6rem .75rem;
    font-weight: 600;
}

.payment-tab-header i {
    width: 18px;
    height: 18px;
    color: var(--muted-foreground);
}

.billing-box {
    margin-top: .75rem;
}

.billing-title {
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--foreground);
}

.pay-action {
    margin-top: .75rem;
}

/* Summary */
.summary-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: var(--zf-black);
}

.summary-title i {
    width: 18px;
    height: 18px;
    color: var(--electric);
}

.summary-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: .6rem;
}

.summary-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: .6rem;
    align-items: center;
    border: 1px solid hsla(0, 0%, 90%, .6);
    border-radius: var(--radius);
    padding: .5rem;
}

.summary-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
    background: var(--zf-black);
}

.summary-item .item-name {
    font-weight: 600;
    color: var(--zf-black);
}

.summary-item .item-meta {
    font-size: .85rem;
    color: var(--zf-black);
}

.summary-item .item-price {
    font-weight: 600;
    color: var(--zf-black);
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .25rem 0;
    color: var(--zf-black);
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 1px solid hsla(0, 0%, 90%, .6);
    color: var(--zf-black);
}

.summary-total .currency {
    color: var(--zf-black);
    margin-right: .25rem;
}

.summary-total strong {
    font-size: 1.125rem;
    color: var(--zf-black);
}

/* Centrar y alinear botones de pago al mismo nivel */
.pay-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pay-action .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    height: 44px;
    line-height: 1;
    border-radius: 6px;
    white-space: nowrap;
}

.pay-action .btn i {
    margin-right: 8px;
}

/* Estilo específico para PayPal manteniendo consistencia visual */
.btn-paypal {
    background-color: #003087;
    color: #fff;
    border-color: #003087;
}

.btn-paypal:hover {
    background-color: #012766;
    border-color: #01225a;
}

/* Modal Paypal base styles are already present. Reuse for transfer modal. */
.bank-list {
    margin-bottom: 1rem;
}

.bank-list .muted {
    color: var(--muted-foreground);
    margin-bottom: .5rem;
}

.bank-accounts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .6rem;
}

.bank-item {
    padding: .75rem .9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
}

.bank-item strong {
    display: block;
    margin-bottom: .25rem;
}

.upload-proof {
    display: grid;
    gap: .8rem;
    margin: .85rem 0;
}

.upload-proof .upload-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
}

/* File Upload Zone (Dropbox) */
.file-upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--card);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.file-upload-zone:hover {
    border-color: var(--primary);
    background: var(--muted);
}

.file-upload-zone.drag-over {
    border-color: var(--primary);
    background: var(--primary-foreground);
    border-style: solid;
}

.file-upload-icon {
    width: 48px;
    height: 48px;
    color: var(--muted-foreground);
}

.file-upload-icon svg {
    width: 100%;
    height: 100%;
}

.file-upload-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.file-upload-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.file-upload-help {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Image Preview Container */
.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--muted);
}

.image-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdf-preview-icon {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--card);
}

.pdf-preview-icon i {
    font-size: 2.5rem;
    color: #dc2626;
}

.pdf-preview-icon span {
    font-size: 0.75rem;
    color: var(--foreground);
    text-align: center;
    word-break: break-word;
}

.image-remove-btn {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.image-remove-btn:hover {
    background: rgba(220, 38, 38, 0.9);
}

.transfer-notes {
    display: grid;
    gap: .35rem;
    margin-top: .5rem;
}

.transfer-notes label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
}

.transfer-notes input {
    height: 38px;
    padding: 0 .75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--input, #fff);
    color: var(--foreground);
}

/* Responsive adjustments for file upload */
@media (max-width: 640px) {
    .file-upload-zone {
        padding: 1.5rem 1rem;
    }

    .file-upload-icon {
        width: 36px;
        height: 36px;
    }

    .file-upload-title {
        font-size: 0.875rem;
    }

    .image-preview-container {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.75rem;
    }

    .modal-paypal {
        max-width: 100%;
        margin: 0.5rem;
    }

    .modal-paypal__body {
        max-height: calc(100vh - 180px);
    }

    .bank-accounts {
        gap: 0.5rem;
    }

    .bank-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Modal PayPal */
#modalPaypal {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    /* fondo oscuro translúcido */
    display: none;
    /* hidden por defecto */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

/* Modal Transfer: oculto por defecto igual que PayPal */
#modalTransfer {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

#modalPaypal.open {
    display: flex;
}

#modalTransfer.open {
    display: flex;
}

/* Ensure all our modals are hidden unless .open is present */
.modal.fade:not(.open) {
    display: none !important;
}

.modal-paypal {
    width: 100%;
    max-width: 520px;
    background: var(--card);
    color: var(--card-foreground);
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    opacity: 0;
    animation: modalIn 200ms ease forwards;
}

.modal-paypal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid hsla(0, 0%, 90%, .7);
}

.modal-paypal__title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
}

.modal-paypal__title i {
    color: #003087;
}

.modal-paypal__close {
    background: transparent;
    border: none;
    color: var(--muted-foreground);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.modal-paypal__body {
    padding: 1rem;
    color: var(--foreground);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-paypal__actions {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    padding: 0 1rem 1rem;
}

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

/* Central Toast (centered notifications) */
.central-toast-container {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    /* permite click-through salvo el toast */
    z-index: 3000;
    padding: 1rem;
}

.central-toast {
    width: min(560px, 92vw);
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--border);
    border-radius: 12px;
    /* bordes redondeados suaves */
    box-shadow: var(--shadow-large);
    display: grid;
    grid-template-columns: 1fr;
    /* una columna */
    gap: 0.85rem;
    align-items: center;
    justify-items: center;
    text-align: center;
    /* centrar texto */
    padding: 1.2rem 1.5rem;
    pointer-events: auto;
    /* clickable */
    animation: central-toast-in 220ms ease-out forwards;
    position: relative;
    /* para posicionar la X en la esquina */
}

.central-toast--success {
    border-left: 4px solid #16a34a;
}

.central-toast--error {
    border-left: 4px solid #dc2626;
}

.central-toast__icon {
    margin-top: 0.15rem;
    width: 40px;
    /* icono más grande */
    height: 40px;
    color: var(--muted-foreground);
}

.central-toast--success .central-toast__icon {
    color: #16a34a;
}

.central-toast--error .central-toast__icon {
    color: #dc2626;
}

.central-toast__content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.central-toast__title {
    font-weight: 700;
    font-size: 1.05rem;
}

.central-toast__msg {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    max-height: 18rem;
    overflow: auto;
    /* permite textos largos */
}

.central-toast__close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: var(--muted-foreground);
    font-size: 1.1rem;
    padding: 0.25rem;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
}

.central-toast__close:hover {
    background: var(--muted);
    color: var(--foreground);
}

/* Acciones (OK) centradas */
.central-toast__actions {
    display: flex;
    gap: .5rem;
    justify-content: center;
    width: 100%;
    margin-top: .25rem;
}

.central-toast__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 .95rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--primary);
    color: var(--primary-foreground, #fff);
    cursor: pointer;
}

.central-toast__btn:hover {
    filter: brightness(.95);
}

/* Ocultar barra de progreso: ahora el usuario cierra manualmente */
.central-toast__progress {
    display: none;
}

.central-toast__progress>span {
    display: none;
}

.central-toast--success .central-toast__progress {
    color: #16a34a;
}

.central-toast--error .central-toast__progress {
    color: #dc2626;
}

@keyframes central-toast-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }

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

@keyframes central-toast-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(-8px) scale(.98);
    }
}

/* ===== PRODUCT DETAIL PAGE STYLES ===== */
.product-detail-section {
    padding: 6rem 0 4rem;
    background: var(--background-gradient);
    min-height: 100vh;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Product Gallery Styles */
.product-gallery {
    position: sticky;
    top: 6rem;
}

.main-image-container {
    position: relative;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--muted-foreground);
    gap: 1rem;
}

.no-image-placeholder i {
    width: 64px;
    height: 64px;
}

.zoom-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: hsla(0, 0%, 100%, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: var(--radius);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    z-index: 10;
}

.zoom-btn:hover {
    background: var(--zf-white);
    transform: scale(1.05);
}

.zoom-btn i {
    width: 20px;
    height: 20px;
    color: var(--foreground);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.thumbnail-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition-smooth);
    background: var(--card);
}

.thumbnail-image:hover {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.thumbnail-image.active {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px var(--secondary);
}

/* Product Detail Info Styles */
.product-detail-info {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.product-detail-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-detail-category i {
    width: 16px;
    height: 16px;
}

.product-detail-title {
    font-family: var(--font-bebas);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .product-detail-title {
        font-size: 3rem;
    }
}

.product-detail-pricing {
    margin-bottom: 1.5rem;
}

.price-discount-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-detail-pricing .price-current {
    font-family: var(--font-bebas);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary);
    letter-spacing: 0.02em;
}

.product-detail-pricing .price-original {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-family: var(--font-bebas);
    font-size: 1.125rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* Stock Status Styles */
.stock-status {
    margin-bottom: 1.5rem;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.stock-badge i {
    width: 18px;
    height: 18px;
}

.stock-available {
    background: #d1fae5;
    color: #065f46;
}

.stock-low {
    background: #fef3c7;
    color: #92400e;
}

.stock-out {
    background: #fee2e2;
    color: #991b1b;
}

/* Description Styles */
.product-detail-description {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.product-detail-description h3 {
    font-family: var(--font-bebas);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.product-detail-description p {
    color: var(--muted-foreground);
    line-height: 1.8;
    font-size: 1rem;
}

/* Product Badges in Detail */
.product-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
}

.detail-badge i {
    width: 16px;
    height: 16px;
}

.badge-highlight {
    background: linear-gradient(135deg, var(--secondary), hsl(89, 64%, 40%));
    color: var(--secondary-foreground);
}

.badge-discount {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.badge-new {
    background: var(--electric);
    color: var(--electric-foreground);
}

/* Action Buttons */
.product-detail-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.add-to-cart-form {
    flex: 1;
}

.btn-add-to-cart {
    width: 100%;
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 1rem 2rem;
    font-family: var(--font-bebas);
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-green);
}

.btn-add-to-cart:hover {
    background: hsl(89, 64%, 40%);
    transform: translateY(-2px);
}

.btn-add-to-cart i {
    width: 24px;
    height: 24px;
}

.btn-add-to-cart.btn-disabled {
    background: var(--muted);
    color: var(--muted-foreground);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-add-to-cart.btn-disabled:hover {
    transform: none;
}

.btn-favorite-detail {
    background: var(--card);
    border: 2px solid var(--border);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-favorite-detail:hover {
    border-color: var(--secondary);
    background: var(--accent);
}

.btn-favorite-detail i {
    width: 24px;
    height: 24px;
    color: var(--muted-foreground);
}

.btn-favorite-detail.favorited i {
    color: var(--secondary);
    fill: var(--secondary);
}

/* Additional Info */
.product-additional-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item-detail {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background: var(--accent);
    border-radius: var(--radius);
}

.info-item-detail i {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
}

.info-item-detail strong {
    display: block;
    color: var(--foreground);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-item-detail p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin: 0;
}

/* Suggested Products Section */
.suggested-products-section {
    padding: 4rem 0;
    background: var(--background-gradient);
}

.suggested-header {
    text-align: center;
    margin-bottom: 3rem;
}

.suggested-header h2 {
    font-family: var(--font-bebas);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.suggested-header p {
    color: var(--zf-white);
    opacity: 0.8;
    font-size: 1.125rem;
}

.suggested-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .suggested-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .suggested-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Image Lightbox Modal */
.image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: hsla(0, 0%, 0%, 0.95);
    z-index: 9999;
    backdrop-filter: blur(8px);
}

.image-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: hsla(0, 0%, 100%, 0.9);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--zf-white);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-close i {
    width: 24px;
    height: 24px;
    color: var(--foreground);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* No Products Message */
.no-products-message {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    min-height: 300px;
}

.no-products-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
}

.no-products-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.no-products-content p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
    .product-gallery {
        position: relative;
        top: 0;
    }

    .product-detail-section {
        padding: 5rem 0 3rem;
    }

    .product-detail-info {
        padding: 1.5rem;
    }

    .product-detail-title {
        font-size: 2rem;
    }

    .product-detail-pricing .price-current {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .product-detail-actions {
        flex-direction: column;
    }

    .btn-favorite-detail {
        width: 100%;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 0.5rem;
    }
}



.search-bar {
    display: none;
    align-items: center;
    max-width: 28rem;
    flex: 1;
    margin: 0 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .search-bar {
        display: flex;
    }
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
    width: 16px;
    height: 16px;
}

.search-input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    background: hsla(33, 8%, 95%, 0.5);
    border: 1px solid hsla(0, 0%, 90%, 0.5);
    border-radius: var(--radius);
    font-family: var(--font-inter);
    color: var(--foreground);
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary);
}

.search-input::placeholder {
    color: var(--muted-foreground);
}

.nav-mobile-search {
    padding-top: 1rem;
    border-top: 1px solid hsla(0, 0%, 90%, 0.5);
}


.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--zf-white);
    border-radius: var(--radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    max-height: 60vh;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 0.25rem;
}

.search-results.active {
    display: block;
}

.search-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results li {
    padding: 0.75rem 1rem;
    min-height: 56px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-results li:last-child {
    border-bottom: none;
}

.search-results li:hover {
    background-color: var(--muted);
}

.search-results .no-results {
    padding: 1.5rem;
    text-align: center;
    color: var(--muted-foreground);
}


/* tablet */
@media (max-width: 1023px) {
    .search-bar {
        max-width: 100%;
        margin: 0 1rem;
    }

    .search-results {
        max-height: 50vh;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .search-bar {
        display: none;
    }

    .nav-mobile-search {
        position: relative;
    }

    .nav-mobile .search-results {
        position: absolute;
        top: calc(100% + 0.25rem);
        /* justo debajo del input */
        left: 0;
        right: 0;
        max-height: 50vh;
        border-radius: var(--radius);
        z-index: 50;
    }



    .nav-mobile .search-results li:last-child {
        border-bottom: none;
    }
}