/*
 Theme Name:   LG East Africa
 Theme URI:    https://lg.com/eastafrica
 Description:  LG East Africa e-commerce theme - Child theme of Salient
 Author:       LG Electronics East Africa
 Author URI:   https://lg.com/eastafrica
 Template:     salient
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  lg-eastafrica
*/

/* ==========================================================================
   LG EAST AFRICA - CUSTOM STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables - Brand Colors
   -------------------------------------------------------------------------- */
:root {
    --lg-primary: #2D5A3D;
    --lg-primary-hover: #1e3d29;
    --lg-dark: #1a1a1a;
    --lg-gray: #6b6b6b;
    --lg-light-gray: #f4f4f4;
    --lg-white: #ffffff;
    --lg-border: #e0e0e0;
}

/* --------------------------------------------------------------------------
   Global Styles
   -------------------------------------------------------------------------- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--lg-dark);
    background-color: var(--lg-white);
}

a {
    color: var(--lg-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--lg-primary-hover);
}

/* --------------------------------------------------------------------------
   Header Styles
   -------------------------------------------------------------------------- */
#header-outer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header-outer[data-transparent-header="true"] {
    box-shadow: none;
}

#header-outer .logo img {
    max-height: 45px;
}

/* Header Navigation */
#header-outer nav > ul > li > a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

#header-outer nav > ul > li > a:hover {
    color: var(--lg-primary) !important;
}

/* Mega Menu Styling */
.nectar-megamenu {
    border-top: 3px solid var(--lg-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.nectar-megamenu .megamenu-column-header {
    color: var(--lg-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--lg-primary);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Search Icon */
#header-outer #search-btn a {
    color: var(--lg-dark);
}

#header-outer #search-btn a:hover {
    color: var(--lg-primary);
}

/* Hide cart icon everywhere */
.cart-menu-wrap,
#mobile-cart-link {
    display: none !important;
}

/* Hamburger toggle: desktop hidden, mobile visible */
@media (min-width: 1000px) {
    .slide-out-widget-area-toggle {
        display: none !important;
    }
}
@media (max-width: 999px) {
    .slide-out-widget-area-toggle {
        display: block !important;
    }
}

/* --------------------------------------------------------------------------
   Hero Slider Styles
   -------------------------------------------------------------------------- */
.nectar-slider-wrap .swiper-slide {
    background-size: cover;
    background-position: center;
}

.nectar-slider-wrap .content h2 {
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nectar-slider-wrap .content p {
    font-size: 18px;
    font-weight: 400;
}

.nectar-slider-wrap .slider-down-arrow {
    border-color: var(--lg-white);
}

/* Slider Navigation Arrows */
.nectar-slider-wrap .swiper-button-prev,
.nectar-slider-wrap .swiper-button-next {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--lg-dark);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.nectar-slider-wrap .swiper-button-prev:hover,
.nectar-slider-wrap .swiper-button-next:hover {
    background-color: var(--lg-primary);
    color: var(--lg-white);
}

/* Slider Pagination */
.nectar-slider-wrap .swiper-pagination-bullet {
    background-color: var(--lg-white);
    opacity: 0.6;
}

.nectar-slider-wrap .swiper-pagination-bullet-active {
    background-color: var(--lg-primary);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Category Cards
   -------------------------------------------------------------------------- */
.nectar-category-grid .nectar-category-grid-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nectar-category-grid .nectar-category-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.nectar-category-grid .nectar-category-grid-item .content {
    padding: 30px;
}

.nectar-category-grid .nectar-category-grid-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   WooCommerce - Product Grid
   -------------------------------------------------------------------------- */
.woocommerce ul.products li.product {
    border-radius: 12px;
    overflow: hidden;
    background: var(--lg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.woocommerce ul.products li.product .product-wrap {
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product .product-wrap img {
    transition: transform 0.5s ease;
}

.woocommerce ul.products li.product:hover .product-wrap img {
    transform: scale(1.05);
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--lg-dark);
    padding: 0 15px;
    margin-top: 15px;
    line-height: 1.4;
}

/* Product Price */
.woocommerce ul.products li.product .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--lg-dark);
    padding: 0 15px;
    margin-top: 10px;
}

.woocommerce ul.products li.product .price del {
    color: var(--lg-gray);
    font-size: 14px;
}

.woocommerce ul.products li.product .price ins {
    color: var(--lg-primary);
    text-decoration: none;
}

/* Sale Badge */
.woocommerce span.onsale {
    background-color: var(--lg-primary) !important;
    color: var(--lg-white);
    font-weight: 600;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 12px;
    text-transform: uppercase;
}

/* Quick View Button */
.woocommerce ul.products li.product .quick-view-button {
    background-color: var(--lg-dark);
    color: var(--lg-white);
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce ul.products li.product .quick-view-button:hover {
    background-color: var(--lg-primary);
}

/* --------------------------------------------------------------------------
   WooCommerce - Add to Cart Button
   -------------------------------------------------------------------------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--lg-primary) !important;
    color: var(--lg-white) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--lg-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 0, 52, 0.3);
}

/* Add to Cart - Product Archive */
.woocommerce ul.products li.product .add_to_cart_button {
    margin: 15px;
    width: calc(100% - 30px);
    text-align: center;
}

/* --------------------------------------------------------------------------
   WooCommerce - Single Product
   -------------------------------------------------------------------------- */
.woocommerce div.product .product_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--lg-dark);
    margin-bottom: 15px;
}

.woocommerce div.product p.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--lg-dark);
}

