:root {
    --primary-color: #dc383b;
    /* Red - for buttons, CTAs, highlights (20%) */
    --secondary-color: #0f3252;
    /* Navy Blue - for headers, footer, emphasis (40%) */
    --accent-color: #0d2b46;
    /* Slightly darker navy for deep accents */
    --text-dark: #0f3252;
    --text-light: #546e7a;
    --white: #FFFFFF;
    --background-light: #f4f7f9;
    --border-color: #cfd8dc;
    --font-main: 'Inter', 'Poppins', sans-serif;
    --container-width: 1200px;

    /* Cart & Checkout Specifics */
    --checkout-bg: #f8f9fa;
    --card-bg: #ffffff;
    --success-color: #27ae60;
    --warning-color: #dc383b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography Helpers */
h2 {
    font-size: 2.2rem;
    /* Normalized size */
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    text-align: center;
}

.section-divider {
    width: 60px;
    /* Standardized width */
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 2rem;
    /* Centered */
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Animation Utilities --- */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(30px);
}

.reveal-down {
    transform: translateY(-30px);
}

.reveal-left {
    transform: translateX(30px);
}

.reveal-right {
    transform: translateX(-30px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Delay helpers for staggered entrance */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* Hero Entrance Transitions (Static classes triggered by JS or immediate) */
.hero-entrance {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-entrance.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-image-entrance {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-image-entrance.active {
    opacity: 1;
    transform: translateX(0);
}



/* Header Main */
.main-header {
    padding: 20px 0;
    background-color: var(--white);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo Styling */
.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-family: var(--font-main);
}

.search-bar button {
    background: none;
    border: none;
    padding: 0 15px;
    color: var(--text-light);
    cursor: pointer;
}

/* --- Live Search Dropdown --- */
.search-bar {
    position: relative;
    overflow: visible !important;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.search-dropdown::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.search-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-thumb {
    width: 50px;
    min-width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 6px;
    background: #f9f9f9;
    position: relative;
}

.search-result-thumb img {
    position: absolute;
    width: 166.67%;
    height: auto;
    top: -41.67%;
    left: 0;
    object-fit: cover;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.search-result-brand {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

.search-result-name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.search-result-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

.search-view-all {
    display: block;
    padding: 12px 15px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    background: #f8f9fa;
    border-radius: 0 0 10px 10px;
}

.search-view-all:hover {
    background: #eef;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Cart Styles */
.cart {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    /* Add spacing after WhatsApp icon */
}

.cart i {
    font-size: 1.4rem;
    /* Increased from 1.2rem */
    color: var(--primary-color);
}

.cart-count {
    background-color: var(--secondary-color);
    /* Changed from accent-color (orange) */
    color: white;
    font-size: 0.8rem;
    /* Slightly larger */
    padding: 3px 7px;
    border-radius: 50%;
}

.cart-total {
    font-weight: 500;
    font-size: 0.95rem;
    /* Slightly larger */
}

/* Simplified WhatsApp Icon */
.contact-whatsapp-icon {
    font-size: 1.8rem;
    /* Increased from 1.5rem */
    color: var(--primary-color);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-whatsapp-icon:hover {
    color: #25D366;
    /* WhatsApp Brand Color */
    transform: scale(1.1);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 10px;
}

/* Navigation */
.main-nav {
    background-color: var(--secondary-color);
    color: var(--white);
    position: relative;
    z-index: 100;
}

/* Hide mobile-only elements on desktop */
.mobile-menu-close,
.mobile-nav-overlay {
    display: none;
}

.main-nav>.container>ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav>.container>ul>li {
    position: relative;
}

.main-nav>.container>ul>li>a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
    color: white;
    text-decoration: none;
}

.main-nav>.container>ul>li>a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-nav i.fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.3s;
}

.main-nav .has-dropdown:hover>a i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 10px 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 999;
}

/* Category Megamenu */
.category-megamenu {
    min-width: 750px;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    z-index: 1001;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.megamenu-column h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.megamenu-column a {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    display: block;
    transition: all 0.2s;
}

.megamenu-column a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    margin: 0;
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s;
    text-decoration: none;
}

.dropdown li a:hover {
    background: var(--background-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown li a.ver-todo {
    color: var(--primary-color);
    font-weight: 600;
    border-top: 1px solid var(--border-color);
    margin-top: 5px;
    padding-top: 15px;
}

.dropdown li a.ver-todo:hover {
    background: var(--primary-color);
    color: white;
}

/* WhatsApp Nav Button */
.nav-whatsapp {
    margin-left: auto;
}

.nav-whatsapp a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 5px 0;
    transition: all 0.3s;
}

.nav-whatsapp a:hover {
    background: #128C7E;
    transform: scale(1.02);
}

.nav-whatsapp i {
    font-size: 1.1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    /* Modern rounded style */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #c42f32;
    /* Slightly darker red */
    border-color: #c42f32;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Sections General */
section {
    padding: 60px 0;
}

section.hero {
    padding: 0;
}

/* Floating Buttons */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Moved to right */
    background-color: var(--primary-color);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    /* Moved up to avoid overlap */
    right: 37px;
    /* Aligned roughly with center of whatsapp button (60px width vs 40px width) */
    background-color: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    width: 46px;
    /* Slightly larger for easier clicking */
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    /* JS will toggle */
    z-index: 1000;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

/* Innovative Hero Banner */
.hero-banner {
    background-color: var(--secondary-color);
    background-image: linear-gradient(135deg, rgba(15, 50, 82, 0.95) 0%, rgba(8, 29, 47, 0.9) 100%),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    z-index: 2;
    position: relative;
}

.hero-text {
    max-width: none;
    padding: 0;
}

.hero-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #fff 20%, #ccc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 15px 35px;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(220, 56, 59, 0.3);
}

.hero-buttons .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px 35px;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Align at the base */
    align-self: stretch;
    /* Stretch to the full height of hero-content */
}

.hero-image img {
    max-width: 100%;
    height: 100%;
    /* Fill the container height */
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

/* Brands Catalog */
.brands-slider {
    overflow: hidden;
    width: 100%;
}

.brands-slider .brands-track {
    display: flex;
    align-items: center;
    width: calc(180px * 16);
    /* 180px per item * 16 items (8 original + 8 duplicates) */
    animation: scroll 30s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-item {
    width: 180px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.brand-item img {
    max-width: 100%;
    max-height: 80px;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-180px * 8));
        /* Scroll by width of original 8 items */
    }
}

/* Shop by Category (Shop by Need) */
.shop-by-need {
    padding: 80px 0;
    background-color: var(--white);
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.need-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.need-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    background: white;
}

.need-image {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.need-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.need-card:hover .need-image img {
    transform: scale(1.1);
}

.need-info h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.need-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .needs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .needs-grid {
        grid-template-columns: 1fr;
    }
}

/* Google Reviews Section (Refined) */
.google-reviews {
    background-color: #f0f4f8;
    /* Slightly darker cool gray/blue background */
    padding: 80px 0;
    position: relative;
}

.google-header {
    margin-bottom: 50px;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.2rem;
    color: #555;
    margin-top: 20px;
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* subtle highlight for the rating */
}

.rating-score {
    font-weight: 800;
    color: #333;
    font-size: 1.4rem;
}

.google-rating .stars {
    color: #fbbc04;
    /* Keep gold for rating recognition */
    letter-spacing: 2px;
}

.google-review-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    border-top: 4px solid var(--secondary-color);
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.google-review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Decorative Quote Icon */
.google-review-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.03);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    position: relative;
    z-index: 1;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
    font-weight: 700;
}

.reviewer-info .stars {
    color: #fbbc04;
    font-size: 0.9rem;
}

.brand-google-icon {
    font-size: 1.2rem;
    color: var(--secondary-color);
    opacity: 0.8;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
    display: block;
    /* Ensure it's on its own line if needed */
    margin-top: 5px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin-top: auto;
}

.google-action {
    text-align: center;
    margin-top: 60px;
}

/* Optimized Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .google-review-card {
        padding: 20px 15px;
    }

    .review-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .reviewer-info h4 {
        font-size: 0.9rem;
    }

    .review-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .google-review-card::before {
        font-size: 3.5rem;
        top: 10px;
        right: 15px;
    }
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}



.product-card {
    background: var(--white);
    border: 1px solid transparent;
    transition: all 0.3s;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.price-current {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.add-to-cart {
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    text-align: center;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.add-to-cart:hover {
    background: var(--secondary-color);
    transform: scale(1.02);
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    /* Cropping Strategy: 
       Top: 25%, Right: 25%, Bottom: 15%, Left: 0%.
       Visible Width: 75% | Visible Height: 60%.
       Aspect Ratio: 75/60 = 1.25 (5:4).
       Padding-top: 100 / 1.25 = 80%.
    */
    padding-top: 80%;
}

.product-image img {
    position: absolute;
    /* Scale logic:
       We want to show 80% of the image width in 100% of container.
       Scale = 100/80 = 1.25 = 125%.
       Left aligned.
    */
    width: 133.33%;
    height: auto;

    /* Position logic:
       We want to start showing from Y=20%.
       Image Height (relative to container width) = 125%.
       Container Height (relative to container width) = 75%.
       Ratio Image/Container = 1.666.
       We want to shift up by 20% of Image Height.
       0.2 * 1.666 = 0.333 = 33.3% of Container Height.
    */
    top: -41.67%;
    left: 0;
    /* User Confirmation: Tienda crop is perfect. Reusing logic. */

    object-fit: cover;
    border-radius: 8px;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary-color);
}

.view-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-more:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.view-more {
    margin-top: auto;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5D8AA8;
    /* Air force blueish */
    cursor: pointer;
}

/* Certifications Bar */
.certifications {
    background: var(--accent-color);
    color: white;
    padding: 25px 0;
}

.cert-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.cert-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}



/* Testimonials Section */
.testimonials {
    background-color: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.test-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.test-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.test-author img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.test-author h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.test-author span {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}



/* Product Card Hover Overlay */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.product-card:hover .hover-overlay {
    opacity: 1;
}

.hover-title {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.price-tag {
    background-color: var(--secondary-color);
    /* Dark Blue */
    color: white;
    padding: 8px 15px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.old-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    opacity: 0.7;
    font-weight: 400;
}

/* LOCATION STYLES REPLACED */


.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

/* Nuestra Garantía (Consolidated Features) */
.store-features {
    padding: 80px 0;
    background-color: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-item i {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    box-shadow: 0 8px 15px rgba(15, 50, 82, 0.2);
}

.feature-item h3 {
    font-size: 1.15rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Location Map Responsive Fix */
.map-wrapper {
    flex: 1;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100% !important;
    height: 100%;
    min-height: 400px;
    border: 0;
}

@media (max-width: 992px) {
    .location-content {
        flex-direction: column-reverse;
    }

    .map-wrapper {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* Footer */
footer {
    background-color: var(--accent-color);
    padding: 60px 0 20px;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-col h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-col ul li i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 5px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-col a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-payment {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.footer-payment img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
    /* Adjust as needed */
}

.footer-bottom {
    border-top: none;
    padding-top: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Menu Toggle */
/* mobile-menu-toggle defined at line ~200 and mobile query at ~2382 */

/* Responsiveness */
@media (max-width: 900px) {
    .header-content {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    .header-actions {
        gap: 15px;
    }

    .contact-whatsapp-icon {
        display: none;
        /* Hide on smaller screens to save space */
    }

    /* mobile-menu-toggle handled in main mobile query at ~2382 */

    .main-nav {
        display: none;
        /* Hidden by default on mobile */
        position: absolute;
        /* main-nav handled in mobile section ~2458 */
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav a {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .slide-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .slide-text {
        padding-right: 0;
    }

    .slide-text .logo-large {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .top-bar {
        font-size: 0.8rem;
    }

    .slide-text .logo-large .text span:first-child {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Internal Pages Styles */
.simple-header {
    background: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.simple-header img {
    height: 50px;
}

.page-hero {
    background: var(--secondary-color);
    color: white;
    padding: 35px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.page-hero p {
    font-size: 1rem;
    opacity: 0.9;
}

.page-content {
    padding: 60px 0;
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.content-box h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.nosotros-content {
    padding: 60px 0;
}

.section-top-margin {
    margin-top: 40px !important;
}

.styled-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.styled-list li {
    padding: 12px 15px;
    background: var(--background-light);
    margin-bottom: 10px;
    border-radius: 8px;
    color: var(--text-light);
    line-height: 1.6;
    border-left: 4px solid var(--primary-color);
}

.styled-list li strong {
    color: var(--secondary-color);
}

.info-card {
    background: var(--secondary-color);
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    margin: 20px 0;
}

.info-card p {
    color: white;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card i {
    width: 25px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-back:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Internal Page Responsiveness */
@media (max-width: 768px) {
    .page-hero {
        padding: 40px 0;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .content-box {
        padding: 25px 20px;
        border-radius: 10px;
    }

    .content-box h2 {
        font-size: 1.3rem;
        margin-top: 25px;
    }

    .category-megamenu {
        min-width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 15px !important;
    }

    .megamenu-column h3 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
}

/* Form Styles for Internal Pages */
.form-container {
    background: var(--background-light);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.map-container {
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 25px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Shopping Cart Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.cart-close {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #999;
    background: none;
    border: none;
    transition: color 0.3s;
}

.cart-close:hover {
    color: var(--accent-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 0;
    position: relative;
    transition: all 0.3s ease;
}

@keyframes rippleEffect {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 166, 153, 0.4);
    }

    100% {
        box-shadow: 0 0 20px 20px rgba(0, 166, 153, 0);
    }
}

/* Pulse animation for newly added cart items */
.cart-item-pulse {
    position: relative;
    z-index: 1;
}

.cart-item-pulse::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 12px;
    box-shadow: 0 0 0 0 rgba(0, 166, 153, 0.6);
    animation: rippleEffect 1.5s ease-out infinite;
    z-index: -1;
    pointer-events: none;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
    line-height: 1.2;
}

.cart-item-price {
    font-size: 0.85rem;
    color: #666;
}

.cart-item-remove {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background-color: #fafafa;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-view-cart,
.btn-checkout {
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}

.btn-view-cart {
    background-color: var(--primary-color);
    color: white;
}

.btn-view-cart:hover {
    background-color: #00939b;
}

.btn-checkout {
    background-color: var(--secondary-color);
    color: white;
}

.btn-checkout:hover {
    background-color: #004d61;
}

/* Empty Cart State */
.empty-cart-msg {
    text-align: center;
    color: #999;
    margin-top: 50px;
    font-style: italic;
}

/* Collapsible Filters */
.filter-title {
    cursor: pointer;
    user-select: none;
}

.filter-title i {
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.filter-title.collapsed i {
    transform: rotate(180deg);
}

.filter-options {
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    max-height: 500px;
    opacity: 1;
}

.filter-options.hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

/* Cart Micro-animations */
@keyframes cart-bump {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.cart-bump {
    animation: cart-bump 0.3s ease-out;
}

@keyframes item-slide-in {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* cart-item animation moved to main definition */

/* Flying Image Animation */
.flying-img {
    position: fixed;
    z-index: 10000;
    transition: all 0.8s ease-in-out;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


/* Cart Item Single Pulse Animation */
@keyframes cart-item-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 179, 187, 0.4);
        border-color: var(--primary-color);
        background-color: rgba(15, 179, 187, 0.05);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(15, 179, 187, 0);
        border-color: #eee;
        background-color: transparent;
    }
}

/* Transition for cart item (border removed) */

.cart-item.glow-effect {
    animation: cart-item-pulse 1.2s ease-out forwards;
}

/* Cart item styles consolidated in main definition (line ~1926) */

/* New Pulse Animation */
@keyframes pulse-once {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 179, 187, 0.7);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(15, 179, 187, 0);
    }
}

.cart-item-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: transparent;
    animation: pulse-once 1s ease-out forwards;
    pointer-events: none;
}

/* Subtle Pulse Override */
@keyframes pulse-once {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 179, 187, 0.4);
    }

    100% {
        box-shadow: 0 0 0 8px rgba(15, 179, 187, 0);
    }
}

/* Quantity Controls in Cart */
.cart-item-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.qty-value {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Product Card Dual Buttons */
.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.btn-view {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--primary-color);
    color: white;
}

.btn-cart {
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Override Featured Card Hover - More Subtle */
.featured-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

/* Tablet and below */
@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .search-bar {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    .main-nav .container ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-banner {
        padding: 40px 0;
        /* Restore padding for mobile column layout */
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-text {
        max-width: 100%;
        padding: 0;
    }

    .hero-image {
        max-width: 400px;
        align-self: center;
        margin-top: 20px;
    }

    .hero-image img {
        height: auto;
        max-height: 350px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* Top Bar */
    .top-bar {
        font-size: 0.8rem;
        padding: 6px 40px 6px 15px;
    }

    .top-bar p {
        font-size: 0.75rem;
    }

    /* Header - Mobile Redesign (Reference Match) */
    .main-header {
        padding: 10px 0 15px;
    }

    .header-content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        position: relative;
    }

    /* Row 1: Logo Centered */
    .logo {
        order: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
        display: flex;
        justify-content: center;
        flex: 0 0 100%;
    }

    .logo-img {
        max-height: 40px;
        width: auto;
    }

    /* Row 2: Toggle (Left) & Actions (Right) */
    .mobile-menu-toggle {
        display: block !important;
        order: 2;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
        padding: 5px;
        margin-right: 0;
        width: auto;
    }

    .header-actions {
        order: 3;
        display: flex;
        align-items: center;
        gap: 15px;
        margin-left: auto;
        /* Push to right */
    }

    /* Row 3: Search Bar (Full Width) */
    .search-bar {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin-top: 5px;
        flex: 0 0 100%;
        /* Force full width */
        margin-right: 0;
    }

    .cart {
        display: flex !important;
    }

    .cart-total {
        display: none;
    }

    .cart i {
        font-size: 1.2rem;
    }

    .cart-count {
        font-size: 0.65rem;
        padding: 2px 5px;
    }

    .contact-whatsapp-icon {
        font-size: 1.5rem;
        color: #25D366;
    }

    /* Mobile Navigation - Left Slide */
    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        /* Removed right: 0 to allow width control */
        bottom: 0;
        width: 300px;
        max-width: 85%;
        height: 100vh;
        height: 100dvh;
        background: white;
        z-index: 9999;
        animation: slideInLeft 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    }

    @keyframes slideInLeft {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Mobile Menu Header with Close Button */
    .main-nav.active::before {
        content: 'MENÚ';
        display: block;
        padding: 25px 70px 25px 25px;
        background: var(--secondary-color);
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
        letter-spacing: 2px;
        flex-shrink: 0;
    }

    /* Close button inside menu - Large and visible */
    .mobile-menu-close {
        position: absolute;
        top: 18px;
        right: 20px;
        z-index: 10001;
        background: rgba(255, 255, 255, 0.25);
        border: 2px solid rgba(255, 255, 255, 0.5);
        color: white;
        font-size: 1.4rem;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .mobile-menu-close:hover,
    .mobile-menu-close:active {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(1.05);
    }

    /* Overlay behind menu */
    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .mobile-nav-overlay.active {
        display: block;
        animation: fadeIn 0.3s ease;
    }

    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .main-nav.active .container {
        padding: 0;
        max-width: 100%;
        flex: 1;
        overflow-y: auto;
    }

    .main-nav.active>.container>ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav.active>.container>ul>li {
        border-bottom: none;
    }

    .main-nav.active>.container>ul>li>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        margin: 2px 10px;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-dark) !important;
        background: white;
        transition: all 0.2s ease;
    }

    .main-nav.active>.container>ul>li>a:hover,
    .main-nav.active>.container>ul>li.open>a {
        background: linear-gradient(135deg, rgba(15, 179, 187, 0.1) 0%, rgba(0, 111, 145, 0.1) 100%);
        color: var(--primary-color) !important;
    }

    .main-nav.active>.container>ul>li>a i.fa-chevron-down {
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(15, 179, 187, 0.1);
        border-radius: 50%;
        color: var(--primary-color);
        transition: all 0.3s ease;
        font-size: 0.7rem;
    }

    /* Dropdown - Hidden by default on mobile */
    .main-nav.active .dropdown {
        display: none !important;
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0 10px 10px;
        margin: 0;
    }

    /* Show dropdown when parent has .open class */
    .main-nav.active .has-dropdown.open .dropdown {
        display: block !important;
        animation: fadeSlideDown 0.3s ease;
    }

    @keyframes fadeSlideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .main-nav.active .has-dropdown.open>a i.fa-chevron-down {
        transform: rotate(180deg);
        background: var(--primary-color);
        color: white;
    }

    .main-nav.active .dropdown li {
        border-bottom: none !important;
    }

    .main-nav.active .dropdown li a {
        padding: 12px 15px 12px 20px !important;
        margin: 2px 20px;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        color: var(--text-light) !important;
        display: flex;
        align-items: center;
        gap: 10px;
        border-radius: 8px;
        background: #f8f9fa;
        border-left: none !important;
    }

    .main-nav.active .dropdown li a::before {
        content: '→';
        color: var(--primary-color);
        font-weight: bold;
    }

    .main-nav.active .dropdown li a:hover {
        color: white !important;
        background: var(--primary-color) !important;
    }

    .main-nav.active .dropdown li a:hover::before {
        color: white;
    }

    /* Menu Overlay */
    .mobile-menu-overlay {
        display: none;
    }

    .mobile-menu-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Hero */
    .hero-banner {
        padding: 40px 0 0 0;
        /* Remove bottom padding */
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .hero-text {
        padding: 0 0 20px 0;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        margin-top: auto;
    }

    .hero-image img {
        max-width: 320px;
        width: 90%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /* Typography */
    h2 {
        font-size: 1.5rem;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .product-card {
        padding: 12px;
    }



    .product-title {
        font-size: 0.85rem;
    }

    .product-title a {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .price-current {
        font-size: 1rem;
    }

    .price-old {
        font-size: 0.75rem;
    }

    .product-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn-view,
    .btn-cart {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    /* Featured Brands */
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .featured-card {
        padding: 15px;
    }

    .featured-image {
        height: 100px;
    }

    .featured-title {
        font-size: 0.9rem;
    }

    /* Categories */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card h3 {
        font-size: 0.9rem;
    }

    /* Google Reviews handled above (Consolidated) */

    /* Promo Banner */
    .promo-banner .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .promo-banner h3 {
        font-size: 1.2rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-payment img {
        max-width: 280px;
    }

    /* Floating buttons */
    .float-whatsapp {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
        font-size: 1.5rem;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 75px;
    }

    /* Cart Drawer */
    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }

    .cart-item {
        gap: 10px;
    }

    .cart-item-image {
        width: 50px;
        height: 50px;
    }

    .cart-item-name {
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .top-bar {
        padding: 5px 35px 5px 10px;
    }

    .top-bar p {
        font-size: 0.7rem;
    }

    .logo-img {
        max-height: 35px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .products-grid {
        gap: 10px;
    }

    .product-card {
        padding: 10px;
    }



    .product-title {
        font-size: 0.8rem;
    }

    .price-current {
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .featured-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .featured-card {
        padding: 10px;
    }

    .featured-image {
        height: 80px;
    }

    .featured-title {
        font-size: 0.8rem;
    }

    .btn-outline {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* ========================================
   CART DRAWER STYLES
   ======================================== */

/* Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 100%;
    height: 100vh;
    background: white;
    z-index: 9999;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-drawer.active {
    right: 0;
}

/* Drawer Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.cart-header h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    color: var(--secondary-color);
}

.cart-close {
    background: none;
    border: none;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.2s;
}

.cart-close:hover {
    color: var(--primary-color);
}

/* Drawer Items Container */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

/* cart-item styles consolidated at line ~1926 */

/* New item highlight animation */
.cart-item-new {
    animation: cartItemPulse 0.6s ease;
}

@keyframes cartItemPulse {
    0% {
        background: rgba(15, 179, 187, 0.1);
    }

    100% {
        background: transparent;
    }
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.qty-value {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-item-remove {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #ccc;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

.empty-cart-msg {
    text-align: center;
    color: #888;
    padding: 40px 20px;
    font-size: 0.95rem;
}

/* Drawer Footer */
.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.cart-subtotal span:last-child {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* btn-view-cart and btn-checkout styles consolidated at lines ~2035-2065 */

/* Flying Image Animation */
.flying-img {
    position: fixed;
    z-index: 99999;
    border-radius: 8px;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}

/* Cart icon bump animation */
.cart-bump {
    animation: cartBump 0.3s ease;
}

@keyframes cartBump {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Mobile Drawer Adjustments - Full Screen with Safe Padding */
@media (max-width: 768px) {
    .cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
        right: -100%;
        top: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .cart-drawer.active {
        right: 0;
    }

    .cart-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
    }

    .cart-header {
        padding: 18px 20px;
        position: sticky;
        top: 0;
        z-index: 10;
        flex-shrink: 0;
        background: white;
        border-bottom: 1px solid #eee;
    }

    .cart-items {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px 20px;
    }

    .cart-item {
        padding: 12px;
        margin-bottom: 12px;
    }

    .cart-footer {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px 20px;
        padding-bottom: calc(15px + env(safe-area-inset-bottom, 20px));
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        flex-shrink: 0;
    }

    .cart-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .cart-buttons button {
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
}

/* Body scroll lock when cart is open */
body.cart-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* =========================================
   TIENDA PAGE STYLES (Migrated from Inline)
   ========================================= */

.shop-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar Filters */
.shop-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    align-self: start;
    transition: transform 0.3s ease-in-out;
}

/* Load More Button */
.load-more-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto;
    padding: 14px 30px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.load-more-btn:hover {
    background: var(--primary-color);
    color: white;
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

.filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.filter-label input[type='checkbox'] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tag {
    background: var(--background-light);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tag i {
    cursor: pointer;
    font-size: 0.8rem;
}

.filter-tag i:hover {
    color: var(--primary-color);
}

.clear-filters {
    color: var(--text-light);
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Shop Header */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    color: var(--text-light);
}

.sort-select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

/* Products Grid Override for Shop */
.shop-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Mobile Filter Toggle Button (Initially Hidden on Desktop) */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
    .shop-container {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }

    /* Off-Canvas Sidebar Logic */
    .mobile-filter-toggle {
        display: flex;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 300px;
        max-width: 85%;
        z-index: 2000;
        transform: translateX(-100%);
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .shop-sidebar.active {
        display: block;
        transform: translateX(0);
    }

    /* Overlay for Sidebar */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1500;
        display: none;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .shop-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* --- Mobile Filter Header (Audit Fix 3 - Corrected) --- */
.sidebar-mobile-header {
    display: none;
}

@media (max-width: 992px) {
    .sidebar-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        margin-bottom: 20px;
        background: #f8f9fa;
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .sidebar-mobile-header h3 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--secondary-color);
    }

    .sidebar-close-btn {
        background: #eee;
        border: none;
        font-size: 1.3rem;
        color: var(--text-dark);
        cursor: pointer;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.2s;
    }

    .sidebar-close-btn:hover {
        background: #ddd;
    }
}

@media (max-width: 576px) {
    .shop-products {
        grid-template-columns: repeat(2, 1fr);
        /* FORCE 2 COLUMNS */
        gap: 10px;
    }

    .product-card {
        padding: 10px;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1rem;
    }
}

/* Back to Home Link (Top of Footer Pages) */
.back-link-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.back-link-top:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-3px);
}



/* Location Section Redesign */
.location-map {
    background-color: white;
    padding: 80px 0;
}

.location-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    align-items: stretch;
}

.location-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Modern Card Style */
.location-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

/* Gradient Icon with Glow */
.location-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(var(--secondary-color-rgb), 0.25);
    color: white;
}

.location-icon i {
    font-size: 1.4rem;
    color: white;
}

.location-details h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.location-details p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* CTA Button Enhanced */
.location-cta {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(15, 179, 187, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.location-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(15, 179, 187, 0.3);
    color: white;
}

.location-cta i {
    font-size: 1.3rem;
}

/* Frame-like Map Wrapper */
.map-wrapper {
    flex: 1.3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 8px solid white;
    height: auto;
    min-height: 450px;
    background: white;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 900px) {
    .location-content {
        flex-direction: column;
        gap: 40px;
    }

    .map-wrapper {
        order: -1;
        min-height: 300px;
    }
}





/* =========================================
   CART PAGE STYLES (Moved from carrito.html)
   ========================================= */
.cart-page {
    padding: 40px 0 80px;
    min-height: 60vh;
    background: #f8f9fa;
}

.cart-page h1 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 600;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

/* Cart Items Table */
.cart-items-container {
    background: white;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: visible;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Fixed column widths for consistent alignment */
.cart-table th:nth-child(1),
.cart-table td:nth-child(1) {
    width: 40%;
}

.cart-table th:nth-child(2),
.cart-table td:nth-child(2) {
    width: 15%;
}

.cart-table th:nth-child(3),
.cart-table td:nth-child(3) {
    width: 18%;
}

.cart-table th:nth-child(4),
.cart-table td:nth-child(4) {
    width: 17%;
}

.cart-table th:nth-child(5),
.cart-table td:nth-child(5) {
    width: 10%;
}

.cart-table th {
    background: #f8f9fa;
    padding: 15px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
}

.cart-table th:nth-child(2),
.cart-table th:nth-child(3),
.cart-table th:nth-child(4),
.cart-table th:nth-child(5) {
    text-align: center;
}

.cart-table td {
    padding: 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.cart-table td:nth-child(2),
.cart-table td:nth-child(3),
.cart-table td:nth-child(4),
.cart-table td:nth-child(5) {
    text-align: center;
}

.cart-table td:nth-child(3) .cart-qty {
    justify-content: center;
}

.cart-table tr:last-child td {
    border-bottom: none;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9f9f9;
}

.cart-product-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
    /* Truncate to 1 line for consistent row heights */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.cart-product-info p {
    font-size: 0.8rem;
    color: #999;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.cart-qty button:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.cart-qty span {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-price {
    font-weight: 600;
    color: var(--text-dark);
}

.cart-subtotal {
    font-weight: 700;
    color: var(--primary-color);
}

.cart-remove {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s;
}

.cart-remove:hover {
    color: #e74c3c;
}

/* Cart Totals Panel */
.cart-totals {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.cart-totals h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.totals-row:last-of-type {
    border-bottom: none;
}

.totals-row.final {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    border-bottom: none;
}

.totals-row.final .amount {
    color: var(--primary-color);
}

.totals-label {
    color: #555;
    font-weight: 500;
}

.totals-value {
    font-weight: 600;
    color: var(--text-dark);
}

/* Shipping Options */
.shipping-section {
    margin: 20px 0;
}

.shipping-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #555;
}

.shipping-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.shipping-option:hover {
    border-color: var(--primary-color);
}

.shipping-option.selected {
    border-color: var(--primary-color);
    background: rgba(15, 179, 187, 0.05);
}

.shipping-option input[type="radio"] {
    margin-right: 12px;
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.shipping-option-content {
    flex: 1;
}

.shipping-option-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.shipping-option-desc {
    font-size: 0.8rem;
    color: #888;
    margin-top: 2px;
}

.shipping-option-price {
    font-weight: 700;
    color: var(--primary-color);
}

.shipping-option-price.free {
    color: #27ae60;
}

/* Address Section */
.address-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.address-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 15px;
}

.address-toggle:hover {
    text-decoration: underline;
}

.address-fields {
    display: none;
}

.address-fields.visible {
    display: block;
}

/* Checkout Button */
.btn-checkout-main {
    width: 100%;
    padding: 16px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.btn-checkout-main:hover {
    background: #1a252f;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
}

.continue-shopping:hover {
    text-decoration: underline;
}

/* Free Shipping Banner */
.free-shipping-banner {
    background: linear-gradient(135deg, #e8f8f5 0%, #d1f2eb 100%);
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.free-shipping-banner i {
    color: #27ae60;
    font-size: 1.2rem;
}

.free-shipping-banner span {
    font-size: 0.85rem;
    color: #1e8449;
}

/* Empty Cart */
.cart-empty {
    text-align: center;
    padding: 80px 30px;
    background: white;
    border-radius: 12px;
}

.cart-empty i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 25px;
}

.cart-empty h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.cart-empty p {
    color: #888;
    margin-bottom: 30px;
}

.cart-empty .btn-shop {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.cart-empty .btn-shop:hover {
    background: var(--secondary-color);
}

/* =========================================
   CART & CHECKOUT STYLES
   ========================================= */

/* Page Layout */
.checkout-page {
    background: var(--checkout-bg);
    min-height: 100vh;
    padding: 40px 0 80px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-header h1 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Progress Steps */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: white;
    border: 1px solid var(--border-color);
    position: relative;
    flex: 1;
    justify-content: center;
}

.step:first-child {
    border-radius: 30px 0 0 30px;
}

.step:last-child {
    border-radius: 0 30px 30px 0;
}

.step.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step.active .step-number,
.step.completed .step-number {
    background: rgba(255, 255, 255, 0.3);
}

.step-label {
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Layout Grid */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 1200px) {
    .checkout-layout {
        grid-template-columns: 1fr 350px;
        gap: 20px;
    }
}

/* Form Sections */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.form-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h2 i {
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.card-input-group input {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 179, 187, 0.1);
}

/* Checkbox Style */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: var(--primary-color);
}

.payment-option.selected {
    border-color: var(--primary-color);
    background: rgba(15, 179, 187, 0.03);
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

/* Payment Icons Fix */
.payment-icons {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.payment-icons img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.payment-option-name {
    font-weight: 600;
    font-size: 1rem;
}

.payment-option-desc {
    font-size: 0.85rem;
    color: #777;
}

/* Card Form */
.card-form {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.card-form.visible {
    display: block;
}

.card-input-group {
    position: relative;
    margin-bottom: 15px;
}

.card-input-group input {
    padding-right: 45px;
}

.card-input-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Order Summary */
.order-summary-panel {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 20px;
}

.order-items {
    margin-bottom: 25px;
}

.order-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.order-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 4px;
}

.order-item-qty {
    font-size: 0.8rem;
    color: #888;
}

.order-item-price {
    font-weight: 600;
    font-size: 0.95rem;
}

.order-totals {
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.order-row.total {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.shipping-options-summary {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.shipping-options-summary label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 8px;
    cursor: pointer;
}

.btn-submit-order {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666;
}

.security-badge i {
    color: var(--success-color);
}

.back-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 30px;
}

/* =========================================
   MEDIA QUERIES (Overrides MUST be last)
   ========================================= */

@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .order-summary-panel {
        order: -1;
    }
}

@media (max-width: 768px) {

    /* CART PAGE - Card View */
    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        background: white;
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #f0f0f0;
        padding: 20px;
        position: relative !important;
        display: block !important;
        /* Block is more stable for absolute children in tables */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cart-table td:first-child {
        width: 100%;
        padding: 0;
    }

    .cart-product {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .cart-product img {
        width: 75px;
        /* Slightly larger */
        height: 75px;
        border-radius: 8px;
        object-fit: cover;
    }

    .cart-product-info {
        padding-right: 35px;
        /* Protect against 'X' hover */
    }

    .cart-product-info h4 {
        font-size: 1rem;
        font-weight: 600;
        margin: 0;
        line-height: 1.3;
    }

    .cart-table td:nth-child(2) {
        padding: 0;
        width: 100%;
        font-weight: 700;
        color: var(--primary-color);
        order: unset;
        font-size: 1.15rem;
    }

    .cart-table td:nth-child(3) {
        display: flex !important;
        width: 100%;
        padding: 0;
        border-top: 1px solid #f5f5f5;
        padding-top: 15px;
        justify-content: space-between;
        align-items: center;
    }

    .cart-qty {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .cart-qty button {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        border-radius: 8px;
        background: #f8f9fa;
        border: 1px solid #eee;
    }

    .cart-table td:nth-child(4) {
        display: none;
    }

    .cart-table td:last-child {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        left: auto !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 10;
    }

    .cart-remove {
        color: #e74c3c;
        background: #fee2e2;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        border: none;
    }

    /* CHECKOUT RESPONSIVE Overhaul */
    .checkout-page {
        padding: 20px 0 60px;
    }

    .checkout-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .order-summary-panel {
        order: 2;
        position: static !important;
        width: 100%;
        margin-top: 20px;
        padding: 20px;
    }

    .checkout-form {
        order: 1;
    }

    .form-section {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .step {
        padding: 8px 12px;
    }

    .step-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .checkout-steps .step-label {
        display: none;
    }

    .checkout-steps .step {
        padding: 10px 15px;
    }
}

/* =========================================
   CART TABLE ALIGNMENT FIX
   ========================================= */

.cart-items-container table td,
.cart-items-container table th {
    vertical-align: middle;
}

.cart-price,
.cart-subtotal {
    white-space: nowrap;
    text-align: center;
    font-weight: 600;
}

.cart-subtotal {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* =========================================
   SHOP BY NEED SECTION
   ========================================= */

.shop-by-need {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.shop-by-need h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.need-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.need-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.need-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), #5bbcb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.need-card:hover .need-icon {
    transform: scale(1.1);
}

.need-icon i {
    font-size: 1.8rem;
    color: white;
}

.need-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.need-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Mobile Responsiveness & Final Sweep */
@media (max-width: 768px) {
    .shop-by-need {
        padding: 40px 0;
    }

    .shop-by-need h2 {
        font-size: 1.5rem;
    }

    .needs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .need-card {
        padding: 20px 15px;
    }

    .need-icon {
        width: 55px;
        height: 55px;
    }

    .need-icon i {
        font-size: 1.4rem;
    }

    .need-card h3 {
        font-size: 0.95rem;
    }
}

/* Cart Image Mask - Synchronization with Shop Crop */
.cart-img-mask {
    position: relative;
    overflow: hidden;
    width: 75px;
    /* Aspect Ratio 5:4 (Height = 75px / 1.25 = 60px) */
    height: 60px;
    border-radius: 6px;
    flex-shrink: 0;
    margin-right: 15px;
    /* Spacing between image and text */
}

.cart-img-mask img {
    position: absolute;
    /* Scale logic matching .product-image in shop */
    width: 133.33%;
    height: auto;
    /* Top offset matching shop (-41.67%) */
    top: -41.67%;
    left: 0;
    object-fit: cover;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-text p {
        border-left: none;
        padding-left: 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
}

/* Hide Prices Globally (WhatsApp Quote Flow) */
.product-price,
.cart-price,
.cart-subtotal,
.shipping-option-price,
#t-subtotal,
#t-total,
#cart-drawer-total,
#cart-total,
.cart-total,
.price-current,
.price-old,
.totals-row:not(:first-child),
.cart-footer .cart-subtotal {
    display: none !important;
}