@font-face {
    font-family: 'Caslon Antique';
    src: url('assets/fonts/Olives-Regular.ttf') format('truetype'),
        url('assets/fonts/Olives-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-bg: #000000;
    --color-surface: #111111;
    --color-surface-hover: #1a1a1a;
    --color-primary: #5d7a27;
    /* Keeping original green */
    --color-primary-hover: #6e8f32;
    --color-accent: #e0c068;
    --color-text: #ffffff;
    --color-text-muted: #aaaaaa;
    --color-border: #333333;

    --font-heading: 'Caslon Antique', 'IM Fell English', serif;
    --font-body: 'Century Gothic', 'CenturyGothic', AppleGothic, sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(255, 255, 255, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    /* Century Gothic is light by default */
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: normal;
    line-height: 1.2;
    color: var(--color-text);
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero h1 {
    color: #fff;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-underline-text {
    display: inline-block;
    position: relative;
    /* Ensure text color is standard, overriding any potential inherit issues if previously styled */
    color: var(--color-text);
}

.gradient-underline-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    /* Spacing from text */
    width: 100%;
    height: 4px;
    /* Thickness */
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 122, 39, 0.3);
}

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(93, 122, 39, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.home-nav {
    height: 160px;
    /* Larger start height for home */
}

.navbar.scrolled {
    height: 80px;
    /* compact height */
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 100px;
    width: auto;
}

.logo-long {
    height: 60px !important;
    /* Default small size for standard subpages (80px header) */
    max-width: 800px;
    object-fit: contain;
    transition: height 0.3s ease;
}

.navbar.home-nav .logo-long {
    height: 140px !important;
    /* Large logo specifically for the home page initial state */
}

.navbar.scrolled .logo-long {
    height: 60px !important;
    /* shrink logo logic */
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: normal;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: normal;
    color: #ffffff;
    /* White text */
    position: relative;
    font-family: var(--font-heading);
    /* Use custom header font */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
}

/* Page Header (Subpages) */
.page-header {
    background-color: var(--color-surface);
    padding: 150px 0 60px;
    /* Account for fixed navbar */
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Hero Section (Home) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('assets/images/allproducts-wide.jpg');
    background-size: cover;
    background-position: center;
    margin-top: -160px;
    padding-top: 240px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    margin-top: 40px;
    /* Push down slightly to avoid header overlap */
}

.hero-content p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Home Grid */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.home-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 1px solid var(--color-border);
}

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

.home-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.home-card-content {
    padding: 30px;
    text-align: center;
}

.home-card-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #ffffff;
}

.home-card-content p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* Products Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

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

.product-image-container {
    width: 100%;
    height: 300px;
    background-color: var(--color-surface);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.product-price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.add-to-cart-btn:hover {
    background-color: var(--color-primary-hover);
}

/* About Section */
.about-section {
    background-color: var(--color-bg);
}

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

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.about-image {
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.story-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.story-text p {
    margin-bottom: 20px;
}

@media (max-width: 968px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 350px;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info>p {
    margin-bottom: 3rem;
    color: var(--color-text-muted);
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.contact-form-wrapper {
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-surface);
    color: var(--color-text);
    transition: border-color 0.3s, background-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 80px 0 20px;
    color: #f0f0f0;
    margin-top: auto;
    /* Push to bottom if content is short */
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #fff;
}

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

.footer-links a {
    color: #a0a0a0;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --header-height: 110px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-container,
    .contact-container,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo img {
        height: 70px;
    }

    .logo-long {
        height: 90px !important;
    }
}

/* Product Detail Page */
.product-detail-section {
    padding-top: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.back-link:hover {
    color: var(--color-primary);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.detail-image-container {
    background-color: #f0f0f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
}

.add-to-cart-large {
    width: 100%;
    max-width: 300px;
    padding: 16px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-image-container {
        height: 300px;
    }
}

/* Cart Page */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    /* Dark theme surface */
    align-items: center;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background-color: #f5f5f5;
}

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

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text);
}

.cart-item-price {
    color: var(--color-primary);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}

.cart-summary {
    background: var(--color-surface);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    height: fit-content;
}

.cart-summary h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--color-text-muted);
}

.summary-divider {
    height: 1px;
    background-color: var(--color-border);
    margin: 20px 0;
}

.summary-row.total {
    font-weight: 800;
    color: var(--color-text);
    font-size: 1.25rem;
}

.checkout-btn {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.continue-shopping:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-item-actions {
        align-items: center;
    }
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #d1d5db;
    /* Light gray line */
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 100px;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border: 4px solid #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 1px #d1d5db;
}

/* Columns */
.timeline-content {
    width: 45%;
    position: relative;
}

/* Image Styles */
.image-content {
    position: relative;
    box-shadow: var(--shadow-md);
    background-color: #f5f5f5;
    border-radius: var(--radius-lg);
}

.image-content img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/2;
    border-radius: var(--radius-lg);
}

.image-content.portrait img {
    aspect-ratio: 2/3 !important;
    /* Forces vertical orientation */
    object-fit: contain;
    /* Ensures whole image is seen within the box */
    background: #000;
    /* Dark background for matting if needed */
}

/* Text Styles */
.text-content {
    padding: 20px;
}

