/* ============================
   LTV Design Tokens
   ============================ */
:root {
    --color-primary: #1a3a1a;
    --color-secondary: #2d6a2d;
    --color-fresh: #4a9e4a;
    --color-yellow: #f5c842;
    --color-orange: #e87b2a;
    --color-cream: #faf7f0;
    --color-text: #1c1c1c;
    --color-text-light: #555555;
    --color-border: #e0ddd5;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, .08);
    --radius-card: 8px;
}

/* ============================
   Base
   ============================ */
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: #fff;
}

h1, h2, h3 {
    font-family: var(--font-display);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

a:hover {
    color: var(--color-fresh);
}

/* ============================
   Announcement Bar
   ============================ */
.announcement-bar {
    background: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================
   Navbar
   ============================ */
.navbar-ltv {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease;
    z-index: 1030;
}

.navbar-ltv.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, .12);
}

.navbar-ltv .nav-link {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    transition: color 0.2s;
}

.navbar-ltv .nav-link:hover {
    color: var(--color-secondary);
}

.navbar-brand img {
    height: 52px;
}

.basket-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 1.3rem;
    color: var(--color-text) !important;
}

.basket-icon:hover {
    color: var(--color-secondary) !important;
}

.basket-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--color-fresh);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ============================
   Buttons
   ============================ */
.btn-ltv-primary {
    background: var(--color-yellow);
    color: var(--color-primary);
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
}

.btn-ltv-primary:hover {
    background: #e8b830;
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-ltv-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 10px 26px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-block;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-ltv-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-basket {
    background: var(--color-secondary);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    transition: background 0.2s;
}

.btn-basket:hover {
    background: var(--color-fresh);
    color: #fff;
}

/* ============================
   Hero Section
   ============================ */
.hero-section {
    position: relative;
    min-height: 85vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 58, 26, 0.62);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.15;
}

.hero-scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================
   Section Helpers
   ============================ */
.section-title {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.section-padding {
    padding: 72px 0;
}

/* ============================
   Category Tiles
   ============================ */
.category-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-secondary);
    cursor: pointer;
}

.category-tile img {
    transition: transform 0.4s ease;
    object-fit: cover;
}

.category-tile:hover img {
    transform: scale(1.06);
}

.category-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 58, 26, 0.75) 0%, transparent 60%);
}

.category-tile-name {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    z-index: 2;
}

/* ============================
   Product Card
   ============================ */
.product-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card-img {
    height: 220px;
    object-fit: cover;
}

.product-card-body {
    padding: 14px;
}

.product-card-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
    margin: 4px 0;
}

.product-card-name a {
    color: var(--color-primary);
}

.product-card-name a:hover {
    color: var(--color-secondary);
}

.product-card-origin {
    font-style: italic;
    color: var(--color-text-light);
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.product-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.product-card-unit {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.product-card-seasonal {
    color: var(--color-orange);
    font-size: 0.82rem;
}

/* ============================
   Status Badges
   ============================ */
.badge-bestseller {
    background: var(--color-yellow);
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-seasonal {
    background: var(--color-orange);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-available {
    background: var(--color-fresh);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================
   Why Us Section
   ============================ */
.why-us-section {
    background: var(--color-primary);
    padding: 72px 0;
}

.why-badge-icon {
    font-size: 36px;
    color: var(--color-yellow);
}

.why-badge-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 8px;
}

.why-badge-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
}

/* ============================
   Reviews
   ============================ */
.reviews-section {
    background: var(--color-cream);
    padding: 80px 0;
}

.review-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 32px 40px;
}

.review-stars {
    color: var(--color-yellow);
    font-size: 1.2rem;
}

.review-text {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-text);
}

.review-author {
    color: var(--color-secondary);
    font-weight: 600;
}

/* ============================
   Delivery Banner
   ============================ */
.delivery-banner {
    background: var(--color-secondary);
    color: #fff;
    padding: 16px 0;
}

.delivery-banner a {
    color: var(--color-yellow);
    font-weight: 600;
}

.delivery-banner h4 {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

/* ============================
   Newsletter
   ============================ */
.newsletter-section {
    background: #fff;
    padding: 80px 0;
}

.newsletter-form input {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 10px 14px;
}

/* ============================
   Cart
   ============================ */
.cart-item-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
}

.free-delivery-bar {
    background: #e8f5e8;
    padding: 12px 16px;
    border-radius: 6px;
}

.delivery-progress {
    height: 8px;
    background: #d0e8d0;
    border-radius: 4px;
    margin-bottom: 6px;
}

.delivery-progress-fill {
    background: var(--color-fresh);
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* ============================
   Order Summary Box
   ============================ */
.order-summary-box {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 24px;
}

/* ============================
   Footer
   ============================ */
.footer-ltv {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 0;
}

.footer-ltv h5 {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
}

.footer-ltv a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    margin-bottom: 4px;
}

.footer-ltv a:hover {
    color: var(--color-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--color-yellow) !important;
}

/* ============================
   Toast Notification
   ============================ */
.ltv-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-primary);
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
    z-index: 9999;
    font-weight: 500;
    animation: slideInToast 0.3s ease;
}

