:root {
        --np-primary: #198754; /* Green */
        --np-dark: #0a0a0a; /* Dark Black */
        --np-light: #f8f9fa;
    }

    /* Hero Slider Container */
    .hero-slider-section {
        position: relative;
        overflow: hidden;
        height: 480px; /* Standard Desktop Height */
        background-color: var(--np-dark);
    }
    
    .hero-slider {
        position: relative;
        width: 100%;
        height: 100%;
    }

    /* Individual Slide styling */
    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .hero-slide.active {
        opacity: 1;
        visibility: visible;
    }

    /* Dark Overlay for better text readability */
    .hero-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.4) 100%);
        z-index: 1;
    }

    /* Caption Overlay Styling */
    .slider-caption-wrapper {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .slider-content {
        max-width: 650px;
        color: #ffffff;
        padding: 0 15px;
    }

    .slider-content h1 {
        font-size: 3rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 20px;
        animation: fadeInUp 0.8s ease-in-out;
    }

    .slider-content .btn-slider {
        background-color: var(--np-primary);
        color: #ffffff;
        border: none;
        padding: 12px 30px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 30px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .slider-content .btn-slider:hover {
        background-color: #157347;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(25, 135, 84, 0.4);
    }

    /* Slider Controls (Chevron Arrows) */
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(25, 135, 84, 0.7);
        color: #ffffff;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slider-btn:hover {
        background-color: var(--np-primary);
        transform: translateY(-50%) scale(1.1);
    }
    
    .slider-btn-prev { left: 25px; }
    .slider-btn-next { right: 25px; }

    /* Dot Indicators */
    .slider-indicators {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        z-index: 10;
    }

    .slider-indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .slider-indicator.active {
        background-color: var(--np-primary);
        width: 25px;
        border-radius: 10px;
    }

    /* Text Fade-In Animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Responsive Adjustments */
    @media (max-width: 991.98px) {
        .hero-slider-section { height: 380px; }
        .slider-content h1 { font-size: 2.2rem; }
    }

    @media (max-width: 767.98px) {
        .hero-slider-section { height: 300px; }
        .slider-content h1 { font-size: 1.6rem; margin-bottom: 15px; }
        .slider-content .btn-slider { padding: 8px 20px; font-size: 0.9rem; }
        .slider-btn { width: 35px; height: 35px; }
        .slider-btn-prev { left: 10px; }
        .slider-btn-next { right: 10px; }
    }

    /* ==========================================================================
   NIRTON PRIME - MODERN HOME PAGE CUSTOM STYLE (GREEN & BLACK THEME)
   ========================================================================== */

/* Global Colors & Variables */
:root {
    --np-primary: #198754;       /* Brand Green */
    --np-primary-hover: #157347; /* Darker Green on Hover */
    --np-dark: #0a0a0a;          /* Rich Jet Black */
    --np-gray-light: #f8f9fa;    /* Cool Light Gray Background */
    --np-border-color: #e9ecef;  /* Soft Border Gray */
    --np-transition-fast: all 0.25s ease-in-out;
    --np-transition-normal: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Base Body Styles */
body {
    background-color: #ffffff;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--np-dark);
}

/* Section Title & Header Underline */
.section-title h2 {
    font-size: 2.25rem;
    color: var(--np-dark);
    letter-spacing: -0.5px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--np-primary);
    border-radius: 10px;
}

/* ==========================================
   1. TRUST BADGES / FEATURES SECTION
   ========================================== */
.border-bottom {
    border-bottom: 1px solid var(--np-border-color) !important;
}
.text-success i {
    color: var(--np-primary) !important;
    display: inline-block;
    transition: var(--np-transition-fast);
}
/* Feature item bounce on hover */
.col-lg-3:hover .text-success i {
    transform: translateY(-5px);
}

/* ==========================================
   2. FEATURED CATEGORIES SECTION
   ========================================== */
.category-card {
    background: #ffffff;
    border: 1px solid var(--np-border-color) !important;
    border-radius: 12px !important;
    transition: var(--np-transition-normal);
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(25, 135, 84, 0.12);
    border-color: var(--np-primary) !important;
}
.category-icon {
    font-size: 2.8rem;
    transition: var(--np-transition-normal);
}
.category-card:hover .category-icon {
    transform: scale(1.15) rotate(-5deg);
}
.category-card small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.category-card small i {
    transition: transform 0.2s ease;
}
.category-card:hover small i {
    transform: translateX(4px);
}

/* ==========================================
   3 & 5. PRODUCT CARD STYLES (FEATURED & TRENDING)
   ========================================== */
.product-card {
    background: #ffffff;
    border: 1px solid var(--np-border-color) !important;
    border-radius: 16px !important;
    transition: var(--np-transition-normal);
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    border-color: transparent !important;
}

/* Discount Badge styling */
.product-card .badge.bg-success {
    background-color: var(--np-primary) !important;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.2);
}

