/*
Theme Name: Derry's Online Store
Theme URI: https://derrys.nl/ 
Author: Derry's
Author URI: https://derrys.nl/
Description: A custom WordPress and WooCommerce theme for Derry's
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: derrys-store
Tags: woocommerce, custom-theme, e-commerce, responsive, accessibility-ready, two-columns, left-sidebar, right-sidebar, custom-logo, custom-background, custom-menu, featured-images, full-width-template, theme-options

This theme is Derry's Online Store, (C) 2025 Derry's
Derry's Online Store is distributed under the terms of the GNU GPL.
*/

/*--------------------------------------------------------------
1.0 Normalize/Reset - Optimized for performance
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul, figure, blockquote {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75em;
    color: var(--heading-color);
}

h1 { font-size: 2.8em; margin-bottom: 0.5em; }
_h2 { font-size: 2.2em; }
_h3 { font-size: 1.8em; }
_h4 { font-size: 1.5em; }
_h5 { font-size: 1.25em; }
_h6 { font-size: 1em; }

p, .entry-content p, .comment-content p {
    margin-bottom: 1.5em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

/*--------------------------------------------------------------
3.0 Globals & Variables
--------------------------------------------------------------*/
:root {
    --primary-color: #19e6b9;   /* Teal from Derry's Logo */
    --secondary-color: #7119e6; /* Purple from Derry's Logo */
    --accent-color-dark: #5a14b8; /* Darker Purple for hover/active */
    --accent-color-light: #66f0c9; /* Lighter Teal for hover/active */

    --text-color: #555555;
    --heading-color: #222222;
    --light-text-color: #777777;
    --background-color: #FFFFFF;
    --light-gray-bg: #f8f9fa; /* For sections or off-white elements */
    --border-color: #e5e5e5;

    --header-bg: #FFFFFF;
    --top-bar-bg: #f5f5f5; /* Light gray, as in Wookids */
    --top-bar-text: #666666;
    --footer-bg: #222222;
    --footer-text-color: #aaaaaa;
    --footer-link-color: var(--primary-color);
    --footer-heading-color: #ffffff;

    --site-max-width: 1400px;
    --container-padding: 15px;
}

/*--------------------------------------------------------------
4.0 Layout & Container
--------------------------------------------------------------*/
.container {
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-fluid {
    width: 100%;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Clearfix */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/*--------------------------------------------------------------
5.0 Header
--------------------------------------------------------------*/

/* 5.1 Top Bar */
.site-top-bar {
    background-color: var(--top-bar-bg);
    padding: 0.5em 0;
    font-size: 0.85em;
    color: var(--top-bar-text);
    /* border-bottom: 1px solid var(--border-color); */ /* Removed for cleaner look */
}

.site-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* For smaller screens */
}

.top-bar-left, .top-bar-center, .top-bar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow inner items to wrap if needed */
}

.top-bar-left span, .top-bar-center span, .top-bar-right span,
.top-bar-left a, .top-bar-center a, .top-bar-right a {
    margin-right: 15px;
    display: flex;
    align-items: center;
    color: var(--top-bar-text); /* Ensure links in top bar also use top bar text color by default */
}
.top-bar-left span:last-child, .top-bar-center span:last-child, .top-bar-right span:last-child,
.top-bar-left a:last-child, .top-bar-center a:last-child, .top-bar-right a:last-child {
    margin-right: 0;
}

.top-bar-left i, .top-bar-right i {
    margin-right: 8px; /* Increased space for icons */
    font-size: 1.1em; /* Slightly larger icons */
    color: var(--text-color); /* Make icons slightly darker or use primary color */
}

.top-bar-center .top-bar-shop-now-link strong {
    color: var(--primary-color);
    text-decoration: underline;
}
.top-bar-center .top-bar-shop-now-link:hover strong {
    color: var(--secondary-color);
}

