/* PlantCia - Plant Theme Styles */

:root {
    --primary-color: #2d5016;
    --secondary-color: #4a7c2a;
    --accent-green: #4a7c2a;
    --accent-dark-green: #2d5016;
    --accent-light-green: #6b9f3d;
    --accent-earth: #8b6f47;
    --accent-brown: #6b4e3d;
    --dark-color: #2c2c2c;
    --light-color: #f8f8f8;
    --bg-cream: #f5f8f0;
    --bg-green-light: #e8f5e3;
    --bg-earth-light: #f5ede3;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-royal: 'Cinzel', 'Cormorant Garamond', serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-royal);
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Product Cards - Enhanced & Beautiful with 3D Effects */
.product-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 124, 42, 0.05) 0%, rgba(107, 159, 61, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover {
    border-color: transparent;
    box-shadow: 0 25px 60px rgba(45, 80, 22, 0.25);
    transform: translateY(-12px) scale(1.03) rotateX(2deg) rotateY(-2deg);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f8f0 0%, #e8f5e3 100%);
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(1) saturate(1);
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.05) saturate(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--accent-green) 100%);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.wishlist-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.wishlist-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.product-compare-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

/* Product Page Price Styles */
.product-price-section {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.product-price-elegant {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-primary);
    line-height: 1.2;
}

.product-compare-price-elegant {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--accent-green) 100%);
    border: none;
    color: #fff;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-light-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
    color: #fff;
}

.btn-outline-primary {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.btn-outline-primary:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Enhanced Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-card {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Additional Link Style Overrides */
.nav-link, .page-link, .btn, button {
    text-decoration: none !important;
}

.nav-link:hover, .page-link:hover {
    text-decoration: none !important;
}

/* Enhanced Pagination */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 3px;
    border: 2px solid rgba(74, 124, 42, 0.2);
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(45, 80, 22, 0.2);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--accent-green) 100%);
    border-color: var(--accent-green);
    color: #fff;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Base Mobile Styles (up to 576px) */
