/*
Theme Name: Speelotheek Huissen
Description: Custom theme for Speelotheek Huissen based on the original HTML template
Version: 1.0
Author: Your Name
*/

/* Color palette based on speelotheekhuissen.nl */
:root {
    --primary-color: #8F64A5; /* Orange from speelotheekhuissen.nl */
    --secondary-color: #8ABD24; /* Green from speelotheekhuissen.nl */
    --accent-color: #4464A6; /* Blue from speelotheekhuissen.nl */
    --tertiary-color: #FFE560; /* Yellow for review stars */
    --light-bg: #f5f5f5;
    --text-color: #333;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Maven Pro', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.5;
}

/* Navigation Wrapper */
.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: transform 0.3s ease-in-out;
}

.nav-wrapper.nav-hidden {
    transform: translateY(-100%);
}

/* Top navigation bar */
.top-nav {
    background-color: #B6D9C6;
    color: #333333;
    padding: 8px 0;
    font-size: 16px;
}

.top-nav-container {
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.top-nav li {
    margin: 0;
    padding: 0;
}

.top-nav a {
    color: #333333;
    text-decoration: none;
    margin-left: 20px;
    display: inline-block;
}

/* Main navigation */
.main-nav {
    background-color: var(--white);
    min-height: 100px;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-nav .container {
    max-width: 1200px;
    padding: 0 20px;
}

.logo {
    height: 60px;
    display: flex;
    align-items: center;
}

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

/* Bootstrap navbar customization */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu .nav-item {
    margin-left: 25px;
}

.main-menu .nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 0;
}

.main-menu .nav-link:hover {
    color: var(--primary-color);
}

/* Dropdown menu styling */
.main-menu .dropdown-menu {
    background-color: var(--white);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0 18px;
    padding: 0;
    margin-top: 10px;
    width: auto;
    min-width: auto;
    max-width: max-content;
    white-space: nowrap;
}

.main-menu .dropdown-item {
    color: var(--text-color);
    padding: 8px 20px;
    font-weight: 500;
    border-bottom: 1px solid var(--light-bg);
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: block;
    width: 100%;
}

/* Reserve space for bold text to prevent menu width change on hover */
.main-menu .dropdown-item::before {
    content: attr(data-text);
    font-weight: 700;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
    display: block;
    white-space: nowrap;
}

.main-menu .dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 0 18px;
}

.main-menu .dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-weight: 700;
}

.main-menu .dropdown-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 8px 2px;
    background-position: 0 0;
    background-repeat: repeat-x;
}

.main-menu .dropdown-toggle::after {
    margin-left: 8px;
    vertical-align: 0.15em;
}

.buttons {
    display: flex;
    align-items: center;
}

/* Offcanvas styling */
.offcanvas {
    background-color: var(--white);
}

.offcanvas-header {
    border-bottom: 1px solid var(--light-bg);
    padding: 1rem 1.5rem;
}

