/*
Theme Name: Rainforest Theme
Theme URI: https://rainforestperutours.com/
Author: Antigravity
Author URI: https://gemini.google.com/
Description: A high-performance, coded WordPress theme replicating the Elementor design of Rainforest Peru Tours.
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: rainforest-theme
*/

/* -----------------------------------------
   Design System & Variables
----------------------------------------- */
:root {
    --color-green: #6ca33f;         /* rgb(108, 163, 63) */
    --color-green-dark: #588533;    /* rgb(88, 133, 51) */
    --color-dark: #222222;          /* rgb(34, 34, 34) */
    --color-gray-light: #f8f8f8;    /* rgb(248, 248, 248) */
    --color-gray-light: #f8f8f8;    /* rgb(248, 248, 248) */
    --color-gray-border: #e2e2e2;
    --color-white: #ffffff;
    --color-black-overlay: rgba(0, 0, 0, 0.28);
    --color-black-overlay-hover: rgba(0, 0, 0, 0.45);
    
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Maven Pro', sans-serif;
    
    --transition-smooth: all 0.3s ease-in-out;
}

/* -----------------------------------------
   Resets & Base Styles
----------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Container spacing mimicking elementor centered row width */
.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 64px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 17.6px;
    padding: 12px 24px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-green-dark);
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

/* -----------------------------------------
   Header & Navigation
----------------------------------------- */
.top-bar {
    background-color: var(--color-green);
    color: var(--color-white);
    height: 30.4px;
    display: flex;
    align-items: center;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-contact span {
    font-size: 13.6px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-links a {
    color: var(--color-white);
    margin-left: 20px;
    font-size: 13.6px;
    font-weight: 300;
}

/* -----------------------------------------
   Main Header Styles (Live Match)
----------------------------------------- */
.main-header {
    background-color: #ffffff;
    height: 94px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
}
.main-header.sticky {
    position: fixed;
    top: 0;
    height: 80px;
    animation: slideDown 0.3s ease-out;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo img {
    height: 84px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}
.main-header.sticky .logo img {
    height: 65px;
}
.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.nav-menu > li {
    position: relative;
    padding-bottom: 5px;
}
.nav-menu > li > a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16.8px;
    color: var(--color-dark);
    padding: 13px 20px;
    display: block;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.nav-menu a:hover,
.nav-menu li.current-menu-item a {
    color: var(--color-green);
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Submenu dropdown container */
.nav-menu ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 280px;
    display: none;
    z-index: 999;
    border-radius: 0 0 6px 6px;
    margin: 0;
    padding: 10px 0;
    border: none;
    border-top: 3px solid var(--color-green);
}

/* Submenu list items */
.nav-menu ul.sub-menu li {
    width: 100%;
    margin: 0;
}

/* Submenu links style */
.nav-menu ul.sub-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body);
    text-transform: none;
    color: #4a4a4a;
    line-height: 1.5;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav-menu ul.sub-menu li:last-child a {
    border-bottom: none;
}

.nav-menu ul.sub-menu a:hover {
    background-color: #f9f9f9;
    color: var(--color-green);
    padding-left: 32px;
}

/* Show dropdown on hover of parent item */
.nav-menu li:hover > ul.sub-menu {
    display: block;
}

/* Submenu arrow indicators */
.nav-menu li.menu-item-has-children > a::after {
    content: " \25BE";
    font-size: 18px;
    margin-left: 6px;
    vertical-align: middle;
}

/* Hamburger menu icon styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-dark);
    transition: var(--transition-smooth);
}

@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');
/*
Theme Name: Rainforest Theme
Theme URI: https://rainforestperutours.com/
Author: Antigravity
Author URI: https://gemini.google.com/
Description: A high-performance, coded WordPress theme replicating the Elementor design of Rainforest Peru Tours.
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: rainforest-theme
*/

/* -----------------------------------------
   Design System & Variables
----------------------------------------- */
:root {
    --color-green: #6ca33f;         /* rgb(108, 163, 63) */
    --color-green-dark: #588533;    /* rgb(88, 133, 51) */
    --color-dark: #222222;          /* rgb(34, 34, 34) */
    --color-gray-light: #f8f8f8;    /* rgb(248, 248, 248) */
    --color-gray-border: #e2e2e2;
    --color-white: #ffffff;
    --color-black-overlay: rgba(0, 0, 0, 0.28);
    --color-black-overlay-hover: rgba(0, 0, 0, 0.45);
    
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Maven Pro', sans-serif;
    
    --transition-smooth: all 0.3s ease-in-out;
}

/* -----------------------------------------
   Resets & Base Styles
----------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Container spacing mimicking elementor centered row width */
.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 64px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 17.6px;
    padding: 12px 24px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-green-dark);
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

/* -----------------------------------------
   Header & Navigation
----------------------------------------- */
.top-bar {
    background-color: var(--color-green);
    color: var(--color-white);
    height: 30.4px;
    display: flex;
    align-items: center;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-contact span {
    font-size: 13.6px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-links a {
    color: var(--color-white);
    margin-left: 20px;
    font-size: 13.6px;
    font-weight: 300;
}

/* -----------------------------------------
   Main Header Styles (Live Match)
----------------------------------------- */
.main-header {
    background-color: #ffffff;
    height: 94px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
}
.main-header.sticky {
    position: fixed;
    top: 0;
    height: 80px;
    animation: slideDown 0.3s ease-out;
}

/* Fix for WordPress Admin Bar */
body.admin-bar .main-header.sticky {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .main-header.sticky {
        top: 46px;
    }
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo img {
    height: 84px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}
.main-header.sticky .logo img {
    height: 65px;
}
.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    padding-bottom: 5px;
}
.nav-menu > li > a {
    font-family: 'Maven Pro', sans-serif;
    font-size: 16.8px;
    font-weight: 600;
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}
.nav-menu > li > a:hover {
    color: #6ca33f;
}
.header-cta .btn-primary {
    background-color: #6CA33F;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.header-cta .btn-primary:hover {
    background-color: #5a8e32;
}
/* -----------------------------------------
   Top Bar Styles
----------------------------------------- */
.top-bar {
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-contact .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    transform: scale(1);
}

.top-bar-links a:hover {
    color: var(--color-white);
    transform: scale(1.08) translateY(-2px);
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Sidebar Tabs overrides */
.rf-sidebar-tabs {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.rf-sidebar-tabs .rf-custom-tabs-nav {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}
.rf-sidebar-tabs .rf-tab-btn {
    flex: 1;
    background-color: #f1f2f6;
    color: #444;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 15px;
    text-align: center;
}
.rf-sidebar-tabs .rf-tab-btn.active {
    background-color: #6ca33f;
    color: #fff;
}
.rf-sidebar-contact-form label {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 13px;
    color: #6ca33f;
    margin-bottom: 3px;
    font-style: normal;
}
.rf-sidebar-contact-form input,
.rf-sidebar-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e8e8f6;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    box-sizing: border-box;
}
.rf-sidebar-contact-form textarea {
    height: 100px;
    resize: vertical;
}
@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }
}

.main-header.sticky {
    position: fixed;
    top: 0;
    height: 80px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 90.85px;
    width: auto;
    object-fit: contain;
}

.main-header.sticky .logo img {
    height: 70px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    position: relative;
}

/* Hamburger menu icon styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-dark);
    transition: var(--transition-smooth);
}

/* Responsive navigation styles */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 120px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        transition: right 0.4s ease-in-out;
        z-index: 999;
        display: flex;
    }
    
    .nav-menu.mobile-active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 18px;
        padding: 10px 0;
    }
    
    .nav-menu ul.sub-menu {
        position: static;
        box-shadow: none;
        display: block;
        padding-left: 15px;
        border: none;
        background: transparent;
        min-width: 100%;
    }
}

.header-cta .btn {
    padding: 12px 24px;
    font-size: 17.6px;
    border-radius: 10px;
}

