/* Premium Hero Section */
.home-hero-section {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Centered Layout */
.home-hero-section.hero-layout-centered {
    padding: 140px 0 100px;
}

/* Overlay Layout */
.home-hero-section.hero-layout-overlay {
    background-image: var(--bg-mobile, var(--bg-desktop));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0 110px;
}

@media (min-width: 768px) {
    .home-hero-section.hero-layout-overlay {
        background-image: var(--bg-desktop);
    }
}

.home-hero-section.hero-layout-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65); /* Dark tint to read text clearly */
    z-index: 1;
}

.home-hero-section.hero-layout-overlay .container {
    position: relative;
    z-index: 2;
}

.hero-glass-card {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
}

/* Cinematic Fullscreen Layout */
.home-hero-section.hero-layout-cinematic {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

.home-hero-section.hero-layout-cinematic .hero-bg-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-mobile, var(--bg-desktop));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenBurns 24s infinite alternate ease-in-out;
    z-index: 1;
}

@media (min-width: 768px) {
    .home-hero-section.hero-layout-cinematic .hero-bg-zoom {
        background-image: var(--bg-desktop);
    }
}

.home-hero-section.hero-layout-cinematic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 80%);
    z-index: 2;
}

.home-hero-section.hero-layout-cinematic .container {
    position: relative;
    z-index: 3;
}

.hero-content-cinematic {
    max-width: 800px;
    margin: 0 auto;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Left-Floating Glass Card Layout */
.home-hero-section.hero-layout-glass-floating {
    background-image: var(--bg-mobile, var(--bg-desktop));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0;
}

@media (min-width: 768px) {
    .home-hero-section.hero-layout-glass-floating {
        background-image: var(--bg-desktop);
    }
}

.home-hero-section.hero-layout-glass-floating::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.1) 100%);
    z-index: 1;
}

.home-hero-section.hero-layout-glass-floating .container {
    position: relative;
    z-index: 2;
}

.floating-glass-card {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 991.98px) {
    .home-hero-section.hero-layout-glass-floating {
        padding: 100px 0;
        min-height: auto;
    }
    .home-hero-section.hero-layout-glass-floating::after {
        background: rgba(15, 23, 42, 0.7);
    }
    .floating-glass-card {
        padding: 32px 24px;
    }
}

/* Asymmetric Frame Layout */
.home-hero-section.hero-layout-asymmetric {
    padding: 140px 0;
    position: relative;
}

.hero-content-asymmetric-left {
    position: relative;
    z-index: 2;
}

.asymmetric-image-container {
    position: relative;
    width: 100%;
}

.asymmetric-frame-inner {
    position: relative;
    border-radius: 32px 8px 32px 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-1deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.asymmetric-frame-inner:hover {
    transform: rotate(0deg) scale(1.02);
}

.asymmetric-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.asymmetric-backdrop-decor {
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--color-accent);
    border-radius: 32px 8px 32px 32px;
    z-index: -1;
    pointer-events: none;
}

.asymmetric-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

@media (max-width: 991.98px) {
    .home-hero-section.hero-layout-asymmetric {
        padding: 100px 0 80px;
    }
    .asymmetric-img {
        height: 300px;
    }
}


.home-hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}

.hero-content-left {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--color-accent, #f59e0b);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-main-desc {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover {
    transform: scale(1.02);
}

.hero-img-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.hero-store-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Info Quick Bar */
.quick-info-bar {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.info-bar-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-lg);
    padding: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
}

.info-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted, #64748b);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.info-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary, #020617);
    margin: 0;
}

.info-value a {
    color: inherit;
    transition: color 0.2s;
}