@media (max-width: 576px) {
    /* Typography - Reduced font sizes for mobile */
    body {
        font-size: 14px;
        line-height: 1.6;
    }
    
    h1 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    h2 {
        font-size: 1.3rem !important;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    h3 {
        font-size: 1.15rem !important;
        line-height: 1.3;
    }
    
    h4 {
        font-size: 1.05rem !important;
    }
    
    h5 {
        font-size: 1rem !important;
    }
    
    h6 {
        font-size: 0.95rem !important;
    }
    
    /* Product Cards - 2 per row on mobile */
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 8px;
    }
    
    .product-image {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
    
    .product-card {
        margin-bottom: 15px;
        border-radius: 15px;
    }
    
    .product-card .card-body {
        padding: 0.75rem 1rem;
    }
    
    .product-card .card-title {
        font-size: 0.85rem;
        min-height: 2.2rem;
        max-height: 2.2rem;
        line-height: 1.3;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .product-compare-price {
        font-size: 0.8rem;
    }
    
    .product-price-elegant {
        font-size: 1.5rem;
    }
    
    .product-compare-price-elegant {
        font-size: 1rem;
    }
    
    /* Buttons - Smaller on mobile */
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.6rem 1.25rem;
    }
    
    .btn-sm {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
    
    /* Container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Icons - Ensure proper sizing */
    .fas, .far, .fal, .fab {
        font-size: inherit;
    }
    
    .nav-link i {
        font-size: 1rem;
    }
    
    /* Cart and Wishlist icons - Fixed positioning */
    .cart-count, .wishlist-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
}

/* Tablet Styles (577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.6rem !important;
    }
    
    h3 {
        font-size: 1.4rem !important;
    }
    
    .product-image {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    .product-price-elegant {
        font-size: 1.75rem;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    h1 {
        font-size: 1.3rem !important;
    }
    
    h2 {
        font-size: 1.15rem !important;
    }
    
    .product-image {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
    
    .product-card .card-title {
        font-size: 0.8rem;
        min-height: 2rem;
        max-height: 2rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.9rem;
    }
}

/* Remove All Link Decorations */
a {
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none !important;
    color: inherit;
}

a:focus {
    text-decoration: none !important;
    outline: none;
}

a:visited {
    text-decoration: none !important;
}

/* Enhanced Category Cards with 3D Effects */
.category-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.category-card .product-image {
    background: linear-gradient(135deg, #f5f8f0 0%, #e8f5e3 50%, #f5f8f0 100%);
    position: relative;
}

.category-card .product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 124, 42, 0.05) 0%, rgba(107, 159, 61, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-card:hover .product-image::before {
    opacity: 1;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 124, 42, 0.08) 0%, rgba(107, 159, 61, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.category-card:hover::after {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02) rotateX(1deg);
    box-shadow: 0 20px 50px rgba(45, 80, 22, 0.2);
}

.category-card .card-body {
    background: linear-gradient(180deg, #fff 0%, #f8f9f5 100%);
    padding: 1rem 1.2rem;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(74, 124, 42, 0.1);
}

.category-card .card-title {
    font-family: var(--font-royal);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-card:hover .card-title {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-light-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-1px);
}

.category-card .text-muted {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666 !important;
}

/* Enhanced Product Card Body - Compact */
.product-card .card-body {
    padding: 1rem 1.2rem;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border-radius: 0 0 20px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(74, 124, 42, 0.08);
}

.product-card .card-title {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.5rem;
    max-height: 2.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover .card-title {
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Beautiful Filter Sidebar for Shop Page */
.filter-sidebar {
    background: linear-gradient(180deg, #fff 0%, #f8f9f5 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(74, 124, 42, 0.1);
    position: sticky;
    top: 100px;
    transition: all 0.3s ease;
}

.filter-sidebar:hover {
    box-shadow: 0 12px 35px rgba(45, 80, 22, 0.15);
    border-color: rgba(74, 124, 42, 0.2);
}

.filter-sidebar h5 {
    font-family: var(--font-royal);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(74, 124, 42, 0.2);
    position: relative;
}

.filter-sidebar h5::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-light-green));
    border-radius: 2px;
}

.filter-sidebar h6 {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--accent-green);
}

.filter-sidebar .form-control {
    border-radius: 10px;
    border: 2px solid rgba(74, 124, 42, 0.2);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-sidebar .form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 42, 0.15);
    outline: none;
}

.filter-sidebar .btn-primary {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.filter-sidebar .list-unstyled {
    margin: 0;
    padding: 0;
}

.filter-sidebar .list-unstyled li {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.filter-sidebar .list-unstyled li:hover {
    background: rgba(74, 124, 42, 0.05);
    padding-left: 0.5rem;
}

.filter-sidebar .list-unstyled li a {
    color: var(--dark-color);
    font-weight: 500;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.filter-sidebar .list-unstyled li a i {
    margin-right: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    width: 16px;
    text-align: center;
}

.filter-sidebar .list-unstyled li a:hover i {
    opacity: 1;
    color: var(--accent-green);
}

.filter-sidebar .list-unstyled li a.fw-bold {
    color: var(--accent-green);
    font-weight: 700;
    background: rgba(74, 124, 42, 0.1);
}

.filter-sidebar .list-unstyled li a.fw-bold::before {
    opacity: 1;
}

/* Enhanced Card Buttons - Compact */
.product-card .btn-primary,
.product-card .btn-outline-primary {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.product-card .btn-primary:hover,
.product-card .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.product-card .gap-2 {
    gap: 0.5rem !important;
}

/* Image Magnifier Effect for Product Page */
.magnifier-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: crosshair;
}

.magnifier-image {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
    display: block;
}

.magnifier-lens {
    position: absolute;
    border: 2px solid rgba(74, 124, 42, 0.8);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    pointer-events: none;
    display: none;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.magnifier-wrapper:hover .magnifier-lens {
    display: block;
}

.magnifier-wrapper:hover .magnifier-image {
    transform: scale(1.5);
}

/* Product Gallery Styles */
.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #f5f8f0;
    padding: 10px;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.thumbnail-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail-wrapper:hover {
    border-color: var(--accent-green);
    transform: scale(1.05);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Banner Section - Two Column Layout */
.hero-banner-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fdf8 0%, #f0f8f0 50%, #f8fdf8 100%);
    padding: 0;
    margin-bottom: 60px;
}

.hero-banner-slide {
    position: relative;
    width: 100%;
    height: 550px;
    min-height: 550px;
    max-height: 550px;
}

/* Text Section - Left */
.hero-banner-content-wrapper {
    padding: 80px 60px;
    height: 550px;
    min-height: 550px;
    max-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 253, 248, 0.98) 100%);
    overflow: hidden;
}

.hero-banner-content {
    max-width: 600px;
    position: relative;
}

.hero-banner-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    position: relative;
}

.hero-banner-title .title-green {
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    position: relative;
}

.hero-banner-description {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-banner-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent-dark-green) 0%, var(--accent-green) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hero-banner-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.hero-banner-btn:hover::before {
    left: 100%;
}

.hero-banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(45, 80, 22, 0.4);
    color: #fff;
}

.hero-banner-btn:active {
    transform: translateY(-1px);
}

/* Image Section - Right */
.hero-banner-image-wrapper {
    position: relative;
    width: 100%;
    height: 550px;
    min-height: 550px;
    max-height: 550px;
    overflow: hidden;
}

.hero-banner-image-container {
    position: relative;
    width: 100%;
    height: 550px;
    min-height: 550px;
    max-height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f8f0 0%, #e8f5e3 100%);
}

.hero-banner-image {
    width: 100%;
    height: 550px;
    min-height: 550px;
    max-height: 550px;
    object-fit: contain;
    object-position: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.6s ease;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #f5f8f0 0%, #e8f5e3 100%);
}

.hero-banner-slide:hover .hero-banner-image {
    transform: scale(1.05);
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.1) 0%, rgba(74, 124, 42, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-banner-placeholder {
    width: 100%;
    height: 550px;
    min-height: 550px;
    max-height: 550px;
    background: linear-gradient(135deg, var(--bg-green-light) 0%, var(--bg-cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--accent-green);
    opacity: 0.3;
}

/* Connection Effect - Seamless Integration */
.hero-banner-slide::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, rgba(74, 124, 42, 0.2) 20%, rgba(74, 124, 42, 0.2) 80%, transparent 100%);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-banner-content-wrapper::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 253, 248, 0.98) 100%);
    border-radius: 50%;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-banner-image-wrapper::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(248, 253, 248, 0.2) 100%);
    border-radius: 50%;
    z-index: 2;
}

