/* Custom Styles for Greenhouse Plastic Website - OPTIMIZED */

/* ===== BASE STYLES ===== */
/* Google Fonts are now loaded asynchronously in App.razor for better performance */

html, body {
    font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    scroll-behavior: auto !important;
}

body {
    background: #f8f9fa;
}

a, .btn-link {
    color: #006bb7;
}
*:focus-visible,
*:active,
*:focus{
    outline: none !important;
    box-shadow: none !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.hidden {
    display: none !important;
}

.breadcrumb a {
    color: var(--primary-green);
}

/* ===== CUSTOM COLORS ===== */
:root {
    --primary-green: #6b9c37;
    --dark-green: #1a472a;
    --light-green: #82c341;
    --hover-green: #5a8530;
    --dark-bg: #1a1a1a;
    --dark-card: #2a2a2a;
    --red-accent: #e74c3c;
}

/* ===== STICKY FOOTER LAYOUT ===== */
/* Page wrapper uses flexbox to push footer to bottom */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content grows to fill available space */
.main-content {
    flex: 1 0 auto;
    padding-top: 106px;
}

/* Ensure footer doesn't shrink */
footer {
    flex-shrink: 0;
}

/* Legacy main selector for backwards compatibility */
main {
    padding-top: 106px
}

.navbar i {
    font-size: 24px

}

/* ===== PAGE LAYOUT STYLES ===== */
.product-breadcrumb, .page-breadcrumb {
    padding: 25px 0 !important;
    background: #f8f9fa;
}

.product-loading-container {
    min-height: 50vh;
}

.product-not-found-container {
    margin-top: 120px;
    min-height: 50vh;
}

/* ===== HERO SECTIONS ===== */
.hero-section {
    position: relative;
    /* Use clamp to ensure minimum height on all devices */
    min-height: clamp(400px, 60vh, 800px);
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    margin-top: 0px;
    background: linear-gradient(135deg, var(--hover-green) 0%, var(--dark-green) 100%);
}

.hero-section-medium {
    height: 40vh;
    min-height: 350px;
}
.hero-section-small {
    height: clamp(250px,25vh,500px);
    min-height: 250px;
}
.hero-section-min {
    position: relative;
    height: 100px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    margin-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Prevent video from affecting layout */
    max-width: 100%;
    max-height: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.5);
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-lead-text {
    max-width: 900px;
}

.hero-rolls {
    background-image: url('/images/d/warehouse1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-arms-ground-plant {
    background-image: url('/images/d/arms-ground-plant.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-how-it-works {
    background-image: url('/images/d/hero-how-it-works-1200.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.seedlings-farming {
    background-image: url('/images/d/greenhouse-parsley-seedlings-farming.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ===== HEADER STYLES ===== */
.header-fixed {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(.17,.67,.82,1.35);
    /* Prevent header shift when modal opens/closes */
    right: 0 !important;
    .container {
        padding-bottom: 10px
    }
}

.navbar {
    --bs-navbar-padding-y: 1rem;
}

.navbar-brand {
    transform: scale(1.25);
    transform-origin: center left;
    transition: all 0.3s cubic-bezier(.17,.67,.82,1.35);
}

.navbar-nav {
    position: relative;
}

.navbar-nav::after {
    display: none !important;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-green) !important;
    
    transition: all 0.3s cubic-bezier(.54,1.56,.79,1.7);
    border-radius: 2px;
}

.nav-link-custom.active {
    color: var(--primary-green) !important;
    font-weight: 500;
}

.header-fixed nav {
    transition: all 0.3s cubic-bezier(.17,.67,.82,1.35);
}

.header-scrolled {
    padding-block: 0 !important;
    nav {
        padding-block: 0
    }
    .navbar-brand {
        transform: scale(1);
    }
}

.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--dark-green);
}

.nav-link-custom {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.1s;
    cursor: pointer;
}

.nav-link-custom:hover {
    color: var(--primary-green) !important;
}

.header-icon {
    cursor: pointer;
    transition: opacity 0.3s;
    width: 30px;
    
}
.search-icon,
.cart-icon {
    color: var(--bs-gray-600)
}

.cart-icon:has(.cart-count) {
    color: var(--primary-green);
}

.search-icon {
    font-size: 20px;
}

.header-icon:hover {
    opacity: 0.7;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--red-accent);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #fff;
    filter: saturate(0.7) brightness(1.2);
}

.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    gap: 1rem;
}

.navbar-brand {
    flex-shrink: 0;
}

.nav-main-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    min-width: 0;
    gap: 0.5rem;
}

.nav-utilities {
    flex-shrink: 0;
    display: flex;
    gap: 1rem;
}

.navbar-nav-wrapper {
    display: flex;
    justify-content: center;
}

#main-nav-items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0.5rem;
}

#main-nav-items .nav-item {
    white-space: nowrap;
    display: flex;
    align-items: center;
}

#nav-hamburger {
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,.1);
    padding: 0.375rem 0.5rem;
}

#navbarCollapse {
    background: #fff;
    margin-top: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-nav-mobile {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.navbar-nav-mobile .nav-item {
    padding: 0;
}

.navbar-nav-mobile .nav-link {
    padding: 0.75rem 1rem;
    display: block;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.navbar-nav-mobile .nav-link:hover,
.navbar-nav-mobile .nav-link.active {
    color: var(--primary-green);
    background-color: rgba(107, 156, 55, 0.1);
}

.search-icon-mobile {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 30px;
    color: var(--bs-gray-600);
}

.search-icon-mobile i {
    font-size: 20px;
}

.search-icon-mobile:hover {
    opacity: 0.7;
}

.desktop-search {
    display: flex;
}

.mobile-search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1040;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-search-overlay.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-search-bar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
}

.mobile-search-bar .btn-close-search {
    display: none;
}

.mobile-search-bar .product-search-container {
    width: 100%;
}

.mobile-search-bar .search-input-wrapper {
    width: 100%;
    padding-right: 3rem;
}

.mobile-search-bar .search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    max-height: 400px;
    overflow-y: auto;
}

.mobile-search-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--bs-gray-600);
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
}

.mobile-search-close:hover {
    color: var(--bs-gray-900);
}

/* ===== SECTION BACKGROUNDS ===== */
.section-dark {
    background: var(--dark-bg);
    color: white;
    position: relative;
    &::after {
        content: "";
        position: absolute;
        background-image: url('/images/d/footer02.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 5% bottom;
        width: 100%;
        height: 280px;
        bottom: 0px;
        left: 0;
        opacity: 0.2;
        pointer-events: none;
    }
}

.section-green {
    background-color: var(--primary-green);
    position:  relative;
    color: white;
    font-size: 18px;
    
    .lead {
        font-size: 22px;
        
    }
    
    
}

.section-green-overlay {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/d/greenhouse.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    mix-blend-mode: multiply;
    opacity: 0.2;
}

.section-green-overlay + .container {
    position: relative;
    z-index: 1;
}

.section-light {
    background: #f8f9fa;
}

.section-heading {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-green);
}

