/*
Theme Name: Fun Parks Rentals
Author: Fun Parks Rentals
Author URI: https://funparksrentals.com
Description: A custom WordPress theme for Fun Parks Rentals. Features sticky navigation, mobile-responsive design, and integration with Booqable rental system.
Version: 1.0.0
License: This theme is the property of Fun Parks Rentals and is not for sale, nor can be copied or used without permission.
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--page-bg);
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --secondary-color-hover: #2980b9;
    --header-footer-color: #3d89f8;
    --accent-color: #ff933b;
    --accent-color-hover: #e68435;
    --accent-gold: #ffd700;
    --text-color: #ffffff;
    --text-color-muted: #666;
    --text-color-subtle: #999;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --header-height: 80px;
    --top-bar-height: 40px;
    --page-bg: #3d89f8;
    --max-width: 1200px;
}

/* Body styles with increased specificity to prevent plugin overrides */
html body {
    font-family: "Open Sans", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    background-color: var(--page-bg);
    color: var(--text-color);
    line-height: 1.6 !important;
    font-size: 18px !important;
}

/* Headings - Baloo 2 Font - Protected from plugin overrides */
body h1, body h2, body h3, body h4, body h5, body h6, body h7 {
    font-family: "Baloo 2", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Default heading weights - can be overridden in specific contexts */
body h1 {
    font-weight: 700 !important;
    font-size: 72px !important;
}

body h2 {
    font-weight: 600 !important;
    font-size: 48px !important;
}

body h3 {
    font-weight: 600 !important;
    font-size: 36px !important;
}

body h4 {
    font-weight: 500 !important;
    font-size: 24px !important;
}

body h5 {
    font-weight: 500 !important;
    font-size: 24px !important;
}

body h6 {
    font-weight: 400 !important;
    font-size: 20px !important;
}

body h7 {
    font-weight: 400 !important;
    font-size: 20px !important;
}

/* Shared link transitions (non-Booqable) */
.main-navigation a,
.social-links a,
.blog-post h3 a,
.read-more,
.footer-section a,
.post-content a,
.page-content a,
.about-text a,
.breadcrumbs a {
    transition: color 0.3s;
}

body hr {
    color: var(--text-color);
    margin-top: 25px;
    margin-bottom: 5px;
}

/* Top Bar */
.top-bar {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Header */
.site-header {
    background-color: var(--header-footer-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-height: 75px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.main-navigation a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    position: relative;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item > a {
    color: var(--accent-gold); /* Gold/yellow accent */
}

.main-navigation a:not(.lang-option):not(.lang-switcher-button)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold); /* Gold/yellow accent */
    transition: width 0.3s;
}

.main-navigation a:not(.lang-option):not(.lang-switcher-button):hover::after,
.main-navigation li.current-menu-item > a:not(.lang-option):not(.lang-switcher-button)::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-switcher-dropdown {
    position: relative;
}

.lang-switcher-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--white);
    transition: all 0.3s;
    min-width: 60px;
}

.lang-switcher-button:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.3);
}

.lang-switcher-button[aria-expanded="true"] {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.3);
}

.lang-switcher-button[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.lang-code {
    font-weight: 600;
    text-transform: uppercase;
}

.lang-arrow {
    font-size: 10px;
    transition: transform 0.3s;
    color: var(--white);
}

.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 100px;
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
}

.lang-switcher-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.lang-switcher-dropdown.active .lang-switcher-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher-menu .lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border-color);
}

.lang-switcher-menu .lang-option:last-child {
    border-bottom: none;
    color: var(--secondary-color);
}

.lang-switcher-menu .lang-option:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.lang-switcher-menu .lang-option.current {
    background: var(--white);
    font-weight: 700;
}