.woocommerce div.product p.price ins {
    color: var(--lg-primary);
}

/* Product Gallery */
.woocommerce div.product div.images {
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background-color: var(--lg-dark);
    color: var(--lg-white);
    border-radius: 50%;
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: var(--lg-primary);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--lg-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--lg-dark);
}

/* Quantity Input */
.woocommerce .quantity .qty {
    border: 2px solid var(--lg-border);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   WooCommerce - Cart
   -------------------------------------------------------------------------- */
.woocommerce-cart table.cart {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.woocommerce-cart table.cart th {
    background-color: var(--lg-light-gray);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.woocommerce-cart .cart_totals {
    background: var(--lg-light-gray);
    border-radius: 12px;
    padding: 30px;
}

/* --------------------------------------------------------------------------
   WooCommerce - Checkout
   -------------------------------------------------------------------------- */
.woocommerce-checkout #payment {
    background: var(--lg-light-gray);
    border-radius: 12px;
    padding: 30px;
}

.woocommerce-checkout #payment ul.payment_methods {
    border: none;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: var(--lg-white);
    border-radius: 8px;
}

/* Form Fields */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    border: 2px solid var(--lg-border);
    border-radius: 8px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--lg-primary);
    outline: none;
}

/* --------------------------------------------------------------------------
   Product Compare Button (YITH)
   -------------------------------------------------------------------------- */
.compare-btn,
.compare.button {
    background-color: transparent !important;
    color: var(--lg-gray) !important;
    border: 2px solid var(--lg-border) !important;
    border-radius: 25px !important;
    padding: 8px 20px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
}

.compare-btn:hover,
.compare.button:hover {
    background-color: var(--lg-dark) !important;
    color: var(--lg-white) !important;
    border-color: var(--lg-dark) !important;
}

/* --------------------------------------------------------------------------
   Section Headings
   -------------------------------------------------------------------------- */
.nectar-fancy-box h2,
.section-title h2,
.wpb_content_element .wpb_heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--lg-dark);
    text-transform: none;
}

.section-title p,
.wpb_content_element .wpb_content_wrapper p {
    color: var(--lg-gray);
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   Promotional Banners / Fancy Boxes
   -------------------------------------------------------------------------- */
.nectar-fancy-box {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nectar-fancy-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.nectar-fancy-box .box-inner-wrap {
    padding: 40px;
}

/* --------------------------------------------------------------------------
   Call to Action
   -------------------------------------------------------------------------- */
.nectar-cta {
    background-color: var(--lg-primary);
    border-radius: 12px;
    padding: 50px;
}

.nectar-cta h4 {
    color: var(--lg-white);
    font-size: 28px;
    font-weight: 700;
}

.nectar-cta .link_wrap a {
    background-color: var(--lg-white) !important;
    color: var(--lg-primary) !important;
}

.nectar-cta .link_wrap a:hover {
    background-color: var(--lg-dark) !important;
    color: var(--lg-white) !important;
}

/* --------------------------------------------------------------------------
   Footer Styles
   -------------------------------------------------------------------------- */
#footer-outer {
    background-color: var(--lg-dark);
}

#footer-outer #footer-widgets {
    padding: 60px 0;
}