.top-bar-right .currency-switcher i,
.top-bar-right .language-switcher i {
    font-size: 0.8em; /* Smaller chevron */
    margin-left: 5px;
}

/* 5.2 Main Header */
.site-header { /* This is #masthead */
    background-color: var(--header-bg);
    /* border-bottom: 1px solid var(--border-color); */ /* Removed border from inner part */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Added a subtle shadow to the entire header block */
}

.main-header-area {
    padding: 1.5em 0; /* Increased padding for a slightly taller main header area */
}

/* .site-header > .container { */ /* Changed selector */
.main-header-area > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    max-width: 200px; /* Adjust as needed */
    flex-shrink: 0; /* Prevent logo from shrinking if nav is too wide */
}

.custom-logo-link img {
    max-height: 60px; /* Adjust to fit your logo design */
    width: auto;
}

.site-title, .site-description {
    display: none; /* Hidden if logo is present, can be shown if no logo */
}

.header-right-icons {
    display: flex;
    align-items: center;
}

.header-right-icons a {
    color: var(--text-color);
    font-size: 1.3em; /* Icon size */
    margin-left: 18px; /* Spacing between icons */
    position: relative; /* For cart count badge */
}
.header-right-icons a:first-child {
    margin-left: 0; /* No left margin for the first icon in the group */
}
.header-right-icons a:hover {
    color: var(--primary-color);
}
.header-right-icons .search-toggle {
    font-size: 1.2em; /* Slightly different size if needed */
}

.cart-contents-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 0.6em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

/* Search Form (can be initially hidden and toggled) */
.header-search-form {
    display: none; /* Initially hidden, shown via JS or :focus-within on toggle */
    position: absolute; 
    top: 100%; 
    right: var(--container-padding);
    background: var(--header-bg);
    padding: 1em;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    border: 1px solid var(--border-color);
}
.header-search-form .search-field {
    padding: 0.75em;
    border: 1px solid var(--border-color);
    margin-right: 5px;
}

/*--------------------------------------------------------------
6.0 Navigation
--------------------------------------------------------------*/
/* 6.1 Primary Navigation */
.main-navigation {
    margin: 0 auto; /* Helps center if site-branding and icons have fixed widths */
    flex-grow: 1; /* Allow navigation to take available space */
    display: flex; /* Added for potential centering if logo/icons have variable width */
    justify-content: right;
}

.main-navigation ul#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul#primary-menu > li > a {
    padding: 1em 1.5em; /* Increased padding for more space */
    display: block;
    color: var(--heading-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-navigation ul#primary-menu > li > a:hover,
.main-navigation ul#primary-menu > li.current-menu-item > a,
.main-navigation ul#primary-menu > li.current_page_item > a {
    color: var(--primary-color);
}

/* Sub-menu basic styling (improve as needed) */
.main-navigation ul ul {
    display: none;
    position: absolute;
    background-color: var(--header-bg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 0.5em 0;
    z-index: 999;
    border: 1px solid var(--border-color);
    min-width: 200px;
}

.main-navigation ul li:hover > ul {
    display: block;
}

.main-navigation ul ul li a {
    padding: 0.8em 1.2em;
    display: block;
    color: var(--text-color);
    font-size: 0.85em;
    white-space: nowrap;
}

.main-navigation ul ul li a:hover {
    background-color: var(--light-gray-bg);
    color: var(--primary-color);
}

/* 6.2 Mobile Navigation */
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5em 0.8em;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 3px;
}

/*--------------------------------------------------------------
7.0 Content
--------------------------------------------------------------*/
.site-content {
    padding: 2em 0; /* Add some space above and below main content */
}

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

/* Screen reader text */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

/* More content styles will be added as we build out templates */

/*--------------------------------------------------------------
9.0 Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text-color);
    padding: 3em 0 1.5em;
    font-size: 0.9em;
}

.footer-widgets-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2em;
    padding-bottom: 2em;
}

.footer-widget {
    flex-basis: 100%; /* Full width on small screens */
    margin-bottom: 2em;
}

