/*
Theme Name: Chaitan Child Theme
Theme URI: http://chaitan.like-themes.com/
Author: Like Themes
Author URI: http://like-themes.com/
Description: Blank Child Theme for Chaitan
Template: chaitan
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: four-columns, right-sidebar, full-width-template
Text Domain: chaitan

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* ==========================================================================
   LETS BUY & SELL (LBS) - NEW HOMEPAGE CUSTOM STYLES
   ========================================================================== */

/* Reset default theme spacings/headers on the homepage */
.home .entry-header, 
.home .page-header, 
.home .ltx-content-title-builder, 
.home .title-class {
    display: none !important;
}
.home .content-area, 
.home #content, 
.home .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Force WPBakery inner columns and raw HTML wrappers to expand fully in stretched rows */
.vc_row[data-vc-stretch-content="true"] .vc_column_container,
.vc_row[data-vc-stretch-content="true"] .vc_column-inner,
.vc_row[data-vc-stretch-content="true"] .wpb_wrapper,
.vc_row[data-vc-stretch-content="true"] .wpb_raw_html,
.vc_row[data-vc-stretch-content="true"] .wpb_raw_html > .wpb_wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

/* Design Tokens & Variables */
:root {
    --lbs-navy: #0f172a;
    --lbs-blue: #2563eb;
    --lbs-blue-hover: #1d4ed8;
    --lbs-gold: #f59e0b;
    --lbs-bg-light: #f8fafc;
    --lbs-text-dark: #1e293b;
    --lbs-text-muted: #64748b;
    --lbs-border-color: #e2e8f0;
    --lbs-white: #ffffff;
    --lbs-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --lbs-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --lbs-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --lbs-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.03);
    --lbs-shadow-premium: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

/* Global Homepage Wrapper */
.lbs-homepage-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--lbs-text-dark);
    background-color: var(--lbs-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Helpers */
.lbs-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--lbs-navy);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.lbs-section-subtitle {
    font-size: 16px;
    color: var(--lbs-text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Buttons System */
.lbs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--lbs-transition);
    cursor: pointer;
    border: 1px solid transparent;
}
.lbs-btn-primary {
    background-color: var(--lbs-blue);
    color: var(--lbs-white) !important;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
}
.lbs-btn-primary:hover {
    background-color: var(--lbs-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.4);
}
.lbs-btn-secondary {
    background-color: transparent;
    color: var(--lbs-navy) !important;
    border-color: var(--lbs-navy);
}
.lbs-btn-secondary:hover {
    background-color: var(--lbs-navy);
    color: var(--lbs-white) !important;
    transform: translateY(-2px);
}
.lbs-btn-white {
    background-color: var(--lbs-white);
    color: var(--lbs-navy) !important;
    box-shadow: var(--lbs-shadow-md);
}
.lbs-btn-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: var(--lbs-shadow-lg);
}

/* Hero Section */
.lbs-hero-section {
    position: relative;
    padding: 0 0 30px 0; /* Zero top padding, minimal bottom padding */
    background: var(--lbs-white);
    border-bottom: 1px solid var(--lbs-border-color);
}
.lbs-hero-media {
    width: 100%;
    margin: 0 0 25px 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.lbs-hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Spans 100% full-width */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: hidden;
}
.lbs-hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.lbs-hero-content {
    text-align: center;
    max-width: 1200px; /* Boxed for readable line length */
    margin: 0 auto;
    padding: 0 5%;
}
.lbs-hero-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--lbs-navy);
    margin: 0 0 15px 0;
    letter-spacing: -1px;
}
.lbs-hero-title span {
    color: var(--lbs-blue);
}
.lbs-hero-subtitle-tagline {
    font-size: 16px;
    font-weight: 500;
    color: var(--lbs-text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}
.lbs-hero-ctas {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Categories Section - SVG Icon Cards (Like LBS Market) */
.lbs-categories-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--lbs-border-color);
}
.lbs-categories-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}
.lbs-categories-new-grid {
    display: flex;
    gap: 20px;
    width: 100%;
}
.lbs-category-icon-card {
    flex: 1;
    min-width: 0;
    background: var(--lbs-white);
    border: 1px solid var(--lbs-border-color);
    border-radius: 16px;
    text-align: center;
    text-decoration: none !important;
    transition: var(--lbs-transition);
    box-shadow: var(--lbs-shadow-sm);
    display: flex;
    flex-direction: column;
    color: inherit !important;
    overflow: hidden;
}
.lbs-category-icon-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lbs-shadow-premium);
    border-color: var(--lbs-blue);
}
.lbs-category-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.lbs-category-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.4s ease;
}
.lbs-category-icon-card:hover .lbs-category-img {
    transform: scale(1.08);
}
.lbs-category-card-content {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.lbs-category-icon-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--lbs-navy);
    margin: 0 0 5px 0;
}
.lbs-category-icon-desc {
    font-size: 12px;
    color: var(--lbs-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Trust Signals Section (Moved down & updated to support 6 cards) */
.lbs-trust-section {
    padding: 60px 0;
    background-color: var(--lbs-bg-light);
}
.lbs-trust-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}
.lbs-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.lbs-trust-card {
    background: var(--lbs-white);
    border: 1px solid var(--lbs-border-color);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--lbs-transition);
    box-shadow: var(--lbs-shadow-sm);
}
.lbs-trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--lbs-shadow-premium);
    border-color: var(--lbs-blue);
}
.lbs-trust-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px auto;
    color: var(--lbs-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lbs-trust-icon-wrapper.whatsapp-icon {
    color: #25D366;
}
.lbs-trust-icon-wrapper svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}
.lbs-trust-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--lbs-navy);
    margin: 0 0 12px 0;
}
.lbs-trust-text {
    font-size: 14px;
    color: var(--lbs-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Dynamic Products Wrapper */
.lbs-products-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--lbs-border-color);
}
.lbs-products-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