#footer-outer .widget h4,
#footer-outer .widget .widget-title {
    color: var(--lg-white);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--lg-primary);
}

#footer-outer .widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

#footer-outer .widget ul li a:hover {
    color: var(--lg-white);
}

#footer-outer .widget p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

/* Footer Social Icons */
#footer-outer .nectar-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

#footer-outer .nectar-social a:hover {
    color: var(--lg-primary);
}

/* Copyright Bar */
#footer-outer #copyright {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
}

#footer-outer #copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive Styles
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 999px) {
    .nectar-slider-wrap .content h2 {
        font-size: 36px;
    }

    .woocommerce ul.products li.product {
        width: 48%;
        margin-right: 4%;
    }

    .woocommerce ul.products li.product:nth-child(2n) {
        margin-right: 0;
    }

    .woocommerce div.product .product_title {
        font-size: 26px;
    }
}

/* Mobile */
@media (max-width: 690px) {
    .nectar-slider-wrap .content h2 {
        font-size: 28px;
    }

    .nectar-slider-wrap .content p {
        font-size: 14px;
    }

    .woocommerce ul.products li.product {
        width: 100%;
        margin-right: 0;
    }

    .woocommerce div.product .product_title {
        font-size: 22px;
    }

    .woocommerce div.product p.price {
        font-size: 22px;
    }

    #footer-outer #footer-widgets .col {
        margin-bottom: 40px;
    }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.lg-bg-primary { background-color: var(--lg-primary) !important; }
.lg-bg-dark { background-color: var(--lg-dark) !important; }
.lg-bg-light { background-color: var(--lg-light-gray) !important; }
.lg-text-primary { color: var(--lg-primary) !important; }
.lg-text-dark { color: var(--lg-dark) !important; }
.lg-text-white { color: var(--lg-white) !important; }

.lg-rounded { border-radius: 12px !important; }
.lg-shadow { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important; }

/* --------------------------------------------------------------------------
   Hero Slider with Diagonal Overlay - LG Style
   -------------------------------------------------------------------------- */
.lg-hero-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background-color: var(--lg-dark);
}

/* Background Image Slider */
.lg-hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.lg-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1);
    background-color: #2a2a2a;
}

/* Solid color fallbacks when images aren't uploaded yet */
.lg-hero-slide.gradient-fallback-1 {
    background: #1a2f23;
}

.lg-hero-slide.gradient-fallback-2 {
    background: #2D5A3D;
}

.lg-hero-slide.gradient-fallback-3 {
    background: #142119;
}

.lg-hero-slide.gradient-fallback-4 {
    background: #1e3d29;
}

.lg-hero-slide.active {
    opacity: 1;
    animation: heroZoom 8s ease-in-out forwards;
}

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

/* Diagonal Overlay - Stays Fixed */
.lg-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: linear-gradient(to right,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 25%,
        transparent 55%
    );
}

/* Diagonal Green Panel */
.lg-hero-overlay::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: rgba(45, 90, 61, 0.88);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

/* Content Wrapper */
.lg-hero-content-wrapper {
    position: relative;
    z-index: 20;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.lg-hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.lg-hero-text {
    position: relative;
    z-index: 30;
    max-width: 600px;
    margin-left: auto;
    margin-right: 60px;
    text-align: left;
}

.lg-hero-title {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.lg-hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Navigation Dots */
.lg-hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 12px;
}

.lg-hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.lg-hero-dot:hover,
.lg-hero-dot.active {
    background-color: #ffffff;
    border-color: #ffffff;
}

/* Arrow Navigation (Optional) */
.lg-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
}

.lg-hero-arrow:hover {
    background: var(--lg-primary);
}

.lg-hero-arrow.prev {
    left: 30px;
}

.lg-hero-arrow.next {
    right: 30px;
}