.offcanvas-title {
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.offcanvas-body {
    padding: 1.5rem;
    position: relative;
    overflow: visible;
}

.offcanvas-body .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas-body .nav-link:hover {
    color: var(--primary-color);
}

.offcanvas-body .nav-item:last-child .nav-link {
    border-bottom: none;
}

/* Mobile submenu arrow */
.offcanvas-body .dropdown-toggle::after {
    content: '›';
    border: none;
    font-size: 1.5rem;
    font-weight: normal;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.offcanvas-body .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

/* Bootstrap dropdown menu styling in offcanvas */
.offcanvas-body .dropdown-menu {
    position: static !important;
    display: block !important;
    background-color: var(--white);
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    list-style: none;
    width: 100%;
    transform: none !important;
    inset: auto !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.offcanvas-body .dropdown-menu.show {
    display: block !important;
    max-height: 1000px;
    opacity: 1;
}

.offcanvas-body .dropdown-menu > li {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

/* Mobile submenu items */
.offcanvas-body .dropdown-menu .dropdown-item,
.offcanvas-body .dropdown-menu > li > a {
    padding: 10px 1rem;
    border-bottom: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    display: block;
    text-decoration: none;
}

.offcanvas-body .dropdown-menu .dropdown-item:hover,
.offcanvas-body .dropdown-menu > li > a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
}

/* Mobile submenu dotted line - only on li elements */
.offcanvas-body .dropdown-menu > li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-image: radial-gradient(circle, var(--primary-color) 1px, transparent 1px);
    background-size: 8px 2px;
    background-position: 0 0;
    background-repeat: repeat-x;
}

/* Offcanvas button styling */
.offcanvas-body .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    text-align: center;
}

.offcanvas-body .btn:last-child {
    margin-bottom: 0;
}

/* Ensure proper spacing for mobile */
@media (max-width: 991.98px) {
    .main-nav .navbar-collapse {
        display: none;
    }

    /* Center contact button in mobile offcanvas menu */
    .offcanvas-body .d-grid {
        justify-items: center;
    }

    .offcanvas-body .d-grid .btn-primary {
        width: 70%;
        margin: 0 auto;
    }
}

.btn {
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 10px;
}

.btn-large {
    padding: 16px;
}

.btn-no-margin {
    margin-left: 0;
}

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

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Hero section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 200px 0;
    color: var(--white);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--white);
    border-radius: 100% 100% 0 0;
}

/* Products section */
.products {
    padding: 60px 0;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
}

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

