/*
Theme Name: Cactus Heaven
Theme URI: https://cactusheaven.lk
Author: Antigravity
Description: Premium nature-themed WooCommerce theme for Cactus Heaven.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cactus-heaven
*/

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark: #05130f;
    --bg-dark-accent: #0a221b;
    --bg-glass: rgba(10, 38, 29, 0.45);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.18);
    
    --primary: #6e9f70;       /* Custom Moss Green */
    --primary-light: #82b084;
    --accent: #6e9f70;        /* Custom Accent Green */
    --accent-glow: rgba(110, 159, 112, 0.35);
    --accent-gold: #dfba73;   /* Soft Gold */
    --accent-gold-glow: rgba(223, 186, 115, 0.25);
    
    --text-main: #f3f7f5;
    --text-muted: #9bb0a5;
    --text-dark: #05130f;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    cursor: url('assets/cactus_cursor.png') 0 0, auto;
}

a, button, select, input, textarea, .filter-tab, .qty-btn, .logo, .nav-link, .mobile-nav-link {
    cursor: url('assets/cactus_cursor.png') 0 0, pointer;
}

body {
    cursor: url('assets/cactus_cursor.png') 0 0, auto;
    background-image: linear-gradient(to right, rgba(5, 19, 15, 0.05) 0%, rgba(5, 19, 15, 0.35) 18%, rgba(5, 19, 15, 0.35) 82%, rgba(5, 19, 15, 0.05) 100%), url('assets/bg_main.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-dark-accent);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-weight: 300;
}

/* ==========================================================================
   Background Ambient Glows
   ========================================================================== */
.glow-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(136, 168, 146, 0.2) 0%, transparent 70%);
    top: 50%;
    left: -150px;
}

.glow-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
    bottom: -100px;
    right: 50px;
}

/* ==========================================================================
   Header & Navbar (Glassmorphic)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background-color: rgba(5, 19, 15, 0.75);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--accent);
    margin-right: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search Bar */
.search-bar-container {
    display: flex;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 6px 12px;
    transition: var(--transition-fast);
}

.search-bar-container:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

.search-bar-container input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.85rem;
    width: 150px;
    transition: var(--transition-smooth);
}

.search-bar-container input:focus {
    width: 220px;
}

.search-bar-container input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    transition: var(--transition-fast);
}

.search-btn:hover {
    color: var(--accent);
}

/* Cart Toggle Button */
.cart-toggle-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.cart-toggle-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    color: var(--accent);
    transform: translateY(-2px);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--accent);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px var(--accent-glow);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Mobile Navigation Drawer */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(5, 19, 15, 0.95);
    border-bottom: 1px solid var(--border-glass);
    z-index: 99;
    backdrop-filter: blur(15px);
    display: none;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
}

.mobile-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--accent);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 180px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--text-main);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual & Glass Dome Layout */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-glow-under {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    max-width: 440px;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-bottom-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}

.hero-bottom-curve svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ==========================================================================
   Buttons (Premium Aesthetics)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-lg);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    border: none;
    box-shadow: 0 4px 15px rgba(136, 168, 146, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 168, 146, 0.45), 0 0 15px var(--accent-glow);
}

.btn-secondary {
    background-color: var(--bg-glass);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background-color: rgba(20, 48, 38, 0.6);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    border: none;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Shop & Catalog Section
   ========================================================================== */
.shop-section {
    background-color: transparent;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px auto;
}

.section-subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Filter Tab controls */
.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 6px;
    border-radius: var(--border-radius-lg);
}

.filter-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.filter-tab:hover {
    color: var(--text-main);
}