.footer-widget .widget-title {
    color: var(--footer-heading-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em; /* Increased title size */
    margin-bottom: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 0.5em;
}

.footer-widget ul li a {
    color: var(--footer-link-color);
}
.footer-widget ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5em;
    flex-wrap: wrap;
}

.copyright-text {
    margin-bottom: 0.5em;
}

.footer-social-links a {
    color: var(--footer-link-color);
    margin-left: 15px; /* Increased spacing */
    font-size: 1.4em; /* Larger social icons */
}
.footer-social-links a:hover {
    color: #fff;
}

/*--------------------------------------------------------------
10.0 WooCommerce Specific
--------------------------------------------------------------*/
.woocommerce-container {
    padding-top: 2em;
    padding-bottom: 2em;
}

/* WooCommerce main content within container */
.woocommerce-main-content {
    padding: 2em 0;
}

/* WooCommerce products header */
.woocommerce-products-header {
    margin-bottom: 2em;
    text-align: center;
}

.woocommerce-products-header__title {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: var(--primary-color);
}

/*--------------------------------------------------------------
13.0 Blog Layout & Styling
--------------------------------------------------------------*/

/* Blog post cards */
.blog-post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5em;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Featured image styling */
.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-thumbnail:hover .featured-image {
    transform: scale(1.05);
}

/* Post content wrapper */
.post-content {
    padding: 2em;
}

/* Entry header styling */
.entry-header {
    margin-bottom: 1.5em;
}

.entry-title {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 0.5em;
    line-height: 1.3;
}

.entry-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--primary-color);
}

/* Entry meta styling */
.entry-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 1em;
}

.posted-on {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.posted-on::before {
    content: "📅";
    font-size: 0.8em;
}

/* Entry content styling */
.entry-content {
    line-height: 1.7;
    color: #555;
}

.entry-content p {
    margin-bottom: 1.2em;
}

/* Read more button styling */
.read-more-wrapper {
    margin-top: 1.5em;
    text-align: left;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.8em 1.5em;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(113, 25, 230, 0.3);
}

.read-more-btn:hover {
    background-color: var(--accent-color-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(113, 25, 230, 0.4);
    text-decoration: none;
}

.read-more-btn i {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

/* Archive page specific styling */
.archive-main .blog-post-card {
    max-width: 100%;
}

/* Responsive design for blog cards */
@media (max-width: 768px) {
    .post-content {
        padding: 1.5em;
    }
    
    .entry-title {
        font-size: 1.5em;
    }
    
    .post-thumbnail {
        height: 200px;
    }
    
    .read-more-btn {
        padding: 0.7em 1.2em;
        font-size: 0.9em;
    }
}

/*--------------------------------------------------------------
14.0 Single Post Layout & Styling
--------------------------------------------------------------*/

/* Single post article */
.single-post-article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2em;
}

/* Single post featured image */
.single-post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.single-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Single post content */
.single-post-content {
    padding: 3em;
}

/* Single post header */
.single-post-header {
    margin-bottom: 2em;
    text-align: left;
}

.single-post-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 1em;
    line-height: 1.2;
    color: #333;
}

.single-post-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2em;
    color: #666;
    font-size: 0.95em;
    margin-bottom: 1em;
}