/* -----------------------------------------
   Hero Section
----------------------------------------- */
.hero {
    position: relative;
    height: 606.237px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--color-white);
    text-align: left;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: kenburnsSlideshow 18s linear infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes kenburnsSlideshow {
    0% {
        opacity: 0;
        transform: scale(1.12) translate(1%, -1%);
    }
    5% {
        opacity: 1;
    }
    33.33% {
        opacity: 1;
        transform: scale(1.0) translate(0, 0);
    }
    38.33% {
        opacity: 0;
        transform: scale(1.0) translate(0, 0);
    }
    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h2 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-content h1 {
    font-size: 51.2px;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.hero-content .btn {
    border-radius: 5px;
}

/* -----------------------------------------
   Introduction & Counters
----------------------------------------- */
.intro-section {
    text-align: center;
}

.intro-section h2 {
    color: var(--color-green);
    font-size: 44.8px;
    font-weight: 500;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 16px;
    color: var(--color-dark);
    max-width: 950px;
    margin: 0 auto 50px;
    font-family: var(--font-primary);
    line-height: 1.8;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.counter-card {
    background-color: var(--color-gray-light);
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--color-gray-border);
}

.counter-number {
    font-size: 38.4px;
    font-family: var(--font-heading);
    color: var(--color-green);
    font-weight: 500;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 19.2px;
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 500;
}

/* -----------------------------------------
   Category Grid
----------------------------------------- */
.category-section h2 {
    font-size: 38.4px;
    margin-bottom: 40px;
    color: var(--color-green);
    font-weight: 500;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    color: var(--color-white);
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.category-card:hover .category-card-bg {
    transform: scale(1.06);
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.05) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
}

.category-card-content {
    position: relative;
    z-index: 3;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

.category-card-title {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    text-align: left;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-title {
    transform: translateY(-55px);
}

.category-card-btn {
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 10px 0;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    text-transform: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    box-sizing: border-box;
}

.category-card:hover .category-card-btn {
    opacity: 1;
    transform: translateY(0);
}

.category-card-btn:hover {
    background-color: var(--color-green-dark);
}

/* -----------------------------------------
   Front Page Principal Tour Cards
----------------------------------------- */
.tour-card.principal {
    position: relative;
    flex: 0 0 calc(50% - 10px);
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    color: var(--color-white);
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background-color: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card.principal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tour-card.principal .tour-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: 1;
}

.tour-card.principal:hover .tour-card-bg {
    transform: scale(1.06);
}

.tour-card.principal .tour-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.05) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.tour-card.principal:hover .tour-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.15) 100%);
}

.tour-card.principal .tour-card-content {
    position: relative;
    z-index: 3;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    background-color: transparent;
}

.tour-card.principal .tour-card-category {
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--color-white);
    opacity: 0.9;
    display: block;
    margin-bottom: 6px;
    text-transform: none;
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tour-card.principal .tour-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.3;
    color: var(--color-white) !important;
    transition: transform 0.3s ease;
}

.tour-card.principal .tour-card-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.45);
    width: 100%;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.tour-card.principal .tour-card-price-label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    display: block;
    color: var(--color-white);
    transition: transform 0.3s ease;
}

.tour-card.principal .tour-card-hover-content {
    opacity: 0;
    max-height: 0;
    min-height: 0; /* Prevents flexbox from forcing min-height based on children */
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.4s ease, transform 0.3s ease;
    transform: translateY(15px);
}

.tour-card.principal .tour-card-description {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 12px 0 16px 0;
    text-align: left;
}

.tour-card.principal .tour-card-btn {
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 11px 20px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    transition: background-color 0.25s ease, letter-spacing 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    letter-spacing: 0.3px;
    cursor: pointer;
}



.tour-card.principal .tour-card-btn:hover {
    background-color: var(--color-green-dark);
    letter-spacing: 0.5px;
}

/* -----------------------------------------
   Tour Sliders (Parallax Backgrounds)
----------------------------------------- */
.tour-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
}

.tour-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
}

.tour-section .container {
    position: relative;
    z-index: 2;
}

.tour-section-title {
    font-size: 38.4px;
    margin-bottom: 35px;
    font-family: var(--font-heading);
    font-weight: 500;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.tour-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 25px;
}

.tour-card {
    flex: 0 0 calc(33.333% - 17px);
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 471.513px;
}

.tour-card-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
}

.tour-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}

.tour-card-category {
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: 400;
    color: #e2e2e2;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.tour-card-title {
    position: relative;
    z-index: 2;
    font-size: 25.6px;
    font-weight: 500;
    color: var(--color-white) !important;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.tour-card-content {
    padding: 25px;
    height: 171.5px;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tour-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-card-price {
    font-weight: 400;
    color: var(--color-dark);
    font-size: 16px;
}

.tour-card-price .amount {
    font-weight: 600;
    font-size: 20px;
    color: var(--color-dark);
}

.tour-card-button {
    font-size: 17.6px;
    padding: 12px 24px;
    border-radius: 10px;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--color-green);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.slider-arrow:hover {
    background-color: var(--color-green-dark);
}

.slider-arrow.prev {
    left: -20px;
}

.slider-arrow.next {
    right: -20px;
}

@media (max-width: 1420px) {
    .slider-arrow.prev {
        left: 10px;
    }
    .slider-arrow.next {
        right: 10px;
    }
}

.slider-arrow-icon {
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
    display: block;
    margin-top: -3px;
}

.slider-arrow:hover {
    background-color: var(--color-green-dark);
}

.slider-arrow-prev { left: 10px; }
.slider-arrow-next { right: 10px; }

/* -----------------------------------------
   Testimonials Section
----------------------------------------- */
.testimonials {
    background-color: var(--color-gray-light);
}

.testimonials h2 {
    color: var(--color-green);
    font-size: 38.4px;
    margin-bottom: 40px;
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    height: 228.4px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 18px;
}

.testimonial-author {
    margin-top: auto;
}

.testimonial-author h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    margin: 5px 0 2px 0;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--color-gray-text);
    display: block;
}

/* -----------------------------------------
   Blog Grid Section
----------------------------------------- */
.blogs-section h2 {
    font-size: 38.4px;
    margin-bottom: 45px;
    color: var(--color-green);
    font-weight: 500;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 10px 0px;
    height: 349.6px;
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card-title {
    font-size: 25.6px;
    font-weight: 500;
    color: var(--color-green);
    line-height: 1.3;
    font-family: var(--font-heading);
}

.blog-card-excerpt {
    font-size: 16px;
    color: var(--color-dark);
    line-height: 1.5;
    margin: 10px 0;
}

.blog-card-link {
    font-weight: 600;
    color: var(--color-green);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid var(--color-green);
    border-radius: 7px;
    transition: background-color 0.25s ease, color 0.25s ease, gap 0.2s ease;
    margin-top: auto;
    align-self: flex-start;
}

.blog-card:hover .blog-card-link,
.blog-card-link:hover {
    background-color: var(--color-green);
    color: var(--color-white);
}

/* -----------------------------------------
   Footer Styles (Live Match)
----------------------------------------- */
footer {
    background-color: #6CA33F;
    color: rgba(255, 255, 255, 0.61);
    font-family: 'Poppins', sans-serif;
}
.footer-main {
    padding: 60px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 40px;
}
.footer-col h2 {
    color: #ffffff;
    margin: 0 0 20px 0;
    font-family: 'Maven Pro', sans-serif;
}
.footer-col h3 {
    font-family: 'Maven Pro', sans-serif;
    font-size: 25.6px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: none;
}
.footer-about-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.61);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col ul a {
    color: rgba(255, 255, 255, 0.61);
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}
.footer-col ul a:hover {
    color: #ffffff;
    opacity: 1;
}
.footer-payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}
.footer-hours {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 5px 0;
    color: rgba(255, 255, 255, 0.61);
}
.footer-bottom {
    background-color: #5a8e32; /* Slightly darker green or keep same */
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16px;
    color: #ffffff;
}
/* -----------------------------------------
   Floating WhatsApp Button
----------------------------------------- */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: whatsapp-pulse 2.5s infinite;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.floating-whatsapp svg {
    width: 36px;
    height: 36px;
    fill: #ffffff;
}