.lang-flag {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.lang-name {
    flex: 1;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-links a {
    color: var(--white);
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.social-links a:hover {
    color: var(--accent-gold); /* Gold/yellow accent */
}

.site-footer .social-links a {
    color: rgba(255,255,255,0.8);
}

.site-footer .social-links a:hover {
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    padding: 5px;
}

/* Hero Section */
.hero-section {
    background-color: var(--header-footer-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--accent-color);
}

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

/* Main Content */
.site-main {
    padding: 0;
}

.content-area {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
}

/* Section Spacing */
.about-section,
.products-section {
    padding: 20px 20px;
}

.about-text, .post-content p, .post-content ul, .post-content ol {
    max-width: var(--max-width);
    margin: 0 auto 30px;
}

.about-text-last {
    margin-bottom: 0;
}

/* Product Sections */
.product-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
}

/* Show 2 columns when there's enough space (2x 600px cards + gap + padding) */
@media (min-width: 1280px) {
    .product-sections {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
    }
    
    .product-card {
        max-width: 100% !important;
    }
}

.product-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    max-width: 600px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    background-color: var(--primary-color) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    margin: 0 auto !important;
    text-decoration: none !important;
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
    .product-card {
        height: 0;
        padding-bottom: 100%;
    }
    
    .product-card-overlay,
    .product-card-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1.0) 0%,
        rgba(0, 0, 0, 0.75) 25%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 75%,
        rgba(0, 0, 0, 0.05) 100%
    );
    opacity: 0.75;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-card h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--white);
}

.product-card p {
    color: var(--white);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.product-categories-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--white);
    font-size: 18px;
    line-height: 1.6;
}

.product-categories-empty p {
    margin: 0;
    opacity: 0.9;
}