.posted-on {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.posted-on::before {
    content: "📅";
    font-size: 0.8em;
}

.categories {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.categories::before {
    content: "🏷️";
    font-size: 0.8em;
}

.categories a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.categories a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Single post content body */
.single-post-content-body {
    line-height: 1.8;
    color: #555;
    font-size: 1.1em;
}

.single-post-content-body h2,
.single-post-content-body h3,
.single-post-content-body h4 {
    color: #333;
    margin-top: 2em;
    margin-bottom: 1em;
}

.single-post-content-body h2 {
    font-size: 1.6em;
    color: #333;
}

.single-post-content-body h3 {
    font-size: 1.5em;
}

.single-post-content-body p {
    margin-bottom: 1.5em;
}

.single-post-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

/* Single post footer */
.single-post-footer {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid #eee;
}

.post-tags {
    display: flex;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
}

.tags-label {
    font-weight: 600;
    color: #666;
}

.post-tags a {
    background-color: #f5f5f5;
    color: #666;
    padding: 0.3em 0.8em;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Post navigation */
.post-navigation {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2em;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 1em;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.nav-subtitle {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-bottom: 0.5em;
}

.nav-title {
    font-weight: 600;
}

/* WordPress Gutenberg Button Styling */
.wp-block-buttons {
    margin: 2em 0;
}

.wp-block-button {
    margin: 0;
}

.wp-block-button__link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5em;
    background-color: var(--secondary-color) !important;
    color: #fff !important;
    padding: 0.8em 1.5em !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.95em !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(113, 25, 230, 0.3) !important;
    border: none !important;
    cursor: pointer;
}

.wp-block-button__link:hover {
    background-color: var(--accent-color-dark) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(113, 25, 230, 0.4) !important;
    text-decoration: none !important;
}

/* Add arrow icon to Gutenberg buttons */
.wp-block-button__link::after {
    content: "→";
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.wp-block-button__link:hover::after {
    transform: translateX(3px);
}

/* Responsive design for single posts */
@media (max-width: 768px) {
    .single-post-content {
        padding: 2em 1.5em;
    }
    
    .single-post-title {
        font-size: 2em;
    }
    
    .single-post-thumbnail {
        height: 250px;
    }
    
    .single-post-meta {
        flex-direction: column;
        gap: 1em;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .wp-block-button__link {
        padding: 0.7em 1.2em !important;
        font-size: 0.9em !important;
    }
}

/*--------------------------------------------------------------
15.0 Footer Styling
--------------------------------------------------------------*/

.site-footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 3em 0 1em;
    margin-top: 4em;
}

.footer-widgets-area {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2em;
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.footer-widget {
    display: flex;
    flex-direction: column;
}

/* Footer empty widgets - no styling needed */

.widget-title {
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1em;
    font-size: 0.9em;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 0.5em;
}

.footer-widget a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.footer-widget a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 1em;
}

.copyright-text {
    color: #aaaaaa;
    font-size: 0.85em;
}

.footer-social-links {
    display: flex;
    gap: 1em;
    margin-top: 1em;
    justify-content: flex-start;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #333333;
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1em;
}

.footer-social-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-widgets-area {
        grid-template-columns: 1fr;
        gap: 2em;
    }
    
    .footer-social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 2em 0 1em;
    }
    
    .footer-widgets-area {
        gap: 1.5em;
    }
    
    .widget-title {
        font-size: 1em;
    }
    
    .footer-widget p,
    .footer-widget a {
        font-size: 0.85em;
    }
}

/*--------------------------------------------------------------
16.0 Homepage Deal Radar Sections
--------------------------------------------------------------*/

/* Remove top padding for site-content on front page only */
.home .site-content {
    padding-top: 0;
}

/* 16.1 Hero Banner - Deal Jager Identiteit */
.deal-radar-hero {
    background: linear-gradient(135deg, #19e6b9 0%, #7119e6 100%);
    padding: 8em 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.deal-radar-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(25, 230, 185, 0.1), rgba(113, 25, 230, 0.1));
    z-index: 1;
}

.deal-radar-hero .container {
    position: relative;
    z-index: 2;
}

.deal-radar-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

.deal-radar-hero .hero-title {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 1em;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.deal-radar-hero .hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 2em;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.deal-radar-hero .hero-button {
    font-size: 1.2em;
    padding: 1em 2.5em;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.deal-radar-hero .hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

/* 16.2 Vertrouwensbalk */
.trust-bar {
    background: #f8f9fa;
    padding: 2em 0;
    border-bottom: 1px solid #e9ecef;
}

.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1em;
}

.trust-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

.trust-item span {
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

/* 16.3 Uitgelichte Deals */
.featured-deals-section {
    padding: 4em 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 2em;
    color: #333;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.deal-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.deal-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.deal-card:hover .deal-image img {
    transform: scale(1.05);
}

.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: #fff;
    padding: 0.3em 0.8em;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
}

.deal-content {
    padding: 1.5em;
}

.deal-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 1em;
    color: #333;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1.5em;
}

.current-price {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.1em;
    color: #999;
    text-decoration: line-through;
}

.deal-btn {
    width: 100%;
    text-align: center;
    padding: 0.8em 1.5em;
    font-weight: 600;
}

/* 16.4 Blog & Reviews */
.blog-reviews-section {
    padding: 4em 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5em;
}

.blog-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 1em;
    line-height: 1.3;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5em;
}

.blog-btn {
    width: 100%;
    text-align: center;
}

/* 16.5 Deal van de Dag */
.deal-of-day-section {
    padding: 4em 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.deal-of-day-section .section-title {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.deal-of-day-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    align-items: center;
    margin-top: 2em;
}

.deal-of-day-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.deal-of-day-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.urgency-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff4757;
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1em;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.deal-of-day-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 1em;
    line-height: 1.2;
}

.deal-of-day-description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 2em;
    opacity: 0.9;
}