@keyframes slideInToast {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ============================
   Page Hero Banner (shop, about, wholesale, contact)
   ============================ */
.page-hero {
    background: var(--color-primary);
    padding: 52px 0 40px;
    color: #fff;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.65);
}

.page-hero .breadcrumb-item.active,
.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.45);
}

/* ============================
   About – Stats Strip
   ============================ */
.stats-strip {
    background: var(--color-primary);
    padding: 56px 0;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.stat-label {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-top: 6px;
}

/* ============================
   About – What Makes Us Different
   ============================ */
.diff-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    height: 100%;
}

.diff-card-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.diff-card h5 {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

.diff-card p {
    color: var(--color-text-light);
    font-size: 0.88rem;
    margin: 0;
}

/* ============================
   Team Cards
   ============================ */
.team-card {
    text-align: center;
}

.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-cream);
    box-shadow: var(--shadow-card);
}

.team-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--color-fresh);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    margin: 0 auto;
}

/* ============================
   Product Detail – Tabs
   ============================ */
.product-tabs .nav-link {
    color: var(--color-text-light);
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 12px 20px;
    font-weight: 500;
    transition: color 0.2s, border-color 0.2s;
}

.product-tabs .nav-link.active,
.product-tabs .nav-link:hover {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
    background: transparent;
}

/* ============================
   Sidebar – Shop Filter
   ============================ */
.filter-sidebar {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.filter-sidebar h6 {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-link {
    display: block;
    padding: 6px 0;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
    border-left: 2px solid transparent;
    padding-left: 8px;
}

.filter-link:hover,
.filter-link.active {
    color: var(--color-secondary);
    border-left-color: var(--color-secondary);
}

.filter-link.active {
    font-weight: 600;
}

/* ============================
   Account Cards (Login / Register)
   ============================ */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--color-cream);
    padding: 48px 0;
}

.auth-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,.10);
    padding: 40px 36px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

.auth-card .auth-brand {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}

.auth-card h2 {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 4px;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

/* ============================
   Form – Green Focus States
   ============================ */
.form-control:focus {
    border-color: var(--color-fresh);
    box-shadow: 0 0 0 3px rgba(74, 158, 74, 0.15);
}

/* ============================
   Section Backgrounds
   ============================ */
.bg-cream {
    background: var(--color-cream) !important;
}

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

/* ============================
   Wholesale Hero
   ============================ */
.wholesale-benefits li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.wholesale-benefits li:last-child {
    border-bottom: none;
}

/* ============================
   Closing CTA Section
   ============================ */
.cta-section {
    background: var(--color-cream);
    padding: 80px 0;
    text-align: center;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .section-padding {
        padding: 48px 0;
    }

    .review-card {
        padding: 24px 20px;
    }
}
