/*
Theme Name: tippaprints
Theme URI: https://www.tippaprints.nl
Author: tippaprints
Author URI: https://www.tippaprints.nl
Description: Custom theme voor tippaprints - Shopify replica
Version: 1.1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tippaprints
Tags: woocommerce, e-commerce, custom
*/

/* Reset en basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #103948;
    --color-background: #fcfcfc;
    --color-text: #103948;
    --color-accent-copper: #B87333;
    --color-accent-green: #2d5016;
    --font-primary: 'Cormorant', serif;
    --max-width: 120rem;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

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

/* Announcement Bar */
.announcement-bar {
    background-color: var(--color-primary);
    height: 40px;
    width: 100%;
}

/* Header */
.site-header {
    background: var(--color-background);
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    text-align: center;
    padding: 1.5rem 2rem 0.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-branding {
    display: inline-block;
}

.site-logo {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-primary);
}

.header-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 2rem 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-size: 1.1rem;
    color: var(--color-text);
}

.header-actions {
    position: absolute;
    right: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.search-toggle,
.account-link,
.cart-link {
    cursor: pointer;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.search-toggle:hover,
.account-link:hover,
.cart-link:hover {
    opacity: 0.6;
}

.search-toggle svg,
.account-link svg,
.cart-link svg {
    display: block;
}

.cart-link {
    position: relative;
}

/* Hero Banner Section */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('assets/images/voorkant.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20%;
    animation: fadeIn 0.8s ease-out;
}

.hero-content {
    max-width: 500px;
    padding: 2rem;
    z-index: 2;
    text-align: center;
}

/* Hide mobile break on desktop */
.mobile-break {
    display: none;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    animation: fadeInScale 1s ease-out 0.9s;
    animation-fill-mode: both;
}

.hero-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    animation: fadeInUp 1s ease-out 1.2s;
    animation-fill-mode: both;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-primary);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out 1.5s;
    animation-fill-mode: both;
}

.hero-button:hover {
    background-color: #0d2d38;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    opacity: 1;
}

