﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/


/* 
   AL-NOOR GOAT FARM — site.css
   Palette: Deep Forest Green + Warm Parchment + Earthy Brown
 */

/*  Variables */
:root {
    --green-dark: #1a3a2a;
    --green-mid: #2d6a4f;
    --green-light: #40916c;
    --green-pale: #d8f3dc;
    --amber: #e9c46a;
    --amber-dark: #c97d24;
    --parchment: #fdf6e3;
    --parchment-dk: #f0e6c8;
    --brown: #6b4226;
    --brown-light: #a0694b;
    --white: #ffffff;
    --text-dark: #1c1c1c;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --border: #e2d9c8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.16);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all .25s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--parchment);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.65;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Topbar  */
.topbar {
    background: var(--green-dark);
    color: rgba(255,255,255,.75);
    font-size: 12.5px;
    padding: 6px 0;
    letter-spacing: .02em;
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topbar-link {
    color: var(--amber);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 12.5px;
    letter-spacing: .02em;
    font-family: var(--font-body);
}

    .topbar-link:hover {
        color: #fff;
    }

.btn-plain {
    padding: 0;
}

/*  Navbar  */
.main-navbar {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--green-dark) !important;
    font-weight: 700;
}

.brand-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.brand-text {
    line-height: 1.2;
}

.brand-accent {
    color: var(--green-light);
}

.main-navbar .nav-link {
    color: var(--text-mid) !important;
    font-weight: 500;
    font-size: .93rem;
    padding: 6px 14px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: .01em;
}

    .main-navbar .nav-link:hover {
        color: var(--green-mid) !important;
        background: var(--green-pale);
    }

/* Buttons */
.btn-farm-primary {
    background: var(--green-mid);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 22px;
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition);
    cursor: pointer;
}

    .btn-farm-primary:hover {
        background: var(--green-dark);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

.btn-outline-farm {
    border: 1.5px solid var(--green-mid);
    color: var(--green-mid);
    border-radius: var(--radius-sm);
    padding: 7px 18px;
    font-weight: 500;
    font-size: .88rem;
    background: transparent;
    transition: var(--transition);
}

    .btn-outline-farm:hover {
        background: var(--green-mid);
        color: #fff;
    }

.btn-cart {
    background: var(--amber);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: .88rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .btn-cart:hover {
        background: var(--amber-dark);
        color: #fff;
        transform: translateY(-1px);
    }

.cart-badge {
    background: var(--green-dark);
    color: #fff;
    border-radius: 50px;
    padding: 1px 7px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.5;
}

.btn-view {
    background: var(--parchment-dk);
    color: var(--green-dark);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 5px 14px;
    font-size: .83rem;
    font-weight: 600;
    transition: var(--transition);
}

    .btn-view:hover {
        background: var(--green-mid);
        color: #fff;
        border-color: var(--green-mid);
    }

.btn-add-cart {
    background: var(--green-mid);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

    .btn-add-cart:hover {
        background: var(--green-dark);
        transform: translateY(-1px);
    }

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 22px;
    font-weight: 600;
    transition: var(--transition);
}

    .btn-whatsapp:hover {
        background: #1ebe5d;
        color: #fff;
        transform: translateY(-1px);
    }

.btn-farm-sm {
    background: var(--green-mid);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 6px 12px;
}

/* Alert Banners  */
.alert-banner {
    padding: 10px 0;
    font-size: .9rem;
    font-weight: 500;
    text-align: center;
}

.alert-success-banner {
    background: #d1fae5;
    color: #065f46;
}

.alert-error-banner {
    background: #fee2e2;
    color: #991b1b;
}

/*  Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--green-dark) 0%, #0f2519 40%, #1a3a2a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2340916c' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.35) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0 80px;
}

.min-vh-hero {
    min-height: 70vh;
}

.hero-badge {
    display: inline-block;
    background: rgba(233,196,106,.15);
    border: 1px solid rgba(233,196,106,.4);
    color: var(--amber);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -.01em;
}

.hero-accent {
    color: var(--amber);
}

.hero-subtitle {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-primary {
    background: var(--amber);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .btn-hero-primary:hover {
        background: var(--amber-dark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(233,196,106,.35);
    }

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .btn-hero-outline:hover {
        border-color: #fff;
        background: rgba(255,255,255,.1);
        color: #fff;
    }

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    font-weight: 500;
}

    .trust-item i {
        color: var(--amber);
        font-size: .9rem;
    }

.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.4);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* Stats Bar  */
.stats-bar {
    background: var(--green-dark);
    padding: 0;
}

.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
    color: #fff;
}

    .stat-item:last-child {
        border-right: none;
    }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: .82rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-mid);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* Goat Cards */
.goat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: var(--transition);
}

    .goat-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--green-light);
    }

