:root {
    --color-primary-green: #1d7a65;
    --color-dark-green: #14352f;
    --color-lime: #ccde70;
    --color-off-white: #efede6;
    --color-orange: #f47920;
    --color-secondary-green: #006842;
    
    --font-heading: 'Placebo FM', sans-serif;
    --font-body: 'Narkis Tam', sans-serif;
    --font-accent: 'Eshkolita', cursive;

    --container-width: 1200px;
    --spacing-unit: 1rem;
    --border-radius-lg: 16px;
    --border-radius-sm: 8px;
    --shadow-card: 0 4px 12px rgba(20, 53, 47, 0.1);

    /* Diced Hero Variables */
    --diced-hero-top-text: var(--color-dark-green);
    --diced-hero-gradient-from: var(--color-primary-green);
    --diced-hero-gradient-to: var(--color-lime);
    --diced-hero-separator: var(--color-orange);
    --diced-hero-sub-text: var(--color-dark-green);
    --diced-hero-button-bg: var(--color-primary-green);
    --diced-hero-button-fg: #ffffff;
    --diced-hero-button-hover-bg: var(--color-dark-green);
    --diced-hero-button-hover-fg: var(--color-lime);
}

/* Font Face Definitions */
@font-face {
    font-family: 'Placebo FM';
    src: url('fonts/placebo-bold-fm.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Placebo FM';
    src: url('fonts/placebo-regular-fm.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Narkis Tam';
    src: url('fonts/NarkissTam-Regular-TRIAL.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Narkis Tam';
    src: url('fonts/NarkissTam-Medium-TRIAL.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Narkis Tam';
    src: url('fonts/NarkissTam-Bold-TRIAL.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Eshkolita';
    src: url('fonts/eshkolita-regular-fm.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Hide default cursor for blob effect */
}

/* Exception for iframes or other interactive elements if needed, but for now * is global */
/* We might want to keep the cursor on mobile, or just hide it on desktop. */
@media (pointer: coarse) {
    * {
        cursor: auto !important;
    }
}

html {
    scroll-behavior: smooth;
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-off-white);
    color: var(--color-dark-green);
    line-height: 1.6;
    font-size: 18px; /* Slightly larger for readability */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

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

ul {
    list-style: none;
}

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

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

/* Blob Cursor Styles */
.blob-cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.blob-main {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: url(#blob-filter); /* Apply SVG Filter */
}

.blob {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: var(--color-lime); /* Matching theme */
    opacity: 0.6;
    box-shadow: 10px 10px 5px 0 rgba(20, 53, 47, 0.4); /* Dark Green Shadow */
    will-change: transform, width, height, background-color, border;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border 0.3s ease, opacity 0.3s ease;
    /* Initial centered position is handled by JS but defaults to top-left if not set */
    transform: translate(-50%, -50%); /* Centering handled in JS usually, but here for initial render */
}

.inner-dot {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    transition: opacity 0.3s ease;
}

/* Blob Specific Sizes (Reduced as requested) */
.blob-1 { width: 40px; height: 40px; }
.blob-2 { width: 80px; height: 80px; }
.blob-3 { width: 50px; height: 50px; }

.dot-1 { width: 12px; height: 12px; top: 14px; left: 14px; }
.dot-2 { width: 20px; height: 20px; top: 30px; left: 30px; }
.dot-3 { width: 16px; height: 16px; top: 17px; left: 17px; }

/* Blob Hover State (Wrap around button) */
.blob-cursor-container.hover-active .blob {
    background-color: transparent;
    border: 3px solid var(--color-lime);
    opacity: 1;
    box-shadow: none;
}

.blob-cursor-container.hover-active .blob-1 { width: 60px; height: 60px; }
.blob-cursor-container.hover-active .blob-2 { width: 90px; height: 90px; }
.blob-cursor-container.hover-active .blob-3 { width: 70px; height: 70px; }

.blob-cursor-container.hover-active .inner-dot {
    opacity: 0; /* Hide inner dots on hover */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px; /* Rounded pill shape */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: none; /* Custom cursor */
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary-green);
    color: white;
    box-shadow: 0 4px 0 var(--color-secondary-green); /* Brutalist button shadow */
}

.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--color-secondary-green);
}

.btn-primary:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* Header */
.site-header {
    background-color: var(--color-off-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--color-dark-green);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container > *:first-child {
    margin-left: 0; /* Logo stays on right (RTL) */
}

.main-nav {
    margin-right: auto; /* Push nav to left side, keep cart on right */
    margin-left: 3rem; /* Gap from logo */
}

.logo a {
    display: block;
    width: 150px; /* Adjust based on logo needs */
    cursor: none;
}

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

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

.main-nav a {
    font-weight: 500;
    font-size: 1.1rem;
    cursor: none;
}

.main-nav a:hover {
    color: var(--color-primary-green);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

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

.cart-btn {
    background: none;
    border: none;
    cursor: pointer !important;
    position: relative;
    color: var(--color-dark-green);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
}

.cart-btn:hover {
    background-color: rgba(29, 122, 101, 0.1);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px; /* Positioned to the right of the icon (inner side relative to screen edge) */
    left: auto;
    background-color: var(--color-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-dark-green);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 72px; /* adjust based on header height */
    left: 0;
    right: 0;
    background-color: var(--color-off-white);
    border-bottom: 2px solid var(--color-dark-green);
    padding: 2rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
    text-align: center;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- New Diced Hero Section --- */
.diced-hero {
    padding: 4rem 2rem; /* Increased padding */
    overflow: hidden;
    display: flex;
    flex-direction: row; /* Default LTR, but we handle RTL via direction */
    justify-content: center;
    align-items: stretch;
    width: 100vw; /* Full viewport width */
    max-width: none; /* Remove max-width constraint */
    margin: 0;
    margin-left: calc(-50vw + 50%); /* Extend to full width */
    margin-right: calc(-50vw + 50%); /* Extend to full width */
    min-height: 80vh; /* Minimum viewport height */
    position: relative;
    background-color: var(--color-lime); /* Light Green */
}

.diced-hero-content {
    flex: 1;
    margin-left: 2rem; /* Gap for text */
    padding-right: 4rem; /* Push text away from edge */
    text-align: right;
    align-items: flex-start; /* Align right in RTL context */
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.diced-hero-top-text {
    font-family: var(--font-accent);
    color: var(--diced-hero-top-text);
    font-size: 2rem;
    margin-bottom: 0.25rem; /* Reduced from 0.5rem */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.diced-hero-main-text {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards 0.1s;
}

.diced-hero-main-text span {
    background-image: linear-gradient(45deg, var(--color-primary-green), var(--color-dark-green)); /* Adjusted for visibility on lime bg */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.diced-hero-separator {
    height: 0.25rem;
    background: var(--diced-hero-separator);
    border: none;
    margin: 1.125rem 0 1.875rem auto; /* Align right */
    width: 0;
    animation: expandWidth 0.5s forwards 0.2s;
}

.diced-hero-sub-text {
    color: var(--diced-hero-sub-text);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards 0.3s;
}

.diced-hero-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-start; /* Right aligned in RTL */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards 0.4s;
}

.diced-hero-visuals {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the carousel */
    justify-content: center; /* Center vertically */
    position: relative;
    width: 50%;
    padding-right: 2rem;
    height: auto;
}

/* Hero Image Carousel */
.hero-image-carousel {
    position: relative;
    width: 100%;
    max-width: 700px; /* Increased from 500px */
    height: 700px; /* Increased from 500px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    position: absolute;
    width: 120%; /* Increased from 100% to make images larger */
    height: 120%; /* Increased from 100% */
    object-fit: contain;
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
    /* Ensure images load */
    max-width: 120%;
    max-height: 120%;
}

.carousel-image.active {
    opacity: 1;
    transform: scale(1.15) rotate(0deg); /* Slightly larger when active */
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) rotate(2deg);
    }
    70% {
        transform: scale(0.95) rotate(-1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Chronicle Button */
.chronicleButton {
    --chronicle-button-default-hover-color: var(--diced-hero-button-hover-bg);
    --chronicle-button-border-radius: 8px;
    border-radius: var(--chronicle-button-border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center vertically */
    overflow: hidden;
    line-height: 1;
    padding: 1rem 2rem; /* Adjusted padding */
    cursor: none;
    border: none;
    font-weight: 700;
    background: var(--diced-hero-button-bg);
    color: var(--diced-hero-button-fg);
    transition: background 0.4s linear, color 0.4s linear;
    will-change: background, color;
    position: relative;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    width: 200px; /* Fixed width for consistent flip */
    text-align: center; /* Center text horizontally */
}

.chronicleButton:hover {
    background: var(--diced-hero-button-hover-bg);
    color: var(--diced-hero-button-hover-fg);
}

.chronicleButton span {
    position: relative;
    display: block;
    perspective: 108px;
    width: 100%; /* Full width */
    text-align: center; /* Center text */
}

.chronicleButton span:nth-of-type(2) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center; /* Center text */
}

.chronicleButton em {
    font-style: normal;
    display: inline-block;
    font-size: 1.2rem;
    color: inherit;
    will-change: transform, opacity, color, transition;
    transition: transform 0.55s cubic-bezier(.645,.045,.355,1), opacity 0.35s linear 0.2s, color 0.4s linear;
}

.chronicleButton span:nth-of-type(1) em {
    transform-origin: top;
}

.chronicleButton span:nth-of-type(2) em {
    opacity: 0;
    transform: rotateX(-90deg) scaleX(.9) translate3d(0,10px,0);
    transform-origin: bottom;
}

.chronicleButton:hover span:nth-of-type(1) em {
    opacity: 0;
    transform: rotateX(90deg) scaleX(.9) translate3d(0,-10px,0);
}

.chronicleButton:hover span:nth-of-type(2) em {
    opacity: 1;
    transform: rotateX(0deg) scaleX(1) translateZ(0);
    transition: transform 0.75s cubic-bezier(.645,.045,.355,1), opacity 0.35s linear 0.3s, color 0.4s linear;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    to {
        width: 6.25rem;
    }
}

/* Marquee */
.marquee-container {
    background-color: var(--color-dark-green);
    color: var(--color-lime);
    padding: 1.5rem 0; /* Slightly taller */
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid var(--color-dark-green);
    display: flex;
    cursor: none;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    font-family: var(--font-heading); /* Keeping heading font for clarity, or switch to accent */
    font-size: 1.8rem;
    letter-spacing: 1px;
    will-change: transform;
}

.marquee-item {
    margin: 0 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.marquee-item::after {
    content: "•";
    color: var(--color-orange);
    margin-right: 2rem;
}

@keyframes marquee {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* Packs Section (New) */
.packs-section {
    padding: 4rem 0;
    background-color: var(--color-off-white);
    border-bottom: 2px solid var(--color-dark-green);
}

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

/* Updated Pack Card Styles */
.pack-card {
    background: white;
    border: 2px solid var(--color-dark-green);
    border-radius: var(--border-radius-lg);
    padding: 0; /* Remove padding to let image flush with edges */
    overflow: visible; /* Changed to visible to show full rotated images */
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to top */
    min-height: 400px; /* Taller for image */
    cursor: none;
}

.pack-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 var(--color-orange);
}

.pack-card.highlight {
    background-color: white; /* Ensure all cards have white background */
    box-shadow: 6px 6px 0 var(--color-secondary-green);
}

.pack-card.highlight:hover {
    box-shadow: 8px 8px 0 var(--color-secondary-green);
}

.pack-content {
    padding: 2rem;
}

.pack-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-dark-green);
}

.pack-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.pack-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-green);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.pack-card.highlight .pack-price {
    color: var(--color-dark-green);
}

/* Pack Image Styling */
.pack-image-container {
    height: 400px; /* Increased height to better accommodate rotated images */
    width: 100%;
    overflow: hidden; /* Clip cleanly at edges */
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--color-dark-green);
    background-color: white; /* Ensure uniform white background to match cards */
    padding: 0; /* No padding to eliminate white borders */
    position: relative; /* For badge positioning */
}

.pack-image-container .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10; /* Ensure badge is above the image */
}

.pack-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Use contain to ensure all branding text is visible - no cropping */
    object-position: center; /* Center the image */
    transform: rotate(90deg) scale(1.8) translateY(-50px); /* Nudged to the right to ensure all pack text is visible */
}

/* Shop Section */
.shop-section {
    padding: 4rem 0;
}

/* Logos Banner - Where to Find Us */
.logos-banner-section {
    background-color: var(--color-off-white);
    padding: 4rem 0 3rem;
    overflow: hidden;
    position: relative;
}

.logos-banner-container {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.logos-banner-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-dark-green);
}

.logos-marquee-container {
    display: flex;
    justify-content: center; /* Center logos on screen */
    align-items: center;
    width: 100%;
    padding: 3rem 2rem; /* Vertical and horizontal padding */
    overflow: visible; /* No need to hide overflow */
}

.logos-marquee-content {
    display: flex;
    gap: 4rem; /* Good spacing between logos */
    align-items: center;
    justify-content: center; /* Center the logos */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    max-width: 1400px; /* Limit width on very large screens */
    /* Animation removed - static display */
}

.logos-marquee-content:nth-child(2) {
    display: none; /* Hide duplicate set - not needed for static display */
}

.partner-logo {
    height: 70px; /* Slightly larger since we have room */
    width: auto;
    min-width: 80px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent shrinking */
    flex-grow: 0; /* Prevent growing */
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15);
}

/* Animation removed - logos are now static */

/* Partners Section */
.partners-section {
    padding: 5rem 0;
    background-color: white;
}

.partners-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--color-dark-green);
    margin-bottom: 4rem;
    font-family: var(--font-body);
}

.map-container {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
}

.israel-map {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(29, 122, 101, 0.15));
}