.text-content h3 {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* Triangles/Arrows */
/* Triangle pointing LEFT (for images on the RIGHT side of the layout) */
.right .image-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -14px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-right: 14px solid var(--color-primary);
    /* Arrow color */
    transform: translateY(-50%);
    z-index: 10;
}

/* Triangle pointing RIGHT (for images on the LEFT side of the layout) */
.left .image-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -14px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 14px solid var(--color-primary);
    /* Arrow color */
    transform: translateY(-50%);
    z-index: 10;
}


/* Responsive */
@media (max-width: 900px) {
    .timeline-line {
        left: 30px;
        /* Move line to left */
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 60px;
        position: relative;
        /* ensure stacking context */
    }

    .timeline-dot {
        left: 30px;
        /* Align dot with line */
    }

    /* Reset width for mobile logic */
    .timeline-content {
        width: 100%;
        padding-left: 70px;
        /* Space for line */
    }

    /* Ensure image content on mobile doesn't have arrows pointing strangely */
    .right .image-content::before,
    .left .image-content::after {
        display: none;
    }

    .image-content {
        margin-bottom: 20px;
    }

    .text-content {
        padding: 0;
    }
}

/* Product Highlights Section - Premium Upgrade */
.product-highlights-section {
    margin-top: 80px;
    padding: 80px 0;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.product-highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(93, 122, 39, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(224, 192, 104, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

.product-highlights-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.product-highlights-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(93, 122, 39, 0.15);
    background: var(--color-surface);
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(93, 122, 39, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    color: var(--color-primary);
}

.highlight-card:hover .icon-wrapper {
    background: var(--color-primary);
    color: #fff;
    transform: rotateY(180deg);
}

.highlight-card i {
    width: 36px;
    height: 36px;
    transition: transform 0.4s ease;
}

.highlight-card:hover i {
    transform: rotateY(-180deg);
    /* Counter reset to keep icon facing forward if desired, or let it flip */
}

/* Let the icon flip with the container for a 3D coin effect */
.highlight-card:hover .icon-wrapper i {
    transform: scale(1.1);
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-text);
    font-weight: 700;
}

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

@media (max-width: 768px) {
    .product-highlights-section {
        padding: 60px 0;
    }

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

    .highlight-card {
        padding: 30px;
    }

    .product-highlights-section h2 {
        font-size: 2.2rem;
    }
}

/* Shop Split Hero - Creative Implementation */
.shop-split-hero {
    display: flex;
    height: 85vh;
    /* Large impactful area */
    width: 100%;
    margin-top: 0;
    padding-top: 80px;
    /* offset fixed header */
    position: relative;
    overflow: hidden;
}

.split-pane {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
}

.split-pane:hover {
    flex: 1.5;
    /* Grow on hover */
}

.olives-pane {
    background-image: url('assets/products/Olives/oliveartistic1.png');
}

.sausage-pane {
    background-image: url('assets/images/allsausage.jpg');
}

.pane-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.4s ease;
}

.split-pane:hover .pane-overlay {
    background: rgba(0, 0, 0, 0.2);
    /* Lighten on hover */
}

.pane-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.split-pane:hover .pane-content {
    transform: scale(1.05);
}

.pane-content h2 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.pane-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.bg-surface {
    background-color: var(--color-surface);
}

/* Responsive Split */
@media (max-width: 768px) {
    .shop-split-hero {
        flex-direction: column;
        height: auto;
    }

    .split-pane {
        height: 50vh;
        width: 100%;
    }

    .split-pane:hover {
        flex: 1;
        /* Disable flex grow on mobile */
    }
}

/* Shipping Estimator Styles */
.shipping-estimator {
    margin: 20px 0;
    padding: 20px;
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.shipping-estimator h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.shipping-estimator .input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.shipping-estimator input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text);
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-option {
    display: flex;
    align-items: center;
    /* Align radio and label vertically */
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    cursor: pointer;
    transition: border-color 0.2s;
}

.shipping-option:hover {
    border-color: var(--color-primary);
}

.shipping-option input[type="radio"] {
    margin: 0;
    accent-color: var(--color-primary);
}

.shipping-option label {
    flex: 1;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.shipping-option .opt-name {
    font-weight: 600;
}

.shipping-option small {
    grid-column: 1 / -1;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.error-text {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-top: 10px;
}
/* Custom Quantity Selector */
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--color-surface);
    width: fit-content;
}

.qty-selector button {
    background: transparent;
    border: none;
    color: var(--color-text);
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-selector button:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.qty-selector input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 600;
    padding: 0;
    margin: 0;
    -moz-appearance: textfield; /* Firefox */
}

/* Chrome, Safari, Edge, Opera */
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-selector.small {
    border-color: var(--color-border);
}

.qty-selector.small button {
    width: 28px;
    height: 28px;
    font-size: 1rem;
}

.qty-selector.small input {
    width: 30px;
    height: 28px;
    font-size: 0.9rem;
}

/* Update remove button style for better alignment */
.remove-btn {
    font-size: 0.85rem;
    color: #ff6b6b;
    text-decoration: none;
    margin-top: 5px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.remove-btn:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Payment Button Containers */
#apple-pay-button,
#google-pay-button {
    height: 48px;
    width: 100%;
    margin-bottom: 15px;
    min-height: 48px;
    display: block;
}