/* Collections Grid */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin: 3rem 0 2rem;
    font-weight: 600;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.collection-card {
    background: white;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.collection-link {
    text-decoration: none;
    display: block;
}

.collection-image {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.collection-card:nth-child(1) .collection-image img {
    animation-delay: 0.1s;
}

.collection-card:nth-child(2) .collection-image img {
    animation-delay: 0.2s;
}

.collection-card:nth-child(3) .collection-image img {
    animation-delay: 0.3s;
}

.collection-card:nth-child(4) .collection-image img {
    animation-delay: 0.4s;
}

.collection-card:nth-child(5) .collection-image img {
    animation-delay: 0.5s;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-title {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin: 1.5rem 0;
    font-weight: 600;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.product-card {
    background: white;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.product-price {
    font-size: 1.1rem;
    color: var(--color-text);
}

/* WooCommerce product loop adjustments */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 0.5rem 0 0.2rem 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.woocommerce ul.products li.product .price {
    margin: 0 0 0.8rem 0 !important;
    padding: 0 !important;
    display: block !important;
}

.woocommerce ul.products li.product a img {
    margin-bottom: 0.8rem;
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.woocommerce ul.products li.product:nth-child(1) a img {
    animation-delay: 0.1s;
}

.woocommerce ul.products li.product:nth-child(2) a img {
    animation-delay: 0.15s;
}

.woocommerce ul.products li.product:nth-child(3) a img {
    animation-delay: 0.2s;
}

.woocommerce ul.products li.product:nth-child(4) a img {
    animation-delay: 0.25s;
}

.woocommerce ul.products li.product:nth-child(5) a img {
    animation-delay: 0.3s;
}

.woocommerce ul.products li.product:nth-child(6) a img {
    animation-delay: 0.35s;
}

.woocommerce ul.products li.product:nth-child(7) a img {
    animation-delay: 0.4s;
}

.woocommerce ul.products li.product:nth-child(8) a img {
    animation-delay: 0.45s;
}

.woocommerce ul.products li.product:nth-child(9) a img {
    animation-delay: 0.5s;
}

.woocommerce ul.products li.product:nth-child(10) a img {
    animation-delay: 0.55s;
}

.woocommerce ul.products li.product:nth-child(11) a img {
    animation-delay: 0.6s;
}

.woocommerce ul.products li.product:nth-child(12) a img {
    animation-delay: 0.65s;
}

.woocommerce ul.products li.product a {
    text-decoration: none;
}

/* Single Product Page */
.woocommerce div.product {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 3rem auto 3rem 15%;
    padding: 0 2rem;
}

.woocommerce div.product div.images {
    width: 100%;
}

.woocommerce div.product div.images img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.woocommerce div.product .woocommerce-product-gallery {
    width: 100%;
    max-width: 100%;
}

.woocommerce div.product .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.woocommerce div.product .flex-control-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 4rem;
    max-width: 60%;
}

.woocommerce div.product .flex-control-thumbs li {
    list-style: none;
    width: calc(33.333% - 0.5rem);
    margin: 0 !important;
}

.woocommerce div.product .flex-control-thumbs li:first-child {
    display: none;
}

.woocommerce div.product .flex-control-thumbs li img {
    width: 100%;
    height: auto;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.woocommerce div.product .flex-control-thumbs li img:hover,
.woocommerce div.product .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: var(--color-primary);
}

.woocommerce div.product div.summary {
    width: 100%;
}

.woocommerce div.product .product_title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.woocommerce div.product p.price {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.woocommerce div.product form.cart {
    margin-bottom: 2rem;
}

.woocommerce div.product form.cart .variations {
    margin-bottom: 1.5rem;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    padding: 0.5rem 0;
    border: none;
    vertical-align: middle;
}

.woocommerce div.product form.cart .variations label {
    font-weight: 600;
    color: var(--color-primary);
}

.woocommerce div.product form.cart .variations select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    background-color: #0d2d38;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* WooCommerce ordering dropdown */
.woocommerce-ordering {
    margin-bottom: 1.5rem;
    float: right;
}

.woocommerce-ordering select {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    min-width: 200px;
}

.woocommerce-ordering select:hover {
    border-color: var(--color-primary);
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(16, 57, 72, 0.1);
}

/* Clear float after result count and ordering */
.woocommerce-result-count {
    float: left;
    margin: 0.5rem 0;
}

.woocommerce::after,
.woocommerce-page::after {
    content: "";
    display: table;
    clear: both;
}

/* Page content styling */
.page-content {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
    animation: fadeInDown 0.8s ease-out;
}

.page-content p {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.page-content p:nth-child(2) {
    animation-delay: 0.2s;
}

.page-content p:nth-child(3) {
    animation-delay: 0.4s;
}

.page-content p:nth-child(4) {
    animation-delay: 0.6s;
}

.page-content p:nth-child(5) {
    animation-delay: 0.8s;
}

.page-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

.page-content a.leergeld-link {
    text-decoration: none;
    color: inherit;
}

.page-content a.leergeld-link:hover {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer */
.site-footer {
    background: var(--color-background);
    color: var(--color-text);
    padding: 1rem 2rem;
    margin-top: 0;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    font-size: 0.85rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.mobile-menu-toggle svg {
    display: block;
}

.mobile-menu-toggle:hover {
    opacity: 0.6;
}

.mobile-menu-toggle:active {
    transform: scale(0.85);
}

.mobile-menu-toggle:active svg {
    animation: hamburger-bounce 0.4s ease;
}

@keyframes hamburger-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Responsive */
@media (max-width: 990px) {
    .header-top {
        padding: 1rem 2rem 0.5rem;
    }

    .site-logo {
        font-size: 1.8rem;
    }

    .header-bottom {
        padding: 0.5rem 1rem 1rem;
        justify-content: space-between;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
        justify-content: flex-start;
        display: block;
    }

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

    .header-actions {
        position: static;
    }

    .main-navigation.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }

    .main-navigation ul {
        flex-direction: column;
        padding: 1rem 1.5rem;
        margin: 0;
        align-items: flex-start;
        gap: 0;
    }

    .main-navigation li {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .main-navigation a {
        display: block;
        padding: 0.75rem 0;
        text-align: left;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .announcement-bar {
        height: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0 2rem;
    }

    .page-title {
        font-size: 2rem;
        margin: 2rem 0 1rem;
    }

    .hero-banner {
        min-height: 400px;
        padding-left: 0;
        justify-content: flex-start;
        align-items: center;
    }

    .hero-content {
        text-align: center;
        padding: 1rem;
        margin-left: 5%;
        max-width: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-quote {
        font-size: 1rem;
    }

    .hero-button {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }

    /* Show mobile break on mobile */
    .mobile-break {
        display: inline;
    }

    .site-footer {
        padding: 0.75rem;
    }

    .woocommerce-ordering {
        float: none;
        width: 100%;
        margin-bottom: 1rem;
    }

    .woocommerce-ordering select {
        width: 100%;
        min-width: auto;
    }

    .woocommerce-result-count {
        float: none;
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* Materialen pagina styling */
.page .entry-content {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 3rem 2rem 3rem;
}

.page .entry-content h2 {
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
}

.page .entry-content > p {
    margin-bottom: 0.8rem;
}

.materialen-page {
    max-width: 100%;
    margin: 0 auto;
}

.materialen-page h1 {
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.materialen-page .intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 3.5rem;
    text-align: left;
}

.materialen-page .material-section {
    margin-bottom: 4.5rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.materialen-page .material-section h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.01em;
}

.materialen-page .material-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
    text-align: left;
}

.materialen-page .material-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .page .entry-content {
        padding: 1.5rem 1.5rem;
    }

    .materialen-page h1 {
        font-size: 2.2rem;
    }

    .materialen-page .material-section {
        padding-top: 1.3rem;
        padding-bottom: 1.3rem;
    }

    .materialen-page .material-section h2 {
        font-size: 1.6rem;
    }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10rem;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, backdrop-filter 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-container {
    width: 100%;
    max-width: 600px;
    padding: 0 2rem;
    position: relative;
}

.search-close {
    position: absolute;
    top: -3rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.search-close:hover {
    opacity: 0.7;
}

.search-form {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(16, 57, 72, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-field {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    font-size: 1.1rem;
    font-family: var(--font-primary);
    color: var(--color-text);
}

.search-field:focus {
    outline: none;
}

.search-field::placeholder {
    color: #999;
}

.search-submit {
    background-color: var(--color-primary);
    border: none;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background-color: #0d2d38;
}

.search-submit svg {
    display: block;
}

@media (max-width: 768px) {
    .search-overlay {
        padding-top: 6rem;
    }

    .search-close {
        top: -2.5rem;
        right: 1rem;
        font-size: 2.5rem;
    }

    .search-container {
        padding: 0 1rem;
    }
}

/* Search Results Page */
.search-results-page {
    max-width: 120rem;
    margin: 0 auto;
    padding: 3rem;
}

.search-results-container {
    max-width: 1000px;
    margin: 0 auto;
}

.search-header {
    margin-bottom: 3rem;
    text-align: center;
}

.search-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.search-title span {
    font-style: italic;
}

.search-count {
    font-size: 1.1rem;
    color: #666;
}

/* Matching Categories in Search Results */
.matching-categories {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.categories-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

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

.category-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.category-card h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    padding: 1rem 1.5rem 0.5rem;
    margin: 0;
}

.category-count {
    display: block;
    padding: 0 1.5rem 1rem;
    color: #666;
    font-size: 0.9rem;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.search-result-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.search-result-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-result-image a {
    display: block;
}

.search-result-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.search-result-content {
    display: flex;
    flex-direction: column;
}

.search-result-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.search-result-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.search-result-title a:hover {
    opacity: 0.7;
}

.search-result-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.result-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.85rem;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

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

.search-result-excerpt {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
}

.search-result-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    align-self: flex-start;
}

.search-result-link:hover {
    opacity: 0.7;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.no-results-text {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.search-suggestions {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.search-suggestions h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    padding: 0.5rem 0;
    color: #555;
}

.search-suggestions a {
    color: var(--color-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .search-results-page {
        padding: 2rem 1rem;
    }

    .search-result-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .search-result-image {
        max-width: 200px;
        margin: 0 auto;
    }

    .search-title {
        font-size: 1.8rem;
    }
}

/* Contact Form 7 Styling */
.page-id-72 .entry-content h2,
.page-id-72 .entry-content > p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.wpcf7 {
    max-width: 600px;
    margin: 0.5rem auto 1rem auto;
}

.wpcf7 label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--color-text);
    font-size: 1rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.3s ease;
    margin-top: 0.3rem;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

.wpcf7 input[type="submit"] {
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: var(--font-primary);
}

.wpcf7 input[type="submit"]:hover {
    background-color: #0d2d38;
}

.wpcf7-not-valid-tip {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
}

.wpcf7-response-output {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
}

.wpcf7-mail-sent-ok {
    display: none !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background-color: #ffebee !important;
    color: #c62828 !important;
    border: 1px solid #ef9a9a !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    padding: 1rem 1.5rem !important;
    display: block !important;
}

.wpcf7-spinner {
    display: none !important;
}

/* Submit button wrapper */
.submit-button-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.submit-button-wrapper input[type="submit"] {
    width: 100%;
}

/* Spinner - witte cirkel */
.submit-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    margin-top: -9px;
    border: 3px solid #ffffff;
    border-right-color: transparent;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

/* Tijdens verzenden */
.submit-button-wrapper.is-submitting input[type="submit"] {
    pointer-events: none;
    color: transparent;
}

.submit-button-wrapper.is-submitting .submit-spinner {
    opacity: 1;
    animation: spinner-spin 0.8s linear infinite;
}

@keyframes spinner-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media (max-width: 768px) {
    .wpcf7 {
        max-width: 100%;
    }

    /* Product page mobile optimalisatie */
    .woocommerce div.product {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
        margin: 1rem auto !important;
    }

    /* Grote productafbeelding */
    .woocommerce div.product .woocommerce-product-gallery {
        margin-bottom: 2rem !important;
        width: 100% !important;
    }

    .woocommerce div.product .woocommerce-product-gallery__wrapper {
        width: 100% !important;
    }

    .woocommerce div.product .woocommerce-product-gallery__image {
        width: 100% !important;
    }

    .woocommerce div.product .woocommerce-product-gallery__image img {
        width: 100% !important;
        height: auto !important;
    }

    /* Thumbnails groter en full width */
    .woocommerce div.product .flex-control-thumbs {
        margin-top: 1rem !important;
        max-width: 100% !important;
        width: 100% !important;
        display: flex !important;
        gap: 0.5rem !important;
    }

    .woocommerce div.product .flex-control-thumbs li {
        width: calc(25% - 0.375rem) !important;
        margin: 0 !important;
    }

    .woocommerce div.product .flex-control-thumbs li img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1;
        object-fit: cover !important;
    }

    /* Product info sectie */
    .woocommerce div.product .summary {
        width: 100% !important;
        padding: 0 !important;
    }

    .woocommerce div.product .product_title {
        font-size: 1.75rem !important;
    }

    .woocommerce div.product .woocommerce-product-details__short-description {
        font-size: 0.9rem !important;
    }
}

/* Contact Form Success Popup */
.contact-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-success-overlay.active {
    display: flex;
    opacity: 1;
}

.contact-success-popup {
    background: #fff;
    padding: 3rem 4rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-success-popup h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-success-popup p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-success-popup button {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: var(--font-primary);
}

.contact-success-popup button:hover {
    background-color: #0d2d38;
}

@media (max-width: 768px) {
    .contact-success-popup {
        margin: 0 1rem;
        padding: 2rem 2.5rem;
    }

    .contact-success-popup h3 {
        font-size: 1.6rem;
    }
}

/* Bestelpagina Styling */
.page-bestellen .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem 2rem 3rem;
}

.page-bestellen h1 {
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.page-bestellen .intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 3rem;
}

.page-bestellen .order-summary {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.page-bestellen .order-summary h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.page-bestellen .product-details {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.page-bestellen .product-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.page-bestellen .product-info h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.page-bestellen .product-info p {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.page-bestellen .product-info .product-price {
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 1rem;
}

.page-bestellen .order-form-section {
    margin-top: 3rem;
}

.page-bestellen .order-form-section h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.page-bestellen .wpcf7 {
    max-width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .page-bestellen .entry-content {
        padding: 1.5rem 1.5rem;
    }

    .page-bestellen h1 {
        font-size: 2.2rem;
    }

    .page-bestellen .product-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-bestellen .product-image {
        width: 100%;
        height: auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-bestellen .order-summary {
        padding: 1.5rem;
    }
}