.products-text {
    text-wrap: balance;
}

.section-heading-white {
    color: white;
}

/* ===== CUSTOM BUTTONS ===== */
.btn-primary-custom {
    background: var(--primary-green);
    border: none;
    padding: 12px 28px;
    border-radius: 50em;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    color: #fff;
    box-shadow: 0 4px 12px rgba(107, 156, 55, 0.25), 0 2px 6px rgba(107, 156, 55, 0.15);

}

.btn-header {
    background-color: #00000080;
    font-size: 30px;
    font-weight: 500;
    color: #6EBF26;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.32);
    border-radius: 50em;
    padding: 20px 50px 20px 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(.17,.67,.82,1.35) !important;
}

.btn-header:hover {
    background-color: #0000008C;
    border-color: #FFFFFF30;
    color: #6EBF26;
    scale: 1.05 !important;
}

.btn-primary-custom:hover {
    background: var(--hover-green);
    color: #fff;
}

.btn-overlay {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-green);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-card-enhanced:hover .btn-overlay {
    transform: translateY(0);
}

.product-card-enhanced:hover .warranty {
    transform: scale(0.75);
    transform-origin: top right;
}

.btn-overlay:hover {
    background: white;
    color: var(--dark-green);
    transform: scale(1.05);
}

.btn-product-action {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--hover-green) 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-product-action:hover {
    background: linear-gradient(135deg, var(--hover-green) 0%, var(--dark-green) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 156, 55, 0.3);
}

.btn-product-action i {
    transition: transform 0.3s ease;
}

.btn-product-action:hover i {
    transform: translateX(4px);
}

/* ===== PRODUCT CARDS ===== */
.product-card-enhanced {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
            0 30px 60px -20px rgba(12, 18, 31, 0.3),
            0 8px 20px -10px rgba(12, 18, 31, 0.12),
            0 2px 6px rgba(12, 18, 31, 0.06);
    transition: all 0.4s ease;
    border: 0.5px solid rgba(255,255,255,0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-enhanced {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card-enhanced:hover .product-image-enhanced {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge-sale {
    background: linear-gradient(135deg, var(--red-accent) 0%, #c0392b 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.badge-featured {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(107, 156, 55, 0.3);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-container:hover .product-overlay {
    opacity: 1;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1
}

.product-categories-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.category-pill {
    background: rgba(107, 156, 55, 0.1);
    color: var(--primary-green);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(107, 156, 55, 0.2);
}

.category-pill-more {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

.product-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center; 
    height: 54px;
    position: relative;
}

.product-title-enhanced {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    position: relative;
    z-index: 2;
    
}

.product-title-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    filter: saturate(0.9) brightness(0.9);
}

.product-description-enhanced {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    flex-grow: 1;
    overflow: hidden;
    padding-inline: 20px;
    padding-top: 10px;
    
    
    
}

.product-description-enhanced .user-edit {
   
}

.product-description-enhanced .user-edit ul,
.product-description-enhanced .user-edit ol {
    margin-left: 15px;
    margin-bottom: 5px;
    padding-left: 5px;
}

.product-description-enhanced .user-edit li {
    font-size: 1rem;
    margin-bottom: 3px;
    line-height: 1.4;
    opacity: 0.95;
}

.product-description-enhanced .user-edit p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px 20px
}

.product-price-enhanced {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-old {
    font-size: 0.8rem;
    color: #6c757d;
    text-decoration: line-through;
}

.price-current {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-green);
    text-align: right
}

.price-current span{
    font-size: 2rem;
    font-weight: 700;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-info-wrap {
    border-top: 1px solid #dee2e6;
    padding-top: 30px
}
.product-info {
    .badge {
        background: #deeecb;
    }

    .badges-icon {
        gap: 20px;
        .badge-icon {
            padding: 0
        }
    }
    
    .lead {
        font-weight: 400;
        font-size: 18px
    }
}
.dimension-option {
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 0.25rem 0.5rem;
}
.btn-outline-primary.dimension-option {
    color: var(--primary-green);
}
.dimension-option:hover {
    border-color: var(--primary-green) !important;
    background-color: rgba(107, 156, 55, 0.1);
    color: var(--primary-green) !important;
}

.dimension-option.selected {
    border-color: var(--primary-green) !important;
    background-color: var(--primary-green) !important;
    color: white !important;
}

/* Custom Dimensions Card */
.custom-dimensions-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid #00000017
}

.custom-dimensions-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.custom-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dimension-field {
    display: flex;
    flex-direction: column;
}

.dimension-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.dimension-select,
.dimension-input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
    background: white;
    transition: all 0.3s ease;
    max-width: 100px
}

.dimension-select:focus,
.dimension-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(107, 156, 55, 0.1);
}

.dimension-error {
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Product Quantity & Weight */
.product-quantity-weight {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.quantity-field,
.weight-field {
    flex: 0 0 auto;
}

.field-label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: white;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border-radius: 0px 8px 8px 0;
    &.qty-minus {
        border-radius: 8px 0 0 8px
    }
}

.qty-btn:hover {
    background: var(--primary-green);
    color: white;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 60px;
    height: 44px;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
}

.qty-input:focus {
    outline: none;
    background: white;
}

/* Remove spinner arrows from number input */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Weight Display */
.weight-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    min-width: 140px;
    min-height: 48px;
}

.weight-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-green);
    flex: 1;
    text-align: right;
}

.weight-unit {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6c757d;
}

/* Product Gallery - Main Image */
.product-main-image {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 3/2;
}

.product-main-image .main-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.product-main-image .main-image:hover {
    transform: scale(1.02);
}

.fullscreen-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.fullscreen-btn:hover {
    background: white;
    transform: scale(1.1);
}

.fullscreen-btn i {
    font-size: 1rem;
    color: #333;
}

/* Product Gallery - Thumbnails */
.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    outline-offset: 2px;
    outline: 1px solid transparent;
}

.thumbnail-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover {
    outline: 1px solid var(--primary-green);
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

.thumbnail-item.active {
    outline: 2px solid var(--primary-green);
}

/* ===== SHOPPING CART SIDEBAR ===== */

.cart-sidebar-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
            0 10px 15px -3px rgba(0, 0, 0, 0.1),
            0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cart-sidebar-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--hover-green) 100%);
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.cart-sidebar-icon {
    font-size: 1.25rem;
    color: white;
}