.map-region {
    transition: all 0.3s ease;
    pointer-events: none; /* Disable hover on map regions */
}

/* Removed hover effect - only dots should interact
.map-region:hover {
    fill: rgba(204, 222, 112, 0.2);
}
*/

.partner-dot {
    cursor: pointer !important;
    /* Ensure dots are always interactive */
    pointer-events: all;
}

/* Increase the clickable area around each dot */
.partner-dot circle {
    /* Add invisible stroke for larger hit area */
    stroke-opacity: 1;
    cursor: pointer;
}

.dot-circle {
    fill: var(--color-orange);
    stroke: var(--color-dark-green);
    stroke-width: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
    transform-box: fill-box;
    /* Animation removed - dots should be static until hover */
}

.partner-dot:hover .dot-circle {
    fill: var(--color-primary-green);
    stroke: var(--color-orange);
    stroke-width: 3;
    /* Scale from center to avoid hover boundary issues */
    transform: scale(1.3);
}

/* Pulse animation removed - dots are now static until hover */

.partner-tooltip {
    position: absolute;
    background: var(--color-dark-green);
    color: var(--color-off-white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 10000; /* Increased z-index */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    max-width: 280px;
    transform: translateY(10px);
    white-space: normal;
}

.partner-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-lime);
}

.tooltip-products {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin: 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-dark-green);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border: 2px solid var(--color-dark-green);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 var(--color-orange);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-bottom: 2px solid var(--color-dark-green);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
    border: 1px solid var(--color-dark-green);
    font-family: var(--font-accent); /* Accent Font for Badges */
}

