/* Variables & Theme Colors — Tech Dark Mode */
:root {
    --primary-dark: #000000;
    /* Near-black for footer, headers */
    --primary-light: rgb(40 40 40);
    /* Dark surface for top-bar */
    --primary-white: #ffffff;
    /* White primary */
    --accent-green: #c8f000;
    /* Neon lime accent */
    --accent-light: #a0bf00;
    /* Darker lime for hover */
    --text-dark: #000000;
    /* Light text on dark bg */
    --text-gray: #555555;
    /* Secondary text */
    --text-white: #ffffff;
    /* White text */
    --bg-light: #1a1d24;
    /* Card dark surface */
    --font-primary: 'Tomorrow', sans-serif;
    --font-secondary: 'Rubik', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html,
body {
    font-family: var(--font-primary);
    color: var(--text-white);
    background-color: var(--primary-white);
    line-height: 1.6;
    overflow-x: clip;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Typography Base */
h1,
h2,
h3 {
    font-family: 'Tomorrow', sans-serif;
    color: var(--primary-light);
    font-weight: 700;
}

h1,
h3 {
    text-transform: uppercase;
}

h4,
h5,
h6 {
    font-family: var(--font-secondary);
    color: #f0f0f0;
    font-weight: 700;
}

p {
    font-family: 'Rubik', sans-serif;
}

h3 {
    font-size: 45px;
    line-height: 1.2;
}

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

/* Button Utilities */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #0d0d0d;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: #deff33;
    color: #000;
}

.btn-outline-white {
    background-color: transparent;
    color: #1b3d26;
    border-color: #1b3d26;
}

.hero-content .btn-outline-white {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.hero-content .btn-outline-white:hover {
    background-color: var(--accent-green);
    color: #fff;
}

.ts-header .btn-outline-white {
    border-color: #ffffff;
    color: #ffffff;
}

.ts-header .btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--primary-dark);
}

.btn-outline-dark {
    background-color: transparent;
    color: #e0e0e0;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-dark:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: #000;
}

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

.btn-accent-light:hover {
    background-color: var(--accent-green);
    color: #fff;
}

.btn-accent {
    background-color: var(--accent-green);
    color: #000;
}

.btn-accent:hover {
    background-color: var(--accent-light);
    color: #000;
}

.text-center {
    text-align: center;
}

.link-styled {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 5px;
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.link-styled:hover {
    color: var(--accent-green);
    border-color: var(--accent-green);
}

/* Neon Buy Button */
.btn-comprar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-green);
    color: #0d0d0d;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(200, 240, 0, 0.3);
    transition: var(--transition-smooth);
}