.goat-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--parchment-dk);
}

    .goat-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

.goat-card:hover .goat-card-img img {
    transform: scale(1.05);
}

.goat-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, var(--parchment-dk), var(--parchment));
}

.goat-badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--amber);
    color: var(--text-dark);
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.goat-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

    .goat-status-badge.available {
        background: #d1fae5;
        color: #065f46;
    }

    .goat-status-badge.sold {
        background: #fee2e2;
        color: #991b1b;
    }

.goat-card-body {
    padding: 18px 20px;
}

.goat-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.goat-breed {
    background: var(--green-pale);
    color: var(--green-mid);
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.goat-tag {
    color: var(--text-light);
    font-size: .75rem;
}

.goat-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.goat-specs {
    display: flex;
    gap: 16px;
    font-size: .82rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

    .goat-specs i {
        color: var(--green-mid);
        margin-right: 4px;
    }

.goat-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.goat-price {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--green-dark);
}

.goat-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/*  Why Section  */
.why-section {
    background: var(--parchment-dk);
    padding: 80px 0;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1.5px solid var(--border);
    transition: var(--transition);
}

    .why-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
        border-color: var(--green-light);
    }

.why-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.why-card h5 {
    font-family: var(--font-display);
    color: var(--green-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-light);
    font-size: .9rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section  */
.cta-section {
    background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '🐐';
        position: absolute;
        font-size: 20rem;
        opacity: .04;
        right: -60px;
        top: -40px;
        line-height: 1;
    }

.cta-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.cta-subtitle {
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--amber);
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    padding: 14px 34px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

    .btn-cta-primary:hover {
        background: var(--amber-dark);
        color: #fff;
        transform: translateY(-2px);
    }

.btn-cta-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 34px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

    .btn-cta-whatsapp:hover {
        background: #1ebe5d;
        transform: translateY(-2px);
    }

/*  Footer */
.site-footer {
    background: var(--green-dark);
    color: rgba(255,255,255,.7);
    padding: 70px 0 0;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.footer-desc {
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: 22px;
    color: rgba(255,255,255,.55);
}

.social-links {
    display: flex;
    gap: 12px;
}

    .social-links a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.7);
        font-size: .9rem;
        transition: var(--transition);
    }

        .social-links a:hover {
            background: var(--green-light);
            color: #fff;
        }

.footer-heading {
    font-weight: 700;
    color: var(--amber);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: rgba(255,255,255,.55);
        font-size: .88rem;
        transition: var(--transition);
    }

        .footer-links a:hover {
            color: var(--amber);
            padding-left: 4px;
        }

.footer-contact p {
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    width: 18px;
    flex-shrink: 0;
    color: var(--amber);
}

.footer-divider {
    border-color: rgba(255,255,255,.1);
    margin: 48px 0 28px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 28px;
    font-size: .82rem;
    color: rgba(255,255,255,.4);
    flex-wrap: wrap;
    gap: 8px;
}

/* Page Header  */
.page-header {
    background: linear-gradient(135deg, var(--green-dark), #2d5a3d);
    padding: 48px 0 36px;
    color: #fff;
}

.page-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.page-subtitle {
    color: rgba(255,255,255,.65);
    font-size: .95rem;
    margin-bottom: 14px;
}

.page-breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

    .page-breadcrumb .breadcrumb-item a {
        color: var(--amber);
    }

    .page-breadcrumb .breadcrumb-item.active {
        color: rgba(255,255,255,.6);
    }

    .page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        color: rgba(255,255,255,.35);
    }

/*  Filter Card */
.filter-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
}

.filter-header {
    background: var(--green-dark);
    color: #fff;
    padding: 14px 18px;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .03em;
}

.filter-section {
    padding: 14px 16px 0;
}

.filter-label {
    font-weight: 600;
    font-size: .82rem;
    color: var(--text-mid);
    margin-bottom: 6px;
    display: block;
}

.filter-input {
    border-color: var(--border) !important;
    border-radius: var(--radius-sm) !important;
    font-size: .88rem;
    background: var(--parchment) !important;
    transition: var(--transition);
}

    .filter-input:focus {
        border-color: var(--green-mid) !important;
        box-shadow: 0 0 0 3px rgba(45,106,79,.12) !important;
    }

.filter-card > form {
    padding: 0 16px 18px;
}

.breed-quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--text-mid);
    font-size: .88rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

    .breed-quick-link:last-child {
        border-bottom: none;
    }

    .breed-quick-link:hover, .breed-quick-link.active {
        background: var(--green-pale);
        color: var(--green-dark);
        font-weight: 600;
    }

.listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}

.listing-count {
    color: var(--text-mid);
    font-size: .9rem;
}

