/* --- Core Color Mapping & True Native Mobile Configurations --- */
:root {
    --primary-forest: #2c5e3b;       
    --accent-gold: #df9b16;          
    --canvas-bg: #f6f5f0;            
    --surface-pure: #ffffff;
    --text-charcoal: #252525;
    --text-muted: #727272;
    --border-light: #e4e0d5;
    --whatsapp-green: #25d366;
    
    --radius-rounded: 16px;
    --radius-card: 12px;
    --transition-native: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Device Layout Formats */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--canvas-bg);
    color: var(--text-charcoal);
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    overflow: hidden; 
}

/* App Body Scroll Container */
.app-body-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 90px; 
    -webkit-overflow-scrolling: touch;
}

/* ================= COMPRESSED TOP HEADER NAVIGATION SYSTEM ================= */
.app-top-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 8px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 4px;
}

.brand-side {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    font-family: 'Georgia', serif;
    color: var(--primary-forest);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.header-desktop-nav-mock {
    display: flex;
    background-color: #f1efe9;
    padding: 3px;
    border-radius: 30px;
    gap: 1px;
}

.mock-nav-btn {
    background: none;
    border: none;
    padding: 5px 6px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}

.mock-nav-btn.active {
    background-color: var(--primary-forest);
    color: var(--surface-pure);
}

.nav-badge-pill {
    background-color: var(--accent-gold);
    color: var(--surface-pure);
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 10px;
    margin-left: -2px;
}

/* ================= LANDING IMMERSIVE VIEW ELEMENTS ================= */
.immersive-hero-container {
    background-color: #e4ebd9; 
    background-image: url('background.jpeg'); 
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border-radius: var(--radius-rounded);
    margin: -16px -16px 16px -16px; 
    padding: 48px 24px 85px 24px; /* Reduced to bring up bottom background cutoff */
    position: relative;
}

.hero-text-block {
    max-width: 55%; 
}

.hero-main-title {
    font-size: 1.7rem;
    font-weight: 500;
    color: #1e3a24;
    line-height: 1.15;
}

.hero-main-title span {
    font-family: 'Georgia', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 2.3rem;
}

.leaf-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    color: var(--accent-gold);
    opacity: 0.7;
}

.leaf-line {
    flex: 1;
    border: none;
    border-top: 1px solid var(--accent-gold);
    max-width: 40px;
}

.leaf-divider i { font-size: 0.65rem; }

.hero-description-paragraph {
    font-size: 0.8rem;
    color: #4a5d4e;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 500;
}

.premium-shop-now-btn {
    background-color: #274d33;
    color: var(--surface-pure);
    border: none;
    padding: 10px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(39, 77, 51, 0.2);
    cursor: pointer;
}

