:root {
    --primary-color: #2E7D32;
    --primary-hover: #1b5e20;
    --secondary-color: #F9A825;
    --secondary-hover: #f57f17;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #fcfdfc;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
}

main {
    flex: 1;
}

.bg-brand-primary {
    background-color: var(--primary-color) !important;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #111 200%);
    position: relative;
    z-index: 1;
}
.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 60%);
    z-index: -1;
}

.text-brand-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.25);
}
.btn-rounded-pill {
    border-radius: 50rem !important;
}
.btn-outline-dark {
    font-weight: 500;
}

.navbar-brand img {
    max-height: 40px;
}

.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.product-card .card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    aspect-ratio: 1/1;
    object-fit: contain;
    padding: 1.5rem;
    background-color: #f8f9fa;
    transition: transform 0.5s ease;
}
.product-card:hover .card-img-top {
    transform: scale(1.1);
}

.category-tile {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}
.category-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.category-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #f8f9fa;
}
.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-tile:hover .category-img-wrapper img {
    transform: scale(1.1);
}
.category-tile h6 {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Premium Product Styles */
.product-price-large {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}
.product-description-container {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #4a4a4a;
}
.product-description-container ul, 
.product-description-container ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}
.product-description-container li {
    margin-bottom: 0.5rem;
}
.section-padding {
    padding: 100px 0;
}
.bg-soft-primary {
    background-color: #f1f8f1;
}
.gallery-main-wrapper {
    background: #fdfdfd;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
}
.gallery-main-wrapper:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.gallery-thumb {
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}
.gallery-thumb:hover, .gallery-thumb.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}
.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
}
.badge-premium {
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Price Tag Style */
.price-tag {
    font-weight: 800;
    font-size: 1.25rem;
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    display: inline-block;
    transition: all 0.3s ease;
}
.product-card:hover .price-tag {
    transform: translateX(5px);
}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1030;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-cart:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.5);
}
.floating-cart .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    border: 2px solid #fff;
    padding: 0.4em 0.6em;
}
@media (max-width: 768px) {
    .floating-cart {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
}

/* Animations */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
.animate-floating {
    animation: floating 4s ease-in-out infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Product Card Elements */
.product-card .quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%) scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}
.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    background: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #ccc;
    transition: all 0.3s ease;
}
.wishlist-btn:hover, .wishlist-btn.active {
    color: #ff4757;
    transform: scale(1.1);
}
.wishlist-btn i {
    pointer-events: none;
}

/* Install App Button */
.install-app-btn {
    display: none !important;
    animation: clarity-pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes clarity-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