/* Slick Slider Customization for Banner */
.hero-banner-slider {
    position: relative;
}

.hero-banner-slider .slick-dots {
    bottom: 30px;
    z-index: 10;
}

.hero-banner-slider .slick-dots li button:before {
    color: var(--accent-green);
    font-size: 12px;
    opacity: 0.5;
}

.hero-banner-slider .slick-dots li.slick-active button:before {
    color: var(--accent-dark-green);
    opacity: 1;
}

.hero-banner-slider .slick-prev,
.hero-banner-slider .slick-next {
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-banner-slider .slick-prev {
    left: 30px;
}

.hero-banner-slider .slick-next {
    right: 30px;
}

.hero-banner-slider .slick-prev:hover,
.hero-banner-slider .slick-next:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-banner-slider .slick-prev:before,
.hero-banner-slider .slick-next:before {
    color: var(--accent-dark-green);
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-banner-content-wrapper {
        padding: 60px 40px;
    }
    
    .hero-banner-title {
        font-size: 2.5rem;
    }
    
    .hero-banner-description {
        font-size: 1rem;
    }
    
    .hero-banner-slide {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
    }
    
    .hero-banner-content-wrapper {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
        padding: 60px 40px;
    }
    
    .hero-banner-image-wrapper,
    .hero-banner-image-container {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
    }
    
    .hero-banner-image {
        height: 400px;
        min-height: 400px;
        max-height: 400px;
    }
}

@media (max-width: 767.98px) {
    .hero-banner-content-wrapper {
        padding: 40px 30px;
        text-align: center;
    }
    
    .hero-banner-title {
        font-size: 2rem;
    }
    
    .hero-banner-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .hero-banner-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .hero-banner-slide {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }
    
    .hero-banner-content-wrapper {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
        padding: 40px 30px;
    }
    
    .hero-banner-image-wrapper,
    .hero-banner-image-container {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }
    
    .hero-banner-image {
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }
    
    .hero-banner-slide::before,
    .hero-banner-content-wrapper::after,
    .hero-banner-image-wrapper::before {
        display: none;
    }
}

/* Retina Ready */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* Navigation Mobile Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        flex-direction: column;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
    }
    
    .navbar-nav .nav-link i {
        margin-right: 0.5rem;
        font-size: 1rem;
        width: 20px;
        text-align: center;
    }
    
    /* Cart icon fixed position on mobile */
    .navbar-nav .nav-item:has(.fa-shopping-cart) {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1050;
        background: #fff;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        margin: 0;
    }
    
    .navbar-nav .nav-item:has(.fa-shopping-cart) .nav-link {
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-nav .nav-item:has(.fa-shopping-cart) .nav-link i {
        font-size: 1.3rem;
        color: var(--primary-color);
        margin: 0;
    }
    
    .navbar-nav .nav-item:has(.fa-shopping-cart) .cart-count {
        top: 2px;
        right: 2px;
    }
}