/* Blog Section */
.blog-section {
    background-color: var(--page-bg);
    padding: 60px 0;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-post {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.post-content, .page-content {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 25px;
}

.blog-post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.blog-post h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-post h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.blog-post h3 a:hover {
    color: var(--secondary-color);
}

.blog-post-meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-post-excerpt {
    margin-bottom: 15px;
}

/* Read-more: same style as header menu links, aligned right */
.read-more {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    position: relative;
    display: inline-block;
    margin-left: auto;
}

.read-more:hover {
    color: var(--accent-gold); /* Gold/yellow accent - matches menu */
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold); /* Gold/yellow accent */
    transition: width 0.3s;
}

.read-more:hover::after {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

/* FAQ page: same content look as regular page (hero + page-content background) */
.page-content .faq-section {
    padding: 0;
}

/* FAQ page: semi-transparent items + white text so content is readable */
.page-content .faq-item {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.page-content .faq-item .faq-question,
.page-content .faq-item .faq-answer-content {
    color: var(--white);
}

.page-content .faq-item .faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* FAQ page: link hover matches post/page (gold) */
.page-content .faq-item .faq-answer-content a:hover {
    color: var(--accent-gold); /* Gold - same as post/page content links */
}

.page-content .faq-item .faq-answer-content a:hover::after {
    background-color: var(--accent-gold); /* Gold underline on hover */
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 20px 20px;
}

/* Footer */
.site-footer {
    background-color: var(--header-footer-color);
    color: var(--white);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section img.custom-logo {
    max-height: 75px;
    width: auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Single Post/Page */

.post-title,
.page-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.post-meta {
    color: var(--text-color-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.post-content,
.page-content {
    line-height: 1.8;
}

.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Align list bullets/discs with surrounding text (headings, paragraphs) */
.about-text ul,
.about-text ol,
.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
    margin-left: 0;
    padding-left: 1.5em;
    list-style-position: outside;
}

.about-text li,
.post-content li,
.page-content li {
    margin-bottom: 0.5em;
}

.about-text ul ul,
.about-text ol ol,
.about-text ul ol,
.about-text ol ul,
.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul,
.page-content ul ul,
.page-content ol ol,
.page-content ul ol,
.page-content ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Content links: same design as header/footer, with white underline in normal state */
.post-content a,
.page-content a,
.about-text a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.post-content a::after,
.page-content a::after,
.about-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: background-color 0.3s;
}

.post-content a:hover,
.page-content a:hover,
.about-text a:hover {
    color: var(--accent-gold); /* Gold/yellow accent - matches menu */
}

.post-content a:hover::after,
.page-content a:hover::after,
.about-text a:hover::after {
    background-color: var(--accent-gold); /* Gold/yellow accent */
}

/* Single post full-width header (matches hero on front page) */
.single-post-hero {
    background-color: var(--header-footer-color);
    color: var(--white);
    padding: 80px 20px 60px;
    text-align: center;
    width: 100%;
}

.single-post-hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.single-post-hero .post-title {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 15px;
}

.single-post-hero .post-meta {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 0;
}

/* Single post hero with featured image: title over image + gradient overlay */
.single-post-hero-has-image {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
    text-align: center;
    overflow: hidden;
}

.single-post-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.single-post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1.0) 0%,
        rgba(0, 0, 0, 0.75) 25%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 75%,
        rgba(0, 0, 0, 0.05) 100%
    );
    opacity: 0.75;
    z-index: 1;
}

.single-post-hero-has-image .single-post-hero-content {
    position: relative;
    z-index: 2;
}

/* Archive Page */
.archive-header {
    margin-bottom: 40px;
    text-align: center;
}

.archive-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.archive-description {
    color: var(--text-color-muted);
}

/* Search */
.search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
}

.search-form button {
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.search-form button:hover {
    background-color: var(--secondary-color-hover);
}

/* Booqable Integration */
.booqable-container {
    margin: 20px auto;
    max-width: var(--max-width);
}

.booqable-container p {
    font-family: "Open Sans", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center;
}

.booqable-datepicker .booqable-component {
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
}

.booqable-datepicker .booqable-component > div {
    background-color: var(--accent-color) !important;
    border: 2px solid var(--accent-color) !important;
    border-radius: 5px !important;
}

.booqable-datepicker .booqable-component > div > div:hover {
    background-color: var(--accent-color-hover) !important;
    border-color: var(--accent-color-hover) !important;
    margin-bottom: 0px !important;
}

/* Booqable product cards – match front-page product categories */
.product-sections .booqable-product {
    min-width: 0 !important;
    max-width: 600px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.booqable-component .booqable-product-wrapper {
    max-width: 100% !important;
}

.booqable-component .booqable-product-wrapper .booqable-product-inner {
    position: relative !important;
    aspect-ratio: 1 / 1 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: var(--primary-color) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
}

/* Image area fills the card */
.booqable-component .booqable-product-inner > div:first-child {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 0 !important;
}

.booqable-component .booqable-product-inner > div:first-child div[height],
.booqable-component .booqable-product-inner > div:first-child [class*="FocalImage"] {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
}

.booqable-component .booqable-product-inner > div:first-child img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Gradient overlay – same as product categories */
.booqable-component .booqable-product-inner::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.75) 25%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 75%,
        rgba(0, 0, 0, 0.05) 100%
    ) !important;
    opacity: 0.75 !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.booqable-component .booqable-product-inner img {
    margin: 0px !important;
}

.booqable-component .booqable-product-inner:hover::before {
    opacity: 1 !important;
}

/* Details overlay: top = title, then price, then availability; cart button fixed at bottom of card */
.booqable-component .booqable-product-inner .bq-details {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 40px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    gap: 12px 0 !important;
    align-content: start !important;
    background: transparent !important;
    color: var(--white) !important;
}

/* Product name: top left, full width of first column */
.booqable-component .booqable-product-inner .bq-details .bq-product-title-wrapper {
    grid-row: 1 !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    padding-right: 0 !important;
    height: auto !important;
}

.booqable-component .booqable-product-inner .bq-details .bq-product-name {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    white-space: normal !important;
    overflow: visible !important;
}

/* Add to cart: fixed at very bottom right of card, square */
.booqable-component .booqable-product-inner .bq-details .bq-button {
    position: absolute !important;
    bottom: 40px !important;
    right: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
    border: 2px solid var(--accent-color) !important;
    border-radius: 8px !important;
    transition: background-color 0.3s, border-color 0.3s !important;
}

.booqable-component .booqable-product-inner .bq-details .bq-button:hover {
    background-color: var(--accent-color-hover) !important;
    border-color: var(--accent-color-hover) !important;
}

.booqable-component .booqable-product-inner .bq-details .bq-button i {
    color: var(--white) !important;
    font-size: 18px !important;
}

/* Price details: second row, left */
.booqable-component .booqable-product-inner .bq-details .bq-price-details {
    grid-row: 2 !important;
    grid-column: 1 !important;
    margin: 0 !important;
    font-size: 18px !important;
    color: var(--white) !important;
    line-height: 1.6 !important;
}

.booqable-component .booqable-product-inner .bq-details .bq-price-details span {
    color: var(--white) !important;
}

.booqable-component .booqable-product-inner .bq-details .bq-price-details .bq-price {
    font-weight: 600 !important;
}

/* Availability badge: row 3, right under price details */
.booqable-component .booqable-product-inner .bq-details > div:first-child {
    grid-row: 3 !important;
    grid-column: 1 !important;
    align-self: start !important;
    justify-self: start !important;
}

.booqable-component .booqable-product-inner .bq-details .bq-status {
    position: static !important;
    float: none !important;
    margin: 0 !important;
    background: var(--accent-color) !important;
    color: var(--white) !important;
    font-size: 10px !important;
    padding: 5px 10px !important;
    border-radius: 30px !important;
}

/* Booqable Quickview – match site styling */
.booqable-component #booqable-quickview-wrapper {
    background-color: rgba(44, 62, 80, 0.85) !important; /* --primary-color overlay */
}