.cart-sidebar-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.cart-sidebar-body {
    padding: 10px;
    padding-right: 4px
}

/* Cart Items List */
.cart-items-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
    padding-right: 6px;
}

/* Custom Scrollbar */
.cart-items-list::-webkit-scrollbar {
    width: 3px;
}

.cart-items-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-items-list::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.cart-items-list::-webkit-scrollbar-thumb:hover {
    background: var(--hover-green);
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item-content {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.cart-item-dimension {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.cart-item-quantity {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.cart-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-green);
    white-space: nowrap;
}

.cart-item-remove {
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin-top: auto
}

.cart-item-remove:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.cart-item-remove i {
    font-size: 0.875rem;
}

/* Cart Total Section */
.cart-total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.cart-total-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cart-total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

/* Cart Action Buttons */
.cart-actions {
    display: flex;
    gap: 0.5rem;
    padding-right: 6px;
}

.cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem .25rem;
    flex: 1;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cart-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cart-btn:hover i {
    transform: scale(1.15);
}

.cart-btn-view {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.cart-btn-view:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 156, 55, 0.3);
}

.cart-btn-checkout {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--hover-green) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(107, 156, 55, 0.2);
}

.cart-btn-checkout:hover {
    background: linear-gradient(135deg, var(--hover-green) 0%, var(--dark-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 156, 55, 0.4);
    color: white;
}

/* Empty Cart State */
.cart-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.cart-empty-icon {
    margin-bottom: 1.5rem;
}

.cart-empty-icon i {
    font-size: 4rem;
    color: #dee2e6;
}

.cart-empty-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.cart-empty-hint {
    font-size: 0.875rem;
    color: #adb5bd;
    margin-bottom: 0;
}

/* Responsive Styles */

.tab-content {
    background: white;
    border: 1px solid #dee2e6;
    padding: 30px 40px ;
    border-top: unset
}
.tab-content h1 {
    font-size: 1.5rem;
    margin-top: 0;
    font-weight: 600;
}
.tab-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-link {
    color:var(--primary-green);
    padding-inline: 15px;
    &:hover,&:focus {
        color: var(--primary-green);
        background: rgba(255, 255, 255, 0.54);
    }
}

/* Product Price Section */
.product-price-section {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    justify-content: flex-end;
    margin-top: 40px;
    text-align: right;
}

.price-main {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.2;
}

.price-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.price-compare {
    font-size: 1.125rem;
    color: #999;
    text-decoration: line-through;
}

/* Stock Status */
.product-stock-status {
    margin-bottom: 1.25rem;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.stock-badge i {
    font-size: 1rem;
}

.stock-available {
    background: #d4edda;
    color: #155724;
}

.stock-low {
    background: #fff3cd;
    color: #856404;
}

.stock-out {
    background: #f8d7da;
    color: #721c24;
}

/* Product Actions Section */
.product-actions-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(107, 156, 55, 0.25);
}

.add-to-cart-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 156, 55, 0.35);
}

.add-to-cart-btn:active:not(:disabled) {
    transform: translateY(0);
}

.add-to-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.add-to-cart-btn i {
    font-size: 1.25rem;
}

/* Product Reviews Widget */
.product-reviews-widget {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0;

    display: none
}

.reviews-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.reviews-stars i {
    font-size: 1rem;
    color: #ffc107;
}

.reviews-stars i.bi-star {
    color: #dee2e6;
}

.reviews-average {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
}

.reviews-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.reviews-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.reviews-link:hover {
    color: var(--hover-green);
    text-decoration: underline;
}

.reviews-separator {
    color: #dee2e6;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    
    z-index: 1;
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content p {
    opacity: 0.75;
    font-weight: 300;
    font-size: 1.1rem
}
.about-content a {
    color: #a9ef52
}

.about-content-item {
    padding: 40px 30px 20px;
    flex: 1;
}

.about-page-section .about-content-item {
    backdrop-filter: brightness(0.8);
    position: relative;
    z-index: 1;
    p {
        opacity: 0.7;
        font-weight: 500;
    }
    
}

.about-content-item:hover {
    .feature-icon {
        scale: 1.15;
        img {
            scale: 1.2;
            opacity: 1
        }
    }
    h3 {
        transform: translateY(12px);
    }
    p {
        transform: translateY(5px);
    }
    
}

/* About gallery row with uniform height */
.about-gallery-row {
    min-height: 500px;
}

/* Full height gallery image */
.about-gallery-image-full {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-gallery-image-full:hover {
    transform: scale(1.05);
}

.about-gallery-image-half {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-gallery-image-half:hover {
    transform: scale(1.05);
}

/* Legacy gallery image class for backward compatibility */
.about-gallery-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-gallery-image:hover {
    transform: scale(1.05);
}

.about-icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.about-icon-text {
    font-size: 0.75rem;
}

/* Feature cards styling */
.about-feature-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0 !important;
    transition: all 0.3s ease;
}

.about-feature-card:hover {
    background-color: #ffffff;
    border-color: var(--primary-green) !important;
    box-shadow: 0 4px 12px rgba(107, 156, 55, 0.15);
    transform: translateY(-2px);
}

/* Achievements section button */
.section-green .btn-light {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    color: var(--primary-green);
    border-radius: 50em;
}

.section-green .btn-light:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About section images - uniform size */
.about-section-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.about-stat h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.about-feature-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 1rem;
    background: rgba(40, 167, 69, 0.95);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    width: 90%;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.about-feature-subtitle {
    font-size: 0.7rem;
    text-align: center;
}

.about-text {
    font-size: 1.25rem !important;
    text-align: center;
    padding-inline: 40px;
    opacity: 0.85 !important;
    margin-bottom: 40px;
    font-weight: 500 !important;
}

.about-content-item h3,
.about-content-item p {
    transition: transform .4s cubic-bezier(.43,.9,.3,1.07);
}

/* ===== FEATURE ITEMS ===== */
.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    background: #5d8b2396;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: scale .3s cubic-bezier(.43,.9,.3,1.07);
}

.feature-icon img {
    width: 60px;
    height: 60px;
    opacity: 0.8;
    transition: scale .3s cubic-bezier(.43,.9,.3,1.07);
}

/* ===== VALUE SERVICE LIST ===== */
.value-service-list {
    list-style: none;
    padding: 0;
}

.value-service-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.value-service-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* ===== BLAZORED TEXT EDITOR ===== */
.ql-container {
    min-height: 250px;
    max-height: 400px;
    overflow-y: auto;
}

.ql-editor {
    min-height: 250px;
}

#productContentTabsContent .tab-pane {
    min-height: 350px;
}