.floating-whatsapp a:hover {
    transform: scale(1.1) translateY(-4px);
    animation: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* -----------------------------------------
   Responsive Design
----------------------------------------- */
@media (max-width: 1024px) {
    .category-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h1 {
        font-size: 40px;
    }
}

/* Sidebar Tabs overrides */
.rf-sidebar-tabs {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.rf-sidebar-tabs .rf-custom-tabs-nav {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}
.rf-sidebar-tabs .rf-tab-btn {
    flex: 1;
    background-color: #f1f2f6;
    color: #444;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 15px;
    text-align: center;
}
.rf-sidebar-tabs .rf-tab-btn.active {
    background-color: #6ca33f;
    color: #fff;
}
.rf-sidebar-contact-form label {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 13px;
    color: #6ca33f;
    margin-bottom: 3px;
    font-style: normal;
}
.rf-sidebar-contact-form input,
.rf-sidebar-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e8e8f6;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    box-sizing: border-box;
}
.rf-sidebar-contact-form textarea {
    height: 100px;
    resize: vertical;
}
@media (max-width: 768px) {
    .category-grid,
    .testimonials-grid,
    .blog-grid,
    .counters-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .top-bar {
        display: none;
    }
}

/* -----------------------------------------
   WooCommerce Shop Grid and Product Card Styles
   ----------------------------------------- */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 40px 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    background-color: var(--color-white) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid var(--color-gray-border) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: var(--transition-smooth) !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
}

.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--color-dark) !important;
    padding: 15px 15px 5px 15px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.woocommerce ul.products li.product .price {
    padding: 0 15px 15px 15px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--color-green) !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product .button {
    margin: 0 15px 15px 15px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    text-align: center !important;
    background-color: var(--color-green) !important;
    color: var(--color-white) !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    transition: var(--transition-smooth) !important;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--color-green-dark) !important;
}

/* -----------------------------------------
   WooCommerce Single Product Page Styles
   ----------------------------------------- */
.woocommerce #content div.product, 
.woocommerce div.product, 
.woocommerce-page #content div.product, 
.woocommerce-page div.product {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 50px !important;
    align-items: start !important;
    margin-bottom: 60px !important;
}

.woocommerce #content div.product div.images, 
.woocommerce div.product div.images, 
.woocommerce-page #content div.product div.images, 
.woocommerce-page div.product div.images {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Flexslider layout for gallery thumbnails */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 15px !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 75px !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    width: 100% !important;
    height: 60px !important;
    object-fit: cover !important;
    border: 2px solid transparent !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: var(--transition-smooth) !important;
}

.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    border-color: var(--color-green) !important;
}

.woocommerce #content div.product div.summary, 
.woocommerce div.product div.summary, 
.woocommerce-page #content div.product div.summary, 
.woocommerce-page div.product div.summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 30px !important;
    background-color: var(--color-white) !important;
    border: 1px solid var(--color-gray-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
}

.woocommerce div.product .product_title {
    font-family: var(--font-heading) !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--color-dark) !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
}

/* WooCommerce Tabs full-width below the grid */
.woocommerce div.product .woocommerce-tabs,
.woocommerce-page div.product .woocommerce-tabs {
    grid-column: span 2 !important;
    margin-top: 40px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-page div.product .woocommerce-tabs ul.tabs {
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    gap: 20px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: var(--color-gray-text) !important;
    padding: 12px 5px !important;
    border-bottom: 3px solid transparent !important;
    transition: var(--transition-smooth) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-page div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-green) !important;
    border-bottom: 3px solid var(--color-green) !important;
}

.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce-page div.product .woocommerce-tabs .panel {
    background-color: var(--color-white) !important;
    padding: 30px !important;
    border: 1px solid var(--color-gray-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    line-height: 1.7 !important;
    color: var(--color-gray-text) !important;
}

.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce-page div.product .woocommerce-tabs .panel h2 {
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--color-dark) !important;
    margin-bottom: 20px !important;
}

/* Responsiveness */
@media (max-width: 991px) {
    .woocommerce #content div.product, 
    .woocommerce div.product, 
    .woocommerce-page #content div.product, 
    .woocommerce-page div.product {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .woocommerce div.product .woocommerce-tabs,
    .woocommerce-page div.product .woocommerce-tabs {
        grid-column: span 1 !important;
    }
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* -----------------------------------------
   WooCommerce Cart, Checkout, and Account Pages
   ----------------------------------------- */
/* Shop tables */
.woocommerce table.shop_table {
    border: 1px solid var(--color-gray-border) !important;
    border-radius: 8px !important;
    border-collapse: separate !important;
    overflow: hidden !important;
    background-color: var(--color-white);
}

.woocommerce table.shop_table th {
    background-color: var(--color-gray-light) !important;
    color: var(--color-dark) !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid var(--color-gray-border) !important;
}

.woocommerce table.shop_table td {
    padding: 20px !important;
    border-top: 1px solid var(--color-gray-border) !important;
    color: var(--color-gray-text);
}

/* Product names in cart */
.woocommerce-cart table.cart a {
    color: var(--color-dark) !important;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}

.woocommerce-cart table.cart a:hover {
    color: var(--color-green) !important;
}

/* Quantity inputs */
.woocommerce .quantity .qty {
    width: 60px !important;
    padding: 8px !important;
    border-radius: 4px !important;
    border: 1px solid var(--color-gray-border) !important;
}

/* Coupon and Update buttons */
.woocommerce-cart .actions {
    padding: 15px 20px !important;
    background-color: var(--color-gray-light);
}

.woocommerce-cart .coupon {
    display: flex !important;
    gap: 10px;
}

.woocommerce-cart .coupon input[type="text"] {
    max-width: 200px !important;
    padding: 10px !important;
    border-radius: 4px !important;
    border: 1px solid var(--color-gray-border) !important;
}

/* Cart totals block */
.cart-collaterals {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.cart_totals {
    width: 100%;
    max-width: 480px;
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--color-gray-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.cart_totals h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-dark);
}

/* Checkout Page Columns */
.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-bottom: 50px;
}

.woocommerce-checkout #customer_details {
    float: none !important;
    width: 100% !important;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Form inputs on Checkout */
.woocommerce form .form-row {
    margin-bottom: 15px !important;
}

.woocommerce form .form-row label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    color: var(--color-dark);
}

.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea {
    padding: 10px 12px !important;
    border-radius: 4px !important;
    border: 1px solid var(--color-gray-border) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Order review block */
#order_review_heading {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

#order_review {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--color-gray-border);
}

/* Payment methods */
.woocommerce-checkout #payment {
    background-color: var(--color-gray-light) !important;
    border-radius: 6px !important;
    padding: 20px !important;
    margin-top: 20px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--color-gray-border) !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: var(--color-white) !important;
    color: var(--color-gray-text) !important;
    border: 1px solid var(--color-gray-border) !important;
    border-radius: 4px !important;
    padding: 15px !important;
}

/* Buttons in WooCommerce */
.woocommerce .button,
.woocommerce-page .button {
    background-color: var(--color-green) !important;
    color: var(--color-white) !important;
    font-family: var(--font-primary) !important;
    font-weight: 500 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition-smooth) !important;
}

.woocommerce .button:hover,
.woocommerce-page .button:hover {
    background-color: var(--color-green-dark) !important;
    transform: scale(1.01);
}

/* My Account Navigation */
.woocommerce-MyAccount-navigation {
    width: 25% !important;
    float: left !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid var(--color-gray-border) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--color-gray-border) !important;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none !important;
}

.woocommerce-MyAccount-navigation a {
    display: block !important;
    padding: 15px 20px !important;
    color: var(--color-dark) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background-color: var(--color-white) !important;
    transition: var(--transition-smooth) !important;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
    background-color: var(--color-gray-light) !important;
    color: var(--color-green) !important;
}

.woocommerce-MyAccount-content {
    width: 70% !important;
    float: right !important;
}

/* Clearfixes */
.woocommerce-cart .cart-collaterals::after,
.woocommerce-account .woocommerce::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Responsive adjustments */
/* Sidebar Tabs overrides */
.rf-sidebar-tabs {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.rf-sidebar-tabs .rf-custom-tabs-nav {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}
.rf-sidebar-tabs .rf-tab-btn {
    flex: 1;
    background-color: #f1f2f6;
    color: #444;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 15px;
    text-align: center;
}
.rf-sidebar-tabs .rf-tab-btn.active {
    background-color: #6ca33f;
    color: #fff;
}
.rf-sidebar-contact-form label {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 13px;
    color: #6ca33f;
    margin-bottom: 3px;
    font-style: normal;
}
.rf-sidebar-contact-form input,
.rf-sidebar-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e8e8f6;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    box-sizing: border-box;
}
.rf-sidebar-contact-form textarea {
    height: 100px;
    resize: vertical;
}
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        grid-template-columns: 1fr !important;
    }
    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        float: none !important;
        margin-bottom: 30px !important;
    }
    .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
    }
}

