/* Variables & Theme Colors */
:root {
    --primary-dark: #1b3d26;
    /* Dark green used in footer, headers */
    --primary-light: #e8efde;
    /* Light green background */
    --accent-green: #37813a;
    /* Accent green for text/buttons */
    --accent-light: #c2dd8c;
    /* Lighter green for subscribe button */
    --text-dark: #333333;
    /* Main text color */
    --text-gray: #666666;
    /* Secondary text color */
    --bg-light: #f9f9f9;
    /* Light gray for product cards */
    --font-primary: 'Jost', sans-serif;
    --font-secondary: 'Unna', 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-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    color: var(--primary-dark);
    font-weight: 700;
}

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(--primary-dark);
    color: #ffffff;
}

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

.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: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

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

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

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

.link-styled {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
}

.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: linear-gradient(270deg, #004d00, #007018, #018f01, #002b15);
    background-size: 400% 400%;
    animation: neonGradient 6s ease infinite;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
}

.btn-comprar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 127, 0.5);
    color: #fff;
}

@keyframes neonGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 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(--primary-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5%;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.top-bar-social a {
    margin-right: 18px;
    color: var(--accent-green);
    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(--accent-green);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo h1 {
    margin: 0;
}

.header-logo-text {
    color: #009137;
    font-size: 40px;
    font-weight: 700;
    font-family: var(--font-secondary);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-dark);
    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-dark);
    display: flex;
    align-items: center;
}

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

.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: 28px;
    color: var(--primary-dark);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(70deg, var(--primary-light) 0%, var(--primary-light) 15%, rgba(232, 239, 222, 0.4) 55%, transparent 60%);
    z-index: 1;
    pointer-events: 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;
}

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

.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: 500px;
    z-index: 2;
}

.hero-title {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-title span {
    font-style: italic;
    font-weight: 400;
}

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

@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 {
    margin-top: 60px;
    display: flex;
    gap: 10px;
}

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

.dot.active {
    background-color: var(--primary-dark);
}

/* Features Slider marquee effect */
.features-bar {
    overflow: hidden;
    background-color: #fcfcfc;
    border-bottom: 1px solid #eee;
    padding: 30px 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-dark);
}

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

/* Best Sellers */
.best-sellers {
    padding: 80px 5%;
}

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

.section-header p {
    color: var(--text-dark);
    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(--bg-light);
    border: 1px solid var(--border-color);
    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(--primary-dark);
    color: var(--text-light);
}

.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: #51AD32;
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.product-card {
    text-align: center;
    width: 375px;
    max-width: 90vw;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.product-img {
    background-color: var(--bg-light);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 350px;
    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: 30px;
    margin-bottom: 5px;
}

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

.price {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.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.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1757800945999-ed0fa905d0f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') 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: #F0F1E3;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    transition: var(--transition-fast);
    scroll-snap-align: start;
}

.logo-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    background: white;
}

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

/* Subscribe Banner */
.subscribe-banner {
    background: url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?ixlib=rb-4.0.3&auto=format&fit=crop&w=1500&q=80') 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: #f7f9f6;
    position: relative;
    overflow: hidden;
}

.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: var(--primary-dark);
    padding: 80px 5%;
    color: #fff;
}

.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%;
}

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

.blog-main-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.blog-main-card img {
    width: 100%;
    max-height: 500px;
    flex: 1;
    object-fit: cover;
    transition: transform 0.5s;
}

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

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

.bm-content h4 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 15px;
}

.read-time-1 {
    font-size: 14px;
    color: #fff;
    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: #f9f9f9;
    transition: transform 0.3s, box-shadow 0.3s;
}

.bs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.bs-img img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

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

.bs-content h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

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

/* Instagram Module */
.instagram-feed {
    padding: 0;
    /* Resetting padding for full width */
    background: #fdfdfd;
}

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

.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;
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    gap: 10px;
    padding-bottom: 60px;
}

.ig-grid a {
    display: block;
    overflow: hidden;
}

.ig-grid img {
    width: 100%;
    height: 350px;
    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: var(--primary-light);
    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: 32px;
    margin: 0;
}

.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: #152d1d;
    color: #fff;
    padding-top: 60px;
}

.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: 16px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.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: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    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: none;
    }

    .top-bar-social {
        display: flex;
        gap: 0px;
    }

    .top-bar {
        justify-content: space-between;
    }

    .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: 1000;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        width: 100%;
        height: 100%;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        transition: transform 0.4s ease, visibility 0.4s;
        visibility: hidden;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

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

    .nav-links li a {
        font-size: 26px;
        padding: 15px 0;
        text-align: center;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-overlay {
        background: rgba(232, 239, 222, 0.75);
    }

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

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

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

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

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

    .bs-content {
        padding: 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;
    }
}