/* Responsive Styles for Hero */
@media (max-width: 1200px) {
    .lg-hero-slider {
        height: 600px;
    }

    .lg-hero-title {
        font-size: 42px;
    }

    .lg-hero-subtitle {
        font-size: 16px;
    }

    .lg-hero-text {
        margin-right: 50px;
    }

    /* Tighten the green panel — steeper diagonal so image shows more */
    .lg-hero-overlay::after {
        width: 45%;
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

/* Nest Hub / tablet landscape (1000–1200px) */
@media (max-width: 1100px) and (min-width: 1000px) {
    .lg-hero-overlay::after {
        width: 42%;
        background: rgba(45, 90, 61, 0.88);
        clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .lg-hero-text {
        max-width: 380px;
        margin-right: 30px;
    }
}

@media (max-width: 999px) {
    .lg-hero-slider {
        height: 500px;
    }

    .lg-hero-title {
        font-size: 36px;
    }

    .lg-hero-subtitle {
        font-size: 15px;
    }

    .lg-hero-text {
        max-width: 450px;
        margin-right: 40px;
    }

    .lg-hero-overlay::after {
        width: 48%;
        background: rgba(45, 90, 61, 0.88);
        clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
    }
}

@media (max-width: 690px) {
    .lg-hero-slider {
        height: 500px;
    }

    .lg-hero-overlay {
        background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }

    .lg-hero-overlay::after {
        width: 100%;
        height: 50%;
        bottom: 0;
        top: auto;
        background: rgba(45, 90, 61, 0.95);
        clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0% 100%);
    }

    .lg-hero-content {
        padding: 0 20px;
        display: flex;
        align-items: flex-end;
        padding-bottom: 60px;
    }

    .lg-hero-text {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .lg-hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .lg-hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .lg-hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lg-hero-arrow.prev {
        left: 15px;
    }

    .lg-hero-arrow.next {
        right: 15px;
    }

    .lg-hero-nav {
        bottom: 20px;
    }

    .lg-hero-dot {
        width: 10px;
        height: 10px;
    }
}

/* --------------------------------------------------------------------------
   Homepage Sections - Simple Version
   -------------------------------------------------------------------------- */

/* Section Spacing */
.lg-categories-section,
.lg-products-section,
.lg-dual-feature,
.lg-support-section {
    padding: 80px 0;
}

.lg-categories-section {
    background-color: #ffffff;
}

.lg-products-section {
    background-color: #f8f8f8;
}

.lg-dual-feature {
    background-color: #ffffff;
}

.lg-support-section {
    background-color: #f8f8f8;
}

/* Section Headers */
.lg-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.lg-section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--lg-dark);
    margin-bottom: 15px;
}

.lg-section-header p {
    font-size: 18px;
    color: var(--lg-gray);
}

/* Category Grid */
.lg-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.lg-category-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lg-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.lg-category-card a {
    display: block;
    padding: 50px 30px;
    text-align: center;
    text-decoration: none;
}

.category-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.lg-category-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--lg-dark);
    margin-bottom: 15px;
}

.lg-category-card .view-link {
    color: var(--lg-primary);
    font-weight: 500;
    font-size: 16px;
}

/* Products Grid */
.lg-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.lg-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lg-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.lg-product-card a {
    display: block;
    text-decoration: none;
}

.lg-product-card .product-image {
    overflow: hidden;
    background: #f8f8f8;
}

.lg-product-card .product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.lg-product-card .product-info {
    padding: 20px;
}

.lg-product-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--lg-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.lg-product-card .product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--lg-primary);
}

/* Dual Feature Section */
.lg-feature-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.lg-feature-col .feature-card {
    padding: 50px 40px;
    background: #f8f8f8;
    border-radius: 12px;
    height: 100%;
}

.lg-feature-col h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--lg-dark);
    margin-bottom: 20px;
}