/* Single Product Price */
.single-product .price,
.single-product .price .amount {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--color-green) !important;
    margin-bottom: 20px !important;
    display: block !important;
    font-family: var(--font-heading) !important;
}

.single-product .price del,
.single-product .price del .amount {
    font-size: 18px !important;
    color: var(--color-gray-text) !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    margin-right: 10px !important;
    display: inline-block !important;
}

.single-product .price ins,
.single-product .price ins .amount {
    text-decoration: none !important;
    display: inline-block !important;
}

/* Star Ratings */
.woocommerce .star-rating,
.woocommerce-page .star-rating {
    font-family: 'star' !important;
    font-size: 16px !important;
    color: #ffb703 !important;
}

.woocommerce .star-rating span::before,
.woocommerce-page .star-rating span::before {
    color: #ffb703 !important;
}

/* -----------------------------------------
   Homepage Staggered Split Tour Sections & Intro Block
   ----------------------------------------- */
/* Intro Split Block */
.intro-split-block {
    margin-bottom: 70px;
}

.intro-left img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
}

.intro-left img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Split Tour Sections */
.tour-split-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 120px 0;
    overflow: hidden;
}

.tour-split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65) !important; /* Premium dark contrast */
    z-index: 1;
}

.tour-split-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: center;
}

.tour-split-container.split-reversed {
    grid-template-columns: 0.75fr 1.25fr;
}

.tour-split-left {
    position: relative;
    width: 100%;
    min-width: 0;
}

.tour-split-right {
    color: var(--color-white);
    padding: 20px 0;
    min-width: 0;
}

.tour-split-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-green);
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.tour-split-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 22px;
    color: var(--color-white);
    text-transform: uppercase;
}

.tour-split-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
    color: #e5e5e5;
}

.tour-split-link {
    color: var(--color-white) !important;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 2px solid var(--color-green);
    padding-bottom: 5px;
    display: inline-block;
    transition: var(--transition-smooth);
}

.tour-split-link:hover {
    color: var(--color-green) !important;
    border-bottom-color: var(--color-white);
}

/* Slider Track gap adjustment for split columns */
.tour-split-left .tour-slider-track .tour-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-split-left .tour-slider-track .tour-card:hover {
    transform: translateY(-5px);
}

/* Responsiveness */
@media (max-width: 991px) {
    .intro-split-block {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }
    .tour-split-container,
    .tour-split-container.split-reversed {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    .tour-split-container.split-reversed .tour-split-right {
        order: -1;
    }
    .tour-split-right {
        text-align: center;
        padding: 0;
    }
    .tour-split-section {
        padding: 80px 0;
        background-attachment: scroll; /* better mobile performance */
    }
    .tour-split-title {
        font-size: 28px;
    }
}

/* Related Products Grid */
.related.products {
    margin-top: 60px !important;
    border-top: 1px solid var(--color-gray-border);
    padding-top: 40px;
}

.related.products h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.related.products ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-gray-border);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.related.products ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.related.products ul.products li.product img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    margin: 0 !important;
}

.related.products ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--color-dark) !important;
    padding: 15px 15px 5px 15px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.related.products ul.products li.product .price {
    padding: 0 15px 15px 15px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--color-green) !important;
    margin: 0 !important;
}

.related.products ul.products li.product .button {
    margin: 0 15px 15px 15px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    text-align: center;
}

@media (max-width: 991px) {
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}
@media (max-width: 576px) {
    .related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* -----------------------------------------
   Custom Single Product Layout (Pure PHP)
   ----------------------------------------- */
.product-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 20px;
}

@media (max-width: 991px) {
    .product-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-sidebar-col {
        position: static !important;
    }
}

/* Itinerary Accordion */
.itinerary-accordion {
    margin-top: 15px;
}
.accordion-item {
    border: 1px solid var(--color-gray-border);
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    background-color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.01);
    transition: var(--transition-smooth);
}
.accordion-header {
    padding: 18px 24px;
    background-color: var(--color-gray-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-size: 16px;
    border-bottom: 1px solid transparent;
}
.accordion-header:hover {
    background-color: #f0f3f1;
    color: var(--color-green);
}
.accordion-item.active .accordion-header {
    border-bottom-color: var(--color-gray-border);
    background-color: #f0f3f1;
    color: var(--color-green);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
    background-color: var(--color-white);
}

/* Info Tabs (Inclusions, Exclusions, Recommendations) */
.product-info-tabs {
    margin-top: 40px;
}
.info-tabs-headers {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--color-gray-border);
    margin-bottom: 25px;
}
.info-tab-btn {
    background: none;
    border: none;
    padding: 12px 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-gray-text);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.info-tab-btn:hover {
    color: var(--color-green);
}
.info-tab-btn.active {
    color: var(--color-green);
    border-bottom-color: var(--color-green);
}
.info-tab-panel {
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sidebar Summary Card */
.product-summary-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.product-price-box {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--color-gray-border);
    padding-bottom: 15px;
}
.product-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}
.meta-item {
    display: flex;
    flex-direction: column;
}
.meta-item span:first-child {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.meta-item span:last-child {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
}

/* Booking Tabs Header & Switcher */
.booking-tabs-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    background-color: var(--color-gray-light);
    padding: 4px;
    border-radius: 6px;
}
.booking-tab-btn {
    background: none;
    border: none;
    border-radius: 4px;
    padding: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-gray-text);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.booking-tab-btn.active {
    background-color: var(--color-white);
    color: var(--color-green);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Sidebar Contact Form */
.sidebar-contact-form input,
.sidebar-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-gray-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition-smooth);
    background-color: #fafafa;
}
.sidebar-contact-form input:focus,
.sidebar-contact-form textarea:focus {
    border-color: var(--color-green);
    background-color: var(--color-white);
    outline: none;
}

/* WooCommerce Bookings Integration */
.wc-bookings-booking-form {
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
}
.wc-bookings-booking-form-button {
    background-color: var(--color-green) !important;
    color: var(--color-white) !important;
    border-radius: 6px !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: var(--transition-smooth) !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
}
.wc-bookings-booking-form-button:hover {
    background-color: var(--color-dark) !important;
}

/* -----------------------------------------
   Custom Category Archive Grid (Pure PHP)
   ----------------------------------------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   TOURS ARCHIVE PAGE  (/tours/)
   ============================================== */

/* ---- Hero Banner ---- */
.tours-hero-banner {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center 35%;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tours-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0,0,0,0.72) 0%,
        rgba(20,50,10,0.55) 60%,
        rgba(0,0,0,0.38) 100%
    );
    z-index: 1;
}

.tours-hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    text-align: left;
}

.tours-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}
.tours-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.tours-breadcrumb a:hover { color: var(--color-white); }
.tours-breadcrumb-sep { opacity: 0.5; }

.tours-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 12px 0;
    line-height: 1.1;
    text-shadow: 0 3px 12px rgba(0,0,0,0.4);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.tours-hero-subtitle {
    font-size: clamp(14px, 1.8vw, 17px);
    color: rgba(255,255,255,0.85);
    margin: 0 0 28px 0;
    max-width: 600px;
    line-height: 1.65;
}

/* Hero category pills */
.tours-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tours-hero-pill {
    padding: 8px 18px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.45);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.08);
}

.tours-hero-pill:hover,
.tours-hero-pill.tours-pill-active {
    background: var(--color-green);
    border-color: var(--color-green);
    color: var(--color-white);
}

/* ---- Main Layout ---- */
.tours-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 48px;
    padding-bottom: 80px;
}

/* ---- Sidebar ---- */
.tours-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tours-widget {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-border);
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}

.tours-widget-title {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-green);
}

/* Search form */
.tours-search-form {
    position: relative;
    display: flex;
}

.tours-search-input {
    width: 100%;
    padding: 10px 44px 10px 14px;
    border: 1.5px solid var(--color-gray-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-primary);
    background-color: var(--color-gray-light);
    color: var(--color-dark);
    transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
    outline: none;
}
.tours-search-input:focus {
    border-color: var(--color-green);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(108,163,63,0.12);
}

.tours-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-green);
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color 0.2s;
}
.tours-search-btn:hover { color: var(--color-green-dark); }