/* B2B / Wholesale CTA Banner */
.lbs-cta-section {
    padding: 80px 0;
}
.lbs-cta-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}
.lbs-cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--lbs-navy) 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--lbs-shadow-premium);
    color: var(--lbs-white);
}
.lbs-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(0,0,0,0) 60%);
    z-index: 1;
    pointer-events: none;
}
.lbs-cta-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}
.lbs-cta-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}
.lbs-cta-text {
    font-size: 16px;
    color: var(--lbs-text-muted);
    margin: 0 0 35px 0;
    line-height: 1.7;
}

/* Supplier / Partnership Section */
.lbs-supplier-section {
    padding: 80px 0;
    background-color: var(--lbs-bg-light);
    border-top: 1px solid var(--lbs-border-color);
}
.lbs-supplier-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.lbs-supplier-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lbs-supplier-tag {
    display: inline-block;
    align-self: flex-start;
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.lbs-supplier-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--lbs-navy);
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}
.lbs-supplier-text {
    font-size: 16px;
    color: var(--lbs-text-muted);
    margin: 0 0 35px 0;
    line-height: 1.7;
}
.lbs-supplier-benefits {
    background: var(--lbs-white);
    border: 1px solid var(--lbs-border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--lbs-shadow-md);
}
.lbs-benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.lbs-benefit-item:last-child {
    margin-bottom: 0;
}
.lbs-benefit-icon {
    width: 24px;
    height: 24px;
    color: var(--lbs-blue);
    flex-shrink: 0;
    margin-top: 3px;
}
.lbs-benefit-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--lbs-navy);
    margin: 0 0 5px 0;
}
.lbs-benefit-desc {
    font-size: 14px;
    color: var(--lbs-text-muted);
    margin: 0;
}

/* Interactive Request a Quote Modal */
.lbs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.lbs-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    transition: var(--lbs-transition);
}
.lbs-modal-wrapper {
    position: relative;
    z-index: 10002;
    background: var(--lbs-white);
    width: 90%;
    max-width: 550px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: lbsModalFadeIn 0.3s ease;
}
@keyframes lbsModalFadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lbs-modal-header {
    background-color: var(--lbs-navy);
    color: var(--lbs-white);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lbs-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}