.booqable-component #booqable-quickview-inner {
    position: relative !important; /* so .bq-close is positioned inside the modal */
    background: var(--white) !important;
    color: var(--primary-color) !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.2) !important;
    min-width: 580px;
    max-width: 800px;
    width: 80vw;
    max-height: 90vh;
}

/* Close button: keep inside quickview (top-right of modal) */
.booqable-component #booqable-quickview-inner .bq-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    color: var(--primary-color) !important;
    z-index: 10 !important;
    padding: 10px 12px !important;
    font-size: 20px !important;
}

.booqable-component #booqable-quickview-inner .bq-close:hover {
    color: var(--accent-color) !important;
}

/* Main image: zoom-in cursor (click opens larger image) */
.booqable-component #booqable-quickview-inner .booqable-product-detail-wrapper [class*="MainImageContainer"],
.booqable-component #booqable-quickview-inner .booqable-product-detail-wrapper [class*="MainImageContainer"] [class*="MainImage"],
.booqable-component #booqable-quickview-inner .booqable-product-detail-wrapper [class*="MainImageContainer"] [class*="FocalImage"],
.booqable-component #booqable-quickview-inner .booqable-product-detail-wrapper [class*="MainImageContainer"] img {
    cursor: zoom-in !important;
}

.booqable-component #booqable-quickview-inner .booqable-product-gallery-wrapper {
    z-index: 10 !important;
}

/* Larger quickview on big screens: use extra space for text (description, details) */
@media (min-width: 1024px) {
    .booqable-component #booqable-quickview-inner {
        max-width: 1100px !important;
        width: 90vw !important;
        min-width: 700px !important;
        min-height: 500px !important;
        max-height: 88vh !important;
    }

    .booqable-component #booqable-quickview-inner .booqable-product-detail-wrapper {
        display: grid !important;
        grid-template-columns: 260px 1fr !important;
        gap: 0 32px !important;
        padding: 30px !important;
        min-height: 0 !important;
        align-items: start !important;
    }

    /* Text column gets remaining space so more description is visible */
    .booqable-component #booqable-quickview-inner .booqable-product-detail-wrapper .bq-content {
        padding-left: 0 !important;
        padding-right: 20px !important;
        min-width: 0 !important;
    }

    .booqable-component #booqable-quickview-inner .booqable-product-detail-wrapper .bq-product-description,
    .booqable-component #booqable-quickview-inner .booqable-product-detail-wrapper .rx-content {
        max-height: 50vh !important;
        overflow-y: auto !important;
    }
}


.booqable-component #booqable-quickview-inner .bq-content .bq-product-name {
    font-family: "Baloo 2", sans-serif !important;
    font-size: 36px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
}

.booqable-component #booqable-quickview-inner .bq-price-details,
.booqable-component #booqable-quickview-inner .bq-price-details .bq-duration,
.booqable-component #booqable-quickview-inner .bq-price-details .bq-price {
    font-family: "Open Sans", sans-serif !important;
    color: var(--primary-color) !important;
    font-size: 18px !important;
}

.booqable-component #booqable-quickview-inner .bq-price-details .bq-price {
    font-weight: 600 !important;
}

.booqable-component #booqable-quickview-inner .bq-status.bq-available {
    background: var(--accent-color) !important;
    color: var(--white) !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px !important;
    padding: 6px 12px !important;
    border-radius: 30px !important;
}

