:root {
    --color-primary: #5D856B;
    --color-secondary: #D1B26F;
    --color-background: #F9F6F1;
    --color-footer-bg: #3E5C49;
    --color-text-dark: #333333;
    --color-text-light: #F9F6F1;
    --color-section-1: #F9F6F1;
    --color-section-2: #EDE8D9;
    --color-section-3: #F1EBE0;
    --font-family-primary: 'Playfair Display', serif;
    --font-family-secondary: 'Lato', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --border-radius-soft: 0.75rem;
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-btn-inline: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: var(--font-family-secondary);
    color: var(--color-text-dark);
    line-height: 1.65;
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-primary);
    color: var(--color-primary);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    transition: background-color 0.5s ease;
}

section:nth-of-type(odd) {
    background-color: var(--color-section-1);
}

section:nth-of-type(even) {
    background-color: var(--color-section-2);
}

section:nth-of-type(3n) {
    background-color: var(--color-section-3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-family-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius-soft);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-btn-inline);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    transform: scale(1.02);
    opacity: 0.95;
    box-shadow: var(--shadow-subtle);
}

/* Cards */
.card {
    background-color: white;
    border-radius: var(--border-radius-soft);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-product {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.card-product img {
    border-radius: calc(var(--border-radius-soft) - 4px);
    margin-bottom: var(--spacing-md);
    object-fit: cover;
    width: 100%;
    height: 200px; /* Example fixed height for consistent product image display */
}

.card-product-title {
    font-family: var(--font-family-primary);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

.card-product-price {
    font-family: var(--font-family-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-top: auto; /* Pushes price to the bottom */
    margin-bottom: 0;
}

/* Footer specific styles */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer a {
    color: var(--color-text-light);
    opacity: 0.8;
}

.footer a:hover {
    color: var(--color-secondary);
    opacity: 1;
}

/* Utility classes for layout (assuming Tailwind is also in use, these are complementary) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.text-center {
    text-align: center;
}

/* Alpine.js transitions for show/hide */
[x-cloak] {
    display: none !important;
}

[x-transition:enter] {
    transition: all 0.3s ease-out;
}

[x-transition:enter-start] {
    opacity: 0;
    transform: translateY(-10px);
}

[x-transition:enter-end] {
    opacity: 1;
    transform: translateY(0);
}

[x-transition:leave] {
    transition: all 0.2s ease-in;
}

[x-transition:leave-start] {
    opacity: 1;
    transform: translateY(0);
}

[x-transition:leave-end] {
    opacity: 0;
    transform: translateY(-10px);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }

    section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card-product img {
        height: 150px;
    }
}

/* Organic Shapes for hero or distinct sections - example */
.organic-shape-bg {
    position: relative;
    overflow: hidden;
}

.organic-shape-bg::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: linear-gradient(135deg, rgba(209,178,111,0.1) 0%, rgba(93,133,107,0.1) 100%);
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
    z-index: -1;
    animation: morph 8s ease-in-out infinite both alternate;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
        transform: rotate(0deg);
    }
    100% {
        border-radius: 70% 30% 40% 60% / 60% 60% 40% 40%;
        transform: rotate(5deg);
    }
}

/* Subtle texture overlay for overall body */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMiIgaGVpZ2h0PSIyIiB2aWV3Qm94PSIwIDAgMiAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiMwMDAwMDAiIGZpbGwtb3BhY2l0eT0iMC4wMyIgZD0iTTAgMGgxdi45OTlIMFYwem0xIDFoMXYuOTk5SDFWMXoiLz48L3N2Zz4=');
    opacity: 0.5;
    z-index: -1;
}

/* Highlight text with secondary color */
.text-highlight {
    color: var(--color-secondary);
    font-weight: 600;
}

/* For form elements (basic styling) */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-soft);
    font-family: var(--font-family-secondary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(93, 133, 107, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Custom header for the premium feel */
.site-header {
    background-color: var(--color-background);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-subtle);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-family-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.03em;
}

.site-logo span {
    color: var(--color-secondary);
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.nav-menu a {
    font-family: var(--font-family-secondary);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--color-text-dark);
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Hero Section Specifics */
.hero {
    background-color: var(--color-section-1);
    padding: var(--spacing-xl) 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.03);
}

.hero p {
    font-size: 1.3rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}