.btn-comprar:hover {
    transform: translateY(-2px);
    background: #deff33;
    box-shadow: 0 6px 28px rgba(200, 240, 0, 0.5);
    color: #000;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header & Nav */
.top-bar {
    background-color: var(--accent-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%;
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar-social a {
    margin-right: 18px;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
}

.top-bar-social .material-icons {
    font-size: 20px;
}

.top-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-text .material-icons-outlined,
.top-bar-contact .material-icons-outlined {
    font-size: 20px;
    color: var(--primary-dark);
}

/* Marquee for Top Bar */
.marquee-container {
    height: 20px;
    overflow: hidden;
    position: relative;
    width: 320px;
    /* Increased to accommodate longer phrases */
}

.marquee-content {
    display: flex;
    flex-direction: column;
    animation: topBarMarquee 8s infinite;
}

.marquee-content span {
    height: 20px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

@keyframes topBarMarquee {

    0%,
    45% {
        transform: translateY(0);
    }

    50%,
    95% {
        transform: translateY(-20px);
    }

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

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(40, 40, 40, 1);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.logo h1 {
    margin: 0;
}

.header-logo-text {
    color: var(--accent-green);
    font-size: 40px;
    font-weight: 800;
    font-family: var(--font-secondary);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--accent-green);
}

.nav-links a .dropdown-icon {
    font-size: 18px;
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icons a {
    color: var(--text-white);
    display: flex;
    align-items: center;
}

.nav-icons a:hover {
    color: var(--accent-green);
}

/* Hide mobile-only nav elements on desktop */
.nav-mobile-social {
    display: none;
}

.nav-chevron {
    font-size: 18px;
    margin-left: 2px;
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--accent-green);
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 32px;
    color: var(--accent-green);
    /* Changed to lime for better visibility */
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    min-height: 80vh;
    align-items: center;
    overflow: hidden;
}

/* Overlay now lives as pseudo-element inside each slide */
.hero-overlay {
    display: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(80deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.75) 40%, rgba(13, 13, 13, 0.2) 70%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

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

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
    pointer-events: none;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.hero-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--accent-light), var(--accent-green));
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.hero-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

.hero-arrow.hero-prev {
    left: 20px;
}

.hero-arrow.hero-next {
    right: 20px;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-tag {
    color: var(--accent-green);
    font-family: var(--font-primary);
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 64px;
    line-height: 1.05;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-title span {
    color: var(--accent-green);
    font-style: normal;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-white);
}

@keyframes slideLeftFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

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

.hero-anim-trigger h2,
.hero-anim-trigger h1,
.hero-anim-trigger p,
.hero-anim-trigger a.btn,
.hero-anim-trigger .hero-pagination {
    opacity: 0;
    animation: slideLeftFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-anim-trigger h2 {
    animation-delay: 0s;
}

.hero-anim-trigger h1 {
    animation-delay: 0.2s;
}

.hero-anim-trigger p {
    animation-delay: 0.4s;
}

.hero-anim-trigger a.btn {
    animation-delay: 0.6s;
}

.hero-anim-trigger .hero-pagination {
    animation-delay: 0.8s;
}

.hero-pagination {
    position: absolute;
    bottom: 40px;
    left: 5%;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--accent-green);
}

/* Features Slider marquee effect */
.features-bar {
    overflow: hidden;
    background-color: #111318;
    border-top: 1px solid rgba(200, 240, 0, 0.15);
    border-bottom: 1px solid rgba(200, 240, 0, 0.15);
    padding: 22px 0;
}

.features-track {
    display: flex;
    width: max-content;
    animation: scrollFeatures 30s linear infinite;
    will-change: transform;
}

.features-group {
    display: flex;
    gap: 80px;
    padding-right: 80px;
    /* Space before the next group */
}

.features-track:hover {
    animation-play-state: paused;
}

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

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    scroll-snap-align: start;
}

.feature-item .material-icons-outlined {
    font-size: 24px;
    color: var(--primary-white);
}

.feature-item p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

/* Best Sellers */
.best-sellers {
    padding: 80px 5%;
    background-color: var(--primary-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 20px;
    margin-top: 10px;
}

.products-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.products-grid::-webkit-scrollbar {
    height: 8px;
}

.products-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* Slider Wrappers */
.slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: var(--primary-white);
    border: 1px solid var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
    background-color: var(--accent-green);
    color: var(--text-dark);
}

.slider-arrow.prev-arrow {
    left: -20px;
}

.slider-arrow.next-arrow {
    right: -20px;
}

.footer-logo-container {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 80px;
}

.footer-logo-text {
    color: var(--accent-green);
    font-size: 50px;
    font-weight: 800;
    font-family: var(--font-secondary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.product-card {
    text-align: center;
    width: 320px;
    max-width: 90vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
    background: #141418;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 24px rgba(200, 240, 0, 0.12);
}

.product-img {
    background-color: #1a1d24;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

.product-img:hover img {
    transform: scale(1.08);
    /* Premium hover effect */
}

.rating .product {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 2px;
    margin-bottom: 10px;
}

.rating .material-icons,
.rating .material-icons-star_half,
.rating .material-icons-star_outline {
    font-size: 16px;
}

.rating .material-icons-star_half {
    color: #ffffff;
    font-size: 16px;
}

.reviews {
    font-size: 13px;
    color: var(--text-gray);
    margin-left: 5px;
}

.product-card h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #f0f0f0;
    padding: 16px 16px 0;
}

.product-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
    padding: 0 16px;
}

.price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-green);
    padding: 0 16px;
}

.product-info {
    padding: 0 0 16px;
}

.product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.product-actions .btn {
    padding: 10px 20px;
    font-size: 12px;
}

/* POS Banner */
.pos-banner {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/1029757/pexels-photo-1029757.jpeg?auto=compress&cs=tinysrgb&w=1500') center/cover;
    padding: 100px 5%;
    color: #fff;
    display: flex;
    align-items: center;
}

.pos-content {
    max-width: 500px;
}

.pos-content h3 {
    color: #fff;
    font-size: 36px;
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 20px;
}

.pos-content p {
    margin-bottom: 30px;
    font-size: 16px;
}

/* Partners */
.partners {
    padding: 60px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}

.partners h4 {
    font-size: 24px;
    font-weight: 600;
    min-width: 600px;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
    color: var(--text-dark);
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    opacity: 0.6;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

.supermarkets {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.supermarkets h3 {
    font-size: 45px;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.supermarkets p {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 20px;
}

.supermarkets-slider-container {
    overflow-x: auto;
    width: 100%;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.supermarkets-slider-container::-webkit-scrollbar {
    display: none;
}

.supermarkets-logos {
    display: flex;
    width: max-content;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.logo-box {
    background: #d1d1d1;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 30px 20px;
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    transition: var(--transition-smooth);
    scroll-snap-align: start;
    filter: grayscale(1) brightness(1.5);
    margin: 12px 0;
}

.logo-box:hover {
    transform: translateY(-3px);
    border-color: var(--accent-green);
    filter: grayscale(0) brightness(1);
    background: #d1d1d1;
}

.logo-box img {
    object-fit: contain;
}

/* Colaboraciones Section */
.collab-section {
    padding: 60px 5%;
    background-color: var(--primary-white);
}

.collab-header {
    margin-bottom: 30px;
}

.collab-header h2 {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.collab-grid {
    display: flex;
    gap: 12px;
    height: 510px;
}

.collab-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.collab-row {
    display: flex;
    gap: 12px;
    height: 249px;
    flex: none;
}

.collab-tile {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: block;
    text-decoration: none;
    background: #111;
}

.collab-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collab-tile:hover img {
    transform: scale(1.06);
}

.collab-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
}

.collab-label span {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.collab-large {
    flex: 0 0 45%;
    height: 100%;
}

.collab-small {
    flex: 1;
}

.collab-wide {
    height: 249px;
    flex: none;
}



/* Subscribe Banner */

.subscribe-banner {
    background: url('https://images.pexels.com/photos/2582937/pexels-photo-2582937.jpeg?auto=compress&cs=tinysrgb&w=1500') center/cover;
    position: relative;
    padding: 100px 5%;
    display: flex;
    align-items: center;
}

.subscribe-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.subs-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
}

.subs-highlight {
    font-size: 18px;
    margin-bottom: 20px;
}

.subs-content h3 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 30px;
}

/* Lifestyle */
.lifestyle {
    padding: 80px 5%;
    background-color: #111318;
    position: relative;
    overflow: hidden;
}

.lifestyle .section-header h3 {
    color: var(--text-white);
}

.lifestyle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg, transparent 24%, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0.05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 0, 0, 0.05) 75%, rgba(0, 0, 0, 0.05) 76%, transparent 77%, transparent);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 400px);
    -webkit-mask-image: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 400px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lifestyle:hover::before {
    opacity: 1;
}

.lifestyle>* {
    position: relative;
    z-index: 1;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    text-align: center;
}

.category-card .img-wrapper {
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 15px;
    will-change: transform;
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 15px;
}

.category-card:hover img {
    transform: scale(1.05);
    /* Soft growth premium feel */
}

.category-card h4 {
    font-family: var(--font-secondary);
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background-color: #111318;
    padding: 80px 5%;
    color: #fff;
    border-top: 1px solid rgba(200, 240, 0, 0.1);
}

.ts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.ts-header h3 {
    color: #fff;
}

.testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}

.testimonials-grid::-webkit-scrollbar {
    height: 8px;
}

.testimonials-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.ts-card {
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    width: 320px;
    flex-shrink: 0;
    border-radius: 4px;
    scroll-snap-align: start;
}

.ts-card img {
    width: 100%;
    min-width: 320px;
    height: 390px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.ts-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
}

.ts-overlay p {
    font-size: 14px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ts-overlay .author {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Blog */
.blog {
    padding: 80px 5%;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1320px;
    margin: 0 auto;
}

.blog-main-card {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
}

.blog-main-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
    flex-shrink: 0;
    border-radius: 12px;
}

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

.bm-content {
    padding: 20px 0 10px;
    background: none;
}

.bm-content h4 {
    color: var(--primary-light);
    font-size: 26px;
    margin-bottom: 10px;
}

.read-time-1 {
    font-size: 14px;
    color: #555;
    display: block;
    margin-bottom: 10px;
}

.read-time {
    font-size: 14px;
    color: #000000;
    display: block;
    margin-bottom: 10px;
}

.tags span {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 4px 12px;
    font-size: 11px;
    border-radius: 20px;
    margin-right: 8px;
    text-transform: uppercase;
}

.blog-side-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bs-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--primary-white);
    border: 1px solid var(--primary-white);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.bs-card:hover {
    border-color: transparent;
}

.bs-card:hover {
    transform: none;
    box-shadow: none;
}

.bs-img {
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.bs-img img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

.bs-content {
    padding: 20px 20px 20px 0;
    flex: 1;
}

.bs-content h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.bs-content .tags span {
    border-color: #ccc;
    color: #555;
}

/* Instagram Module */
.instagram-feed {
    padding: 60px 5%;
    background: #fff;
}

.ins-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-bottom: 40px;
}

.ig-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    padding: 3px;
    flex-shrink: 0;
}

.ig-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.ins-header h3 {
    font-family: var(--font-primary);
    font-size: 20px;
}

.ins-header p {
    color: var(--primary-light);
    font-size: 14px;
    margin-top: 4px;
}

.ig-slider-outer {
    position: relative;
    margin-bottom: 0px;
}

.ig-slider-outer .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #333;
}