.deal-of-day-price {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 2em;
    flex-wrap: wrap;
}

.deal-of-day-price .current-price {
    font-size: 2.5em;
    font-weight: 800;
    color: #fff;
}

.deal-of-day-price .original-price {
    font-size: 1.5em;
    color: rgba(255,255,255,0.7);
    text-decoration: line-through;
}

.savings {
    background: #ff4757;
    color: #fff;
    padding: 0.3em 0.8em;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9em;
}

.deal-of-day-btn {
    font-size: 1.3em;
    padding: 1em 2em;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.deal-of-day-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .deal-radar-hero .hero-title {
        font-size: 2.5em;
    }
    
    .deal-radar-hero .hero-subtitle {
        font-size: 1.1em;
    }
    
    .trust-items {
        flex-direction: column;
        gap: 1em;
    }
    
    .deal-of-day-content {
        grid-template-columns: 1fr;
        gap: 2em;
    }
    
    .deal-of-day-image img {
        height: 250px;
    }
    
    .deals-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
17.0 Contact Form 7 Styling
--------------------------------------------------------------*/

/* Contact Form Container */
.wpcf7 {
    width: 100%;
    padding: 2em 0;
    background: #fff;
    border-radius: 12px;
}

/* Form Labels */
.wpcf7 label {
    display: block;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5em;
    font-size: 1em;
}

/* Form Control Wrapper */
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.5em;
}

/* Two Column Layout for Name and Email */
.wpcf7-form-control-wrap[data-name="your-name"],
.wpcf7-form-control-wrap[data-name="your-email"] {
    display: inline-block;
    width: calc(50% - 0.75em);
    vertical-align: top;
}

.wpcf7-form-control-wrap[data-name="your-name"] {
    margin-right: 1.5em;
}

/* Full Width for Subject and Message */
.wpcf7-form-control-wrap[data-name="your-subject"],
.wpcf7-form-control-wrap[data-name="your-message"] {
    width: 100%;
}

/* Input Fields */
.wpcf7-form-control {
    width: 100%;
    padding: 1em 1.2em;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 230, 185, 0.1);
}

.wpcf7-form-control:hover {
    border-color: #ccc;
}

/* Textarea Specific */
.wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

/* Submit Button */
.wpcf7-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1em 2.5em;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(25, 230, 185, 0.3);
    position: relative;
    overflow: hidden;
}

.wpcf7-submit:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 230, 185, 0.4);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

