/* ==========================================================================
   NITYE FRESH FOOD PROCESSORS - Modern Design System & Stylesheet
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary-dark: #064e3b;   /* Deep Forest Emerald */
    --primary-main: #15803d;   /* Rich Green */
    --primary-light: #22c55e;  /* Fresh Mint Leaf */
    --primary-soft: #dcfce7;   /* Soft Green Tint */
    
    --accent-main: #d97706;    /* Spice Gold / Warm Amber */
    --accent-hover: #b45309;
    --accent-soft: #fef3c7;

    --bg-page: #f9fafb;
    --bg-surface: #ffffff;
    --bg-warm: #fefce8;
    --bg-dark: #062319;

    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-light: #f3f4f6;

    --border-color: #e5e7eb;
    --border-focus: #15803d;

    /* Shadows & Glassmorphism */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode / High Contrast Adjustments */
@media (prefers-color-scheme: dark) {
    :root {
        /* Subtle refinement for dark preference if desired, keeping warm identity */
    }
}

/* Global Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* SVG Utility */
.icon-sm { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }
.icon-md { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }

/* Global Section Header */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 14px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    flex-wrap: nowrap;
    gap: 16px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 64px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.brand-logo-img:hover {
    transform: scale(1.03);
}

.footer-logo-img {
    height: 88px;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(21, 128, 61, 0.3);
}

.logo-icon.sm {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent-main);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 16px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-main);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-main);
}

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

.nav-whatsapp-btn {
    background-color: #25d366;
    color: white !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.nav-whatsapp-btn:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.3);
}

.nav-whatsapp-btn::after {
    display: none !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-call-header {
    background-color: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}

.btn-call-header:hover {
    background-color: var(--primary-main);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(21, 128, 61, 0.3);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #063728 0%, #0d5d42 50%, #15803d 100%);
    color: white;
    padding: 90px 0 110px;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.25;
}

.shape-1 {
    width: 450px;
    height: 450px;
    background: var(--accent-main);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--primary-light);
    bottom: -100px;
    left: -50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #fef08a;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.12rem;
    color: #e2e8f0;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-main), var(--accent-hover));
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.5);
}