/* Category list */
.tours-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tours-cat-list li a {
    font-size: 13.5px;
    color: var(--color-dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 7px;
    transition: background-color 0.2s, color 0.2s;
    font-weight: 500;
}
.tours-cat-list li a:hover,
.tours-cat-list li a.tours-cat-active {
    background-color: rgba(108,163,63,0.10);
    color: var(--color-green);
}
.tours-cat-list li a.tours-cat-active {
    font-weight: 700;
}
.tours-cat-list li a span {
    font-size: 11.5px;
    color: #aaa;
    font-weight: 400;
}

/* Price slider */
.price-slider-track {
    margin-bottom: 10px;
}

.tours-range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(
        to right,
        var(--color-green) 0%,
        var(--color-green) var(--fill-pct, 100%),
        #ddd var(--fill-pct, 100%),
        #ddd 100%
    );
    outline: none;
    cursor: pointer;
}
.tours-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-green);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.15s;
}
.tours-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.price-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: #888;
    margin-bottom: 14px;
}
.price-display-val {
    font-weight: 700;
    color: var(--color-green) !important;
}

.price-filter-btn {
    width: 100%;
    padding: 10px;
    font-size: 13.5px;
    border-radius: 8px;
    justify-content: center;
}

.price-clear-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 12.5px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}
.price-clear-link:hover { color: var(--color-dark); }

/* Why Book With Us widget */
.tours-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tours-why-list li {
    font-size: 13.5px;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}
.why-icon {
    font-size: 14px;
    flex-shrink: 0;
}

/* ---- Results bar ---- */
.tours-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-gray-border);
}
.tours-results-count {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}
.tours-results-count strong { color: var(--color-dark); }
.results-in { font-weight: 400; }
.results-clear-all {
    font-size: 12.5px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
.results-clear-all:hover { color: var(--color-dark); }

/* ---- Tour Cards Grid ---- */
.tours-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ---- Tour Card ---- */
.tours-archive-card {
    position: relative;
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s ease;
}
.tours-archive-card:hover {
    transform: translateY(-7px) scale(1.01);
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

/* Full-card invisible link overlay */
.tours-archive-card-link {
    position: absolute;
    inset: 0;
    z-index: 4;
}

/* Gradient overlay */
.tours-archive-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.90) 0%,
        rgba(0,0,0,0.45) 50%,
        rgba(0,0,0,0.05) 100%
    );
    z-index: 2;
    transition: background 0.35s ease;
}
.tours-archive-card:hover .tours-archive-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.60) 55%,
        rgba(0,0,0,0.15) 100%
    );
}

/* Category badge */
.tours-archive-card-cat {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    background: var(--color-green);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 30px;
}

/* Card body (always visible) */
.tours-archive-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.35s ease;
}
.tours-archive-card:hover .tours-archive-card-body {
    transform: translateY(-6px);
}

.tours-archive-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* Meta chips */
.tours-archive-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.18);
}

/* Price footer */
.tours-archive-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tours-archive-card-price {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}
.price-from {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover reveal content */
.tours-archive-card-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 0 20px 20px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.tours-archive-card:hover .tours-archive-card-hover {
    max-height: 140px;
    opacity: 1;
}

.tours-archive-card-excerpt {
    font-size: 12.5px;
    color: rgba(255,255,255,0.82);
    line-height: 1.55;
    margin: 0 0 12px 0;
}

.tours-archive-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--color-green);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s ease, gap 0.2s ease;
    position: relative;
    z-index: 6;
}
.tours-archive-card-btn:hover {
    background: var(--color-green-dark);
    gap: 11px;
}
.tours-archive-card-btn svg {
    transition: transform 0.25s ease;
}
.tours-archive-card-btn:hover svg {
    transform: translateX(3px);
}

/* No results state */
.tours-no-results {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.tours-no-results h2 {
    font-size: 24px;
    color: var(--color-dark);
    margin: 0;
}
.tours-no-results p {
    font-size: 15px;
    color: #aaa;
    margin: 0;
}

/* ---- Pagination ---- */
.tours-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.tours-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1.5px solid var(--color-gray-border);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    background-color: var(--color-white);
    transition: all 0.25s ease;
}
.tours-pagination .page-numbers:hover {
    border-color: var(--color-green);
    color: var(--color-green);
    background-color: rgba(108,163,63,0.07);
}
.tours-pagination .page-numbers.current {
    background-color: var(--color-green);
    border-color: var(--color-green);
    color: var(--color-white);
    font-weight: 700;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .tours-layout {
        grid-template-columns: 220px 1fr;
        gap: 28px;
    }
    .tours-hero-banner {
        height: 340px;
        background-attachment: scroll;
    }
}

/* Sidebar Tabs overrides */
.rf-sidebar-tabs {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.rf-sidebar-tabs .rf-custom-tabs-nav {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}
.rf-sidebar-tabs .rf-tab-btn {
    flex: 1;
    background-color: #f1f2f6;
    color: #444;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 15px;
    text-align: center;
}
.rf-sidebar-tabs .rf-tab-btn.active {
    background-color: #6ca33f;
    color: #fff;
}
.rf-sidebar-contact-form label {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 13px;
    color: #6ca33f;
    margin-bottom: 3px;
    font-style: normal;
}
.rf-sidebar-contact-form input,
.rf-sidebar-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e8e8f6;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    box-sizing: border-box;
}
.rf-sidebar-contact-form textarea {
    height: 100px;
    resize: vertical;
}
@media (max-width: 768px) {
    .tours-layout {
        grid-template-columns: 1fr;
        padding-top: 32px;
    }
    .tours-sidebar {
        position: static;
        order: -1;
    }
    .tours-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .tours-hero-banner {
        height: 300px;
        background-attachment: scroll;
    }
    .tours-hero-title {
        font-size: 28px;
    }
}

@media (max-width: 520px) {
    .tours-archive-grid {
        grid-template-columns: 1fr;
    }
    .tours-archive-card {
        height: 280px;
    }
}


/* ================================================================
   FINAL POLISH  Section Titles, Buttons & Read More
   ================================================================ */

/*  Restore tour-card hover states  */
.tour-card.principal:hover .tour-card-category {
    opacity: 0;
    transform: translateY(-10px);
}
.tour-card.principal:hover .tour-card-title   { transform: translateY(-10px); }
.tour-card.principal:hover .tour-card-divider { transform: translateY(-10px); }
.tour-card.principal:hover .tour-card-price-label { transform: translateY(-10px); }
.tour-card.principal:hover .tour-card-hover-content {
    opacity: 1;
    max-height: 180px;
    transform: translateY(-10px);
}

/*  Section Heading  bigger, bolder, with accent underline  */
.category-section .container > h2,
.intro-section .counters-wrapper h2,
section.testimonials .container > h2,
section.home-blog .container > h2 {
    font-size: clamp(32px, 3.5vw, 46px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px !important;
    line-height: 1.2 !important;
    position: relative;
    display: block;
    padding-bottom: 18px !important;
    margin-bottom: 50px !important;
}

/* Decorative underline on section headings */
.category-section .container > h2::after,
section.testimonials .container > h2::after,
section.home-blog .container > h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-green), #9ec860);
    border-radius: 4px;
    margin: 12px auto 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

/* Counter heading */
.intro-section .counters-wrapper h2 {
    padding-bottom: 0 !important;
}

/*  Tour split section title  */
.tour-split-subtitle {
    font-size: 11px !important;
    letter-spacing: 4px !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.tour-split-title {
    font-size: clamp(26px, 3vw, 40px) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    letter-spacing: -0.3px !important;
    line-height: 1.2 !important;
}

/*  Global .btn-primary  arrow animation removed  */
.btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/*  Category card button  arrow removed  */
.category-card-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/*  Blog card button  */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.blog-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12) !important;
}

/*  Tours archive card Read More  */
.tours-archive-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}



/* ==========================================================================
   WOOCOMMERCE CART & CHECKOUT POLISH
   ========================================================================== */
.woocommerce-cart .cart-collaterals .cart_totals, 
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.woocommerce table.shop_table {
    border-radius: 8px;
    border-collapse: separate;
    border: 1px solid #e2e8f0;
}
.woocommerce table.shop_table th {
    background: #f8fafc;
    color: #4a5568;
    font-weight: 600;
    padding: 15px;
}
.woocommerce table.shop_table td {
    padding: 15px;
    border-top: 1px solid #e2e8f0;
}
.woocommerce .button, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt, 
.woocommerce-page .button {
    background: var(--secondary-color) !important;
    color: #fff !important;
    border-radius: 6px !important;
    padding: 12px 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}
