/**
 * ============================================
 * REDUCA - HOME PAGE STYLES
 * ============================================
 * 
 * Robótica Educativa para Niños
 * Diseño divertido, colorido y moderno
 * 
 * @version 1.0.0
 */

/* ============================================
   SECTION TITLES - Clean & Professional
   ============================================ */
.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--font-size-3xl);
    }
}

.section-title__text {
    position: relative;
    color: var(--color-dark);
}

/* Accent color on first word or accent span */
.section-title__text::first-letter {
    color: var(--color-primary);
}

/* Underline decoration */
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 60px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.section-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 70px;
    height: 4px;
    width: 20px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

/* Centered variant */
.section-title--center {
    text-align: center;
}

.section-title--center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title--center::before {
    left: calc(50% + 35px);
}

/* Featured Brands Section Title */
.featured-brands .section-title::after {
    background: var(--color-secondary);
}

.featured-brands .section-title::before {
    background: var(--color-primary);
}

/* Categories Section Title */
.categories-collage .section-title::after {
    background: var(--color-primary);
}

.categories-collage .section-title::before {
    background: var(--color-secondary);
}

/* Offers Section Title */
.special-offers .section-title {
    color: var(--color-white);
}

.special-offers .section-title__text {
    color: var(--color-white);
}

.special-offers .section-title::after {
    background: var(--color-accent);
}

.special-offers .section-title::before {
    background: rgba(255, 255, 255, 0.5);
}

/* Section wrapper with padding */
.featured-brands,
.categories-collage,
.special-offers,
.features-section {
    padding: var(--spacing-3xl) 0;
}

.categories-collage {
    background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);
}

.featured-brands {
    background: var(--color-white);
}

.special-offers {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.features-section {
    background: var(--color-gray-50);
}

/* ============================================
   HERO SLIDER - Vibrant & Dynamic
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
}

.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 550px;
}

@media (min-width: 768px) {
    .slider {
        aspect-ratio: 21 / 9;
        max-height: 650px;
    }
}

.slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slider__slide--active {
    opacity: 1;
}

.slider__slide>a {
    display: block;
    height: 100%;
}

.slider__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-xl);
    background: linear-gradient(to top, rgba(29, 29, 27, 0.95) 0%, transparent 100%);
    color: var(--color-white);
}

@media (min-width: 768px) {
    .slider__content {
        top: 50%;
        bottom: auto;
        right: auto;
        transform: translateY(-50%);
        max-width: 550px;
        margin-left: var(--spacing-3xl);
        padding: var(--spacing-2xl);
        background: rgba(71, 51, 137, 0.95);
        border-radius: var(--radius-2xl);
        border-left: 5px solid var(--color-accent);
    }
}

.slider__title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .slider__title {
        font-size: var(--font-size-4xl);
    }
}

.slider__text {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    display: none;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .slider__text {
        display: block;
        font-size: var(--font-size-base);
    }
}

.slider__btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-accent);
    color: var(--color-dark);
    font-weight: 700;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider__btn:hover {
    background: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 177, 2, 0.4);
}

/* Slider Controls - Interactive */
.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    transition: all var(--transition-base);
    z-index: 10;
    opacity: 0;
    box-shadow: var(--shadow-lg);
}

.hero-slider:hover .slider__arrow {
    opacity: 1;
}

.slider__arrow:hover {
    background: var(--color-accent);
    color: var(--color-dark);
    transform: translateY(-50%) scale(1.15);
}

.slider__arrow--prev {
    left: var(--spacing-md);
}

.slider__arrow--next {
    right: var(--spacing-md);
}

@media (min-width: 768px) {
    .slider__arrow {
        width: 56px;
        height: 56px;
        font-size: var(--font-size-2xl);
    }

    .slider__arrow--prev {
        left: var(--spacing-xl);
    }

    .slider__arrow--next {
        right: var(--spacing-xl);
    }
}

.slider__dots {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
}

.slider__dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.slider__dot--active,
.slider__dot:hover {
    background-color: var(--color-accent);
    transform: scale(1.3);
}

.slider__dot--active {
    width: 28px;
}

/* ============================================
   CATEGORIES COLLAGE - Colorful Cards
   ============================================ */
.categories-collage {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-100) 100%);
    position: relative;
}

.categories-collage::before {
    content: "🤖 Explora nuestras categorías";
    display: none;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .collage-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
}

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

.collage-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
}

.collage-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.collage-item__img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.collage-item:hover .collage-item__img {
    transform: scale(1.1);
}

.collage-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(71, 51, 137, 0.95) 0%, rgba(7, 147, 224, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
    color: var(--color-white);
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.collage-item:hover .collage-item__overlay {
    opacity: 1;
}

.collage-item__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .collage-item__title {
        font-size: var(--font-size-xl);
    }
}