/* ===== USER-GENERATED CONTENT ===== */
.user-edit {
    color: #333;
}

.user-edit ul,
.user-edit ol {
    color: #333;
    margin-left: 20px;
    margin-bottom: 10px;
}

.user-edit li {
    color: #333;
    margin-bottom: 5px;
}

.user-edit h1,
.user-edit h2,
.user-edit h3,
.user-edit h4,
.user-edit h5,
.user-edit h6 {
    color: #1a472a;
    margin-top: 15px;
    margin-bottom: 10px;
}

.user-edit p {
    color: #333;
    margin-bottom: 10px;
}

.user-edit a {
    color: #6b9c37;
    text-decoration: underline;
}

.user-edit a:hover {
    color: #5a8530;
}

.user-edit strong,
.user-edit b {
    color: #1a472a;
    font-weight: 600;
}

.user-edit em,
.user-edit i {
    font-style: italic;
}

/* ===== BLOG POST DETAIL PAGE ===== */
.blog-post-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.blog-post-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

.blog-post-hero-overlay {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-post-content h2 {
    font-size: 2rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* CKEditor image positioning styles */
.blog-post-content figure.image {
    display: table;
    clear: both;
    text-align: center;
    margin: 2rem auto;
}

.blog-post-content figure.image img {
    display: block;
    margin: 0 auto;
}

.blog-post-content .image-style-inline,
.blog-post-content img.image-style-inline {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
    max-width: 100%;
}

.blog-post-content .image-style-align-left {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
    max-width: 50%;
}

.blog-post-content img.image-style-align-left {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
    max-width: 50%;
}

.blog-post-content .image-style-align-center {
    display: block;
    margin: 1rem auto;
    max-width: 80%;
}

.blog-post-content .image-style-align-right,
.blog-post-content figure.image-style-align-right {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
    max-width: 50%;
}

.blog-post-content .image-style-block-align-left,
.blog-post-content figure.image-style-block-align-left {
    display: table;
    float: none;
    margin: 2rem auto 2rem 0;
    clear: both;
}

.blog-post-content .image-style-block-align-right,
.blog-post-content figure.image-style-block-align-right {
    display: table;
    float: none;
    margin: 2rem 0 2rem auto;
    clear: both;
}

.blog-post-content .image-style-block,
.blog-post-content figure.image-style-block,
.blog-post-content figure.image:not([class*="image-style-"]) {
    display: table;
    float: none;
    margin: 2rem auto;
    clear: both;
}

.blog-post-content .image-style-side,
.blog-post-content figure.image-style-side {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
    max-width: 50%;
}

.blog-post-content figure.image figcaption {
    display: table-caption;
    caption-side: bottom;
    word-break: break-word;
    color: #666;
    background-color: #f7f7f7;
    padding: 0.6rem;
    font-size: 0.9rem;
    text-align: center;
}

.blog-post-content::after {
    content: "";
    display: table;
    clear: both;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
    border-left: 4px solid #6b9c37;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.blog-post-content pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-post-content code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.blog-post-content a {
    color: #6b9c37;
    text-decoration: underline;
}

.blog-post-content a:hover {
    color: #5a8530;
}

/* ===== BLOG LISTING PAGE ===== */
.blog-card-thumbnail {
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 15px;
    transition: box-shadow 0.3s ease, scale 0.3s ease !important;
    box-shadow:
            0 30px 0px -20px rgba(12, 18, 31, 0),  
            0 8px 0px -10px rgba(12, 18, 31, 0),   
            0 2px 0px rgba(12, 18, 31, 0.0);
}

.blog-card-thumbnail:hover {
    scale: 1.02;
    box-shadow:
            0 30px 60px -20px rgba(12, 18, 31, 0.35),  
            0 8px 20px -10px rgba(12, 18, 31, 0.18),   
            0 2px 6px rgba(12, 18, 31, 0.06);
}

.blog-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    &:hover {
        img {
            scale: 1.2 !important;
        }
        .blog-card-overlay {
            opacity: 0.6;
        }
    }
}

.blog-card-image-wrapper img {
    transition: scale .3s cubic-bezier(.43,.9,.3,1.07);
}

.blog-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-start;
    transition: opacity .3s cubic-bezier(.43,.9,.3,1.07);
}

