/* Landing / Home / Shop Intro Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--clr-primary-light) 0%, rgba(209, 250, 229, 0.3) 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.badge-new {
    display: inline-block;
    background-color: var(--clr-primary);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--clr-secondary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: var(--clr-text-main);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: none;
}

@media (min-width: 768px) {
    .hero-image {
        display: block;
    }
}

.hero-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Features */
.features {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
    background-color: white;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.features-grid > .et_pb_column {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    min-width: 0;
}

@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
        padding: 2.5rem 3rem;
    }

    .features-grid .et_pb_column {
        display: flex;
        justify-content: center;
        padding: 0;
        margin-bottom: 0 !important;
    }

    .feature-card {
        max-width: 100%;
        margin: 0 auto;
    }
}

.feature-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    width: 100%;
    min-height: 92px;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background-color: var(--clr-primary-light);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.95rem;
    flex-shrink: 0;
    justify-self: center;
}

.feature-icon i {
    display: block;
    width: 1em;
    line-height: 1;
    text-align: center;
}

.feature-text {
    flex: 1;
    min-width: 0;
}

.feature-text h4 {
    color: var(--clr-secondary);
    font-size: 1.12rem;
    line-height: 1.1;
    margin-bottom: 0.45rem;
    padding-bottom: 0 !important;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.feature-text p {
    color: var(--clr-text-light);
    font-size: 0.98rem;
    line-height: 1.5;
    padding-bottom: 0 !important;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.categories-grid > p {
    display: none !important;
}

.category-card-shell {
    display: block;
    min-width: 0;
}

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

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}

.category-card {
    background-color: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    transition: all var(--transition-normal);
    border: 1px solid #d9e2ec;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    border-color: rgba(76, 201, 144, 0.32);
}

.cat-image {
    height: 205px;
    background-color: #f8fafc;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    border-bottom: 1px solid #e8eef5;
}

.category-card:hover .cat-image {
    transform: scale(1.04);
}

.cat-info {
    padding: 1.45rem 1.1rem 1.55rem;
    background-color: white;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 122px;
}

.cat-info h3 {
    font-size: 1.06rem;
    color: var(--clr-secondary);
    font-weight: 700;
    line-height: 1.28;
    margin: 0;
    text-wrap: balance;
}

#lv-shop-products .et_pb_text_inner > .cat-info,
#lv-shop-products .et_pb_text_inner > .cat-image,
#lv-shop-products .et_pb_text_inner > .category-card-shell,
#lv-shop-products .et_pb_text_inner > p {
    display: none !important;
}

#lv-shop-products .et_pb_text_inner > .categories-grid ~ * {
    display: none !important;
}

.homepage-subcategories {
    width: 100%;
}

.homepage-subcategory-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.homepage-subcategory-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    color: var(--clr-secondary);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.homepage-subcategory-chip:hover {
    border-color: rgba(76, 201, 144, 0.35);
    color: var(--clr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

/* =========================================================================
   PROMO SLIDER SECTION
   ========================================================================= */
.promo-slider-section {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    overflow: hidden;
}

.promo-slider-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    /* Softer, slightly larger radius like monis */
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    /* Softer, wider shadow */
    aspect-ratio: 16 / 9;
    /* More balanced ratio for assorted promo images */
    background-color: #f8fafc;
    /* Very light slate, almost white */
}

.promo-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.promo-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    /* White backdrop for clean product images */
}

.promo-slide img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    /* PERFECT FIT - No cropping! */
    display: block;
}

/* Controls */
.promo-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    /* Slightly more opaque */
    border: none;
    border-radius: 50%;
    color: var(--clr-primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.promo-btn:hover {
    background-color: var(--clr-primary);
    color: white;
    transform: translateY(-50%) scale(1.05);
    /* Softer scale */
}

.promo-btn.prev {
    left: 15px;
}

.promo-btn.next {
    right: 15px;
}

/* Dots */
.promo-dots {
    position: absolute;
    bottom: 25px;
    /* Lifted slightly */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    /* Broader gap */
    z-index: 10;
}

.promo-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.25);
    /* Darker for light backgrounds */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-dots .dot.active {
    background-color: var(--clr-primary);
    /* Use theme green for active */
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .promo-slider-container {
        aspect-ratio: 4 / 3;
        /* Taller on mobile to fit vertical promos */
    }

    .promo-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .promo-slider-container {
        aspect-ratio: 1 / 1;
        /* Square ratio for small phones */
    }
}

/* Products Section */
.carousel-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-main);
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background-color: var(--clr-primary);
    color: white;
    border-color: var(--clr-primary);
}

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

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

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

@media (max-width: 1023px) {
    .hidden-mobile {
        display: none;
    }
}

.product-card {
    background-color: white;
    border-radius: 12px;
    border: 1px solid var(--clr-border);
    padding: 1rem;
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.badge-discount {
    background-color: var(--clr-danger);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--clr-text-light);
    font-size: 1.2rem;
    z-index: 2;
    transition: color var(--transition-fast);
    background: rgba(255, 255, 255, 0.8);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    color: var(--clr-danger);
}

.wishlist-btn.is-active,
.btn-wishlist-large.is-active {
    color: var(--clr-danger);
    border-color: rgba(239, 68, 68, 0.25);
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 1rem;
    overflow: hidden;
}

.product-image,
.product-title a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.product-title a {
    display: block;
    position: relative;
    z-index: 1;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

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

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.brand {
    font-size: 0.75rem;
    color: var(--clr-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    height: 2.6em;
    /* Ensure uniform height for 2 lines of text */
    overflow: hidden;
}

.product-title a:hover {
    color: var(--clr-primary);
}

.rating {
    color: #FBBF24;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.rating span {
    color: var(--clr-text-light);
    margin-left: 0.3rem;
}

.price-container {
    margin-top: auto;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--clr-primary-dark);
}

.old-price {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    padding: 0.6rem;
    background-color: var(--clr-bg-main);
    color: var(--clr-secondary);
    border: 1px solid var(--clr-border);
    border-radius: 6px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.product-card:hover .btn-add-cart {
    background-color: var(--clr-primary);
    color: white;
    border-color: var(--clr-primary);
}

.btn-add-cart i {
    margin-right: 0.5rem;
}

/* Promo Banner */
.promo-banner {
    background-color: var(--clr-primary);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .promo-banner {
        flex-direction: row;
        align-items: center;
    }
}

.promo-content {
    padding: 3rem 2rem;
    color: white;
    flex: 1;
    z-index: 2;
}

.promo-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff !important;
}

.promo-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 80%;
    color: rgba(255, 255, 255, 0.92) !important;
}

.promo-image {
    flex: 1;
    position: relative;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 1.1rem 1.1rem 0;
    clip-path: none;
}

.promo-image img {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 16px;
    clip-path: none;
}

.lv-info-note {
    margin-top: 1.15rem;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 1.15rem 1.25rem 1.2rem;
}

.lv-info-note h3 {
    margin: 0 0 0.7rem;
    color: var(--clr-secondary);
    font-size: 1rem;
    font-weight: 700;
}

.lv-info-note p {
    margin: 0 0 0.65rem;
    color: var(--clr-text-main);
    font-size: 0.92rem;
    line-height: 1.72;
}

.lv-info-note p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .promo-image {
        clip-path: none;
    }

    .promo-image img {
        clip-path: none;
        position: relative;
    }
}