.collage-item__btn {
    font-size: var(--font-size-sm);
    color: var(--color-accent);
    font-weight: 700;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.collage-item__btn:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

/* ============================================
   BRAND TABS - Interactive Tabs
   ============================================ */
.brand-tabs {
    background: var(--color-white);
    position: relative;
}

.brand-tabs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-fun);
}

.brand-tabs__nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md) 0;
    border-bottom: 2px solid var(--color-gray-100);
}

.brand-tabs__btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--color-gray-600);
    transition: all var(--transition-base);
    font-size: var(--font-size-sm);
    cursor: pointer;
}

.brand-tabs__btn:hover {
    color: var(--color-primary);
    background: var(--color-gray-50);
}

.brand-tabs__btn--active {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

/* Tab Panels */
.brand-tabs__content {
    position: relative;
}

.brand-tabs__panel {
    display: none;
}

.brand-tabs__panel--active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

.brand-tabs__footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-gray-100);
}

/* ============================================
   OFFERS SECTION - Vibrant Promotions
   ============================================ */
.offers-section {
    background: linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-white) 100%);
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        column-gap: var(--spacing-xl);
        row-gap: var(--spacing-4xl);
    }

    .offer-card--1 {
        grid-row: span 2;
    }

    .offer-card--3 {
        margin-top: var(--spacing-3xl);
    }
}

.offers-grid__side {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .offers-grid__side {
        gap: var(--spacing-4xl);
    }
}

.offer-card {
    position: relative;
    display: block;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    min-height: 300px;
    /* Mobile: cards apiladas con buena altura */
    background: var(--gradient-primary);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

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

.offer-card--1 {
    min-height: 300px;
    /* Mobile: igual altura para la destacada */
}

@media (min-width: 768px) {
    .offer-card--1 {
        min-height: 480px;
        /* Desktop: destacada ocupa más alto */
    }

    .offer-card--2,
    .offer-card--3 {
        min-height: 240px;
        /* Desktop: secundarias más bajas */
    }
}

.offer-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

/* Explicit vertical spacing for Die Cast image (offer-card--3) */
.offer-card--3 {
    margin-top: var(--spacing-lg);
    /* Manual separation requested */
}

.offer-card--3 .offer-card__img {
    top: var(--spacing-xl);
    height: calc(100% - var(--spacing-xl));
}

.offer-card:hover .offer-card__img {
    transform: scale(1.05);
}

.offer-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    min-height: 80px;
    display: flex;
    align-items: flex-end;
}

.offer-card__caption {
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--font-size-lg);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   NEWSLETTER - Vibrant Call to Action
   ============================================ */
.newsletter-section {
    background: var(--gradient-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 177, 2, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-section::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(7, 147, 224, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .newsletter {
        flex-direction: row;
        text-align: left;
    }
}

.newsletter__content {
    flex: 1;
}

.newsletter__title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

@media (min-width: 768px) {
    .newsletter__title {
        font-size: var(--font-size-3xl);
    }
}

.newsletter__text {
    font-size: var(--font-size-base);
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter__form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
    gap: var(--spacing-sm);
}

@media (min-width: 480px) {
    .newsletter__form {
        flex-direction: row;
    }
}

.newsletter__input {
    flex: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    outline: none;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter__input:focus {
    box-shadow: var(--shadow-glow);
}

.newsletter__input::placeholder {
    color: var(--color-gray-500);
}

.newsletter__btn {
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-accent);
    color: var(--color-dark);
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter__btn:hover {
    background: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 177, 2, 0.4);
}

/* ============================================
   PRODUCT CARD - Fun & Interactive
   ============================================ */
.product-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

.product-card__image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-gray-100);
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-card__badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card__badge--new {
    background: var(--color-secondary);
    color: var(--color-white);
}

.product-card__actions {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-fast);
}

.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card__action {
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.product-card__action:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.product-card__content {
    padding: var(--spacing-lg);
}

.product-card__category {
    font-size: var(--font-size-xs);
    color: var(--color-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.product-card__title {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-gray-800);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-card__price {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.product-card__price-current {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
}

.product-card__price-old {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.product-card__add-btn {
    width: 100%;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background-color: var(--color-gray-100);
    color: var(--color-gray-700);
    font-weight: 500;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.product-card__add-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Products Empty State */
.products-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--color-gray-500);
    font-size: var(--font-size-lg);
}

/* Product Badge Sold Out - Llamativo */
.product-card__badge--sold {
    background: linear-gradient(135deg, #FCC314 0%, #ff8c00 100%);
    color: var(--color-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-xs);
    animation: pulse-sold 2s infinite;
}

@keyframes pulse-sold {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 177, 2, 0.6);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255, 177, 2, 0);
    }
}

/* ============================================
   PRODUCTO AGOTADO - Diseño Unificado
   ============================================ */
.product-card--sold-out {
    position: relative;
    border: 3px solid var(--color-accent) !important;
    box-shadow: 0 0 0 0 rgba(255, 177, 2, 0.4);
    animation: border-pulse 2s infinite;
}

@keyframes border-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 177, 2, 0.4);
    }

    50% {
        box-shadow: 0 0 15px 2px rgba(255, 177, 2, 0.3);
    }
}