/* Spinner */
.wpcf7-spinner {
    display: none;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation */
.wpcf7-not-valid {
    border-color: #ff4757 !important;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1) !important;
}

.wpcf7-not-valid-tip {
    color: #ff4757;
    font-size: 0.9em;
    margin-top: 0.5em;
    display: block;
}

/* Response Messages */
.wpcf7-response-output {
    margin-top: 1.5em;
    padding: 1em;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpcf7-mail-sent-ng {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpcf7-spam-blocked {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.wpcf7-validation-errors {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Screen Reader Text */
.wpcf7 .screen-reader-response {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Hidden Fields */
.hidden-fields-container {
    display: none;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 1.5em;
    }
    
    .wpcf7-form-control {
        padding: 0.8em 1em;
    }
    
    .wpcf7-submit {
        width: 100%;
        padding: 1em;
    }
    
    /* Stack Name and Email on Mobile */
    .wpcf7-form-control-wrap[data-name="your-name"],
    .wpcf7-form-control-wrap[data-name="your-email"] {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

/* Product Loop/Grid General */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2em;
}

.woocommerce ul.products li.product {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 1em;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.woocommerce ul.products li.product a img {
    margin-bottom: 1em;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    color: var(--heading-color);
    margin-bottom: 0.5em;
}

.woocommerce ul.products li.product .price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.8em;
}

.woocommerce ul.products li.product .button {
    /* Will inherit from global button styles */
    margin-top: 0.5em;
}

.woocommerce span.onsale {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.3em 0.8em;
    border-radius: 3px;
    font-size: 0.8em;
    min-height: auto;
    line-height: 1.2;
}







.hero-content .btn.hero-button {
    background-color: var(--heading-color); /* Dark button like Wookids */
    color: #fff;
    border-color: var(--heading-color);
    padding: 0.9em 2.2em;
    font-size: 1em; /* Slightly smaller than Wookids, but adjustable */
    border-radius: 5px; /* Slightly rounded corners like Wookids */
}

.hero-content .btn.hero-button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 11.2 Product Categories Showcase */
.product-categories-showcase {
    padding: 3em 0;
    text-align: center;
}

.product-categories-showcase h2.section-title {
    margin-bottom: 2em;
    font-size: 2em;
}

.category-grid {
    display: flex;
    justify-content: space-around; /* Or space-between */
    flex-wrap: wrap;
    gap: 1.5em;
}

.category-item {
    flex-basis: calc(20% - 1.2em); /* For 5 items, accounting for gap */
    min-width: 180px; /* Minimum width before wrapping */
    text-align: center;
}

.category-item a {
    text-decoration: none;
    display: block;
}

.category-item img {
    border-radius: 5px; /* Or circular: 50% */
    margin-bottom: 1em;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item img:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.category-item .category-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--heading-color);
    font-size: 1.1em;
}

/* 11.3 Today's Best Deal */
.todays-best-deal-section {
    padding: 3em 0;
    background-color: var(--light-gray-bg);
}

.todays-best-deal-section h2.section-title {
    text-align: center;
    margin-bottom: 2em;
    font-size: 2em;
}

/* Uses WooCommerce product grid styles by default if using shortcode */

/*--------------------------------------------------------------
13.0 Buttons
--------------------------------------------------------------*/
.btn, button, input[type="button"], input[type="reset"], input[type="submit"],
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 30px;
    padding: 0.8em 1.8em;
    font-size: 1em;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.btn:hover, .btn:focus, 
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="reset"]:hover, input[type="reset"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
.woocommerce #respond input#submit:hover, .woocommerce #respond input#submit:focus,
.woocommerce a.button:hover, .woocommerce a.button:focus,
.woocommerce button.button:hover, .woocommerce button.button:focus,
.woocommerce input.button:hover, .woocommerce input.button:focus {
    background-color: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-ghost {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-ghost:hover, .btn-ghost:focus {
    background-color: var(--primary-color);
    color: #ffffff;
}

/*--------------------------------------------------------------
15.0 Media Queries (Responsive)
--------------------------------------------------------------*/

/* Example: Tablet and smaller */
@media (max-width: 992px) {
    .main-navigation {
        margin: 0; /* Remove auto margin */
    }
    .site-header > .container {
        flex-wrap: nowrap; /* Keep items on same line */
        align-items: center;
        position: relative;
        min-height: 70px; /* Ensure consistent header height */
    }
    .site-branding {
        flex: 1; /* Take available space */
        margin-right: auto; /* Push nav and icons to right */
    }
    .category-item {
        flex-basis: calc(33.333% - 1em); /* 3 items for tablet */
    }
}

/* Example: Mobile */
@media (max-width: 768px) {
    .site-header > .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-branding {
        margin-bottom: 1em;
    }
    .main-navigation {
        position: relative;
        order: 2; /* Place after branding */
    }
    .main-navigation ul#primary-menu {
        display: none; /* Hidden by default for mobile, shown by .menu-toggle JS */
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid var(--border-color);
        position: absolute;
        top: calc(100% + 25px); /* Meer ruimte naar beneden */
        left: -25px; /* Meer naar links */
        right: 10px; /* Behoudt 10px ruimte aan rechterkant */
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 8px 8px;
    }
    .main-navigation ul#primary-menu.toggled,
    .main-navigation ul#primary-menu.toggled-on {
        display: flex;
    }
    .main-navigation ul#primary-menu > li > a {
        padding: 1.2em 1.5em;
        border-bottom: 1px solid #f0f0f0;
        color: var(--text-color);
        font-weight: 500;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .main-navigation ul#primary-menu > li > a:hover,
    .main-navigation ul#primary-menu > li.current-menu-item > a {
        background-color: var(--primary-color);
        color: #fff;
        padding-left: 2em;
    }
    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1em; /* Indent sub-menus */
    }

    .menu-toggle {
        display: block; /* Show mobile menu toggle */
        position: absolute;
        top: 50%;
        right: 1em;
        transform: translateY(-50%);
        z-index: 1001;
        padding: 0.8em;
        border: 2px solid var(--primary-color);
        border-radius: 8px;
        background-color: #fff;
        color: var(--primary-color);
        transition: all 0.3s ease;
        cursor: pointer;
        font-size: 1.1em;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu-toggle:hover {
        background-color: var(--primary-color);
        color: #fff;
    }
    
    .menu-toggle.toggled {
        background-color: var(--primary-color);
        color: #fff;
        transform: translateY(-50%);
    }
    
    /* Icon transition */
    .menu-toggle i {
        transition: all 0.3s ease;
    }
    
    .main-navigation.toggled {
        position: relative;
    }
    
    .main-navigation.toggled .menu-toggle {
        position: absolute;
        top: 50%;
        right: 1em;
        transform: translateY(-50%);
        z-index: 1002;
    }
    
    body.menu-open {
        overflow: hidden; /* Prevent body scroll when menu is open */
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.3);
        z-index: 999;
    }

    .header-right-icons {
        order: 3; /* Place after navigation */
        margin-left: auto;
    }
    .header-right-icons a {
        margin-left: 15px;
        margin-right: 0;
    }

    .site-top-bar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .top-bar-left, .top-bar-center, .top-bar-right {
        margin-bottom: 0.5em;
        justify-content: center;
        width: 100%;
    }
    .top-bar-left span, .top-bar-center span, .top-bar-right span, .top-bar-right a {
        margin: 0 8px;
    }

    .category-item {
        flex-basis: calc(50% - 0.75em); /* 2 items for mobile */
    }

    .hero-content .hero-title { font-size: 2.5em; }
    .hero-content .hero-subtitle { font-size: 1.2em; }

    .footer-widgets-area, .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-widget {
        flex-basis: 100%;
    }
    .copyright-text, .footer-social-links {
        width: 100%;
        margin-bottom: 1em;
    }
    .footer-social-links a {
        margin: 0 8px;
    }
}