/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FAF0E6; /* Light linen/cream */
    color: #5C4033; /* Dark brown text */
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
header {
    background-color: #A0D2DB; /* Soft natural green from previous example */
    padding: 1em 0;
    border-bottom: 3px solid #81B9C3;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active { /* Add 'active' class with PHP if you want current page highlighting */
    background-color: #81B9C3;
}

/* Mini Cart Count Styling - Badge Style */
#mini-cart-count {
    background-color: #28A745;
    /* Or a bright red: background-color: #E60023; */
    color: white;               /* Text color on the badge */
    font-size: 0.85em;          /* Slightly smaller than the link text */
    font-weight: bold;          /* Bold text */
    padding: 2px 6px;           /* Small padding inside the badge */
    border-radius: 10px;        /* Rounded corners to make it pill-shaped */
    margin-left: 4px;           /* Space from "Winkelmandje" */
    line-height: 1;             /* Helps with vertical alignment if padding is tricky */
    display: inline-block;      /* To allow padding and proper shaping */
    vertical-align: middle;     /* Try to align it nicely with the link text */
    min-width: 10px;            /* Ensure it has some width even with single digit */
    text-align: center;         /* Center the number if it's a single digit */
}

/* Hide the span if it's empty (when basket.js sets it to '') */
#mini-cart-count:empty {
    display: none;
}

.about-us-image {
    max-width: 100%; /* Image will never be wider than its container */
    border-radius:8px;
    margin-top:20px;
    height: auto;    /* Maintain aspect ratio */
    display: block;  /* Removes extra space below inline images, good for centering */
    margin-left: auto; /* Center the image if its max-width is less than container width */
    margin-right: auto;/* Center the image */
    /* You can add a specific width for larger screens if you don't want it full-width */
    /* width: 70%; */ /* Example: Make it 70% of its container on larger screens */
    /* max-width: 500px; */ /* Example: Never let it get larger than 500px wide */
}

/* Main Content Area */
main.container {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fff;
    min-height: 60vh; /* Ensure footer isn't too high on short pages */
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

h1, h2, h3 {
    color: #A47449; /* Earthy brown */
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #E87500; /* A nice, darker, rich orange. Was #FF8C00 (DarkOrange), this is a bit deeper. */
    /* Other options for darker orange:
       #D2691E (Chocolate - more brownish)
       #CC5500 (Burnt Orange)
    */
    color: white;
    padding: 10px 20px; /* Keep existing padding or adjust if needed */
    text-decoration: none;
    border-radius: 5px; /* Keep existing border-radius */
    border: none;
    cursor: pointer;
    font-size: 1.1em;    /* Larger text - adjust 1.0em, 1.2em, 16px, etc. */
    font-weight: bold;   /* Makes text bold */
    text-align: center;  /* Ensures text is centered if button width varies */
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out; /* Smooth transitions */
}

.btn:hover {
    background-color: #C76800; /* A slightly darker shade of #E87500 for hover */
    /* transform: translateY(-1px); /* Optional: subtle lift effect on hover */
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.15); /* Optional: subtle shadow on hover */
}

.btn:active { /* Style for when the button is being clicked */
    background-color: #AD5A00; /* Even darker shade for active state */
    transform: translateY(0px);   /* Reset lift if used on hover */
    /* box-shadow: inset 0 1px 3px rgba(0,0,0,0.2); /* Optional: inset shadow for pressed look */
}

/* Styling for disabled buttons (if your JS makes them disabled temporarily) */
.btn:disabled,
.btn[disabled] { /* Covers both JS disabled and HTML disabled attribute */
    background-color: #cccccc; /* Grey background */
    color: #666666;          /* Darker grey text */
    cursor: not-allowed;      /* Indicates it's not clickable */
    /* Reset any hover effects */
    /* transform: none; */
    /* box-shadow: none; */
}

/* Product Grid (from previous example) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
}

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-card h3 {
    margin-top: 0;
    color: #A47449;
}

.product-card .price {
    font-weight: bold;
    color: #E07A9B; /* Beetroot pink for price */
    margin: 10px 0;
}

/* Contact Form */
.contact-form div {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important for 100% width */
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.success-message {
    background-color: #D4EDDA;
    color: #155724;
    padding: 15px;
    border: 1px solid #C3E6CB;
    border-radius: 4px;
    margin-bottom: 20px;
}

.error-message {
    background-color: #F8D7DA;
    color: #721C24;
    padding: 15px;
    border: 1px solid #F5C6CB;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed; /* Stays in place on scroll */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333; /* Dark background */
    color: #f4f4f4;      /* Light text */
    padding: 15px 20px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 1000; /* Ensure it's on top */
    text-align: center;
    font-size: 0.9em;
}

#cookie-consent-banner p {
    margin: 0;
    display: flex; /* For aligning text and button */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

#cookie-consent-banner a {
    color: #A0D2DB; /* Your link color */
    text-decoration: underline;
    margin: 0 5px;
}

#cookie-consent-banner button {
    background-color: #28a745; /* Green like your mini cart */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
    font-size: 0.95em;
}

#cookie-consent-banner button:hover {
    background-color: #218838; /* Darker green */
}

/* Responsive adjustments for the banner */
@media (max-width: 600px) {
    #cookie-consent-banner p {
        flex-direction: column; /* Stack text and button vertically */
    }
    #cookie-consent-banner button {
        margin-left: 0;
        margin-top: 10px; /* Add space when stacked */
        width: 100%;
        max-width: 200px;
    }
}

/* Footer */
footer {
    /* --- Start of Option 2 CSS --- */
    background-color: #38761D; /* A base green - acts as fallback & base color */
    /* Example: subtle diagonal lines representing a stylized grass/texture */
    background-image: linear-gradient(45deg, 
                        rgba(255,255,255,0.05) 25%, /* Light highlight, 25% of the way */
                        transparent 25%,            /* Transparent section */
                        transparent 50%,            /* Transparent up to 50% */
                        rgba(255,255,255,0.05) 50%, /* Light highlight again */
                        rgba(255,255,255,0.05) 75%, /* Highlight continues */
                        transparent 75%,            /* Transparent again */
                        transparent);                /* Transparent to the end of the pattern unit */
    background-size: 30px 30px; /* This defines the size of one repeating unit of the pattern */
    /* --- End of Option 2 CSS --- */
    
    color: #f4f4f4; /* Your existing text color */
    text-align: center; /* Your existing text alignment */
    padding: 20px 0; /* Your existing padding - adjust as needed */
    margin-top: 30px; /* Your existing margin */
    /* You might want to add text-shadow if readability is an issue */
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.3); */
}

footer a {
    color: #A0D2DB; /* Your existing link color */
    text-decoration: none;
    /* Consider making links bolder if they blend too much with the texture */
    /* font-weight: bold; */
}
footer a:hover {
    text-decoration: underline; /* Your existing hover effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    header nav ul {
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
    }
    header nav ul li {
        margin: 5px 0;
    }
    .product-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }
}