.floating-features-card {
    background-color: var(--surface-pure);
    border-radius: var(--radius-card);
    padding: 14px 10px;
    margin: -65px 0 24px 0; /* Positioned carefully underneath shorter background bounds */
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-item-unit {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.feature-icon-circle {
    width: 32px;
    height: 32px;
    background-color: #3b5a45;
    color: var(--surface-pure);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.feature-meta-text { display: flex; flex-direction: column; }
.feature-meta-text strong { font-size: 0.72rem; color: #1e3a24; font-weight: 700; }
.feature-meta-text span { font-size: 0.58rem; color: var(--text-muted); font-weight: 500; }
.vertical-feature-divider { width: 1px; height: 28px; background-color: var(--border-light); }

.collection-intro-heading { text-align: center; margin-bottom: 20px; }
.small-caps-accent { font-size: 0.65rem; text-transform: uppercase; font-weight: 700; color: var(--accent-gold); letter-spacing: 1.5px; }
.serif-section-title { font-family: 'Georgia', serif; font-size: 1.35rem; color: #1e3a24; margin-top: 4px; font-weight: 700; }
.tiny-center-leaf { color: var(--accent-gold); font-size: 0.6rem; margin: 4px 0; }
.collection-subtext { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

.category-four-column-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.grid-thumb-card { height: 140px; border-radius: var(--radius-card); background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 8px; position: relative; overflow: hidden; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.grid-card-content { position: relative; z-index: 2; width: 100%; }
.grid-thumb-card h4 { color: var(--surface-pure); font-size: 0.75rem; font-weight: 700; line-height: 1.2; margin-bottom: 2px; }
.explore-arrow-link { color: rgba(255,255,255,0.75); font-size: 0.58rem; font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* ================= PREMIUM SHOP VIEW NATURE CARDS (product back ref.jpeg) ================= */
#page-shop {
    background-image: linear-gradient(to bottom, rgba(246, 245, 240, 0.1) 0%, rgba(246, 245, 240, 0.4) 100%), url('background\ 2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: local;
    margin: -16px;
    padding: 16px;
    min-height: 100vh;
}

.shelf-header h3 {
    font-family: 'Georgia', serif;
    font-size: 1.25rem;
    color: #1e3a24;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.shelf-header h3::after {
    content: '\f4d8';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85rem;
    color: #3b5a45;
    opacity: 0.7;
}

.product-horizontal-scroller {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 10px 4px 24px 4px;
   
}

.product-card-unit {
    flex: none;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 20px rgba(44, 94, 59, 0.08);
}

.product-media-slot {
    width: 100%;
    height: 160px;
    background-color: #f0ede4;
    border-radius: 12px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.product-media-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-organic-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #274d33;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 3;
}

.card-wishlist-heart-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5d4e;
    font-size: 0.75rem;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product-identity-title {
    font-family: 'Georgia', serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e3a24;
    height: auto;
    line-height: 1.3;
    margin-bottom: 4px;
}

.product-nature-tagline {
    font-size: 0.68rem;
    color: #5c7260;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}
.product-nature-tagline i {
    color: #df9b16;
    font-size: 0.65rem;
}

.product-cost-tag {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e3a24;
    margin-bottom: 10px;
}

.add-bag-sm-btn {
    width: 100%;
    background-color: transparent;
    border: 1px solid #274d33;
    color: #274d33;
    padding: 8px;
    border-radius: 25px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-bag-sm-btn:active {
    background-color: #274d33;
    color: #ffffff;
}

/* ================= STANDARD SECONDARY PRE-EXISTING CONFIGURATIONS ================= */
.app-bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 68px;
    background-color: var(--surface-pure);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-tab-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    width: 22%;
    height: 100%;
}

.nav-tab-item i { font-size: 1.25rem; }
.nav-tab-item.active { color: var(--primary-forest); }

.navbar-cart-counter {
    position: absolute;
    top: 6px;
    right: 20%;
    background-color: var(--accent-gold);
    color: var(--surface-pure);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
}

.page-view {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-native), transform var(--transition-native);
}

.page-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-bar-mock {
    background-color: var(--surface-pure);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.search-bar-mock input {
    border: none;
    outline: none;
    font-size: 0.85rem;
    background: transparent;
    width: 100%;
}

.category-carousel-wrapper { margin: 12px -16px 16px -16px; }
.category-scroll-container {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 16px 10px 16px;
    scrollbar-width: none;
}
.category-scroll-container::-webkit-scrollbar { display: none; }

.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex: 0 0 68px;
}

.circle-icon {
    width: 56px;
    height: 56px;
    background-color: var(--surface-pure);
    color: var(--primary-forest);
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.category-circle-item span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-charcoal);
    text-align: center;
}

.category-circle-item.active .circle-icon {
    background-color: var(--primary-forest);
    border-color: var(--primary-forest);
    color: var(--surface-pure);
}

.shelf-count-tag {
    background-color: rgba(44, 94, 59, 0.08);
    color: var(--primary-forest);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
}

/* ================= PREMIUM OVERHAULED ABOUT VIEW (about r.jpeg) ================= */
#page-about {
    background-image: linear-gradient(to bottom, rgba(246, 245, 240, 0.3) 0%, rgba(246, 245, 240, 0.6) 100%), url('about bg 1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: local;
    margin: -16px;
    padding: 16px;
    min-height: 100vh;
}

.mobile-about-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

/* Master Glassmorphic Structure Base */
.profile-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(44, 94, 59, 0.06);
    display: flex;
}

/* --- PREMIUM COMPANY CARD (Split-screen Style) --- */
.premium-company-card {
    flex-direction: row;
}

.company-card-left-zone {
    flex: 1.1;
    padding: 24px 16px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.company-card-right-graphic {
    flex: 0.9;
    background-size: cover;
    background-position: center left;
    min-height: 100%;
}

/* --- PREMIUM OWNER CARD (Horizontal Flow Style) --- */
.premium-owner-card {
    flex-direction: row;
    align-items: center;
    padding: 24px 20px;
    gap: 16px;
}

.owner-frame-side {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.owner-text-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.owner-badge-mini-icon {
    position: absolute;
    top: -4px;
    right: 0;
    width: 32px;
    height: 32px;
    background-color: #f6f2e8;
    border: 1px solid var(--accent-gold);
    color: var(--primary-forest);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* --- DECORATIVE CONTENT INNER DESIGNERS --- */
.about-serif-title {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    color: #1e3a24;
    font-weight: 700;
    margin-top: 8px;
}

.about-card-divider {
    display: flex;
    align-items: center;
    color: var(--accent-gold);
    font-size: 0.6rem;
    margin: 4px 0 10px 0;
    width: 100%;
}
.about-card-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(223, 155, 22, 0.3);
    margin-left: 8px;
    max-width: 60px;
}

.profile-card p {
    font-size: 0.8rem;
    color: #4a5d4e;
    line-height: 1.5;
    text-align: left;
    font-weight: 500;
}

/* --- CUSTOM CIRCULAR INTERACTIVE FRAMES --- */
.decorative-placeholder-circle {
    width: 105px;
    height: 105px;
    border: 1px dashed #3b5a45;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.inner-circle-canvas {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef1eb;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.about-embedded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-overlay-label {
    position: absolute;
    font-size: 0.58rem;
    font-weight: 700;
    color: #5c7260;
    text-align: center;
    pointer-events: none;
    line-height: 1.2;
    z-index: 1;
}

.frame-leaf-accent {
    position: absolute;
    bottom: -2px;
    right: -2px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    transform: rotate(45deg);
    z-index: 3;
}

.cart-view-header { border-bottom: 1px solid var(--border-light); padding-bottom: 8px; margin-bottom: 14px; }
.empty-basket-fallback { text-align: center; padding: 40px 16px; color: var(--text-muted); }
.empty-basket-fallback i { font-size: 3rem; margin-bottom: 10px; }
.return-shop-btn { background-color: var(--primary-forest); color: var(--surface-pure); border: none; padding: 8px 16px; border-radius: 8px; margin-top: 12px; }
.items-list-wrapper { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cart-item-row-unit { display: flex; align-items: center; gap: 12px; background-color: var(--surface-pure); padding: 10px; border-radius: var(--radius-card); border: 1px solid var(--border-light); }
.cart-item-info-meta { flex: 1; }
.cart-item-info-meta h4 { font-size: 0.82rem; }
.cart-item-info-meta p { font-size: 0.82rem; color: var(--primary-forest); font-weight: 800; }
.qty-control-capsule { display: flex; align-items: center; gap: 10px; background-color: var(--canvas-bg); padding: 4px 8px; border-radius: 6px; }
.qty-step-btn { background: none; border: none; color: var(--primary-forest); font-weight: bold; }
.checkout-trigger-btn { width: 100%; background-color: var(--primary-forest); color: var(--surface-pure); border: none; padding: 12px; border-radius: var(--radius-card); font-weight: 700; }

.checkout-form-panel { background-color: var(--surface-pure); border-radius: var(--radius-rounded); border: 1px solid var(--border-light); padding: 16px; margin-top: 16px; }
.form-field-group { margin-bottom: 12px; }
.form-field-group label { display: block; font-size: 0.75rem; font-weight: 700; margin-bottom: 4px; }
.form-field-group input, .form-field-group textarea { width: 100%; padding: 10px; border: 1px solid var(--border-light); border-radius: 8px; background-color: var(--canvas-bg); outline: none; }
.form-field-group textarea { height: 60px; resize: none; }
.payment-pills-row { display: flex; flex-direction: column; gap: 6px; }
.payment-pill-label input { display: none; }
.pill-custom-design { display: flex; align-items: center; gap: 8px; background-color: var(--canvas-bg); padding: 10px; border-radius: 8px; border: 1px solid var(--border-light); font-size: 0.8rem; font-weight: 700; }
.payment-pill-label input:checked + .pill-custom-design { border-color: var(--accent-gold); background-color: #fcf9f2; color: var(--accent-gold); }

.receipt-invoice-box { background-color: #faf9f6; border: 1px solid var(--primary-forest); border-radius: 8px; padding: 12px; margin: 14px 0; }
.receipt-row { display: flex; justify-content: space-between; font-size: 0.8rem; }
.delivery-charge-text { color: #b97200; font-weight: 700; }
.final-total-row { font-size: 0.95rem; font-weight: 800; color: var(--primary-forest); }
.whatsapp-dispatch-btn { width: 100%; background-color: var(--whatsapp-green); color: var(--surface-pure); border: none; padding: 12px; border-radius: var(--radius-card); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }

.success-fullscreen-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(44, 94, 59, 0.97); z-index: 2000; display: flex; align-items: center; justify-content: center; }
.success-card-pop { background-color: var(--surface-pure); border-radius: var(--radius-rounded); padding: 24px 16px; text-align: center; width: 100%; max-width: 310px; }
.checkmark-pulse-ring { width: 56px; height: 56px; background-color: var(--whatsapp-green); color: var(--surface-pure); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px auto; font-size: 1.7rem; }
.post-checkout-summary-mini { background-color: var(--canvas-bg); border-radius: var(--radius-card); padding: 10px; font-size: 0.78rem; text-align: left; margin-top: 10px; }
.mini-row { display: flex; justify-content: space-between; }

.hidden { display: none !important; }