.lbs-modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: var(--lbs-transition);
}
.lbs-modal-close:hover {
    color: var(--lbs-white);
}
.lbs-modal-body {
    padding: 30px;
}
.lbs-form-group {
    margin-bottom: 20px;
}
.lbs-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--lbs-navy);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.lbs-form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--lbs-border-color);
    border-radius: 6px;
    box-sizing: border-box;
    transition: var(--lbs-transition);
    outline: none;
    background-color: var(--lbs-bg-light);
}
.lbs-form-control:focus {
    border-color: var(--lbs-blue);
    background-color: var(--lbs-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
textarea.lbs-form-control {
    height: 100px;
    resize: none;
}
.lbs-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
}

/* -------------------------------------------------------------------
   RESPONSIVE LAYOUT adjustments
   ------------------------------------------------------------------- */
@media (max-width: 992px) {
    .lbs-hero-media {
        max-width: 100%;
    }
    .lbs-categories-new-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .lbs-category-icon-card {
        flex: 0 0 calc(33.333% - 10px); /* 3 columns on tablet */
        min-width: 0;
    }
    .lbs-trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    .lbs-supplier-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .lbs-category-icon-card {
        flex: 0 0 calc(50% - 8px); /* 2 columns on mobile */
    }
    .lbs-hero-title {
        font-size: 28px !important;
        margin-bottom: 12px !important;
    }
    .lbs-hero-subtitle-tagline {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    .lbs-hero-ctas {
        display: flex !important;
        flex-direction: row !important; /* Keep buttons side-by-side on mobile! */
        justify-content: center !important;
        gap: 10px !important;
    }
    .lbs-hero-ctas .lbs-btn {
        width: auto !important; /* Not full width! */
        padding: 10px 20px !important; /* Smaller tap target */
        font-size: 13px !important;
        flex: 0 1 auto;
    }
    .lbs-section-title {
        font-size: 26px;
    }
    .lbs-trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    .lbs-trust-card {
        padding: 20px 15px !important;
    }
    .lbs-trust-icon-wrapper {
        width: 36px !important;
        height: 36px !important;
        margin-bottom: 12px !important;
    }
    .lbs-trust-title {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }
    .lbs-trust-text {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    .lbs-cta-banner {
        padding: 45px 25px;
    }
    .lbs-cta-title {
        font-size: 26px;
    }
    .lbs-supplier-title {
        font-size: 28px;
    }
    .lbs-supplier-benefits {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .lbs-category-icon-card {
        flex: 0 0 calc(50% - 8px);
    }
    .lbs-category-card-content {
        padding: 15px 10px;
    }
    .lbs-category-icon-title {
        font-size: 14px !important;
    }
    .lbs-category-icon-desc {
        font-size: 10px !important;
    }
    .lbs-hero-ctas {
        display: flex !important;
        flex-direction: row !important; /* Keep side-by-side even on small phones */
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .lbs-hero-ctas .lbs-btn {
        width: auto !important;
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
    .lbs-trust-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .lbs-trust-card {
        padding: 15px 8px !important;
    }
    .lbs-trust-icon-wrapper {
        width: 30px !important;
        height: 30px !important;
        margin-bottom: 8px !important;
    }
    .lbs-trust-title {
        font-size: 13px !important;
    }
    .lbs-trust-text {
        font-size: 10px !important;
    }
}

/* ==========================================================================
   GLOBAL WOOCOMMERCE PRODUCT CARDS (Flipkart Style)
   ========================================================================== */
.woocommerce ul.products li.product {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 4px !important;
    padding: 16px !important;
    text-align: left !important;
    transition: box-shadow 0.2s ease !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* Fix Product Image Size - Contain it so it's not too big */
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 160px !important;
    object-fit: contain !important;
    margin-bottom: 12px !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Fix Readable Title - Flipkart Style Sans-serif */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Roboto', 'Inter', 'Helvetica Neue', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #212121 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    text-transform: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Fix Price Styling - Flipkart Style */
.woocommerce ul.products li.product .price {
    font-family: 'Roboto', 'Inter', 'Helvetica Neue', sans-serif !important;
    font-size: 16px !important;
    color: #212121 !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.woocommerce ul.products li.product .price del {
    color: #878787 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
}

/* Fix Button - Flipkart Blue 'BUY NOW' CTA */
.woocommerce ul.products li.product .button {
    background-color: #2874f0 !important;
    color: #ffffff !important;
    border-radius: 2px !important;
    padding: 8px 20px !important;
    font-family: 'Roboto', 'Inter', 'Helvetica Neue', sans-serif !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
    display: inline-block !important;
    width: auto !important;
    margin-top: auto !important;
    font-size: 0 !important;
    transition: background 0.3s ease !important;
    border: none !important;
    line-height: 1 !important;
    align-self: flex-start !important;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.2) !important;
}
.woocommerce ul.products li.product .button::after {
    content: "BUY NOW";
    font-size: 13px !important;
}
.woocommerce ul.products li.product .button:hover {
    background-color: #1e5fc3 !important;
    color: #ffffff !important;
}