.blog-card-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ===== INTERACTIVE GREENHOUSE IMAGE ===== */
.greenhouse-interactive-image {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.greenhouse-interactive-image img {
    pointer-events: none;
    display: block;
}

.greenhouse-label {
    position: absolute;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    user-select: none;
    z-index: 100;
    pointer-events: auto;
}

.greenhouse-label:hover {
    background: rgba(107, 156, 55, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(107, 156, 55, 0.4);
}

.greenhouse-label:focus {
    outline: none;
    background: rgba(107, 156, 55, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
}

.greenhouse-features-list li {
    position: relative;
    padding-left: 0;
}

.greenhouse-features-list li strong {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* ===== BOOTSTRAP POPOVER CUSTOM STYLING ===== */
.popover {
    max-width: 350px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.popover-header {
    background: var(--primary-green);
    color: white;
    font-weight: 600;
    border: none;
}

.popover-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

/* ===== CUSTOM BLAZOR POPOVER ===== */
.popover-trigger {
    position: relative;
    display: inline-block;
    z-index: 100;
    pointer-events: auto;
}

.custom-popover {
    position: absolute;
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1060;
    max-width: 350px;
    min-width: 250px;
    animation: popoverFadeIn 0.2s ease-in-out;
    display: block;
    white-space: normal;
}

@keyframes popoverFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.custom-popover-header {
    background: var(--primary-green);
    color: white;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    font-size: 1rem;
    display: block;
    text-shadow: none;
}

.custom-popover-body {
    padding: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    display: block;
    font-weight: normal;
    text-shadow: none;
}

.custom-popover-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.custom-popover.placement-bottom {
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
}

.custom-popover.placement-bottom .custom-popover-arrow {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent var(--primary-green) transparent;
}

.custom-popover.placement-top {
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
}

.custom-popover.placement-top .custom-popover-arrow {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0 10px;
    border-color: white transparent transparent transparent;
}

.custom-popover.placement-left {
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
}

.custom-popover.placement-left .custom-popover-arrow {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.custom-popover.placement-right {
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
}

.custom-popover.placement-right .custom-popover-arrow {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* ===== GALLERY STYLES (HOW IT WORKS PAGE) ===== */
.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.gallery-image {
    transition: transform 0.3s ease;
    object-fit: cover;
    height: 250px;
    width: 100%;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* ===== PRODUCT SEARCH COMPONENT ===== */
.product-search-container {
    position: relative;
}

.product-search-container .header-icon {
    cursor: pointer;
    transition: color 0.2s ease;
}

.product-search-container .header-icon:hover {
    color: var(--primary-green, #6b9c37);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.search-input {
    width: 250px;
    height: 40px;
    border: 2px solid var(--primary-green, #6b9c37);
    border-radius: 20px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--light-green, #82c341);
    box-shadow: 0 0 0 0.2rem rgba(107, 156, 55, 0.25);
    width: 300px;
}

.btn-close-search {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.btn-close-search:hover {
    color: var(--primary-green, #6b9c37);
}

.btn-close-search i {
    font-size: 1.2rem;
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary-green, #6b9c37);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1050;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.search-result-price {
    font-size: 0.85rem;
    color: var(--primary-green, #6b9c37);
    font-weight: 500;
}

.search-no-results {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* ===== UTILITY CLASSES ===== */
.bg-dark-transparent {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px) ;
    color: #fff;
    position: relative;
    z-index: 2;
    h1, p {
        color: #fff;
    }
    p {
        opacity: 0.7;
        font-weight: 500;
    }
}

.text-accent-green {
    color: #9fce63 !important;
}

/* ===== BLAZOR ERROR UI ===== */
#blazor-error-ui {
    display: none;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ===== BLAZOR RECONNECT MODAL - COMPACT TOAST ===== */
/* Override default Blazor reconnect UI with compact bottom-left toast */
#components-reconnect-modal {
    background-color: #6b9c37 !important; /* GREEN background */
    backdrop-filter: blur(10px) !important;
    width: 280px !important;
    max-width: 90vw !important;
    margin: 0 !important;
    padding: 1rem 1.25rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important; /* White semi-transparent border */
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(107, 156, 55, 0.5) !important;
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    top: auto !important; /* Override any top positioning */
    right: auto !important; /* Override any right positioning */
    transform: translateY(0) !important;
    z-index: 9999 !important;
}

#components-reconnect-modal[open] {
    opacity: 1 !important;
    display: block !important; /* Ensure it shows when using .show() instead of .showModal() */
}

/* No backdrop needed - using .show() instead of .showModal() so page remains interactive */

#components-reconnect-modal p {
    margin: 0 !important;
    font-size: 0.875rem !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
}

#components-reconnect-modal button {
    border: 0 !important;
    background-color: #ffffff !important; /* White button */
    color: #6b9c37 !important; /* GREEN text #6b9c37 */
    padding: 0.375rem 0.875rem !important;
    border-radius: 6px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

#components-reconnect-modal button:hover {
    background-color: #f0f0f0 !important; /* Light gray on hover */
    color: #5a8530 !important; /* Darker green on hover */
}

.components-reconnect-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.components-rejoining-animation {
    width: 24px !important;
    height: 24px !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.components-rejoining-animation div {
    border: 2px solid rgba(255, 255, 255, 0.8) !important; /* White spinner on green background */
}

/* Mobile adjustments */

/* ===== RESPONSIVE STYLES ===== */

.products {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

.product {
    display: grid;
    grid-template-columns: subgrid;
    gap: inherit;
}

/* ===== CUSTOM SOLUTIONS SECTION ===== */
.custom-solutions-section {
    background: #f8f9fa;
}

.custom-solutions-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.custom-solutions-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.custom-solutions-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.solution-feature {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.solution-feature:hover {
    transform: translateY(-5px);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.solution-feature:hover .solution-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.solution-icon i {
    font-size: 1.8rem;
    color: white;
}

.custom-solutions-card .btn-light {
    background: white;
    border: none;
    color: var(--primary-green);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.custom-solutions-card .btn-light:hover {
    background: #f8f9fa;
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ===== HORTICULTURAL FEATURES SECTION (SIMPLE ZIGZAG LAYOUT) ===== */
.horticultural-features {
    background: #f8f9fa;
}

.feature-row {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* Feature images - display at natural size, scale down on smaller screens */
.feature-image {
    max-width: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Benefits Section - Simple styling */
.benefits-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.benefits-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
}

.benefits-section p {
    color: #666;
    line-height: 1.7;
}

/* Responsive Styles */

/*AOS*/
[data-aos="fade-up"] {
    transform: translateY(30px); 
}

[data-aos=zoom-out] {
    transform: scale(1.1); 
}

/*services box*/
.services-box {
    display: flex;
    position: relative;
    overflow: hidden;
    &:hover2 {
        .services-left-wrap{
            transform: translateX(-75%);
        }
        .services-right-wrap{
            .service-right-image {
                width: 100% !important;
            }
        }
        .diagonal-overlay-wrap {
            transform: translateX(-80%) rotate(0deg) scale(1.2);
            
        }
    }
    
    
}

.services-left-wrap {
    transition: all 1.1s cubic-bezier(.43,.9,.3,1.07);
    width: 85%;
    z-index: 4;
    position: relative;
    margin-left: -20px;
}

.services-right-wrap {
    
    overflow: hidden;
    height: 100%;
}
/* Left Content Section */
.services-left-section {
    
    background:  #1c240c;
    color: white;
    padding: 40px 200px 40px 100px;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
    
    
}

.services-left-content {
    position: relative;
    z-index: 2;
}
.services-left-section-overlay {
        position: absolute;
        background-image: url('/images/d/leaf.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left bottom;
        opacity: 0.3;
        width: 60%;
        height: 60%;
        left: 0;
        bottom: -80px;
        mix-blend-mode: soft-light;
        pointer-events: none;
        z-index: 1;
    
    
}

.diagonal-overlay-wrap {
    transition: all 1.1s cubic-bezier(.43,.9,.3,1.07);
    width: calc(85% + 60px);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1;
}

.diagonal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #df6028;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0% 100%);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-left-title {
    font-size: 3.12rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #aab242;
    margin-bottom: 10px;
}

.services-left-subtitle {
    font-size: 1.55rem;
    color: #888e35;
    margin-bottom: 50px;
    font-weight: 300;
}

.intro-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.services-grid {
    
    gap: 15px;
    margin-bottom: 40px;
    column-count: 2;
    column-gap: 40px;
}

.service-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #f4f4e2;
}

.checkmark {
    color: #b8d96f;
    height: 31px;
    svg {
        width: 20px;
        height: 20px;
        transform: translateY(-3px);
    }
}

.service-description {
    color: #b3b3a5;
    line-height: 1.3;
}

.services-footer-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0
}

/* Right Image Section */
.services-right-section {
    position: absolute;
    height: 100%;
    top: 0;
    right: 0;
    width: 100%
    
}

.services-right-wrap {
    width: 100%;
    position: absolute;
}

.image-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%);
    position: relative;
}

.service-right-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 40% !important;
    height: 100%;
    transition: all 1.1s cubic-bezier(.43,.9,.3,1.07);
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 1.1s cubic-bezier(.43,.9,.3,1.07);
        object-position: center;
    }
}

.placeholder-image {
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    right: 0;
    top: 0;

 
    position: absolute;
    
}

.image-caption {
    position: absolute;
    bottom: 40px;
    right: 0;
    background: rgba(29, 37, 12, 0.7);
    padding: 15px 26px;
    border-radius: 5px 0 0 5px;
    z-index: 3;
    color: #fff;
    width: 30%;
    backdrop-filter: blur(3px) brightness(1.2);
    
}

.caption-title {
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: 5px;
}

.caption-subtitle {
    font-size: 0.95rem;
    line-height: 1;
}

/*footer*/
.footer-img {
        bottom: -1px;
    position: relative;
        background-image: url('/images/d/footer03c.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 75% bottom;
        background-color: #f8f9fa;
        width: 100%;
        height: 200px;
        

        pointer-events: none;
    
}
.bg-footer {
    background: #2d4a2b;
    position: relative;
    overflow: hidden;
    &::before {
        content: "";
        position: absolute;
        background-image: url('/images/d/leaf.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left bottom;
        opacity: 0.1;
        width: 100%;
        height: 100%;
        right: -80px;
        top: -120px;
        mix-blend-mode: soft-light;
        pointer-events: none;
        transform: rotate(180deg) ;
    }

    
}
.left-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    img {
        width: 140px;
    }
    
}

.text-footer {
    color: #f4f4e2;
}

.link-footer {
    color: #f4f4e2;
}

.text-footer-muted {
    color: #b8d96f;
}

.link-footer {
    color: #f4f4e2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-footer:hover {
    color: #9ba42c;
    transform: translateX(5px);
    display: inline-block;
}

.social-icon {
    color: #d4e4c4;
    font-size: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #b8d96f;
    transform: translateY(-5px);
}

.footer-title {
    color: #b8d96f;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.border-footer {
    border-color: rgba(184, 217, 111, 0.2) !important;
}

.link-orange {
    color: #f4f4e2;
    
    font-weight: 400;
}

.link-orange:hover {
    color: #a8c878;
    
}

/*Badges*/
.badges-icon,
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.badges-icon {
    margin-bottom: 10px;
} 
.badge-icon {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    gap: 10px;
    padding: 0 10px;
    
    color: #40403f;
    font-size: 16px;
    font-weight: 500;
    /*}*/
    .ico {
        color: #5d832f;
        width: 32px;
        height: 32px;
        transform: translateY(-2px);
    }
    &.badge-therm {
        .ico {
            transform: unset;
        }
    }
}
.badge {
    background: #eef7e4;
    border-radius: 50em;
    padding: 10px 20px;
    font-weight: 500;
    color: #40403f;
    font-size: 16px;
    
    display: inline-flex;
}

.warranty {
    --warranty-size: 100px;
    width: var(--warranty-size);
    height: var(--warranty-size);
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    pointer-events: none;
    z-index: 2;
    .warranty-text {
        position: absolute;
        bottom: 42px;
        display: flex;
        flex-direction: column;
        line-height: 1;
        justify-content: center;
        text-align: center;
        width: 100%;
        color: black;
        z-index: 2;
        text-transform: uppercase;
        font-weight: 600;
        strong {
            font-weight: 900;
            font-size: 26px
        }
    }
    .warranty-icon {
        position: relative;
        z-index: 1;
        .ico {
            width: var(--warranty-size);
            height: var(--warranty-size);
            filter: drop-shadow( 0px 0px 19px rgba(255, 255, 255, 0.4))
        }
        
    }
    
    &.year-1 {
        .warranty-icon {color: #818181}
    }
    &.year-2 {
        .warranty-icon {color: #818181}
    }
    &.year-3 {
        .warranty-icon {color: #535353}
    }
    &.year-4 {
        .warranty-icon {color: #2d2d2d}
    }
    &.year-5 {
        .warranty-icon {color: #010403}
    }
}

/*MODAL*/
/* Prevent body and header from shifting when modal opens */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Ensure fixed elements don't shift */
body.modal-open .header-fixed {
    padding-right: 0 !important;
}

html {
    overflow-y: scroll;
}

.modal-img-wrap {
    backdrop-filter: blur(10px);
    background-color: #2c2c2c69;
    .modal-dialog {
        justify-content: center;
    }
    .btn-close {
        top: 10px;
        right: 10px;
        position: absolute;
        opacity: 1;
        transform: scale(1.5);
        transform-origin: top right;
        &:hover {
            opacity: 0.8;
        }
    }
    .modal-content {
        background: unset !important;
        border: unset  !important;
        width: auto !important;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== CART PAGE STYLES ===== */

/* Cart page item card - enhanced design similar to ProductDetail */
.cart-page-item-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem !important;
    border: 1px solid #00000017
}

/*}*/

.cart-page-item-card .card-body {
    padding: 1.5rem !important;
}

/* Cart page product image styling */
.cart-page-product-image {
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    transition: all 0.3s ease;
    padding: 0;
}

.cart-page-product-image img {
    transition: transform 0.3s ease;
}

.cart-page-item-card:hover .cart-page-product-image img {
    transform: scale(1.05);
}

/* Cart page product title */
.cart-page-product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* Cart page quantity controls - matching ProductDetail style */
.cart-page-quantity-controls {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cart-page-quantity-controls:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(107, 156, 55, 0.1);
}

.cart-page-qty-btn {
    width: 30px;
    height: 44px;
    border: none;
    background: white;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-page-qty-btn:hover:not(:disabled) {
    background: var(--primary-green);
    color: white;
}

.cart-page-qty-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.cart-page-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cart-page-qty-input {
    width: 50px;
    height: 44px;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.cart-page-qty-input:focus {
    outline: none;
    background: white;
}

.cart-page-qty-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Remove spinner arrows from number input */
.cart-page-qty-input::-webkit-outer-spin-button,
.cart-page-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-page-qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Cart page price display */
.cart-page-price-display {
    text-align: right;
}

.cart-page-total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.cart-page-unit-price {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

/* Cart page remove button - icon only */
.cart-page-remove-btn {
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.cart-page-remove-btn i {
    font-size: 1rem;
}

.cart-page-remove-btn:hover:not(:disabled) {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.cart-page-remove-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cart page action buttons */
.cart-page-continue-shopping {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cart-page-continue-shopping:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 156, 55, 0.3);
}

.cart-page-clear-cart {
    background: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-page-clear-cart:hover:not(:disabled) {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.cart-page-clear-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cart page summary sidebar - compact like shopping cart */
.cart-page-summary-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: sticky;
    top: 100px;
}

.cart-page-summary-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--hover-green) 100%);
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.cart-page-summary-header h5 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin: 0;
}

.cart-page-summary-header i {
    font-size: 1.25rem;
    color: white;
}

.cart-page-summary-body {
    padding: 10px;
}

.cart-page-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 10px;
    font-size: 0.95rem;
}

.cart-page-summary-row:not(:last-of-type) {
    border-bottom: none;
}

.cart-page-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.cart-page-summary-total strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.cart-page-summary-total .text-success {
    font-size: 1.5rem;
    font-weight: 700;
}

.cart-page-checkout-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--hover-green) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    width: auto;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(107, 156, 55, 0.2);
    margin: 0 10px;
}

.cart-page-checkout-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.cart-page-checkout-btn:hover {
    background: linear-gradient(135deg, var(--hover-green) 0%, var(--dark-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(107, 156, 55, 0.4);
    color: white;
}

.cart-page-checkout-btn:hover i {
    transform: scale(1.15);
}

.checkout-items {
    max-height: 700px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar */
.checkout-items::-webkit-scrollbar {
    width: 3px;
}

.checkout-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.checkout-items::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.checkout-items::-webkit-scrollbar-thumb:hover {
    background: var(--hover-green);
}

.cart-page-secure-badge {
    text-align: center;
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.cart-page-secure-badge i {
    color: var(--primary-green);
    font-size: 0.875rem;
}

/* Cart page empty state */
.cart-page-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-page-empty-icon {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.cart-page-empty h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.cart-page-empty p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.cart-page-start-shopping {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--hover-green) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(107, 156, 55, 0.3);
}

.cart-page-start-shopping:hover {
    background: linear-gradient(135deg, var(--hover-green) 0%, var(--dark-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 156, 55, 0.4);
    color: white;
}

/* Cart page dimension badge - like product card badge */
.cart-page-dimension-badge {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Cart page weight display */
.cart-page-weight {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cart-page-weight i {
    color: var(--primary-green);
}

/* Loading spinner for updating items */
.cart-page-updating-spinner {
    display: inline-block;
    margin-top: 0.5rem;
}

/* Responsive styles */

#ctl-video {
    position: relative;
    z-index: 1;
}

.text-white a {
    color: rgba(255, 255, 255, 0.78)
}


.product-info:has(.sizes-buttons .btn:nth-child(21)) {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
.sizes-buttons:has(.btn:nth-child(21)) { 
    gap: 4px !important;
    .btn {
        padding: 0.2rem 0.35rem !important;
        font-size: 12px;
    }
    
    
}
@media (min-width: 768px) { /* md */
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .mobile-search-overlay {
        display: none !important;
    }

    .search-icon-mobile {
        display: none !important;
    } /* lg */
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1400px) {
    .services-left-wrap {
        width: 75%;
    }
    .diagonal-overlay-wrap {
        width: calc(70% + 120px);
    }
    .service-right-image {
        width: 60% !important;
    }
}
@media (min-width: 1500px) {
    .hero-how-it-works {
        background-image: url('/images/d/hero-how-it-works-2000.webp');
    }
}
@media (min-width: 1600px) {
    .services-left-wrap {
        width: 70%;
    }
    .services-left-section-content {
        max-width: 90%
    }
    .service-right-image {
        width: 50% !important;
    }
}
@media (max-width: 1400px) {
    .blog-card-title {
        font-size: 1rem;
    }
}
@media (max-width: 992px) {
    .blog-card-title {
        font-size: 0.95rem;
    }

    .search-input {
        width: 200px;
    }

    .search-input:focus {
        width: 250px;
    }
}
@media (max-width: 991px) {
    #main-nav-items .nav-item {
        display: none !important;
    }

    #nav-hamburger {
        display: block !important;
    }
    .desktop-search {
        display: none;
    }

    .search-icon-mobile {
        display: block;
    }
    .product-thumbnails {
        grid-template-columns: repeat(6, 1fr);
    }
    .cart-sidebar-card {
        margin-top: 2rem;
    }
    .feature-title {
        font-size: 1.3rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }
    .cart-page-summary-card {
        margin-top: 2rem;
        position: relative;
        top: 0;
    }
}
@media (max-width: 968px) {
    .services-box {
        flex-direction: column;
    }

    
    .services-right-section {
        min-height: 400px;
    }

    .services-left-title {
        font-size: 2rem;
    }

    .diagonal-overlay {
        display: none;
    }

    .image-caption {
        bottom: 20px;
        right: 0px;
        padding: 15px 20px;
    }
}
@media (max-width: 768px) {

    /* Fixed height for hero on mobile to prevent layout shift when address bar appears/disappears */
    .hero-section {
        min-height: 400px;
        height: 50vh;
        max-height: 500px;
    }

    .hero-section-min {
        height: 80px;
        min-height: 80px;
        margin-top: 100px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .product-image-container {
        height: 200px;
    }

    .product-title-enhanced {
        font-size: 1rem;
    }

    

    .btn-product-action {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .blog-post-hero {
        height: 300px;
    }

    .blog-post-content {
        font-size: 1rem;
    }

    .blog-post-content .image-style-side,
    .blog-post-content .image-style-align-left,
    .blog-post-content .image-style-align-right,
    .blog-post-content figure.image-style-side,
    .blog-post-content figure.image-style-align-left,
    .blog-post-content figure.image-style-align-right {
        float: none;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .blog-post-content .image-style-align-center {
        max-width: 100%;
    }

    .blog-card-title {
        font-size: 1rem;
    }

    .blog-card-image-wrapper {
        padding-bottom: 60%;
    }

    .greenhouse-label {
        font-size: 1.2rem !important;
        padding: 6px 12px;
    }

    .popover,
    .custom-popover {
        max-width: 280px;
    }

    .gallery-image {
        height: 200px;
    }

    /* Responsive adjustments for gallery row */
    .about-gallery-row {
        min-height: 400px;
    }

    .about-gallery-image-full {
        min-height: 400px;
    }

    .about-gallery-image-half {
        min-height: 190px;
    }

    /* Legacy class */
    .about-gallery-image {
        height: 180px;
    }

    .about-section-image {
        height: 350px;
    }

    .about-icon-image {
        width: 50px;
        height: 50px;
    }

    .about-feature-badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .search-input {
        width: 200px;
    }

    .search-input:focus {
        width: 250px;
    }

    .search-results-dropdown {
        max-height: 300px;
    }
    .cart-page-item-card .card-body {
        padding: 1rem !important;
        padding-top: 5px !important;
    }

    .cart-page-product-title {
        font-size: 1.1rem;
    }

    .cart-page-total-price {
        font-size: 1.25rem;
    }

    .cart-page-qty-input {
        width: 60px;
    }

    .cart-page-summary-total .text-success {
        font-size: 1.5rem;
    }
}
@media (max-width: 767px) {
    .custom-solutions-card {
        padding: 2rem !important;
    }

    .solution-icon {
        width: 60px;
        height: 60px;
    }

    .solution-icon i {
        font-size: 1.5rem;
    }

    .custom-solutions-card .btn-light {
        padding: 0.75rem 2rem !important;
    }
    .feature-title {
        font-size: 1.2rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    .feature-image {
        margin-bottom: 1rem;
    }
}
@media (max-width: 640px) {
    .services-left-section {
        padding: 30px 25px;
    }

    .services-left-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 0.95rem;
        padding-left: 30px;
    }

    .footer-text {
        font-size: 0.95rem;
    }

    .image-caption {
        bottom: 15px;
        right: 15px;
        left: 15px;
        padding: 12px 18px;
    }

    .caption-title {
        font-size: 1rem;
    }

    .caption-subtitle {
        font-size: 0.9rem;
    }
}
@media (max-width: 576px) {

    .weight-display {
        justify-content: space-between;
    }
    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .thumbnail-item img {
        height: 70px;
    }
    .cart-sidebar-header {
        padding: 1rem 1.25rem;
    }

    .cart-sidebar-icon {
        font-size: 1.25rem;
    }

    .cart-sidebar-title {
        font-size: 1rem;
    }

    .cart-sidebar-body {
        padding: 1.25rem;
    }

    .cart-item {
        padding: 0.875rem;
    }

    .cart-item-name {
        font-size: 0.85rem;
    }

    .cart-item-price {
        font-size: 0.9rem;
    }

    .cart-total-section {
        padding: 1rem;
    }

    .cart-total-label {
        font-size: 1rem;
    }

    .cart-total-amount {
        font-size: 1.25rem;
    }

    .cart-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    .price-amount {
        font-size: 1.75rem;
    }

    .add-to-cart-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    #components-reconnect-modal {
        bottom: 10px !important;
        left: 10px !important;
        width: 260px !important;
        padding: 0.875rem 1rem !important;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-section-min {
        height: 70px;
    }

    .product-image-container {
        height: 180px;
    }

    

    .category-pill {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .product-title-enhanced {
        font-size: 0.95rem;
    }

    

    .price-current {
        font-size: 1.1rem;
    }

    .blog-card-title {
        font-size: 1.2rem;
    }

    .greenhouse-label {
        font-size: 1rem !important;
        padding: 4px 10px;
    }

    .custom-popover {
        max-width: 250px;
    }

    .custom-popover-body,
    .popover-body {
        font-size: 0.85rem;
    }

    .gallery-image {
        height: auto;
        min-height: 180px;
    }

    /* Responsive adjustments for small screens */
    .about-gallery-row {
        min-height: 350px;
    }

    .about-gallery-image-full {
        min-height: 350px;
    }

    .about-gallery-image-half {
        min-height: 165px;
    }

    /* Legacy class */
    .about-gallery-image {
        height: 150px;
    }

    .about-section-image {
        height: 300px;
    }

    .about-icon-image {
        width: 45px;
        height: 45px;
    }

    .about-icon-text {
        font-size: 0.7rem;
    }

    .about-feature-badge {
        width: 95%;
        padding: 0.4rem 0.75rem;
    }

    .about-feature-subtitle {
        font-size: 0.65rem;
    }

    

    .search-input {
        width: 100%;
    }

    .search-input:focus {
        width: 100%;
    }

    .search-results-dropdown {
        position: fixed;
        top: 120px;
        left: 1rem;
        right: 1rem;
        max-height: calc(100vh - 140px);
    }
    .cart-page-summary-header {
        padding: 1rem 1.25rem;
    }

    .cart-page-summary-header i {
        font-size: 1.25rem;
    }

    .cart-page-summary-header h5 {
        font-size: 1rem;
    }

    .cart-page-summary-body {
        padding: 1.25rem;
    }

    .cart-page-summary-row {
        font-size: 0.9rem;
    }

    .cart-page-summary-total strong {
        font-size: 1rem;
    }

    .cart-page-summary-total .text-success {
        font-size: 1.25rem;
    }

    .cart-page-checkout-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    .product-info:has(.sizes-buttons .btn:nth-child(21)) {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .nav-tabs {
        border-bottom: unset;
        margin-bottom: 5px;
        .nav-link {
            border-radius: var(--bs-nav-tabs-border-radius);
            &.active {
                border: 1px solid var(--bs-border-color) !important;
            }
        }
    }
    .tab-content {
        border-radius: 8px;
        border-top: 1px solid #dee2e6
    }

    .payment-actions-buttons {
        flex-direction: column-reverse;
        gap: 10px;
        .btn {
            width: 100%;
        }
    }
}
@media (max-width: 575px) {
    .badge {
        padding: 10px 14px;
        font-size: 15px;
    }
    .badge-icon {
        padding: 0 5px;
        font-size: 15px;
    }
}

.animated-text-checkout {
    margin-top: 2rem;
    background: #f0f0f0;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 1rem
}

/* Animated text base styles with sliding light effect */
.animated-text {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.animated-text > span{
    display: inline-block;
    opacity: 0;
    transform: translateY(-5px) scale(3) translateX(6px);
    transition: opacity 250ms ease-in-out, transform 350ms ease-in-out, filter 700ms ease-in-out;
    white-space: pre;
    filter: blur(2px);
}

.animated-text > span.visible{
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Sliding light effect - first layer */
.animated-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 1) 100%
    );
    mix-blend-mode: color-dodge;
    transform: skewX(-20deg);
    animation: slide 2s infinite;
}

/* Sliding light effect - second layer */
.animated-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.7) 100%
    );
    mix-blend-mode: overlay;
    transform: skewX(-15deg);
    animation: slide-slow 2s infinite;
    animation-delay: 0.075s;
}

/* Keyframe animation for first light layer */
@keyframes slide {
    0% {
        left: -80%;
    }
    100% {
        left: 220%;
    }
}

/* Keyframe animation for second light layer */
@keyframes slide-slow {
    0% {
        left: -60%;
    }
    100% {
        left: 220%;
    }
}