.booqable-component #booqable-quickview-inner a [class*="AvailabilityLink"] {
    color: var(--secondary-color) !important;
    font-weight: 500 !important;
}

.booqable-component #booqable-quickview-inner a [class*="AvailabilityLink"]:hover {
    color: var(--accent-color) !important;
}

.booqable-component #booqable-quickview-inner .bq-quantity,
.booqable-component #booqable-quickview-inner input.bq-quantity {
    font-family: "Open Sans", sans-serif !important;
    font-size: 18px !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: 5px !important;
    padding: 10px 14px !important;
}

.booqable-component #booqable-quickview-inner .bq-quantity:focus,
.booqable-component #booqable-quickview-inner input.bq-quantity:focus {
    border-color: var(--secondary-color) !important;
    outline: 2px solid var(--secondary-color) !important;
    outline-offset: 2px !important;
}

/* Add to cart: size and position so label is visible and centered */
.booqable-component #booqable-quickview-inner .booqable-product-button-wrapper .bq-button,
.booqable-component #booqable-quickview-inner .bq-actions .bq-button,
.booqable-component #booqable-quickview-inner button.bq-button {
    font-family: "Open Sans", sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
    border: 2px solid var(--accent-color) !important;
    border-radius: 5px !important;
    padding: 14px 28px !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.3s, border-color 0.3s !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Prevent button from growing when pressed (active/focus/loading) */
.booqable-component #booqable-quickview-inner .bq-button:active,
.booqable-component #booqable-quickview-inner .bq-button:focus,
.booqable-component #booqable-quickview-inner .bq-button[disabled],
.booqable-component #booqable-quickview-inner .bq-button.bq-loading {
    padding: 14px 28px !important;
    margin: 0 !important;
    border-width: 2px !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
    min-height: 52px !important;
}

/* Keep inner content from affecting button size */
.booqable-component #booqable-quickview-inner .bq-button *,
.booqable-component #booqable-quickview-inner .bq-actions .bq-button * {
    margin: 0 !important;
}

.booqable-component #booqable-quickview-inner .bq-button [class*="Label"],
.booqable-component #booqable-quickview-inner .bq-button span {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.booqable-component #booqable-quickview-inner .booqable-product-button-wrapper .bq-button:hover,
.booqable-component #booqable-quickview-inner .bq-actions .bq-button:hover,
.booqable-component #booqable-quickview-inner button.bq-button:hover {
    background-color: var(--accent-color-hover) !important;
    border-color: var(--accent-color-hover) !important;
}

/* Keep accent color when clicked / loading / success (no blue center or tick background) */
.booqable-component #booqable-quickview-inner .bq-button:active,
.booqable-component #booqable-quickview-inner .bq-button[disabled],
.booqable-component #booqable-quickview-inner .bq-button.bq-loading {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* Parent wrapper of the button (Booqable may style this blue on success; keep from growing) */
.booqable-component #booqable-quickview-inner .bq-actions [class*="ButtonContainer"],
.booqable-component #booqable-quickview-inner .booqable-product-button-wrapper [class*="ButtonContainer"] {
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.booqable-component #booqable-quickview-inner .booqable-product-button-wrapper .bq-button *,
.booqable-component #booqable-quickview-inner .bq-actions .bq-button *,
.booqable-component #booqable-quickview-inner .bq-button [class*="ButtonContainer"],
.booqable-component #booqable-quickview-inner .bq-button [class*="Span"] {
    background-color: transparent !important;
    color: inherit !important;
}

.booqable-component #booqable-quickview-inner .bq-button i,
.booqable-component #booqable-quickview-inner .bq-button svg,
.booqable-component #booqable-quickview-inner .bq-button [class*="Icon"] {
    color: var(--white) !important;
}

.booqable-component #booqable-quickview-inner .bq-product-description,
.booqable-component #booqable-quickview-inner .bq-product-description p,
.booqable-component #booqable-quickview-inner .rx-content p {
    font-family: "Open Sans", sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--primary-color) !important;
}

.booqable-component #booqable-quickview-inner .bq-product-description ul,
.booqable-component #booqable-quickview-inner .rx-content ul {
    margin: 0.5em 0 1em 1.5em !important;
    padding-left: 1.5em !important;
}