.product-card--sold-out::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}

.product-card--sold-out .product-card__image img {
    filter: grayscale(50%);
}

.product-card--sold-out .product-card__add-btn,
.product-card--sold-out .product-card__btn {
    background: var(--color-gray-300) !important;
    color: var(--color-gray-500) !important;
    cursor: not-allowed !important;
    border-color: var(--color-gray-300) !important;
    pointer-events: none;
}

/* Badge grande para agotado */
.product-card__sold-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: linear-gradient(135deg, #FCC314 0%, #ff8c00 100%);
    color: var(--color-dark);
    font-weight: 900;
    font-size: var(--font-size-lg);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(255, 177, 2, 0.5);
    z-index: 5;
}

/* Botón No disponible */
.product-card__btn--disabled {
    background: var(--color-gray-300) !important;
    color: var(--color-gray-500) !important;
    cursor: not-allowed !important;
    border: 2px dashed var(--color-gray-400) !important;
}

.product-card__btn--disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Product Card Image Link */
.product-card__image {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* ============================================
   PRODUCTS GRID - Home Page
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

@media (min-width: 576px) {
    .products-grid {
        gap: var(--spacing-lg);
    }
}

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

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

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

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

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

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

/* Product Card for Home */
.featured-brands .product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.featured-brands .product-card__content {
    padding: var(--spacing-md);
}

.featured-brands .product-card__category {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.featured-brands .product-card__title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.featured-brands .product-card__title a {
    color: var(--color-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-brands .product-card__title a:hover {
    color: var(--color-primary);
}

.featured-brands .product-card__price {
    margin-bottom: var(--spacing-sm);
}

.featured-brands .product-card__price-current {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--color-primary);
}

.featured-brands .product-card__add-btn {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.featured-brands .product-card__add-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Btn Outline */
.btn--outline {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-xl);
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

/* ============================================
   FEATURES SECTION - Colorful Benefits
   ============================================ */
.features-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 50%, var(--color-gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            var(--color-accent) 0%,
            var(--color-secondary) 25%,
            var(--color-primary) 50%,
            var(--color-secondary) 75%,
            var(--color-accent) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-xl);
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(71, 51, 137, 0.15);
}

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

/* Alternate colors for cards */
.feature-card:nth-child(1)::before {
    background: var(--color-accent);
}

.feature-card:nth-child(2)::before {
    background: var(--color-secondary);
}

.feature-card:nth-child(3)::before {
    background: var(--color-primary);
}

.feature-card:nth-child(4)::before {
    background: var(--color-accent);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-base);
}

/* Alternate icon colors */
.feature-card:nth-child(1) .feature-card__icon {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff8c00 100%);
    box-shadow: 0 8px 25px rgba(255, 177, 2, 0.4);
}

.feature-card:nth-child(2) .feature-card__icon {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #0066b3 100%);
    box-shadow: 0 8px 25px rgba(7, 147, 224, 0.4);
}

.feature-card:nth-child(3) .feature-card__icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a42a8 100%);
    box-shadow: 0 8px 25px rgba(71, 51, 137, 0.4);
}

.feature-card:nth-child(4) .feature-card__icon {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    box-shadow: 0 8px 25px rgba(255, 177, 2, 0.3);
}

.feature-card__icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-white);
    stroke-width: 2;
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card__title {
    font-size: var(--font-size-lg);
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark);
    transition: color var(--transition-fast);
}

/* Alternate title colors on hover */
.feature-card:nth-child(1):hover .feature-card__title {
    color: #e69a00;
}

.feature-card:nth-child(2):hover .feature-card__title {
    color: var(--color-secondary);
}

.feature-card:nth-child(3):hover .feature-card__title {
    color: var(--color-primary);
}

.feature-card:nth-child(4):hover .feature-card__title {
    color: var(--color-accent);
}

.feature-card__text {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.5;
    margin: 0;
}

/* Fun decorative elements */
.feature-card::after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    opacity: 0.1;
    transition: all var(--transition-base);
}

.feature-card:nth-child(1)::after {
    background: var(--color-accent);
}

.feature-card:nth-child(2)::after {
    background: var(--color-secondary);
}

.feature-card:nth-child(3)::after {
    background: var(--color-primary);
}

.feature-card:nth-child(4)::after {
    background: var(--color-accent);
}

.feature-card:hover::after {
    transform: scale(1.5);
    opacity: 0.15;
}