.filter-tab.active {
    background-color: var(--bg-dark-accent);
    color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sort dropdown */
.sort-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-container label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.sort-dropdown {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    font-family: inherit;
    padding: 8px 16px;
    outline: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.sort-dropdown:focus {
    border-color: var(--accent);
}

/* Product Cards Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

/* Product Card - Glassmorphism, Premium Hover Effects */
.product-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(74, 222, 128, 0.12), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(136, 168, 146, 0.1);
}

.product-card:hover::before {
    opacity: 1;
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(223, 186, 115, 0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    background-color: rgba(5, 19, 15, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.08) rotate(1deg);
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-glass);
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.product-actions {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
}

.product-actions .btn {
    padding: 10px 14px;
    flex-grow: 1;
    font-size: 0.85rem;
}

.btn-icon-only {
    width: 40px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0 !important;
    background-color: var(--bg-dark-accent);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
}

.btn-icon-only:hover {
    color: var(--accent);
    border-color: var(--accent);
    background-color: var(--bg-dark);
}

/* ==========================================================================
   Philosophy & Concept Section
   ========================================================================== */
.philosophy-section {
    background-color: transparent;
}

.philosophy-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 450px;
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circle {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 2px dashed rgba(136, 168, 146, 0.15);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.concept-img {
    position: absolute;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.concept-img-1 {
    width: 260px;
    height: auto;
    z-index: 2;
    transform: translate(-30px, -20px);
}

.concept-img-2 {
    width: 200px;
    height: auto;
    z-index: 1;
    transform: translate(80px, 60px);
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.philosophy-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.philosophy-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 16px;
    width: 100%;
}

.feature-card {
    display: flex;
    gap: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: var(--border-radius-md);
    align-items: flex-start;
}

.feature-icon {
    background-color: var(--bg-dark-accent);
    color: var(--accent);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-family: inherit;
    font-weight: 600;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Banner Section
   ========================================================================== */
.banner-section {
    padding: 60px 0;
}

.banner-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(135deg, #0a221b 0%, #05130f 100%);
    border: 1px solid var(--border-glass);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(74, 222, 128, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.banner-content h2 {
    font-size: 2.3rem;
    line-height: 1.2;
}

.banner-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
}

.banner-content .btn {
    margin-top: 10px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background: rgba(10, 38, 29, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Form Panel - Premium Glass Box */
.contact-form-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: var(--text-main);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.form-group textarea {
    resize: none;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hidden {
    display: none !important;
}

/* Success Card */
.form-success-card, .checkout-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 10px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(74, 222, 128, 0.1);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 15px var(--accent-glow); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px var(--accent-glow); }
    100% { transform: scale(1); box-shadow: 0 0 15px var(--accent-glow); }
}

.form-success-card h3, .checkout-success-state h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.form-success-card p, .checkout-success-state p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ==========================================================================
   Footer Main Section
   ========================================================================== */
.footer-main {
    background-color: rgba(5, 19, 15, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 0.6fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-block;
}

.brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    border-radius: 50%;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-title {
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.newsletter-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    background-color: var(--bg-dark-accent);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.newsletter-form input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    padding: 12px;
    font-family: inherit;
    font-size: 0.85rem;
    flex-grow: 1;
}

.newsletter-form button {
    background-color: var(--primary);
    border: none;
    color: var(--bg-dark);
    padding: 0 16px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 15px;
}

/* ==========================================================================
   Shopping Cart Drawer (Slide Out)
   ========================================================================== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background-color: var(--bg-dark-accent);
    border-left: 1px solid var(--border-glass);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-glass);
}

.cart-header h3 {
    font-size: 1.4rem;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cart-close-btn:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

.cart-items-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Empty cart state */
.cart-empty-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    height: 100%;
    color: var(--text-muted);
}

.cart-empty-message svg {
    color: var(--text-muted);
    opacity: 0.5;
}

.cart-empty-message p {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Cart Item Cards */
.cart-item {
    display: flex;
    gap: 16px;
    background: rgba(5, 19, 15, 0.3);
    border: 1px solid var(--border-glass);
    padding: 12px;
    border-radius: var(--border-radius-md);
    align-items: center;
}

.cart-item-img-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--bg-dark);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 500;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-glass);
    background: var(--bg-dark);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    color: var(--text-main);
    background: var(--bg-glass);
}

.qty-val {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 10px;
}

.remove-item-btn {
    background: transparent;
    border: none;
    color: #e06c75;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.remove-item-btn:hover {
    color: #ff8591;
    text-decoration: underline;
}

/* Cart Footer Panel */
.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-glass);
    background-color: var(--bg-dark);
}

.cart-totals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-total-price {
    color: var(--accent-gold);
    font-size: 1.25rem;
}

.cart-shipping-notice {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cart-actions-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   Modals UI (Quick View & Checkout)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Product Detail Modal Box */
.product-modal, .checkout-modal {
    background: #061511;
    border: 1px solid var(--border-glass);
    max-width: 800px;
    width: 100%;
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-modal {
    max-width: 580px;
    padding: 40px;
}

.modal-overlay.active .product-modal, .modal-overlay.active .checkout-modal {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

/* Modal Grid Content */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}

.modal-visual {
    background-color: rgba(5, 19, 15, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.modal-visual img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
}

.modal-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-tag {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.modal-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Plant/Pot Specific Meta Details inside modal */
.modal-meta-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 16px;
    margin-bottom: 24px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-label {
    color: var(--text-muted);
    font-weight: 500;
}

.meta-val {
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 16px;
}

.modal-actions .btn {
    flex-grow: 1;
}

/* Checkout Form specifics */
.checkout-modal-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.checkout-modal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.order-summary-box {
    background: var(--bg-dark);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.order-summary-box strong {
    color: var(--accent-gold);
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-container {
        gap: 30px;
    }
    .philosophy-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .philosophy-visual {
        height: 300px;
    }
    .concept-img-1 {
        width: 200px;
    }
    .concept-img-2 {
        width: 160px;
        transform: translate(60px, 40px);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .brand-col, .newsletter-col {
        grid-column: span 2;
    }
    .brand-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .navbar {
        height: 70px;
    }
    .mobile-nav {
        top: 70px;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    .hero-visual {
        order: -1;
        margin-bottom: 20px;
    }
    .hero-image-wrapper {
        max-width: 320px;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .modal-grid {
        grid-template-columns: 1fr;
    }
    .modal-visual {
        padding: 20px;
    }
    .modal-details {
        padding: 24px;
    }
    .modal-title {
        font-size: 1.8rem;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .filter-tabs {
        width: 100%;
        flex-direction: column;
    }
    .filter-tab {
        width: 100%;
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .brand-col, .newsletter-col {
        grid-column: span 1;
    }
    .contact-form-panel {
        padding: 24px 16px;
    }
    .search-bar-container input {
        width: 100px;
    }
    .search-bar-container input:focus {
        width: 140px;
    }
}