.booqable-component #booqable-quickview-inner .bq-product-description li,
.booqable-component #booqable-quickview-inner .rx-content li {
    margin-bottom: 0.5em !important;
}

/* Booqable sidebar – accent color (match site) */
/* Higher specificity: target the div that has id booqable-launcher-icon AND class bq-branded */
.booqable-component #booqable-launcher #booqable-launcher-icon.bq-branded,
.booqable-component #booqable-launcher #booqable-launcher-icon.bq-branded::before,
.booqable-component #booqable-launcher #booqable-launcher-icon.bq-branded::after,
.booqable-component #booqable-launcher #booqable-launcher-icon.bq-branded i.bq-branded.bq-icon-cart,
.booqable-component #booqable-launcher #booqable-launcher-icon.bq-branded i.bq-branded.bq-icon-cart::before {
    background-color: var(--accent-color) !important;
    background: var(--accent-color) !important;
    color: var(--white) !important;
}

.booqable-component #booqable-sidebar #booqable-sidebar-inner .bq-sidebar-head .bq-branded,
.booqable-component #booqable-sidebar #booqable-sidebar-inner #booqable-sidebar-summary .bq-branded {
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
    transition: background-color 0.3s, color 0.3s !important;
}

.booqable-component #booqable-sidebar #booqable-sidebar-inner #booqable-sidebar-summary .bq-branded:hover {
    background-color: var(--accent-color-hover) !important;
    color: var(--white) !important;
}

/* Fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
    .booqable-component .booqable-product-wrapper .booqable-product-inner {
        height: 0 !important;
        padding-bottom: 100% !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }

    .main-navigation.active {
        max-height: 500px;
        padding: 20px;
    }

    .main-navigation ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .main-navigation a {
        display: block;
        padding: 15px 0;
    }

    .language-switcher {
        width: 100%;
        margin: 15px 0;
    }

    .lang-switcher-menu {
        right: auto;
        left: 0;
        width: 100%;
    }

    .hero-section {
        padding: 60px 20px;
        margin-top: var(--header-height);
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .single-post-hero .post-title {
        font-size: 32px;
    }

    .single-post-hero-has-image {
        min-height: 300px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .product-sections,
    .blog-posts {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .top-bar-container {
        flex-wrap: wrap;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 28px;
    }

    .single-post-hero .post-title {
        font-size: 28px;
    }

    .post-title,
    .page-title {
        font-size: 28px;
    }

    .archive-title {
        font-size: 24px;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 30px;
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--text-color-subtle);
}

.breadcrumbs a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-color);
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

/* Additional Styles */
.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.no-posts h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.no-posts p {
    color: var(--text-color-muted);
    margin-bottom: 30px;
}

.page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.page-links a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.page-links a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Video Gallery Shortcode */
.video-gallery {
    display: grid;
    gap: 20px;
    margin: 30px 0;
}

.video-gallery-columns-1 {
    grid-template-columns: 1fr;
}

.video-gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.video-gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.video-gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.video-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    padding: 40px;
    text-align: center;
    background: var(--light-bg);
    color: var(--text-color-muted);
}

/* FAQ Accordion Shortcode */
.faq-accordion-shortcode {
    margin: 30px 0;
}

.faq-accordion-shortcode .faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-accordion-shortcode .faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    user-select: none;
}

.faq-accordion-shortcode .faq-question:hover {
    background-color: var(--light-bg);
}

.faq-accordion-shortcode .faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s;
    color: var(--secondary-color);
}

.faq-accordion-shortcode .faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-accordion-shortcode .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-accordion-shortcode .faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-accordion-shortcode .faq-answer-content {
    padding: 0 20px 20px;
    line-height: 1.8;
}

.faq-accordion-shortcode .faq-answer-content p {
    margin-bottom: 15px;
}

.faq-accordion-shortcode .faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Single FAQ Shortcode */
.single-faq {
    margin: 20px 0;
}

/* Responsive Video Gallery */
@media (max-width: 1024px) {
    .video-gallery-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-gallery-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-gallery-columns-2,
    .video-gallery-columns-3,
    .video-gallery-columns-4 {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .top-bar,
    .menu-toggle,
    .hero-buttons {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .video-gallery,
    .faq-accordion-shortcode {
        page-break-inside: avoid;
    }
}