.sale-badge {
    background-color: var(--color-orange);
}

.new-badge {
    background-color: var(--color-primary-green);
}

.card-details {
    padding: 1.5rem;
    text-align: center;
}

.card-details h3 {
    font-family: var(--font-heading);
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.farm-info {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

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

.unit {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
    font-family: var(--font-accent); /* Accent Font for Unit */
}

.btn-add-cart {
    width: 100%;
    padding: 0.75rem;
    background-color: white;
    border: 2px solid var(--color-dark-green);
    border-radius: var(--border-radius-sm);
    font-weight: bold;
    cursor: none;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.btn-add-cart:hover {
    background-color: var(--color-dark-green);
    color: var(--color-lime);
}

/* Footer */
.site-footer {
    background-color: var(--color-dark-green);
    color: var(--color-off-white);
    padding: 4rem 0 2rem;
    cursor: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-lime);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a:hover {
    color: var(--color-lime);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-off-white);
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: none;
}

.social-links a:hover {
    background-color: var(--color-lime);
    color: var(--color-dark-green);
    border-color: var(--color-lime);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive */
@media (max-width: 900px) {
    .diced-hero-main-text {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hide default nav on mobile */
    }

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

    /* Diced Hero Mobile */
    .diced-hero {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .diced-hero-content {
        max-width: 100%;
        margin-left: 0;
        padding-right: 0; /* Remove right padding on mobile */
        text-align: center;
        align-items: center;
        order: 1; /* Text FIRST on mobile */
        margin-bottom: 2rem; /* Space between text and images */
    }

    .diced-hero-visuals {
        width: 100%;
        padding-right: 0;
        margin-bottom: 0;
        order: 2; /* Images AFTER text on mobile */
        min-height: 350px; /* Ensure container has height */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-image-carousel {
        max-width: 300px !important; /* Smaller on mobile */
        height: 300px !important; /* Smaller on mobile */
        min-height: 300px; /* Ensure carousel has minimum height */
        margin: 0 auto; /* Center the carousel */
        position: relative; /* Ensure positioning context */
    }
    
    .carousel-image {
        width: 110% !important;
        height: 110% !important;
    }
    
    .carousel-image.active {
        transform: scale(1.1) rotate(0deg) !important; /* Ensure active image is visible */
    }
    
    .diced-hero-separator {
        margin: 1.125rem auto 1.875rem; /* Center separator */
    }
    
    .diced-hero-actions {
        justify-content: center; /* Center CTA button */
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
    
    /* Logos Section Mobile */
    .logos-banner-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .logos-marquee-container {
        padding: 2rem 1rem;
    }
    
    .logos-marquee-content {
        gap: 2rem; /* Reduce gap on mobile */
    }
    
    .partner-logo {
        height: 50px; /* Smaller on mobile */
        min-width: 60px;
        max-width: 100px;
    }
    
    /* Re-enable default cursor on mobile */
    * {
        cursor: auto !important;
    }
    
    .blob-cursor-container {
        display: none; /* Hide custom cursor on mobile */
    }
}

/* Accent Header */
.accent-header {
    font-family: var(--font-accent);
    font-size: 4rem;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
    transform: rotate(-2deg); /* Slight playful tilt */
}

/* Shopping Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.cart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 53, 47, 0.8);
    cursor: pointer !important;
}

.cart-modal-content {
    position: relative;
    margin-left: auto;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background-color: var(--color-off-white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideInFromLeft 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: right center;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--color-dark-green);
    background-color: white;
}

.cart-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-dark-green);
    margin: 0;
}

.cart-modal-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer !important;
    color: var(--color-dark-green);
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-close:hover {
    transform: rotate(90deg);
    color: var(--color-orange);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart svg {
    color: var(--color-lime);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-cart p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-dark-green);
    margin: 0.5rem 0;
}

.empty-cart-subtext {
    font-family: var(--font-body);
    font-size: 1rem !important;
    color: #666;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--color-dark-green);
    border-radius: var(--border-radius-sm);
    position: relative;
    animation: slideInItem 0.3s ease;
}

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

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    border: 2px solid var(--color-lime);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-dark-green);
    margin: 0 0 0.5rem 0;
}

.cart-item-price {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-primary-green);
    font-weight: bold;
}

.cart-item-remove {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--color-orange);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: var(--color-dark-green);
    transform: rotate(90deg) scale(1.1);
}

.cart-modal-footer {
    padding: 2rem;
    border-top: 2px solid var(--color-dark-green);
    background-color: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark-green);
}

.cart-total-amount {
    color: var(--color-primary-green);
    font-weight: bold;
}

.btn-checkout {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.2rem;
    background-color: var(--color-primary-green);
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background-color: var(--color-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 53, 47, 0.3);
}

/* Mobile adjustments for cart modal */
@media (max-width: 768px) {
    .cart-modal-content {
        max-width: 100%;
    }
    
    .cart-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .cart-item {
        padding: 1rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
}