.info-value a:hover {
    color: var(--color-accent, #f59e0b);
}

/* Promotions Grid */
.section-padding {
    padding: 100px 0;
}

.section-header-alt {
    margin-bottom: 50px;
}

.badge-primary-custom {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title-custom {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary, #020617);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.section-subtitle-custom {
    font-size: 1.05rem;
    color: var(--color-text-muted, #64748b);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 158, 11, 0.25);
}

.product-category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent, #f59e0b);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary, #020617);
    margin-bottom: 8px;
}

.product-description {
    font-size: 0.9rem;
    color: var(--color-text-muted, #64748b);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-price-box {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}

.product-currency {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted, #64748b);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary, #020617);
}

.product-old-price {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted, #94a3b8);
    text-decoration: line-through;
    white-space: nowrap;
}

.btn-whatsapp-quote {
    background: #25d366;
    color: white;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-whatsapp-quote:hover {
    background: #20ba5a;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Ubicación / Location Section */
.location-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border, #e2e8f0);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.map-mockup-card {
    background: var(--color-primary);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.map-mockup-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(245, 158, 11, 0.15) 1.5px, transparent 1.5px), 
        radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
    opacity: 0.4;
    z-index: 1;
}

.map-mockup-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.map-mockup-pin {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pulse-pin 2s infinite ease-in-out;
}

@keyframes pulse-pin {
    0%, 100% { transform: translate(-50%, -55%); }
    50% { transform: translate(-50%, -45%); }
}

.pin-icon {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.pin-pulse {
    width: 20px;
    height: 8px;
    background: rgba(245, 158, 11, 0.4);
    border-radius: 50%;
    margin-top: -4px;
    animation: pulse-ring 2s infinite ease-in-out;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.map-details {
    position: relative;
    z-index: 5;
}

.map-action-btn {
    background: white;
    color: var(--color-primary, #020617);
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    z-index: 5;
    position: relative;
}

.map-action-btn:hover {
    background: var(--color-accent, #f59e0b);
    color: var(--color-primary, #020617);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Product Card Image Styles */
.product-image-container {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f1f5f9;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8fafc;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: #94a3b8;
    font-size: 2.5rem;
}

/* Categories Section */
.categories-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border, #e2e8f0);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

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

.category-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    flex: 1;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 158, 11, 0.3);
}

.category-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.category-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary, #020617);
    margin: 0 0 4px;
}

.category-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted, #64748b);
    margin: 0;
    line-height: 1.4;
}

/* Why Us Section */
.why-us-section {
    background: var(--color-surface);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.why-us-card {
    background: var(--color-bg);
    border-radius: 16px;
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-us-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(245, 158, 11, 0.25);
}

.why-us-icon {
    font-size: 2rem;
    color: var(--color-accent, #f59e0b);
    font-weight: 800;
    margin-bottom: 12px;
}

.why-us-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary, #020617);
    margin: 0;
    line-height: 1.4;
}

/* Brands Section */
.brands-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border, #e2e8f0);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
}

.brand-card {
    background: white;
    border-radius: 14px;
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.brand-logo {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}

.brand-name-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary, #020617);
    letter-spacing: 0.02em;
}

/* Inspiration Section */
.inspiration-section {
    background: var(--color-surface);
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.inspiration-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--color-border, #e2e8f0);
}

.inspiration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.inspiration-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.inspiration-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.inspiration-label {
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary, #020617);
    background: white;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border, #e2e8f0);
    border-bottom: 1px solid var(--color-border, #e2e8f0);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: var(--color-accent, #f59e0b);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--color-text, #334155);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary, #020617);
    margin: 0;
}


/* Payments and Shipping Section */
.payments-section {
    background-color: var(--color-bg, #f8fafc);
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.payments-card {
    background-color: var(--color-surface, #ffffff);
    padding: 35px 30px;
    border-radius: var(--border-radius-card, 16px);
    border: 1px solid var(--color-border, #e2e8f0);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.payments-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.05));
    border-color: var(--color-accent, #f59e0b);
}

.payments-card.highlight {
    border: 2px solid var(--color-accent, #f59e0b);
}

.payments-card.highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-accent, #f59e0b);
}

.payments-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--color-accent, #f59e0b);
    color: var(--color-primary, #020617);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.payments-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.payments-card.highlight .payments-icon-wrapper {
    background-color: var(--color-accent, #f59e0b);
    color: var(--color-primary, #020617);
}

.payments-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary, #020617);
    margin-bottom: 12px;
}

.payments-card-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted, #64748b);
    line-height: 1.6;
    margin: 0;
}


/* Product Carousel Styling */
.product-carousel-wrapper {
    position: relative;
    width: 100%;
}

/* Dynamic Fade Indicators on Carousel Edges */
.product-carousel-wrapper::before,
.product-carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.product-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg, #f8fafc) 0%, transparent 100%);
}

.product-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg, #f8fafc) 0%, transparent 100%);
}

.product-carousel-wrapper.has-left-scroll::before {
    opacity: 1;
}

.product-carousel-wrapper.has-right-scroll::after {
    opacity: 1;
}

.product-carousel {
    display: flex;
    align-items: stretch; /* Ensure all cards stretch to match the tallest card */
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 16px 4px;
    width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.product-carousel::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.product-carousel .product-card {
    flex: 0 0 280px;
    margin: 0;
    height: auto; /* Let flexbox stretch determine the height */
    box-sizing: border-box;
}

/* Custom Carousel Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-surface, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    color: var(--color-primary, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s, border-color 0.2s, color 0.2s;
    z-index: 10;
    user-select: none;
    opacity: 0;
    pointer-events: none;
}

.carousel-nav-btn:hover {
    background-color: var(--color-accent, #f59e0b);
    color: var(--color-primary, #020617);
    border-color: var(--color-accent, #f59e0b);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.92) !important;
}

.carousel-nav-btn.prev {
    left: -22px;
}

.carousel-nav-btn.next {
    right: -22px;
}

/* Hide navigation buttons on mobile touch screens */
@media (max-width: 768px) {
    .carousel-nav-btn {
        display: none !important;
    }
}