.woocommerce .button:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover {
    background: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108,163,63,0.3);
}
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    background: #f8fafc;
}
.woocommerce form .form-row input.input-text:focus, 
.woocommerce form .form-row textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(108,163,63,0.2);
    background: #fff;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    border-top-color: var(--primary-color);
    background: #f4f9f5;
    color: #2d3748;
}
.woocommerce-message::before, .woocommerce-info::before {
    color: var(--primary-color);
}

/* ==========================================================================
   ABOUT US PAGE STYLES (PIXEL-PERFECT MATCH)
   ========================================================================== */
.rf-about-hero {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    background: #000;
    color: #fff;
    overflow: hidden;
    min-height: 496px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.rf-about-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('/wp-content/uploads/2025/01/Sin-titulo-98.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.65;
    z-index: 0;
}
.rf-about-hero-content {
    position: relative;
    z-index: 1;
}
.rf-about-hero-content h1.rf-title {
    font-family: 'Maven Pro', sans-serif;
    font-size: 51.2px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
}
.rf-about-intro {
    padding: 64px 0;
    background: #ffffff;
}
.rf-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
    max-width: 1148px;
    margin: 0 auto;
}
.rf-intro-text .rf-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6ca33f;
    margin-bottom: 10px;
}
.rf-intro-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 38.4px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 20px;
    line-height: 1.2;
}
.rf-intro-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #222222;
    line-height: 1.8;
    margin-bottom: 20px;
}
.rf-features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 62px;
    column-gap: 15px;
    margin-top: 30px;
}
.rf-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #222222;
}
.rf-feature-item .dashicons {
    color: #6ca33f;
    font-size: 50px;
    width: 50px;
    height: 50px;
}
.rf-intro-image img {
    width: 100%;
    border-radius: 10px;
}

.rf-about-values-wrapper {
    background: #fff;
}
.rf-about-values-banner {
    position: relative;
    height: 425.75px;
    background-image: url('/wp-content/uploads/2025/01/Sin-titulo-91.webp');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding-top: 80px;
}
.rf-about-values-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}
.rf-about-values-content {
    position: relative;
    z-index: 1;
}
.rf-about-values-content h3.rf-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 38.4px;
    color: #fccd07;
    margin: 0;
}
.rf-about-values-content h2.rf-title {
    font-family: 'Poppins', sans-serif;
    font-size: 38.4px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}
.rf-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1148px;
    margin: -120px auto 80px auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}
.rf-value-card {
    background: #f5fce4;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.rf-value-icon {
    width: 70px;
    height: 70px;
    background: #6ca33f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.rf-value-icon .dashicons {
    color: #ffffff;
    font-size: 35px;
    width: 35px;
    height: 35px;
}
.rf-value-card h3 {
    font-family: 'Maven Pro', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #6ca33f;
    margin: 0 0 10px 0;
}
.rf-value-card p {
    font-family: 'Poppins', sans-serif;
    font-size: 14.4px;
    font-weight: 400;
    color: #222222;
    margin: 0;
}

.rf-about-team {
    padding: 60px 20px;
    background: #fff;
    max-width: 1148px;
    margin: 0 auto;
}
.rf-about-team-header {
    margin-bottom: 40px;
}
.rf-about-team-header h3.rf-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #6ca33f;
    margin: 0 0 5px 0;
}
.rf-about-team-header h2.rf-title {
    font-family: 'Poppins', sans-serif;
    font-size: 38.4px;
    font-weight: 600;
    color: #222222;
    margin: 0;
}
.rf-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.rf-team-member {
    position: relative;
    text-align: center;
}
.rf-team-photo {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}
.rf-team-photo img {
    width: 100%;
    height: auto;
    display: block;
}
.rf-team-badge {
    background: #6ca33f;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    width: 426.75px;
    margin: -30px auto 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.rf-team-badge h3 {
    font-family: 'Maven Pro', sans-serif;
    font-size: 25.6px;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}
.rf-team-badge p.rf-role {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
}

@media (max-width: 992px) {
    .rf-intro-grid { grid-template-columns: 1fr; }
    .rf-features-list { grid-template-columns: 1fr 1fr; }
    .rf-values-grid { grid-template-columns: 1fr 1fr; margin-top: -50px; }
    .rf-team-grid { grid-template-columns: 1fr; }
    .rf-team-badge { width: 90%; }
}
/* Sidebar Tabs overrides */
.rf-sidebar-tabs {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.rf-sidebar-tabs .rf-custom-tabs-nav {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}
.rf-sidebar-tabs .rf-tab-btn {
    flex: 1;
    background-color: #f1f2f6;
    color: #444;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 15px;
    text-align: center;
}
.rf-sidebar-tabs .rf-tab-btn.active {
    background-color: #6ca33f;
    color: #fff;
}
.rf-sidebar-contact-form label {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 13px;
    color: #6ca33f;
    margin-bottom: 3px;
    font-style: normal;
}
.rf-sidebar-contact-form input,
.rf-sidebar-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e8e8f6;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    box-sizing: border-box;
}
.rf-sidebar-contact-form textarea {
    height: 100px;
    resize: vertical;
}
@media (max-width: 768px) {
    .rf-values-grid { grid-template-columns: 1fr; }
    .rf-features-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTACT US PAGE STYLES (PIXEL-PERFECT MATCH)
   ========================================================================== */
.rf-contact-hero {
    position: relative;
    padding: 120px 20px;
    background: #000;
    color: #fff;
    min-height: 496.72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.rf-contact-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('/wp-content/uploads/2025/01/offer-2a.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.55; /* Reversing the 0.45 overlay logic to achieve same visual */
    z-index: 0;
}
.rf-contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1148px;
    margin: 0 auto;
    width: 100%;
}
.rf-contact-hero-content h1.rf-title {
    font-family: 'Maven Pro', sans-serif;
    font-size: 38.4px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-align: left;
}

.rf-contact-wrapper {
    max-width: 1148px;
    margin: 60px auto;
    padding: 0 20px;
}
.rf-contact-wrapper h2 {
    font-family: 'Maven Pro', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #6ca33f;
    margin-bottom: 20px;
}
.rf-contact-wrapper p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #222222;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Section A */
.rf-contact-section-a {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-bottom: 60px;
}
.rf-contact-info-col {
    flex: 1;
    max-width: 561px;
}
.rf-contact-image-col {
    flex: 1;
    max-width: 562px;
}
.rf-contact-image-col img {
    width: 100%;
    height: 317px;
    object-fit: cover;
    border-radius: 5px;
}
.rf-contact-boxes-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.rf-icon-box {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 50%;
}
.rf-icon-circle {
    background: #6ca33f;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.rf-icon-circle .dashicons {
    color: #ffffff;
    font-size: 30px;
    width: 30px;
    height: 30px;
}
.rf-icon-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 17.6px;
    font-weight: 500;
    color: #6ca33f;
    margin: 0 0 5px 0;
}
.rf-icon-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #222222;
    margin: 0;
}