/* Product Image container zoom */
.product-image-container {
    background-color: var(--np-gray-light) !important;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
    position: relative;
}
.product-image-container img {
    transition: var(--np-transition-normal);
}
.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

/* Truncate Product Title beautifully to max 2 lines */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--np-transition-fast);
}
.product-card:hover .text-truncate-2 {
    color: var(--np-primary) !important;
}

/* Ratings */
.product-rating .bi-star-fill,
.product-rating .bi-star-half {
    color: #ffc107;
}

/* Add to Cart & Wishlist buttons */
.product-card .btn-dark {
    background-color: var(--np-dark);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--np-transition-fast);
}
.product-card .btn-dark:hover {
    background-color: var(--np-primary);
    transform: scale(1.02);
}
.product-card .btn-light {
    background-color: #f8f9fa;
    border-color: #e9ecef !important;
    border-radius: 10px;
    transition: var(--np-transition-fast);
}
.product-card .btn-light:hover {
    background-color: #ffeef0;
    border-color: #ffc2c2 !important;
}

/* ==========================================
   4. SPECIAL PROMO BANNER 
   ========================================== */
.bg-dark {
    background-color: var(--np-dark) !important;
}
.bg-success {
    background-color: var(--np-primary) !important;
}
.letter-spacing-1 {
    letter-spacing: 1.5px;
}
.text-light-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}
.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--np-transition-fast);
}
.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--np-dark);
}
/* Neon Pulse effect for Promo Badge */
.bg-dark .badge.bg-success {
    animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(25, 135, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
}

/* ==========================================
   6. TESTIMONIALS SECTION
   ========================================== */
.card.shadow-sm {
    background: #ffffff;
    border: 1px solid var(--np-border-color) !important;
    transition: var(--np-transition-normal);
}
.card.shadow-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05) !important;
}
.text-success {
    color: var(--np-primary) !important;
}

/* ==========================================
   7. NEWSLETTER SECTION
   ========================================== */
#newsletter-form input {
    height: 52px;
    padding-left: 25px;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    transition: var(--np-transition-fast);
}
#newsletter-form input:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--np-primary) !important;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.25) !important;
}
#newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
#newsletter-form button {
    height: 52px;
    transition: var(--np-transition-fast);
}
#newsletter-form button:hover {
    background-color: var(--np-primary-hover) !important;
    transform: scale(1.02);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 991.98px) {
    .section-title h2 {
        font-size: 1.85rem;
    }
    .product-image-container {
        height: 190px !important;
    }
}

/* Mobile & Small Screen adjustments */
@media (max-width: 767.98px) {
    .section-title h2 {
        font-size: 1.6rem;
    }
    .display-5 {
        font-size: 2.2rem !important;
    }
    .category-icon {
        font-size: 2.3rem;
    }
    .product-image-container {
        height: 170px !important;
    }
    /* Simple flex stack for mobile newsletter form */
    #newsletter-form input {
        border-radius: 30px !important;
        margin-bottom: 10px;
    }
    #newsletter-form button {
        border-radius: 30px !important;
    }
}


/* =========================================================
   1. ABOUT HEADER SECTION (Top Banner)
   ========================================================= */
.about-header-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef7f1 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.about-page-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.about-page-subtitle {
    color: var(--np-primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
}

/* =========================================================
   2. ABOUT CONTENT SECTION
   ========================================================= */
.about-section {
    padding: 70px 0;
    background: #ffffff;
    overflow: hidden;
}

.about-grid-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-content-col {
    flex: 1;
    max-width: 55%;
}

.about-subtitle {
    display: inline-block;
    color: var(--np-primary);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.about-main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    margin-bottom: 20px;
}

.about-text-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--np-text);
    margin-bottom: 30px;
    text-align: justify;
}

/* Shop Button with Hover Effect */
.btn-explore-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--np-primary);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--np-transition);
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.2);
}

.btn-explore-shop:hover {
    background: var(--np-primary-hover);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(25, 135, 84, 0.3);
}