.lg-feature-col p {
    font-size: 16px;
    color: var(--lg-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.lg-btn {
    display: inline-block;
    background-color: var(--lg-primary);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lg-btn:hover {
    background-color: var(--lg-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 0, 52, 0.3);
    color: #ffffff;
}

/* CTA Section */
.lg-cta-section {
    background: #2D5A3D;
    padding: 100px 0;
}

.lg-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lg-cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.lg-cta-content p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 40px;
}

.lg-btn-white {
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    padding: 18px 40px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lg-btn-white:hover {
    background-color: #ffffff;
    color: #2D5A3D;
}

/* Support Grid */
.lg-support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.support-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.support-card h4 {
    font-size: 19px;
    font-weight: 600;
    color: var(--lg-dark);
    margin-bottom: 12px;
}

.support-card p {
    font-size: 15px;
    color: var(--lg-gray);
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 999px) {
    .lg-category-grid,
    .lg-feature-row,
    .lg-support-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .lg-section-header h2 {
        font-size: 36px;
    }

    .lg-categories-section,
    .lg-products-section,
    .lg-dual-feature,
    .lg-support-section {
        padding: 60px 0;
    }
}

@media (max-width: 690px) {
    .lg-category-grid,
    .lg-products-grid,
    .lg-feature-row,
    .lg-support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lg-section-header h2 {
        font-size: 28px;
    }

    .lg-section-header {
        margin-bottom: 40px;
    }

    .lg-categories-section,
    .lg-products-section,
    .lg-dual-feature,
    .lg-support-section {
        padding: 40px 0;
    }

    .lg-cta-section {
        padding: 60px 0;
    }

    .lg-cta-content h2 {
        font-size: 32px;
    }

    .lg-cta-content p {
        font-size: 16px;
    }
}

/* --------------------------------------------------------------------------
   Alternative Hero (No Images Needed)
   -------------------------------------------------------------------------- */

.lg-hero-alt {
    background: #2D5A3D;
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero-alt-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-alt-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-alt-content p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-alt-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #ffffff;
    color: #2D5A3D;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-alt-image {
    text-align: center;
    position: relative;
}

.hero-icon {
    font-size: 180px;
    line-height: 1;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-alt-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-alt-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Why Choose Section */
.lg-why-choose {
    padding: 80px 0;
    background: #ffffff;
}

.lg-why-choose .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.lg-why-choose .benefit-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 999px) {
    .hero-alt-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-alt-content h1 {
        font-size: 42px;
    }

    .hero-alt-content p {
        font-size: 18px;
    }

    .hero-alt-buttons {
        justify-content: center;
    }

    .hero-icon {
        font-size: 140px;
    }

    .lg-why-choose .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 690px) {
    .lg-hero-alt {
        padding: 80px 0 100px;
    }

    .hero-alt-content h1 {
        font-size: 32px;
    }

    .hero-alt-content p {
        font-size: 16px;
    }

    .hero-icon {
        font-size: 100px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-alt-buttons {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   Solution Pages
   -------------------------------------------------------------------------- */

/* Solution Hero */
.lg-solution-hero {
    background: #2D5A3D;
    padding: 100px 0 80px;
    color: #ffffff;
    text-align: center;
}

.solution-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.solution-icon {
    font-size: 80px;
    margin-bottom: 30px;
}

.solution-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.solution-description {
    font-size: 20px;
    line-height: 1.7;
    opacity: 0.95;
}

/* Solution Benefits */
.lg-solution-benefits {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--lg-dark);
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--lg-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 25px;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--lg-dark);
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 16px;
    color: var(--lg-gray);
    line-height: 1.7;
}

/* Solution Content */
.lg-solution-content {
    padding: 80px 0;
    background: #f8f8f8;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--lg-dark);
    margin: 40px 0 20px;
}

.content-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--lg-dark);
    margin: 30px 0 15px;
}

.content-wrapper p {
    font-size: 17px;
    color: var(--lg-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-wrapper ul {
    margin: 20px 0 20px 30px;
}

.content-wrapper li {
    font-size: 17px;
    color: var(--lg-gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Solution Products */
.lg-solution-products {
    padding: 80px 0;
    background: #ffffff;
}

.view-all-products {
    text-align: center;
    margin-top: 50px;
}

/* Solution CTA */
.lg-solution-cta {
    background: var(--lg-dark);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.lg-solution-cta .cta-content h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.lg-solution-cta .cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
}

/* Responsive */
@media (max-width: 999px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-title {
        font-size: 38px;
    }

    .solution-description {
        font-size: 18px;
    }

    .lg-solution-hero {
        padding: 70px 0 60px;
    }
}

@media (max-width: 690px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .solution-title {
        font-size: 32px;
    }

    .solution-description {
        font-size: 16px;
    }

    .solution-icon {
        font-size: 60px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .lg-solution-hero,
    .lg-solution-benefits,
    .lg-solution-content,
    .lg-solution-products {
        padding: 50px 0;
    }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    #header-outer,
    #footer-outer,
    .nectar-slider-wrap,
    .lg-hero-slider {
        display: none;
    }
}