/*  Goat Detail Page  */
.detail-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.detail-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.detail-img-placeholder {
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    background: linear-gradient(135deg, var(--parchment-dk), var(--parchment));
    border-radius: var(--radius-lg);
}

.detail-status-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .85rem;
}

    .detail-status-badge.available {
        background: #d1fae5;
        color: #065f46;
    }

    .detail-status-badge.sold {
        background: #fee2e2;
        color: #991b1b;
    }

.detail-breed-badge {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-mid);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.detail-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 6px;
}

.detail-tag {
    color: var(--text-light);
    font-size: .88rem;
    margin-bottom: 18px;
}

.detail-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-mid);
    margin-bottom: 18px;
}

.detail-description {
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 24px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.spec-item {
    background: var(--parchment);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
}

.spec-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.spec-label {
    font-size: .72rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.spec-value {
    font-weight: 700;
    color: var(--green-dark);
    font-size: .95rem;
}

.vaccination-box {
    background: #fffbeb;
    border: 1.5px solid #fcd34d;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 24px;
}

.vaccination-title {
    font-weight: 700;
    color: #92400e;
    margin-bottom: 6px;
    font-size: .9rem;
}

.vaccination-detail {
    margin: 0;
    color: var(--text-mid);
    font-size: .88rem;
    line-height: 1.6;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.sold-notice {
    background: #fee2e2;
    color: #991b1b;
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-weight: 600;
    margin-top: 20px;
}

/*  Cart Page  */
.cart-box {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
}

.cart-box-header {
    background: var(--parchment-dk);
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
    color: var(--green-dark);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}

    .cart-item:last-child {
        border-bottom: none;
    }

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--parchment-dk);
}

    .cart-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.cart-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 3px;
}

.cart-item-meta {
    font-size: .82rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.cart-item-price {
    font-size: .9rem;
    color: var(--green-mid);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-item-subtotal {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--green-dark);
    font-size: 1.05rem;
}

.btn-remove {
    background: #fee2e2;
    color: #991b1b;
    border: none;
    border-radius: var(--radius-sm);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-remove:hover {
        background: #991b1b;
        color: #fff;
    }

.order-summary-box {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    padding: 24px;
}

.summary-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: .9rem;
    color: var(--text-mid);
}

.summary-divider {
    border-color: var(--border);
    margin: 14px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--green-dark);
}

.trust-box {
    background: var(--parchment);
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1.5px solid var(--border);
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .83rem;
    color: var(--text-mid);
    margin-bottom: 8px;
}

    .trust-row:last-child {
        margin-bottom: 0;
    }

    .trust-row i {
        color: var(--green-mid);
        width: 16px;
    }

/* Checkout  */
.checkout-box {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    padding: 28px;
}

.checkout-section-title {
    font-family: var(--font-display);
    color: var(--green-dark);
    font-weight: 700;
    margin-bottom: 22px;
    font-size: 1.1rem;
}

.form-control-farm {
    border-color: var(--border) !important;
    border-radius: var(--radius-sm) !important;
    background: var(--parchment) !important;
    font-size: .9rem;
    padding: 10px 14px;
    transition: var(--transition);
}

    .form-control-farm:focus {
        border-color: var(--green-mid) !important;
        box-shadow: 0 0 0 3px rgba(45,106,79,.12) !important;
        background: #fff !important;
    }

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

    .payment-option input[type="radio"] {
        display: none;
    }

.payment-option-body {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    transition: var(--transition);
    background: var(--parchment);
}

.payment-option input:checked + .payment-option-body {
    border-color: var(--green-mid);
    background: var(--green-pale);
}

.payment-option-body i {
    font-size: 1.4rem;
    color: var(--green-mid);
    flex-shrink: 0;
}

.payment-option-body strong {
    display: block;
    color: var(--green-dark);
    font-size: .92rem;
}

.payment-option-body small {
    color: var(--text-light);
    font-size: .8rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.checkout-item-info {
}

.checkout-item-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--green-dark);
}

.checkout-item-meta {
    font-size: .78rem;
    color: var(--text-light);
}

.checkout-item-price {
    font-weight: 700;
    color: var(--green-mid);
    font-size: .95rem;
    white-space: nowrap;
}

.checkout-assurance {
    text-align: center;
    font-size: .8rem;
    color: var(--text-light);
}

/* Order Confirmation  */
.confirmation-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    padding: 60px 40px;
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.confirmation-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.confirmation-sub {
    color: var(--text-light);
    margin-bottom: 20px;
}

.confirmation-number {
    background: var(--green-pale);
    color: var(--green-mid);
    border-radius: var(--radius-sm);
    padding: 10px 24px;
    display: inline-block;
    font-size: 1rem;
    margin-bottom: 30px;
}