/* Section B */
.rf-contact-section-b {
    display: flex;
    flex-direction: row;
    gap: 25px;
}
.rf-contact-form-col {
    flex: 1;
    max-width: 573px;
}
.rf-contact-map-col {
    flex: 1;
    max-width: 545px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Form Styles */
.rf-contact-form-native {
    margin-top: 20px;
}
.rf-form-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.rf-form-row .rf-form-group {
    flex: 1;
}
.rf-form-group {
    margin-bottom: 16px;
}
.rf-form-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 17.6px;
    font-weight: 500;
    color: #222222;
    margin-bottom: 8px;
}
.rf-form-group input,
.rf-form-group textarea {
    width: 100%;
    background: #ffffff;
    border: 0.8px solid rgba(0, 0, 0, 0.18);
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #222222;
    box-sizing: border-box;
}
.rf-form-group input {
    height: 40px;
    padding: 8px 16px;
}
.rf-form-group textarea {
    height: 101px;
    padding: 10px 14px;
    resize: vertical;
}
.rf-submit-btn {
    background: #6ca33f;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 17.6px;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    width: 100%;
    height: 40px;
    padding: 0 24px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.rf-submit-btn:hover {
    opacity: 0.9;
}

/* Map & Social */
.rf-map-iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
}
h2.rf-social-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 17.6px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 15px;
}
.rf-social-icons {
    display: flex;
    gap: 15px;
}
.rf-social-icon {
    background: #6ca33f;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}
.rf-social-icon:hover {
    transform: translateY(-3px);
}
.rf-social-icon .dashicons {
    color: #ffffff;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

@media (max-width: 992px) {
    .rf-contact-section-a,
    .rf-contact-section-b {
        flex-direction: column;
    }
    .rf-contact-info-col,
    .rf-contact-image-col,
    .rf-contact-form-col,
    .rf-contact-map-col {
        max-width: 100%;
    }
    .rf-contact-boxes-row {
        flex-direction: column;
    }
    .rf-icon-box {
        width: 100%;
    }
}

/* ==========================================================================
   SINGLE TOUR PAGE STYLES (PIXEL-PERFECT MATCH)
   ========================================================================== */
.rf-tour-hero {
    position: relative;
    padding: 120px 20px 60px;
    background-color: #000;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 567.68px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
}
.rf-tour-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* Semi-transparent overlay to ensure text readability */
    z-index: 0;
}
.rf-tour-hero-content {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
}
.rf-tour-title {
    font-family: 'Maven Pro', sans-serif;
    font-size: 51.2px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Layout Grid */
.rf-tour-container {
    max-width: 1148px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.rf-tour-left-col {
    width: 68.8%; /* approx 789.6px */
}
.rf-tour-right-col {
    width: 29.5%; /* approx 338.4px */
}

/* Left Col: Overview */
.rf-tour-overview {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 27.2px;
    color: #222222;
    margin-bottom: 40px;
}

/* Custom Tabs System */
.rf-tour-custom-tabs-wrapper {
    margin-bottom: 40px;
}
.rf-custom-tabs-nav {
    display: flex;
    flex-direction: row;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-wrap: wrap;
}
.rf-custom-tabs-nav li {
    margin: 0;
}
.rf-tab-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    background-color: #fccd07;
    border-radius: 10px;
    padding: 15px 35px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.rf-tab-btn.active {
    color: #ffffff;
    background-color: #6ca33f;
}

/* Tab Content Panels */
.rf-tab-panel {
    display: none;
    animation: fadein 0.4s ease;
}
.rf-tab-panel.active {
    display: block;
}

/* Accordion (Itinerary) */
.rf-accordion {
    width: 100%;
}
.rf-accordion-item {
    background-color: #ffffff;
    border: 0.8px solid #e8e8f6;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}
.rf-accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 15px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #222222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}
.rf-accordion-header.active {
    background: #fdfdfd;
}
.rf-accordion-header .dashicons {
    transition: transform 0.3s ease;
}
.rf-accordion-header.active .dashicons {
    transform: rotate(180deg);
}
.rf-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.rf-accordion-body-inner {
    padding: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #222222;
    border-top: 0.8px solid #e8e8f6;
}

/* Check Lists (Includes/Excludes) */
.rf-check-list, .rf-x-list, .rf-dot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rf-check-list li, .rf-x-list li, .rf-dot-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #222222;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}
.rf-check-list li::before {
    content: "";
    color: #008000;
    margin-right: 12px;
    font-weight: bold;
}
.rf-x-list li::before {
    content: "";
    color: #ff0000;
    margin-right: 12px;
    font-weight: bold;
}
.rf-dot-list {
    list-style-type: disc;
    padding-left: 20px;
}
.rf-dot-list li::before {
    display: none;
}

/* Right Sidebar Tabs */
.rf-sidebar-tabs .rf-custom-tabs-nav {
    border-bottom: 1px solid #e8e8f6;
    padding-bottom: 15px;
    justify-content: center;
}
.rf-booking-price-display {
    text-align: center;
}
.rf-booking-price-display .price-label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}
.rf-booking-price-display .price-val {
    font-family: 'Maven Pro', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #6ca33f;
}

/* Mobile Breakpoint */
/* Sidebar Tabs overrides */
.rf-sidebar-tabs {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.rf-sidebar-tabs .rf-custom-tabs-nav {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}
.rf-sidebar-tabs .rf-tab-btn {
    flex: 1;
    background-color: #f1f2f6;
    color: #444;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 15px;
    text-align: center;
}
.rf-sidebar-tabs .rf-tab-btn.active {
    background-color: #6ca33f;
    color: #fff;
}
.rf-sidebar-contact-form label {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 13px;
    color: #6ca33f;
    margin-bottom: 3px;
    font-style: normal;
}
.rf-sidebar-contact-form input,
.rf-sidebar-contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e8e8f6;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    box-sizing: border-box;
}
.rf-sidebar-contact-form textarea {
    height: 100px;
    resize: vertical;
}
@media (max-width: 768px) {
    .rf-tour-container {
        flex-wrap: wrap;
    }
    .rf-tour-left-col, .rf-tour-right-col {
        width: 100%;
    }
    .rf-custom-tabs-nav {
        flex-direction: column;
    }
    .rf-tab-btn {
        width: 100%;
        text-align: center;
    }
}






/* ==========================================================================
   GLOBAL POLISH & SPACING FIXES
   ========================================================================== */
/* Better text spacing */
p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444444;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Tour Overview Spacing */
.rf-tour-overview p {
    margin-bottom: 25px;
}

/* Accordion text spacing */
.rf-accordion-body-inner p {
    margin-bottom: 15px;
}
.rf-accordion-body-inner p:last-child {
    margin-bottom: 0;
}

/* Tab button polish */
.rf-tab-btn {
    transition: all 0.3s ease;
}
.rf-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Submit button polish */
button[type="submit"], .rf-sidebar-submit-btn {
    transition: all 0.3s ease !important;
}
button[type="submit"]:hover, .rf-sidebar-submit-btn:hover {
    background-color: #5a8e32 !important; /* Slightly darker green */
    box-shadow: 0 4px 15px rgba(108, 163, 63, 0.3);
}

/* Form input spacing */
.rf-form-group {
    margin-bottom: 25px;
}
.rf-sidebar-contact-form input, 
.rf-sidebar-contact-form textarea {
    margin-bottom: 5px;
}

/* List spacing */
ul.rf-check-list li, ul.rf-x-list li, ul.rf-dot-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   SIDEBAR META CARD (RESTORED)
   ========================================================================== */
.rf-sidebar-meta-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
}
.rf-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.rf-meta-item:last-child {
    margin-bottom: 0;
}
.rf-meta-item .dashicons {
    color: #6ca33f;
    font-size: 24px;
    width: 24px;
    height: 24px;
}
.rf-meta-item .rf-meta-text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #333333;
    line-height: 1.4;
}


.rf-sidebar-tabs .rf-custom-tabs-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.rf-sidebar-tabs .rf-tab-btn {
    flex: 1;
    width: 100%;
    text-align: center;
    padding: 12px 0 !important; /* Force override */
    font-size: 14px;
}

/* Sidebar Tab buttons specific fix */
.rf-sidebar-tabs .rf-custom-tabs-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.rf-sidebar-tabs .rf-custom-tabs-nav li {
    flex: 1;
    margin: 0;
    padding: 0;
}
.rf-sidebar-tabs .rf-tab-btn {
    width: 100%;
    text-align: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.rf-sidebar-tabs .rf-custom-tabs-nav {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}
.rf-sidebar-tabs .rf-tab-btn {
    flex: 1;
    background-color: #f1f2f6;
    color: #444;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 15px;
    text-align: center;
}
.rf-sidebar-tabs .rf-tab-btn.active {
    background-color: #6ca33f;
    color: #fff;
}
.rf-sidebar-contact-form label {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 13px;
    color: #6ca33f;
    margin-bottom: 5px;
    font-style: normal;
}
.rf-sidebar-contact-form input,
.rf-sidebar-contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #e8e8f6;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    box-sizing: border-box;
}
.rf-sidebar-contact-form textarea {
    height: 100px;
    resize: vertical;
}
@media (max-width: 768px) {
    .rf-tour-container {
        flex-wrap: wrap;
    }
    .rf-tour-left-col, .rf-tour-right-col {
        width: 100%;
    }
    .rf-custom-tabs-nav {
        flex-direction: column;
    }
    .rf-tab-btn {
        width: 100%;
        text-align: center;
    }
}






/* ==========================================================================
   GLOBAL POLISH & SPACING FIXES
   ========================================================================== */
/* Better text spacing */
p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444444;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Tour Overview Spacing */
.rf-tour-overview p {
    margin-bottom: 25px;
}

/* Accordion text spacing */
.rf-accordion-body-inner p {
    margin-bottom: 15px;
}
.rf-accordion-body-inner p:last-child {
    margin-bottom: 0;
}

/* Tab button polish */
.rf-tab-btn {
    transition: all 0.3s ease;
}
.rf-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Submit button polish */
button[type="submit"], .rf-sidebar-submit-btn {
    transition: all 0.3s ease !important;
}
button[type="submit"]:hover, .rf-sidebar-submit-btn:hover {
    background-color: #5a8e32 !important; /* Slightly darker green */
    box-shadow: 0 4px 15px rgba(108, 163, 63, 0.3);
}

/* Form input spacing */
.rf-form-group {
    margin-bottom: 25px;
}
.rf-sidebar-contact-form input, 
.rf-sidebar-contact-form textarea {
    margin-bottom: 5px;
}

/* List spacing */
ul.rf-check-list li, ul.rf-x-list li, ul.rf-dot-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   SIDEBAR META CARD (RESTORED)
   ========================================================================== */
.rf-sidebar-meta-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
}
.rf-meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.rf-meta-item:last-child {
    margin-bottom: 0;
}
.rf-meta-item .dashicons {
    color: #6ca33f;
    font-size: 24px;
    width: 24px;
    height: 24px;
}
.rf-meta-item .rf-meta-text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #333333;
    line-height: 1.4;
}