.btn-explore-shop i {
    transition: transform 0.2s ease;
}

.btn-explore-shop:hover i {
    transform: translateX(4px);
}

/* =========================================================
   3. RIGHT IMAGE SECTION (Fixed size constraints to prevent huge images)
   ========================================================= */
.about-image-col {
    flex: 1;
    max-width: 40%; /* Keeps the column size in check on desktop */
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img-frame {
    width: 100%;
    max-width: 400px; /* Limits the container width */
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
}

.about-dynamic-img {
    width: 100%;
    height: auto;
    max-height: 380px; /* Restricts the image height */
    object-fit: contain; /* Keeps image proportions perfect without distortion */
    transition: var(--np-transition);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

/* Interactive Image Hover effect */
.about-img-frame:hover .about-dynamic-img {
    transform: scale(1.04) translateY(-6px);
    filter: drop-shadow(0 15px 30px rgba(25, 135, 84, 0.25));
}

/* =========================================================
   4. FEATURE CARDS SECTION
   ========================================================= */
.feature-section {
    background: var(--np-gray-light);
    padding: 70px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.feature-icon-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: var(--np-transition);
    border: 1px solid #e9ecef;
}

.feature-icon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--np-primary);
}

.f-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--np-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    transition: var(--np-transition);
}

.feature-icon-card:hover .f-icon {
    transform: scale(1.1) rotate(-5deg);
    background-color: var(--np-primary-hover);
}

.feature-icon-card h6 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111827;
}

.feature-icon-card p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* =========================================================
   5. RESPONSIVE DESIGN FOR MOBILE & TABLETS
   ========================================================= */

/* Tablets & Small Laptops */
@media (max-width: 991px) {
    .about-grid-container {
        gap: 30px;
    }
    .about-main-heading {
        font-size: 2.1rem;
    }
    .about-content-col {
        max-width: 50%;
    }
    .about-image-col {
        max-width: 45%;
    }
    .about-dynamic-img {
        max-height: 300px;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .about-section {
        padding: 50px 0;
    }
    /* Stacks image on top of text for better mobile layout */
    .about-grid-container {
        flex-direction: column-reverse; 
        text-align: center;
        gap: 40px;
    }
    .about-content-col {
        max-width: 100%;
    }
    .about-image-col {
        max-width: 80%;
        margin: 0 auto;
    }
    .about-main-heading {
        font-size: 1.85rem;
    }
    .about-text-desc {
        text-align: center;
    }
    .about-dynamic-img {
        max-height: 260px;
    }
    .btn-explore-shop {
        width: 100%;
        justify-content: center;
    }
    .about-page-title {
        font-size: 2.2rem;
    }
    .feature-section {
        padding: 50px 0;
    }
}


/* Custom Scrollbar for Filters */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Background Gradients */
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Product Card Design */
.product-card {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Image Wrapper & Interactions */
.product-image-wrapper {
    height: 260px;
    position: relative;
    background-color: #fcfcfc;
}

.product-image-wrapper img {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.06);
}

/* Hover Buttons Effects */
.product-hover-actions {
    opacity: 0;
    transform: translate(-50%, 10px) !important;
    transition: all 0.3s ease;
}

.product-card:hover .product-hover-actions {
    opacity: 1;
    transform: translate(-50%, 0) !important;
}

.action-btn {
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: none;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    transform: scale(1.15);
    background-color: #fff !important;
}

/* Line clamp text */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    min-height: 44px;
}

/* Custom Button Styling */
.custom-cart-btn {
    transition: all 0.2s ease;
}
.custom-cart-btn:hover {
    background-color: #212529;
    color: #fff;
}

/* Pagination adjustments */
.page-link:hover {
    background-color: #212529 !important;
    color: #fff !important;
}

/* Animation on grid load */
.animate-card {
    animation: fadeInUp 0.5s ease backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Background styling */
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Custom Scrollbar configuration for summary listing */
.items-invoice-scroll::-webkit-scrollbar {
    width: 4px;
}
.items-invoice-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* Payment selection interactive framing cards rules */
.payment-option-card {
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
}

.payment-option-card:hover {
    background-color: #fdfdfd;
    border-color: #2ecc71 !important;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.05);
}

/* Clickable form configurations adjustments */
.style-clickable {
    cursor: pointer;
    user-select: none;
}

/* Standard utilities fallback constraints */
.fw-black {
    font-weight: 900 !important;
}