.confirmation-details {
    background: var(--parchment);
    border-radius: var(--radius-sm);
    padding: 22px;
    border: 1px solid var(--border);
    text-align: left;
    margin-bottom: 28px;
}

.conf-detail-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-light);
    margin-bottom: 2px;
}

.conf-detail-value {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-dark) 0%, #0f2519 100%);
    padding: 40px 16px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.auth-brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-dark);
    text-align: center;
    margin-bottom: 10px;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green-dark);
    text-align: center;
    margin-bottom: 4px;
}

.auth-sub {
    color: var(--text-light);
    text-align: center;
    font-size: .88rem;
    margin-bottom: 28px;
}

.auth-divider {
    text-align: center;
    color: var(--text-light);
    margin: 20px 0;
    font-size: .85rem;
    position: relative;
}

    .auth-divider::before, .auth-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 42%;
        height: 1px;
        background: var(--border);
    }

    .auth-divider::before {
        left: 0;
    }

    .auth-divider::after {
        right: 0;
    }

.auth-link {
    color: var(--green-mid);
    font-weight: 600;
}

    .auth-link:hover {
        color: var(--green-dark);
    }

.demo-creds {
    background: var(--parchment);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    text-align: center;
    border: 1px dashed var(--border);
}

/*  Tables */
.table-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.farm-table {
    margin: 0;
}

    .farm-table thead th {
        background: var(--green-dark);
        color: rgba(255,255,255,.85);
        font-size: .78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        padding: 12px 16px;
        border: none;
    }

    .farm-table tbody td {
        padding: 13px 16px;
        border-bottom: 1px solid var(--border);
        vertical-align: middle;
        font-size: .88rem;
        color: var(--text-mid);
    }

    .farm-table tbody tr:last-child td {
        border-bottom: none;
    }

    .farm-table tbody tr:hover {
        background: var(--parchment);
    }

    .farm-table tfoot td {
        background: var(--parchment-dk);
    }

/* Order Status Badges */
.order-status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.status-pending {
    background: #fef9c3;
    color: #854d0e;
}

.status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.status-shipped {
    background: #e0e7ff;
    color: #3730a3;
}

.status-delivered {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-available {
    background: #d1fae5;
    color: #065f46;
}

.status-sold {
    background: #fee2e2;
    color: #991b1b;
}

.status-reserved {
    background: #fef9c3;
    color: #854d0e;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 18px;
}

.empty-state h4 {
    font-family: var(--font-display);
    color: var(--green-dark);
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-light);
}

.empty-state a {
    color: var(--green-mid);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-trust {
        gap: 16px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .auth-card {
        padding: 32px 22px;
    }

    .confirmation-card {
        padding: 36px 20px;
    }

    .detail-actions {
        flex-direction: column;
    }
    /* About */
    .timeline::before {
        left: 20px;
    }

    .timeline-left, .timeline-right {
        padding-left: 55px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-card {
        max-width: 100%;
    }

    .health-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mission-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    /* Contact */
    .contact-form-card {
        padding: 24px 18px;
    }

    .contact-submit-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-overlay-info {
        gap: 16px;
        justify-content: flex-start;
    }

}

.story-img-wrap {
    position: relative; /* REQUIRED for overlay */
    overflow: hidden;
    border-radius: 12px;
}

    .story-img-wrap img {
        height: 400px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
        transition: transform 0.6s ease;
    }

    /* 🔥 Hover Zoom Effect */
    .story-img-wrap:hover img {
        transform: scale(1.08);
    }

.story-badge-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.story-img-wrap:hover .story-badge-overlay {
    transform: translateY(0);
    opacity: 1;
}

.story-years {
    font-size: 22px;
    font-weight: 700;
    display: block;
}

.story-years-label {
    font-size: 13px;
    opacity: 0.9;
}

.about-hero {
    margin-top: 50px;
}

.about-stats-section {
    padding: 80px 0;
    background: var(--green-pale);
}

.about-stat {
    padding: 30px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    color: var(--green-mid);
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

    .about-stat:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    }

.about-stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--green-mid);
}

.about-stat-label {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 6px;
    letter-spacing: 0.4px;
    color: var(--green-mid);
}

.eid-countdown-section {
    padding: 80px 0;
    background: var(--green-pale);
    color: var(--green-mid);
}

.eid-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.eid-sub {
    opacity: 0.8;
    margin-bottom: 40px;
}

.eid-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.eid-box {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    min-width: 100px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

    .eid-box:hover {
        transform: translateY(-5px);
    }

    .eid-box span {
        font-size: 32px;
        font-weight: 700;
        color: var(--green-mid);
        display: block;
    }

    .eid-box small {
        font-size: 13px;
        opacity: 0.7;
    }
 