.rf-sidebar-tabs .rf-custom-tabs-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.rf-sidebar-tabs .rf-tab-btn {
    flex: 1;
    width: 100%;
    text-align: center;
    padding: 12px 0 !important; /* Force override */
    font-size: 14px;
    box-sizing: border-box;
}

/* ==========================================================================
   WOOCOMMERCE CHECKOUT STYLES
   ========================================================================== */
.woocommerce-checkout .woocommerce {
    max-width: 1200px;
    margin: 40px auto;
}

/* 2-Column Grid Layout for Checkout */
.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 1fr 520px;
    grid-template-areas: 
        "customer review_heading"
        "customer review";
    gap: 0 50px;
    align-items: start;
}

.woocommerce-checkout #customer_details {
    grid-area: customer;
}

.woocommerce-checkout h3#order_review_heading {
    grid-area: review_heading;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #6ca33f;
    padding-bottom: 10px;
    color: #222;
}

.woocommerce-checkout #order_review {
    grid-area: review;
    background: #fcfcfc;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 5px 25px rgba(0,0,0,0.02);
}

@media (max-width: 991px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "customer"
            "review_heading"
            "review";
    }
}

/* Form Fields Styling & Flex Layout Fix for Email/Inputs */
.woocommerce form .woocommerce-billing-fields__field-wrapper,
.woocommerce form .woocommerce-shipping-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.woocommerce form .form-row {
    margin-bottom: 0;
    width: 100%;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
    width: calc(50% - 10px);
    float: none;
}

.woocommerce form .form-row-wide {
    width: 100%;
    float: none;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 25px;
    border-bottom: 2px solid #6ca33f;
    padding-bottom: 10px;
    display: inline-block;
}

/* RESTORED STANDARD LABEL STYLE TO FIX SELECT2 OVERLAPS */
.woocommerce form .form-row {
    position: relative;
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    display: block !important;
    font-size: 14px !important;
    color: #444 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

/* Hide the required asterisk or adjust it if needed */
.woocommerce form .form-row label abbr {
    text-decoration: none;
    color: red;
}

.woocommerce form #billing_email_field,
.woocommerce form #billing_phone_field {
    width: 100%;
    margin-top: 15px;
}

body.woocommerce-checkout form.checkout .form-row input.input-text,
body.woocommerce-checkout form.checkout .form-row textarea,
body.woocommerce-checkout form.checkout .form-row select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form:not(#adminbarsearch) input[type="text"],
.woocommerce form:not(#adminbarsearch) input[type="email"],
.woocommerce form:not(#adminbarsearch) input[type="tel"],
.woocommerce form:not(#adminbarsearch) input[type="password"],
.wc-block-components-text-input__input,
.wc-block-components-text-input input {
    width: 100% !important;
    padding: 12px 15px !important;
    min-height: 48px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    font-family: inherit !important;
    font-size: 15px !important;
    color: #333 !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Ensure WooCommerce Block labels sit nicely at the top */
.wc-block-components-text-input__label {
    top: 8px !important;
    font-size: 12px !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #6ca33f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 163, 63, 0.15);
}

.woocommerce form .form-row textarea {
    height: 120px;
}

/* Select2 Customization if used */
.select2-container .select2-selection--single {
    height: 46px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
}

/* Order Summary Table */
.woocommerce table.shop_table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 25px;
    border: none;
    border-radius: 0;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 16px 0;
    border-bottom: 1px solid #eaeaea;
    border-top: none;
    color: #444;
}

.woocommerce table.shop_table thead th {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eaeaea;
}

.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td {
    border-bottom: 1px solid #eaeaea;
    font-weight: 600;
}

.woocommerce table.shop_table .order-total th,
.woocommerce table.shop_table .order-total td {
    border-bottom: none;
    font-size: 18px;
    color: #222;
}

.woocommerce table.shop_table .order-total td strong {
    color: #6ca33f;
}

/* Payment Section */
.woocommerce-checkout #payment {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid #eaeaea;
    padding: 0 0 25px 0;
    margin: 0 0 25px 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
    margin-bottom: 15px;
    list-style: none;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #f2f2f2;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #555;
    padding: 15px 20px;
    font-size: 14px;
    margin-top: 10px;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #e0e0e0;
}

.woocommerce-checkout #payment .place-order {
    padding: 10px 0 0;
    margin: 0;
}

.woocommerce-checkout #payment .place-order .button {
    background-color: #6ca33f;
    color: #fff;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font-primary, 'Poppins', sans-serif);
    padding: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-checkout #payment .place-order .button:hover {
    background-color: #588533;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 163, 63, 0.3);
}

.woocommerce-checkout #payment .terms {
    margin-bottom: 20px;
}

/* WooCommerce Checkout Form Spacing */
.woocommerce-checkout form.checkout .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.woocommerce-checkout form.checkout .form-row input.input-text,
.woocommerce-checkout form.checkout .form-row select,
.woocommerce-checkout form.checkout .form-row textarea,
.woocommerce-checkout form.checkout .select2-container {
    width: 100%;
    margin-top: 5px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fcfcfc;
}

.woocommerce-checkout form.checkout .form-row {
    margin-bottom: 25px;
}

/* ==========================================================================
   Cookie Consent Modal Styles
   ========================================================================== */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal {
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    font-family: 'Poppins', sans-serif;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.cookie-modal-overlay.active .cookie-modal {
    transform: translateY(0);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.cookie-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 5px;
}

.cookie-modal-body {
    padding: 30px;
    overflow-y: auto;
}

.cookie-modal-body p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

/* Accordion */
.cookie-accordion {
    border-top: 1px solid #eee;
}

.cookie-accordion-item {
    border-bottom: 1px solid #eee;
}

.cookie-accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 15px 0;
    cursor: pointer;
    text-align: left;
}

.cookie-accordion-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.cookie-accordion-toggle.active .cookie-accordion-icon {
    transform: rotate(90deg);
}

.cookie-accordion-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cookie-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.cookie-accordion-content p {
    padding: 0 0 20px 39px;
    margin: 0;
}

/* Footer Buttons */
.cookie-modal-footer {
    display: flex;
    padding: 20px 30px;
    border-top: 1px solid #eee;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cookie-outline {
    flex: 1;
    background: #fff;
    border: 2px solid #7eb83e;
    color: #7eb83e;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn-cookie-outline:hover {
    background: #f4faed;
}

.btn-cookie-solid {
    flex: 1;
    background: #7eb83e;
    border: 2px solid #7eb83e;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.btn-cookie-solid:hover {
    background: #6ca33f;
    border-color: #6ca33f;
}

@media (max-width: 768px) {
    .cookie-modal-footer {
        flex-direction: column;
    }
}

/* Final Polish Touches */
html {
    scroll-behavior: smooth;
}

.legal-document img {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease;
}

.legal-document img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}