.btn-whatsapp-hero {
    background-color: #25d366;
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-hero:hover {
    background-color: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: white;
    transform: translateY(-2px);
}

/* Hero Trust Bar */
.hero-trust-bar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 35px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trust-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.trust-icon {
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .hero-trust-bar {
        flex-direction: column;
        gap: 10px;
    }
    .trust-item {
        width: 100%;
        justify-content: center;
    }
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fef08a;
    line-height: 1.15;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-media {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-image-card:hover .hero-img {
    transform: scale(1.03);
}

.image-overlay-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(6, 35, 25, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
}

.badge-icon {
    font-size: 28px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text strong {
    display: block;
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 0.95rem;
}

.badge-text span {
    font-size: 0.8rem;
    color: #cbd5e1;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 90px 0;
    background-color: var(--bg-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-tag {
    margin-bottom: 8px;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 18px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.highlight-card {
    background-color: var(--bg-warm);
    padding: 22px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-main);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hl-icon {
    font-size: 22px;
    margin-bottom: 10px;
}

.highlight-card h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.highlight-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Interactive Calculator Section
   ========================================================================== */
.calculator-section {
    padding: 90px 0;
    background-color: #f3f4f6;
}

.calculator-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-main);
    box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.12);
}

.select-lg {
    padding: 14px 16px;
    font-weight: 600;
}

.label-with-input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.manual-qty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.manual-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.qty-num-input {
    width: 72px;
    padding: 4px 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
    color: var(--primary-dark);
    background: white;
    border-radius: 6px;
    border: 1.5px solid var(--primary-main);
}

.qty-num-input:focus {
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.2);
}

.qty-unit-tag {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.range-slider-container {
    position: relative;
    padding-top: 36px;
    margin-bottom: 8px;
}

.range-pointer-tooltip {
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    background-color: var(--primary-dark);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
    white-space: nowrap;
    pointer-events: none;
    transition: left 0.05s ease-out;
    z-index: 10;
}

.range-pointer-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: var(--primary-dark) transparent transparent;
}

.custom-range {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
    accent-color: var(--primary-main);
    cursor: pointer;
    display: block;
}

.range-marks {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 600;
}

.texture-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.texture-radio {
    cursor: pointer;
}

.texture-radio input {
    display: none;
}

.radio-box {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    text-align: center;
    transition: var(--transition);
    background-color: var(--bg-page);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.radio-box strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    color: var(--text-primary);
}

.radio-box span {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.texture-radio input:checked + .radio-box {
    border-color: var(--primary-main);
    background-color: var(--primary-soft);
    box-shadow: 0 0 0 2px var(--primary-main);
}

.texture-radio input:checked + .radio-box strong {
    color: var(--primary-dark);
}

.calc-summary {
    height: 100%;
}

.summary-box {
    background: linear-gradient(145deg, #063728, #0a4d38);
    color: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.summary-tag {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fef08a;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
}

.summary-amount {
    margin: 20px 0 4px;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.summary-amount .currency {
    font-size: 2.2rem;
    color: #fef08a;
    margin-right: 4px;
}

.rate-breakdown {
    color: #a7f3d0;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.summary-details {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    margin-bottom: 24px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.detail-row span {
    color: #cbd5e1;
}

.detail-row strong {
    color: #ffffff;
}

.text-emerald {
    color: #34d399 !important;
}

.btn-whatsapp-calc {
    width: 100%;
    background-color: #25d366;
    color: white;
    padding: 14px;
    border-radius: var(--radius-md);
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

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

/* ==========================================================================
   Services Grid & Tab Filters
   ========================================================================== */
.services-section {
    padding: 90px 0;
    background-color: var(--bg-surface);
}

.tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-buttons {
    display: flex;
    gap: 8px;
    background-color: #f3f4f6;
    padding: 6px;
    border-radius: var(--radius-full);
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--primary-main);
    color: white;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-main);
}

.card-image-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #fdfbf7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.service-card:hover .card-img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(6, 35, 25, 0.8);
    backdrop-filter: blur(8px);
    color: #fef08a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon {
    font-size: 26px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    background-color: #f3f4f6;
    color: var(--text-primary);
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-card-action {
    display: block;
    text-align: center;
    background-color: var(--bg-page);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: 1.5px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover .btn-card-action {
    background-color: var(--primary-main);
    color: white;
    border-color: var(--primary-main);
}

/* ==========================================================================
   Process Steps
   ========================================================================== */
.features-section {
    padding: 90px 0;
    background-color: var(--bg-warm);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.step-card {
    background-color: var(--bg-surface);
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    background: var(--accent-main);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 8px rgba(217, 119, 6, 0.3);
}

.step-icon-wrap {
    font-size: 32px;
    margin: 10px 0 16px;
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    padding: 90px 0;
    background-color: var(--bg-surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-page);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.client-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.98rem;
}

.client-loc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 90px 0;
    background-color: #f9fafb;
}

.faq-search-wrap {
    max-width: 600px;
    margin: 0 auto 30px;
}

.faq-search-input {
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-main);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary-main);
}

.faq-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-main);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 250px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 90px 0;
    background-color: var(--bg-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info, .contact-form-wrap {
    background-color: var(--bg-page);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-info h3, .contact-form-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 14px;
}

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

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.info-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-details h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.info-details p, .info-details a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-details a:hover {
    color: var(--primary-main);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.map-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.map-action-bar {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.btn-map-directions {
    background-color: var(--primary-dark);
    color: white;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-map-directions:hover {
    background-color: var(--primary-main);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: var(--bg-dark);
    color: #9ca3af;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: white;
    font-weight: 800;
}

.footer-about {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.social-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-main);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-main);
    border-radius: 2px;
}

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

.footer-links li, .footer-keywords li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-keywords li {
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.88rem;
}

.footer-bottom a {
    color: var(--accent-main);
    text-decoration: none;
}

/* ==========================================================================
   Page Banners & Multi-Page Layout Styles
   ========================================================================== */
.page-banner {
    background: linear-gradient(135deg, #063728 0%, #0d5d42 50%, #15803d 100%);
    color: white;
    padding: 65px 0 55px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner .section-tag {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fef08a;
    margin-bottom: 12px;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #ffffff;
}

.page-banner p {
    font-size: 1.08rem;
    color: #e2e8f0;
    max-width: 680px;
    margin: 0 auto;
}

/* Calculator Teaser Banner */
.calc-teaser-banner {
    padding: 70px 0;
    background-color: var(--bg-surface);
}

.banner-box {
    background: linear-gradient(135deg, #063728, #0a4d38);
    color: white;
    padding: 45px 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.banner-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fef08a;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.banner-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.banner-content p {
    color: #cbd5e1;
    font-size: 1rem;
    max-width: 600px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .banner-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-msg {
    background-color: var(--primary-dark);
    color: white;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */

/* Tablet Portrait & Mobile (max-width: 1023px) - Navbar collapses here */
@media (max-width: 1023px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 24px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        border-bottom: 1px solid var(--border-color);
        gap: 18px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-call-header {
        display: none;
    }
    
    .hero-grid, .about-grid, .calc-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-content h1, .hero-content h2 {
        font-size: 2.2rem;
    }

    .store-grid, .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile Devices (max-width: 767px) - 1 Column Stacked layouts */
@media (max-width: 767px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .store-grid, .services-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .btn-primary, .btn-secondary, .btn-add-cart, .btn-checkout-wa {
        min-height: 48px;
        font-size: 0.95rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .texture-options {
        grid-template-columns: 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 16px;
    }

    .calculator-card {
        padding: 24px 16px;
    }
    
    .hero-content h1, .hero-content h2 {
        font-size: 1.8rem;
    }
}

/* Desktop Large Screens (min-width: 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1380px;
    }
}

/* ==========================================================================
   Store Products & Pickup Shopping Cart Styles
   ========================================================================== */

/* BUY Nav Button Styling */
.nav-item.buy-btn-nav {
    color: var(--accent-main) !important;
    font-weight: 800 !important;
    background-color: rgba(217, 119, 6, 0.1);
    padding: 4px 10px !important;
    border-radius: var(--radius-full);
    border: 1px solid rgba(217, 119, 6, 0.3);
    white-space: nowrap !important;
    transition: var(--transition);
}

.nav-item.buy-btn-nav:hover,
.nav-item.buy-btn-nav.active {
    background-color: var(--accent-main) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Cart Trigger Button in Header */
.cart-trigger-btn {
    background-color: var(--bg-warm);
    border: 1px solid var(--border-color);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.cart-trigger-btn:hover {
    background-color: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.cart-count {
    background-color: var(--accent-main);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

/* Store Products Section */
.store-section {
    padding: 70px 0;
    background-color: var(--bg-light);
}

.spices-section {
    background-color: #fffbeb;
    border-top: 1px solid var(--border-color);
}

.store-category-header {
    margin-bottom: 40px;
}

.store-category-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-top: 6px;
    margin-bottom: 10px;
}

.store-category-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 680px;
}

.cat-tag {
    display: inline-block;
    background-color: rgba(217, 119, 6, 0.12);
    color: var(--accent-main);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 1.2px;
}

.kn-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-main);
    display: block;
    margin-top: 2px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-main);
}

.product-image-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #fcfbfa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(6, 78, 59, 0.9);
    color: #fef08a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    z-index: 5;
}

.product-card-logo-stamp {
    position: absolute;
    top: 14px;
    left: 14px;
    height: 48px;
    width: auto;
    max-width: 170px;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    z-index: 5;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-logo-stamp {
    transform: scale(1.05);
}

.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Weight Selector Pills */
.weight-selector-group {
    margin-bottom: 20px;
}

.weight-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.weight-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.weight-pill {
    background-color: var(--bg-warm);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 4px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.weight-pill.active,
.weight-pill:hover {
    background-color: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.product-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
}

.price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.price-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Quantity Control */
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    background-color: var(--bg-warm);
    border: none;
    width: 32px;
    height: 32px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--primary-light);
    color: white;
}

.qty-num {
    width: 36px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-dark);
}

/* Add to Cart Button */
.btn-add-cart {
    width: 100%;
    background-color: var(--primary-main);
    color: white;
    padding: 12px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.btn-add-cart:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 78, 59, 0.35);
}

/* Shopping Cart Drawer Overlay */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background-color: white;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.active .cart-drawer {
    right: 0;
}

.cart-header {
    padding: 20px 24px;
    background-color: var(--primary-dark);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;

    margin: 0;
}

.close-cart-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-cart-btn:hover {
    opacity: 1;
}

.cart-body {
    padding: 20px 24px;
    flex-grow: 1;
    overflow-y: auto;
}

.empty-cart-msg {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.empty-cart-msg p {
    font-size: 1rem;
    font-weight: 600;
}

.empty-cart-msg .sub-text {
    font-size: 0.85rem;
    font-weight: 400;
    margin-top: 4px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-info h5 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.cart-item-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cart-item-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-main);
}

.remove-cart-item {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
}

.cart-footer {
    padding: 20px 24px;
    background-color: var(--bg-warm);
    border-top: 1px solid var(--border-color);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.cart-total-val {
    font-size: 1.5rem;
    color: var(--accent-main);
}

.pickup-note {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 16px;
    background-color: white;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-main);
}

.btn-checkout-wa {
    width: 100%;
    background-color: #25d366;
    color: white;
    padding: 14px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-checkout-wa:hover:not(:disabled) {
    background-color: #1ebc57;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-checkout-wa:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Floating FAB Cart Button */
.floating-cart-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-hover));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.5);
    transition: var(--transition);
}

.floating-cart-fab:hover {
    transform: scale(1.1);
}

.fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--primary-dark);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

@media (max-width: 992px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .store-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   10. RCS Compliance & Standalone Subscription Floating Banner Styles
   ========================================================================== */

/* Consent Checkbox Styles */
.checkbox-group {
    margin-top: 15px;
    margin-bottom: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--primary-main);
    cursor: pointer;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
}

.checkbox-label {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.checkbox-disclaimer {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--text-muted);
    margin-left: 28px;
}

.checkbox-disclaimer a {
    color: var(--primary-main);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-disclaimer a:hover {
    color: var(--primary-dark);
}

/* Floating RCS Banner Styles */
.rcs-floating-banner {
    position: fixed;
    bottom: -250px;
    right: 30px;
    width: 380px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 22px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.rcs-floating-banner.active {
    bottom: 30px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rcs-banner-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.rcs-banner-close:hover {
    color: var(--text-primary);
}

.rcs-banner-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-dark);
    margin-bottom: 12px;
    padding-right: 15px;
}

.rcs-banner-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rcs-input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.rcs-input-group input[type="tel"] {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s ease;
}

.rcs-input-group input[type="tel"]:focus {
    border-color: var(--primary-main);
    box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.1);
}

.rcs-banner-submit {
    background-color: var(--primary-main);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background-color 0.2s ease;
}

.rcs-banner-submit:hover {
    background-color: var(--primary-dark);
}

.rcs-floating-banner .rcs-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rcs-floating-banner .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0;
}

.rcs-floating-banner .form-checkbox {
    width: 15px;
    height: 15px;
    margin-top: 2px;
}

.rcs-floating-banner .checkbox-label {
    font-size: 0.76rem;
    line-height: 1.35;
    color: var(--text-secondary);
}

.rcs-floating-banner .rcs-disclaimer {
    font-size: 0.7rem;
    line-height: 1.3;
    color: var(--text-muted);
    margin-left: 23px;
}

.rcs-floating-banner .rcs-disclaimer a {
    color: var(--primary-main);
    text-decoration: underline;
}

/* Mobile Media Queries for Banner */
@media (max-width: 576px) {
    .rcs-floating-banner {
        right: 15px;
        left: 15px;
        width: calc(100% - 30px);
        bottom: -250px;
        padding: 16px;
    }
    
    .rcs-floating-banner.active {
        bottom: 15px;
    }
    
    .rcs-banner-content h4 {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Social Media Integration & Dropdown Styles
   ========================================================================== */

/* Brand specific hover background colors */
.social-icon.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
}

.social-icon.instagram:hover {
    background-color: #E4405F;
    border-color: #E4405F;
}

.social-icon.youtube:hover {
    background-color: #FF0000;
    border-color: #FF0000;
}

.social-icon.twitter:hover {
    background-color: #15181C;
    border-color: #15181C;
}

.social-icon.linkedin:hover {
    background-color: #0A66C2;
    border-color: #0A66C2;
}

/* Header Dropdown Menu */
.nav-links li.nav-dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 8px 0;
    list-style: none;
    display: none;
    z-index: 1010;
    min-width: 160px;
    margin-top: 8px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links li.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-links .dropdown-menu li {
    width: 100%;
}

.nav-links .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-primary) !important;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.nav-links .dropdown-menu li a::after {
    display: none !important;
}

.nav-links .dropdown-menu li a:hover {
    background-color: rgba(21, 128, 61, 0.05);
    color: var(--primary-main) !important;
}

.nav-links .dropdown-menu li a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Contact page social links styling */
.contact-social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

/* Mobile Media Queries for Navigation Dropdown */
@media (max-width: 1023px) {
    .nav-links .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        margin-top: 4px;
        display: none;
        min-width: auto;
        background-color: transparent;
    }
    
    .nav-links li.nav-dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .nav-links li.nav-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* ==========================================================================
   11. Blog & Article Styling
   ========================================================================== */

.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-main);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-main);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--primary-main);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-cta {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-main);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-card-cta:hover {
    color: var(--primary-dark);
}

/* Blog Article Detail Styling */
.article-wrapper {
    padding: 60px 0 100px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.article-hero {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.article-category {
    display: inline-block;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.article-author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-soft);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.article-meta-info {
    display: flex;
    flex-direction: column;
}

.article-meta-info .author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.article-meta-info .pub-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-featured-img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

/* Article Body Typography */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 45px 0 20px;
    line-height: 1.3;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 35px 0 15px;
    line-height: 1.3;
}

.article-body ul, .article-body ol {
    margin-bottom: 25px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body strong {
    color: var(--text-primary);
}

.article-body blockquote {
    border-left: 4px solid var(--primary-main);
    padding: 10px 20px;
    margin: 30px 0;
    background-color: var(--bg-page);
    font-style: italic;
    color: var(--text-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Floating Share Sidebar */
.share-sidebar {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.share-btn:hover {
    transform: scale(1.1);
    color: white;
    border-color: transparent;
}

.share-btn.whatsapp:hover { background-color: #25d366; }
.share-btn.facebook:hover { background-color: #1877f2; }
.share-btn.linkedin:hover { background-color: #0077b5; }
.share-btn.twitter:hover { background-color: #000000; }

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0c3d2c 100%);
    color: white;
    padding: 50px 40px;
    border-radius: var(--radius-md);
    margin-top: 60px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.05);
}

.promo-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}

.promo-banner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 30px;
}

.promo-banner .btn-promo {
    background-color: var(--accent-main);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.promo-banner .btn-promo:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Responsiveness for Blog */
@media (max-width: 1200px) {
    .share-sidebar {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 30px;
        transform: none;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-banner {
        padding: 35px 20px;
    }
    
    .promo-banner h3 {
        font-size: 1.5rem;
    }
}