.product-card {
    background-color: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    height: auto;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-info {
    padding: 20px;
}

.product-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.product-card a .product-title {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.product-card a:hover .product-title,
.product-card a:focus .product-title,
.product-card a:active .product-title {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

.product-card a {
    text-decoration: none !important;
}

.product-card a:hover,
.product-card a:focus,
.product-card a:active {
    text-decoration: none !important;
}

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

/* Features section */
.features {
    background-color: var(--light-bg);
    padding: 40px 0;
    text-align: center;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}

.feature {
    display: flex;
    align-items: center;
    font-weight: bold;
}

.feature img {
    width: 30px;
    margin-right: 10px;
}

/* Categories section */
.categories {
    padding: 60px 0;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.categories h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.category-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-label {
    position: relative;
    z-index: 2;
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 0 10px 0 0;
    font-weight: bold;
}

/* Testimonials section */
.testimonials {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stars {
    color: var(--tertiary-color);
    margin-bottom: 15px;
}

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

.testimonial-author {
    font-weight: bold;
}

/* Opening Hours Section */
.opening-hours {
    padding: 60px 0;
    background-color: var(--white);
}

.opening-hours-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.opening-hours-info h3,
.contact-info h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.opening-hours-info h4 {
    color: var(--primary-color);
    margin: 20px 0 15px;
    font-size: 1.2rem;
}

.regular-hours,
.special-hours {
    margin-bottom: 20px;
}

.day-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-bg);
}

.day-row:last-child {
    border-bottom: none;
}

.day-row.current-day {
    color: var(--primary-color);
    font-weight: 600;
}

.day-row.special {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 6px 0;
}

.day-name {
    font-weight: 500;
}

.hours {
    font-weight: 400;
}

.opening-hours-note {
    margin-top: 20px;
    font-style: normal;
    color: var(--text-color);
    font-size: 0.9rem;
}

.current-status {
    margin-top: 20px;
    padding: 12px;
    background-color: var(--light-bg);
    border-radius: 6px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.status-open {
    color: #28a745;
    font-weight: 600;
    font-size: 16px;
}

.status-closed {
    color: #dc3545;
    font-weight: 600;
    font-size: 16px;
}

/* Contact Info */

.contact-info .address {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.contact-info .phone {
    margin-bottom: 20px;
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.phone-link:hover {
    text-decoration: underline;
}

/* Map Section */
.map {
    padding: 60px 0 0 0;
    background-color: var(--light-bg);
    width: 100%;
    margin-top: 60px;
}

.map-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.map-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    padding: 0 20px;
}

.map-embed {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
    width: 100%;
    display: block;
    border: 0;
}

/* Footer */
footer {
    background-image: url('assets/sprite.png');
    background-repeat: repeat;
    background-position: top left;
    background-color: #B6D9C6;
    color: var(--text-color);
    padding: 60px 0 30px;
}

/* Remove space between map and footer/prefooter when map is present in page-content */
/* If prefooter exists, apply negative margin to prefooter */
.page-content:has(.map) ~ .prefooter {
    margin-top: -60px;
}

/* If no prefooter exists, apply negative margin to footer */
.page-content:has(.map) ~ footer {
    margin-top: -60px;
}

/* Reset footer margin if prefooter is present (prefooter already has the margin) */
.page-content:has(.map) ~ .prefooter ~ footer {
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

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

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

/* Utility Classes */
.d-inline { display: inline; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }
.p-40 { padding: 40px; }

.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }

.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }

.pl-10 { padding-left: 10px; }
.pl-20 { padding-left: 20px; }
.pl-30 { padding-left: 30px; }
.pl-40 { padding-left: 40px; }

.pr-10 { padding-right: 10px; }
.pr-20 { padding-right: 20px; }
.pr-30 { padding-right: 30px; }
.pr-40 { padding-right: 40px; }

.m-10 { margin: 10px; }
.m-20 { margin: 20px; }
.m-30 { margin: 30px; }
.m-40 { margin: 40px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.ml-10 { margin-left: 10px; }
.ml-20 { margin-left: 20px; }
.ml-30 { margin-left: 30px; }
.ml-40 { margin-left: 40px; }

.mr-10 { margin-right: 10px; }
.mr-20 { margin-right: 20px; }
.mr-30 { margin-right: 30px; }
.mr-40 { margin-right: 40px; }

/* Responsive styles */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    .hero-content, .hero-img {
        width: 100%;
        text-align: center;
    }
    .hero-img {
        margin-top: 30px;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid, .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-container {
        flex-direction: column;
        gap: 20px;
    }
    .opening-hours-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .opening-hours {
        padding: 60px 0;
    }
    .day-row {
        font-size: 14px;
        padding: 8px 0;
    }
    .day-row.current-day {
        /* Styling inherited from desktop */
    }
    .contact-info {
        padding: 15px;
    }
    
    /* Mobile navbar adjustments */
    .main-nav {
        min-height: 80px;
    }
    
    .main-nav .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .product-grid, .category-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
} 

/* Opening Hours Widget & Shortcode */
.opening-hours-widget {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.opening-hours-widget h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.opening-hours-widget h4 {
    color: var(--secondary-color);
    font-size: 16px;
    margin: 20px 0 10px 0;
    font-weight: 500;
}

.opening-hours-widget .day-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.opening-hours-widget .day-row:last-child {
    border-bottom: none;
}

.opening-hours-widget .day-row.current-day {
    color: var(--primary-color);
    font-weight: 600;
}

.opening-hours-widget .day-row.special {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 6px 0;
}

.opening-hours-widget .opening-hours-note {
    background-color: #e3f2fd;
    border-left: 3px solid var(--primary-color);
    padding: 12px;
    margin: 15px 0;
    font-style: normal;
    color: #1976d2;
    border-radius: 0 4px 4px 0;
    font-size: 13px;
}

.opening-hours-widget .current-status {
    margin-top: 20px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.opening-hours-widget .status-open {
    color: #28a745;
    font-weight: 600;
    font-size: 16px;
}

.opening-hours-widget .status-closed {
    color: #dc3545;
    font-weight: 600;
    font-size: 16px;
}

.opening-hours-widget .no-special-hours {
    color: #6c757d;
    font-style: italic;
    font-size: 13px;
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* Sidebar Widget Styling */
.widget_speelotheek_opening_hours {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.widget_speelotheek_opening_hours .widget-title {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.widget_speelotheek_opening_hours .opening-hours-widget {
    box-shadow: none;
    margin-bottom: 0;
    padding: 20px;
}

/* Responsive adjustments for widgets */
@media (max-width: 768px) {
    .opening-hours-widget {
        padding: 20px;
    }
    
    .opening-hours-widget .day-row {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .opening-hours-widget .day-row.current-day {
        /* Styling inherited from desktop */
    }
    
    .widget_speelotheek_opening_hours .opening-hours-widget {
        padding: 15px;
    }
} 

/* Categories Widget & Shortcode */
.categories-widget {
    margin-bottom: 30px;
}

.categories-widget h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.8rem;
}

.categories-widget .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.categories-widget .category-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.categories-widget .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.categories-widget .category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.categories-widget .category-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.categories-widget .category-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 15px 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Sidebar Widget Styling */
.widget_speelotheek_categories {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.widget_speelotheek_categories .widget-title {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.widget_speelotheek_categories .categories-widget {
    box-shadow: none;
    margin-bottom: 0;
    padding: 20px;
}

.widget_speelotheek_categories .categories-widget h2 {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: left;
}

.widget_speelotheek_categories .category-grid {
    grid-template-columns: 1fr;
    gap: 15px;
}

.widget_speelotheek_categories .category-card img {
    height: 150px;
}

.widget_speelotheek_categories .category-label {
    padding: 15px 12px 10px;
    font-size: 1rem;
}

/* Responsive adjustments for categories widgets */
@media (max-width: 768px) {
    .categories-widget .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .categories-widget .category-card img {
        height: 180px;
    }
    
    .widget_speelotheek_categories .categories-widget {
        padding: 15px;
    }
    
    .widget_speelotheek_categories .category-card img {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .categories-widget .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form 7 Styling */
.wpcf7-form {
    max-width: 100%;
}

.wpcf7-form-control-wrap {
    margin-bottom: 1rem;
    display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Maven Pro', sans-serif;
    font-size: 16px;
    color: var(--text-color);
    background-color: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 input[type="date"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(143, 100, 165, 0.1);
}

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-submit {
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: 'Maven Pro', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: var(--primary-color);
    color: var(--white);
}

.wpcf7-submit:hover {
    background-color: var(--primary-color);
    opacity: 0.9;
    transform: translateY(-1px);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ok,
.wpcf7-mail-sent-ng,
.wpcf7-spam {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 1rem;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
.wpcf7-spam {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.wpcf7-list-item {
    margin: 0.5rem 0;
}

.wpcf7-checkbox input[type="checkbox"],
.wpcf7-radio input[type="radio"] {
    margin-right: 8px;
}

/* Contact Page Layout */
.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

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

/* Speelgoed single page grid */
.speelgoed-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.speelgoed-header {
    margin-bottom: 20px;
}

.speelgoed-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.speelgoed-content {
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

.speelgoed-grid-wrapper {
    margin-top: 20px;
}

.speelgoed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.speelgoed-item {
    text-align: center;
}

.speelgoed-item-image {
    background-color: var(--light-bg);
    padding: 10px;
}

.speelgoed-item-image img {
    width: 100%;
    height: auto;
    display: block;
}

.speelgoed-item-image img.speelgoed-placeholder {
    object-fit: contain;
    background-color: #f5f5f5;
    opacity: 0.7;
}

.speelgoed-item-label {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 992px) {
    .speelgoed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .speelgoed-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Prefooter Styles */
.prefooter {
    padding: 60px 0;
    margin-top: 0;
    width: 100%;
    display: block;
    clear: both;
    position: relative;
    z-index: 1;
    min-height: 100px;
}

.prefooter .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.prefooter-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    min-height: 80px;
}

.prefooter-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 200px;
    height: auto;
}

.prefooter-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.prefooter-logo a {
    display: block;
    text-decoration: none;
}

.prefooter-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .prefooter {
        padding: 40px 0;
    }
    
    .prefooter-logos {
        gap: 30px;
    }
    
    .prefooter-logo {
        max-width: 150px;
    }
}