/* Filter Sidebar Mobile */
@media (max-width: 991.98px) {
    .filter-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .filter-sidebar h5 {
        font-size: 1.3rem;
    }
    
    .filter-sidebar h6 {
        font-size: 1rem;
    }
}

/* Hero Banner Mobile */
@media (max-width: 767.98px) {
    .hero-banner-title {
        font-size: 1.8rem !important;
    }
    
    .hero-banner-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .hero-banner-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Product Page Mobile */
@media (max-width: 767.98px) {
    .main-image-container {
        margin-bottom: 1rem;
    }
    
    .thumbnail-images {
        gap: 8px;
    }
    
    .thumbnail-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .product-price-elegant {
        font-size: 1.5rem;
    }
    
    .product-compare-price-elegant {
        font-size: 1rem;
    }
}

/* Forms Mobile */
@media (max-width: 767.98px) {
    .form-control, .form-select {
        font-size: 0.9rem;
        padding: 0.6rem 0.75rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* Tables Mobile */
@media (max-width: 767.98px) {
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.4rem;
        font-size: 0.85rem;
    }
}

/* Cards Mobile */
@media (max-width: 767.98px) {
    .card {
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Buttons Mobile */
@media (max-width: 767.98px) {
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Pagination Mobile */
@media (max-width: 767.98px) {
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pagination .page-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        margin: 0.2rem;
    }
}

/* Alerts Mobile */
@media (max-width: 767.98px) {
    .alert {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }
}

/* Modal Mobile */
@media (max-width: 767.98px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1rem;
    }
}

/* Cart Slider Mobile */
@media (max-width: 767.98px) {
    .cart-slider-content {
        width: 100%;
        max-width: 100%;
    }
}

/* Icons - Ensure proper display on all devices */
.fas, .far, .fal, .fab {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fix icon alignment */
.nav-link i,
.btn i {
    vertical-align: middle;
}

/* Extra Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-item:has(.fa-shopping-cart) {
        width: 45px;
        height: 45px;
        top: 12px;
        right: 12px;
    }
    
    .navbar-nav .nav-item:has(.fa-shopping-cart) .nav-link i {
        font-size: 1.2rem;
    }
    
    .cart-count, .wishlist-count {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
    
    h1 {
        font-size: 1.25rem !important;
    }
    
    h2 {
        font-size: 1.1rem !important;
    }
    
    .product-image {
        height: 150px;
        min-height: 150px;
        max-height: 150px;
    }
    
    .product-card .card-title {
        font-size: 0.75rem;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.85rem;
    }
}

/* Promo Banner Mobile */
@media (max-width: 767.98px) {
    .promo-banner-plant {
        padding: 12px 0;
    }
    
    .promo-content {
        gap: 12px;
        flex-direction: column;
    }
    
    .promo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .promo-main-text {
        font-size: 0.95rem;
    }
    
    .promo-highlight {
        font-size: 1.1rem;
    }
    
    .promo-code-text {
        font-size: 0.85rem;
    }
    
    .promo-code {
        font-size: 0.85rem;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .promo-banner-plant {
        padding: 10px 0;
    }
    
    .promo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .promo-main-text {
        font-size: 0.85rem;
    }
    
    .promo-highlight {
        font-size: 1rem;
    }
    
    .promo-code-text {
        font-size: 0.8rem;
    }
    
    .promo-code {
        font-size: 0.8rem;
        padding: 2px 8px;
    }
}

/* Section Headings Mobile */
@media (max-width: 767.98px) {
    .section-heading-wrapper {
        margin: 30px 0;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        letter-spacing: 2px;
        padding-bottom: 15px;
    }
    
    .section-title::after {
        width: 80px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem !important;
        letter-spacing: 1px;
        padding-bottom: 12px;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
    }
}

/* Category Cards Mobile */
@media (max-width: 767.98px) {
    .category-card .product-image {
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }
    
    .category-card .card-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .category-card .product-image {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
    
    .category-card .card-title {
        font-size: 0.9rem;
    }
}

/* Footer Mobile */
@media (max-width: 767.98px) {
    footer {
        font-size: 0.9rem;
    }
    
    footer h5 {
        font-size: 1.1rem;
    }
    
    footer .row > div {
        margin-bottom: 2rem;
    }
}

/* Input Groups Mobile */
@media (max-width: 767.98px) {
    .input-group {
        flex-wrap: wrap;
    }
    
    .input-group .form-control,
    .input-group .form-select {
        font-size: 0.9rem;
    }
    
    .input-group-text {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Badges Mobile */
@media (max-width: 767.98px) {
    .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
    }
}

/* Spacing Adjustments Mobile */
@media (max-width: 767.98px) {
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-4 {
        margin-top: 1.5rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .px-5 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Grid System Mobile */
@media (max-width: 767.98px) {
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Landscape Mobile */
@media (max-width: 991.98px) and (orientation: landscape) {
    .hero-banner-slide {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    
    .hero-banner-content-wrapper {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
        padding: 30px 20px;
    }
    
    .hero-banner-title {
        font-size: 1.5rem !important;
    }
}

/* Ensure icons are properly sized on all devices */
@media (max-width: 767.98px) {
    .fas, .far, .fal, .fab {
        font-size: 1em;
    }
    
    .btn i {
        font-size: 0.9em;
    }
    
    .nav-link i {
        font-size: 1em;
    }
}

/* Cart Page Mobile */
@media (max-width: 767.98px) {
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.85rem;
    }
    
    .table th:nth-child(2),
    .table td:nth-child(2) {
        display: none;
    }
    
    .table img {
        width: 60px;
        height: 60px;
    }
    
    .quantity-selector {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .quantity-selector .form-control {
        width: 50px;
        font-size: 0.85rem;
    }
    
    .quantity-selector .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Checkout Page Mobile */
@media (max-width: 767.98px) {
    .checkout-form .row > div {
        margin-bottom: 1.5rem;
    }
    
    .checkout-form .card {
        margin-bottom: 1.5rem;
    }
    
    .checkout-form .form-label {
        font-size: 0.9rem;
    }
    
    .checkout-form .form-control,
    .checkout-form .form-select {
        font-size: 0.9rem;
        padding: 0.6rem 0.75rem;
    }
    
    .checkout-form .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .order-summary-card {
        position: sticky;
        bottom: 0;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    body {
        font-size: 12px;
    }
    
    h1 {
        font-size: 1.1rem !important;
    }
    
    h2 {
        font-size: 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .product-image {
        height: 140px;
        min-height: 140px;
        max-height: 140px;
    }
    
    .btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .table {
        font-size: 0.75rem;
    }
    
    .table th,
    .table td {
        padding: 0.4rem 0.2rem;
    }
}