.ig-slider-outer .slider-arrow:hover {
    background: var(--accent-green);
    color: #000;
    border-color: var(--accent-green);
    transform: translateY(-50%) scale(1.1);
}

.ig-slider-outer .prev-arrow {
    left: -25px;
}

.ig-slider-outer .next-arrow {
    right: -25px;
}

.ig-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 0 30px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.ig-grid a {
    flex: 0 0 320px;
    scroll-snap-align: start;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.ig-grid a {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.ig-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ig-grid a:hover img {
    transform: scale(1.05);
}

/* Pre-Footer Newsletter Bar */
.footer-newsletter {
    background-color: #111318;
    border-top: 1px solid rgba(200, 240, 0, 0.15);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 10%;
    gap: 20px;
}

.footer-newsletter h3 {
    font-family: var(--font-secondary);
    font-size: 28px;
    margin: 0;
    color: #f0f0f0;
}

.fn-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.fn-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-primary);
    outline: none;
}

/* Main Footer */
.main-footer {
    background-color: #0a0a0a;
    color: #fff;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) 1fr 1fr minmax(250px, 1fr);
    gap: 40px;
    padding: 0 5% 40px 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.f-col p {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 10px;
}

.f-socials {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .f-socials {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin-bottom: 20px;
    }
}


.f-socials a {
    color: #fff;
    opacity: 0.7;
}

.f-socials a:hover {
    opacity: 1;
    color: var(--accent-green);
}

.f-col h4 {
    color: var(--accent-green);
    font-family: var(--font-primary);
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    display: none;
    transition: transform 0.3s ease;
}

.f-col-content {
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.f-col ul li {
    margin-bottom: 12px;
}

.f-col ul li a {
    font-size: 16px;
    color: #ffffff;
}

.f-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    font-size: 12px;
    color: #888;
}

.payment-logos {
    display: flex;
    align-items: center;
    gap: 30px;
}

.payment-logos img {
    height: 30px;
    width: auto;
}

.copyright-bar span {
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
}



.banderas-bar span {
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
}

.anacondaweb-bar span {
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
	display:none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* Side Drawers */
.side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 400px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    z-index: 2000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, visibility 0.4s;
    visibility: hidden;
    display: flex;
    flex-direction: column;
}

.side-drawer.active {
    transform: translateX(0);
    visibility: visible;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.drawer-header h3 {
    margin: 0;
    font-size: 24px;
}

.close-drawer {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
}

.drawer-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.drawer-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

.drawer-input:focus {
    border-color: var(--accent-green);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
    h3 {
        font-size: 36px;
    }

    .hero {
        background-position: center;
    }

    .hero-title {
        font-size: 48px;
    }

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

    .blog-main-card img {
        height: 400px;
    }

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

@media screen and (max-width: 768px) {

    .top-bar-text {
        display: flex;
    }

    .top-bar-social {
        display: none;
    }

    .top-bar {
        justify-content: center;
    }

    .top-bar-text {
        justify-content: center;
    }

    .marquee-container {
        width: auto;
        max-width: 280px;
        text-align: left;
    }

    .marquee-content span {
        justify-content: center;
    }

    .header-logo-text {
        font-size: 28px;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .nav-icons {
        order: 2;
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
        order: 3;
        margin-left: 30px;
        position: relative;
        z-index: 999;
    }

    .menu-toggle .material-icons {
        font-size: 38px;
        font-weight: 700;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        left: 0;
        transform: translateX(-100%);
        width: 100%;
        height: calc(100vh - 65px);
        height: calc(100dvh - 65px);
        background: #0d0d0d;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 30px 30px 40px;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
        visibility: hidden;
        z-index: 998;
        gap: 0;
        box-shadow: 2px 0 30px rgba(0, 0, 0, 0.6);
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li a {
        font-size: 22px;
        padding: 18px 0;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 700;
        letter-spacing: 0;
        width: 100%;
    }

    .nav-links li .nav-chevron {
        font-size: 22px;
        opacity: 0.5;
        margin-left: auto;
        transform: rotate(-90deg);
    }

    .nav-mobile-social {
        display: flex !important;
        gap: 24px;
        padding: 30px 0 0 !important;
        border-bottom: none !important;
        margin-top: auto;
        align-items: center;
    }

    .nav-mobile-social a {
        font-size: 20px !important;
        padding: 0 !important;
        width: auto !important;
        color: #fff;
        opacity: 0.7;
        justify-content: flex-start !important;
    }

    .nav-mobile-social a:hover {
        opacity: 1;
        color: var(--accent-green);
    }

    .hero {
        min-height: 60vh;
    }

    .hero-overlay {
        background: rgba(13, 13, 13, 0.80);
    }

    .hero-arrow,
    .slider-arrow {
        display: none;
    }

    .hero-content {
        background: transparent;
        padding: 30px 20px;
    }

    .ts-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-grid {
        gap: 30px;
    }

    .blog-side-stack {
        gap: 20px;
    }

    .bs-card {
        flex-direction: column;
        align-items: stretch;
    }

    .bs-img,
    .bs-img img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .bs-content {
        padding: 0 20px 20px 20px;
    }

    .ig-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 40px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

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

    .ig-grid a {
        flex: 0 0 65%;
        scroll-snap-align: center;
    }

    .ig-grid a:nth-child(5) {
        display: block;
    }

    /* Hide 5th internal block */

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo-container {
        justify-content: center;
    }

    .payment-logos {
        gap: 10px;
    }

    .copyright-bar span {
        display: block;
        margin: 5px 0;
    }

    /* Footer Accordion Mobile */
    .f-col-accordion .accordion-header {
        cursor: pointer;
        padding: 10px 0;
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .f-col-accordion .accordion-icon {
        display: block;
    }

    .f-col-accordion.active .accordion-icon {
        transform: rotate(180deg);
    }

    .f-col-accordion .f-col-content {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding-top: 0;
        margin-top: 0;
    }

    .f-col-accordion.active .f-col-content {
        max-height: 500px;
        opacity: 1;
        padding-top: 20px;
        margin-top: 10px;
    }

    /* Reset text align for accordion headers to ensure icon goes right */
    .footer-grid {
        text-align: left;
    }

    .footer-grid .f-col:first-child {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-logo-container {
        justify-content: center;
    }
}

/* Explore Section Styles */
.explore-section {
    padding: 80px 5%;
    background-color: #f7f7f7;
}

.explore-header {
    text-align: center;
    margin-bottom: 40px;
}

.explore-header h2 {
    font-size: 50px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.explore-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    border-bottom: 1px solid #ddd;
    max-width: 600px;
    margin: 0 auto;
}

.explore-tab {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    padding-bottom: 12px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.explore-tab:hover {
    color: #444;
}

.explore-tab.active {
    color: #000;
}

.explore-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.product-card-clean {
    text-align: center;
    width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
    margin-bottom: 20px;
}

.product-brand-clean {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
    letter-spacing: 1px;
    font-weight: 400;
}

.product-img-clean {
    background-color: #f2f2f2;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-img-clean img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.4s;
}

.product-img-clean:hover img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    z-index: 2;
}

.badge-blue {
    background-color: #e7e7e7;
    color: #333;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    text-transform: uppercase;
}

.badge-yellow {
    background-color: #eaff00;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    text-transform: uppercase;
}

.btn-add-cart {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    background-color: #fff;
    color: #000;
    border: none;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-img-clean:hover .btn-add-cart,
.tp-img-wrapper:hover .btn-add-cart {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
}

.btn-add-cart:hover {
    background-color: #f8f8f8;
}

.product-info-clean h4 {
    font-family: var(--font-primary);
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: none;
}

.product-info-clean .price {
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}

.color-swatches {
    display: flex;
	display: none;
    justify-content: center;
    gap: 6px;
}

.swatch {
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    cursor: pointer;
}

/* Oferta por Tiempo Limitado (Product Highlight) */
.product-highlight {
    padding: 60px 5%;
    background-color: rgb(240 240 240);
    color: var(--text-dark);
}

.ph-section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Label + countdown above product name, inside ph-details */
.ph-offer-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ph-offer-header .ph-countdown {
    margin-top: 0;
    padding: 6px 16px;
}

.ph-offer-header .countdown-num {
    font-size: 20px;
    min-width: 30px;
}

.ph-label-tag {
    display: inline-block;
    background: var(--accent-green);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 16px;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 10px;
}

/* Countdown Timer */
.ph-countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0d0d0d;
    border-radius: 8px;
    padding: 10px 24px;
    margin-top: 12px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-num {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1;
    min-width: 44px;
    text-align: center;
}

.countdown-lbl {
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

.countdown-sep {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 12px;
}

/* Sale pricing block */
.ph-price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.ph-old-price {
    font-size: 16px;
    color: #aaa;
    text-decoration: line-through;
}

.ph-discount-badge {
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.ph-savings {
    font-size: 13px;
    color: #2e7d32;
    font-weight: 500;
    width: 100%;
    margin: 0;
}

.ph-container {
    display: flex;
    width: 100%;
    gap: 60px;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.ph-images {
    flex: 0 0 480px;
    width: 480px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ph-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ph-main-img {
    background-color: #f7f7f7;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 16px;
}

.ph-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ph-main-img:hover img {
    transform: scale(1.1);
}

.ph-main-img .zoom-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ph-thumbnails {
    display: flex;
    gap: 15px;
}

.ph-thumbnails .thumb {
    flex: 1;
    aspect-ratio: 1;
    background-color: #f7f7f7;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s;
    padding: 0;
    border-radius: 10px;
}

.ph-thumbnails .thumb.active {
    border-color: #000;
}

.ph-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ph-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ph-details h2 {
    font-family: var(--font-primary);
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary-light);
    line-height: 1.1;
    margin-bottom: 15px;
}

.ph-price {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.ph-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 25px;
}

.ph-rating .material-icons {
    color: #f5c518;
    font-size: 16px;
}

.reviews-count {
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

.ph-details hr {
    border: none;
    border-top: 1px solid #eee;
    margin-bottom: 25px;
}

.ph-color p,
.ph-quantity p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.color-options {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.color-options .opt {
    width: 34px;
    height: 34px;
    border: 2px solid transparent;
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.color-options .opt.active {
    outline-color: #000;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    width: fit-content;
    margin-bottom: 25px;
}

.qty-selector button {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
}

.qty-selector input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    outline: none;
    color: #000;
}

.ph-stock {
    color: #2e7d32;
    font-size: 14px;
    margin-bottom: 25px;
}

.btn-add-cart-large {
    background-color: var(--accent-green);
    color: var(--primary-light);
    border: none;
    padding: 18px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 25px;
}

.btn-add-cart-large:hover {
    background-color: #83a000;
}

.ph-share {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.ph-share a {
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.ph-share a:hover {
    color: #000;
}

@media (max-width: 900px) {
    .ph-container {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }

    .ph-images {
        flex: none;
        width: 100%;
    }

    .ph-details h2 {
        font-size: 28px;
    }
}

/* Hotspot Banner Section */
.hotspot-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hb-container {
    position: relative;
    width: 100%;
    max-height: 600px;
    background-color: #f0f0f0;
}

.hb-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
}

.hotspot {
    position: absolute;
    top: var(--top);
    left: var(--left);
    z-index: 10;
}

.hotspot-btn {
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    position: relative;
    transform: translate(-50%, -50%);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hotspot-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #000;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.hotspot-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.6);
}

.hotspot-btn:hover::after {
    background-color: var(--accent-green);
}

.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    padding: 15px;
    border-radius: 0;
    display: flex;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: max-content;
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    align-items: center;
}

.hotspot-tooltip.left-side {
    left: auto;
    right: 50%;
    transform: translateX(50%) translateY(10px);
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.hotspot:hover .hotspot-tooltip,
.hotspot:focus-within .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.hotspot:hover .hotspot-tooltip.left-side,
.hotspot:focus-within .hotspot-tooltip.left-side {
    transform: translateX(50%) translateY(0);
}

.hotspot-tooltip img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f7f7f7;
    border-radius: 4px;
}

.ht-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ht-info h4 {
    font-size: 14px;
    font-family: var(--font-primary);
    color: #000;
    margin-bottom: 5px;
    font-weight: 600;
}

.ht-info p {
    font-size: 13px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ht-info .quick-view {
    color: #666;
    text-decoration: underline;
    transition: color 0.3s;
    font-weight: 600;
}

.ht-info .quick-view:hover {
    color: #000;
}

/* Info Box */
.hb-info-box {
    position: absolute;
    bottom: 0;
    left: 5%;
    background: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin-bottom: 20px;
    margin-left: 10px;
}

.hb-info-box h4 {
    font-size: 14px;
    font-weight: 700;
    padding: 20px 30px;
    margin: 0;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    color: #000;
}

.hb-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hb-nav button {
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    color: #000;
}

.hb-nav button:hover {
    background: #f7f7f7;
}

.hb-nav span {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .hb-info-box {
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hb-info-box h4 {
        padding: 15px 20px;
        border-bottom: none;
        border-right: 1px solid #eee;
    }

    .hotspot-tooltip {
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .hb-bg {
        object-position: 45% center;
        /* Adjust this to move the image in mobile */
        min-height: 400px;
    }

    .hotspot {
        top: var(--top-mob, var(--top));
        left: var(--left-mob, var(--left));
    }

    .hotspot-tooltip {
        left: 0;
        transform: translateX(-30%) translateY(10px) !important;
    }

    .hotspot-tooltip::after {
        left: 30%;
    }

    .hotspot:hover .hotspot-tooltip,
    .hotspot:focus-within .hotspot-tooltip {
        transform: translateX(-30%) translateY(0) !important;
    }
}

/* Top Phones Section */
.top-phones {
    padding: 60px 5%;
    background-color: var(--primary-white);
}

.tp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.tp-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 200px;
    right: 100px;
    height: 1px;
    background-color: #eee;
    z-index: 1;
}

.tp-header h2 {
    font-family: var(--font-secundary);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
    background-color: var(--primary-white);
    padding-right: 20px;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.tp-nav {
    display: flex;
    gap: 10px;
    background-color: var(--primary-white);
    padding-left: 20px;
    position: relative;
    z-index: 2;
}

.tp-nav button {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    color: #000;
}

.tp-nav button:hover {
    background: #f7f7f7;
    border-color: #ccc;
}

.tp-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.tp-grid::-webkit-scrollbar {
    height: 6px;
}

.tp-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.tp-card {
    width: 320px;
    flex: 0 0 320px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    position: relative;
}

.tp-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #eee;
}

.tp-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background-color: #fbfbfb;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.tp-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    transition: transform 0.4s;
}

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

.tp-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #fa6264;
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    text-transform: uppercase;
    z-index: 2;
}

.tp-info {
    display: flex;
    flex-direction: column;
}

.tp-brand {
    font-size: 12px;
    color: #888;
    margin: 0 0 5px 0;
}

.tp-title {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0 0 8px 0;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-rating {
    display: none;
}

.tp-price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tp-old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.tp-discount {
    font-size: 11px;
    background: #f5f5f5;
    padding: 2px 5px;
    border-radius: 4px;
    color: #333;
}

.tp-price {
    font-size: 13px;
    color: #555;
    margin: 0 0 12px 0;
}

.tp-price.sale {
    color: #ff4d4f;
}

.tp-card:not(:has(.tp-old-price)) .tp-price {
    margin-top: 0;
}

.tp-swatches {
    display: flex;
	display: none;
    gap: 6px;
    margin-top: auto;
    /* Empuja los swatches al final si hay espacio extra */
}

.tp-swatches .swatch {
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 0;
    display: inline-block;
}

@media (max-width: 768px) {
    .tp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .tp-header::after {
        display: none;
    }

    .tp-nav {
        padding-left: 0;
    }

    .tp-card {
        flex: 0 0 220px;
        padding-right: 15px;
    }

    /* Collab grid: stack all tiles vertically, full width, 200px each */
    .collab-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 12px;
    }

    .collab-right {
        display: flex;
        flex-direction: column;
        gap: 12px;
        height: auto;
    }

    .collab-row {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 12px;
    }

    .collab-large,
    .collab-small,
    .collab-wide {
        height: 200px;
        width: 100%;
        flex: none;
    }

    /* Instagram mobile grid/slider */
    .ig-slider-outer {
        padding: 0;
    }

    .ig-slider-outer .slider-arrow {
        display: none;
        /* Hide arrows on mobile, allow touch scroll */
    }

    .ig-grid {
        gap: 10px;
        padding-bottom: 30px;
    }

    .ig-grid a {
        flex: 0 0 240px;
    }
}

/* ── 480px / 390px fixes ── */
@media (max-width: 480px) {

    /* Hero */
    .hero-slide {
        padding: 0 5%;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .hero-tag {
        font-size: 11px;
    }

    .hero-pagination {
        bottom: 24px;
    }

    /* Collab grid: already handled in 768px media query */

    /* Product highlight (Más Vendido) */
    .ph-container {
        flex-direction: column;
        gap: 30px;
    }

    .ph-thumbnails {
        gap: 8px;
    }

    .ph-images {
        width: 100%;
    }

    /* Top phones / audifonos cards */
    .tp-card {
        flex: 0 0 180px;
    }

    /* Explore section */
    .product-card-clean {
        width: 260px;
    }

    .explore-header h2 {
        font-size: 32px;
    }

    .explore-tabs {
        gap: 14px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    /* Blog section */
    .blog {
        padding: 50px 5% 20px;
    }

    .blog .section-header {
        margin-bottom: 10px;
    }

    .blog .section-header p {
        margin-bottom: 30px;
    }

    .blog-main-card img {
        height: 200px;
        border-radius: 12px;
    }

    .bm-content h4 {
        font-size: 24px;
    }

    .bs-img,
    .bs-img img {
        height: 200px;
        width: 100%;
        border-radius: 12px;
    }

    /* Testimonials */
    .testimonials-grid {
        gap: 12px;
    }

    .ts-header {
        gap: 16px;
    }

    /* Instagram */
    .ins-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 5%;
    }

    /* Section headers */
    .section-header h3 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 15px;
    }

    /* Top-bar: ocultar contacto en mobile muy pequeño */
    .top-bar-contact {
        display: none;
    }

    /* Footer */
    .footer-logo-text {
        font-size: 36px;
    }

    .footer-grid {
        gap: 30px;
    }

    /* Product highlight button */
    .btn-add-cart-large {
        padding: 14px;
        font-size: 13px;
    }
}