/* global stuff */


/* colors */
:root {
    /* COLORS */

    /* · Golden Sunset Tones (Warmth, welcoming atmosphere) */
    --color-1: #f4e5c6;
    --color-2: #978559;

    /* · Deep Equestrian Browns (Heritage, tradition, authenticity) */
    --color-3: #a16f33;

    /* · Elegant Navy & Rustic Wood Accents (Balance of tradition & modernity) */
    --color-4: #623308;

    /* · Soft Neutrals & Creams (Luxury, sophistication, timelessness) */
    --color-5: #a28b57;

    /* · Earthy Greens (Connection to nature, sustainability) */
    --color-6: #364220;
    --color-7: #213323;
    --color-8: #111e28;

    /* · Rich Maroon (Strength, passion & brand identity) */
    --color-9: #660b01;
    --color-9-light: hsl(355, 90%, 90%);
    --color-9-rgb: 102, 11, 1;

    /* new color, blue for activities */
    --color-10: hsl(234, 98%, 20%);
    --color-10-light: hsl(234, 100%, 90%);
    --color-10-rgb: 1, 11, 101;

    --color-primary: var(--color-9);
    --color-primary-light: var(--color-9-light);

    --color-secondary: var(--color-6);

    --color-tertiary: var(--color-10);
    --color-tertiary-light: var(--color-10-light);

    /* change crizal colors */
    --color-crizal-primary: var(--color-primary);
}

/* reverts green checkboxes */
.list-style-14 li:before,
.list-style-16 li:after {
    color: #09b850;
}
.list-style-18 li:before {
    background: #09b850;
}

/* some defaults */

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

.bg-primary {
    background: var(--color-primary) !important;
}


header {
    background: white;
    color: #333;
}
.navbar-nav > li.has-sub:hover > .user-submenu {
    right: 0;
    margin-top: -1rem;
}
ul.navbar-nav {
    margin: 0 !important;
    flex: 1;
    justify-content: flex-start;
}
.button-user-menu {
    margin-left: auto !important;
    order: 1;
}
.button-user-menu i {
    color: var(--color-primary) !important;
}
.button-login {
    margin-left: auto !important;
}
ul.navbar-nav a:not(.butn) {
    font-size: 0.9em;
    text-transform: none;
}
ul.navbar-nav .fa {
    font-size: 1.5em;
}
ul.sub-menu {
    min-width: 0 !important;
}

.login, .button-adventure {
    margin-left: auto !important;
}
.hero-buttons a {
    margin-bottom: 1.5em;
    width: 100%;
    text-align: center;
}
@media screen and (min-width: 992px) {
    .menu_area-light .navbar-nav>li>a {
        color: #333;
    }
    .menu_area-light.scrollHeader .navbar-nav>li.has-sub>a:hover {
        color: var(--color-primary) !important;
    }
}
.navbar-nav li.current>a, .navbar-nav li.active>a {
    color: var(--color-primary) !important;
}
@media screen and (min-width: 992px) {
    .menu_area-light .navbar-nav li.has-sub a:hover {
        color: var(--color-primary);
    }
}

/* navbar chevron */
.navbar>ul>li.current>a:after {
    border-color: transparent var(--color-primary) var(--color-primary) transparent !important;
}
@media screen and (min-width: 992px) {
    .menu_area-light .navbar>ul>li.has-sub>a:hover:after {
        border-color: var(--color-primary);
    }
}

/* navbar hover color */
@media screen and (min-width: 992px) {
    .menu_area-light .navbar-light .navbar-nav>li>a:hover, .menu_area-light .navbar-light .navbar-nav>li>a:active, .menu_area-light .navbar-light .navbar-nav>li>a:focus {
        color: var(--color-primary);
    }
}

/* hamburger */
@media screen and (min-width: 992px) {
    /* always show menu on desktop */
    .navbar-nav {
        display: flex !important;
    }
    .navbar-nav > li {
        display: list-item !important;
    }
    .top-search {
        display: none !important;
    }
    /* shadow for desktop submenus */
    .navbar-nav > .has-sub > .sub-menu {
        z-index: 1000;
    }
    *:not(.megamenu) > .has-sub > .sub-menu {
        box-shadow: 0 20px 40px 8px rgb(0 0 0 / 25%) !important;
    }
    .sub-menu {
        background: whitesmoke;
    }
}
.dropdown-menu {
    background: whitesmoke !important;
}
@media screen and (max-width: 991px) {
    .navbar-nav {
        /* dropdown menu shadow only mobile */
        box-shadow: 0 20px 40px 8px rgb(0 0 0 / 25%) !important;
    }
}
.mobile-user-menu {
    padding-top: 0;
    color: white;
    border: 2px solid var(--color-primary);
}
.mobile-user-menu > div {
    padding: 1em;
}
.mobile-user-menu > div:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.button-adventure {
    margin-top: 0.8rem !important;
}
@media screen and (max-width: 991px) {
    .button-adventure {
        margin: 0 !important;
        padding: 0.75em !important;
    }
    .button-adventure a.butn.small {
        padding: 14px 28px !important;
    }
    .button-adventure:not(.login) a.butn.small {
        width: calc(100% - 50px - 12px);
    }
    .login {
        padding: 0.75em !important;
    }
    .navbar-nav {
        position: fixed;
        top: 0;
    }
}
@media screen and (max-width: 767px) {
    .navbar-header {
        flex: 1;
    }
}
.navbar-toggler {
    position: fixed;
    right: 0.75em;
}
.spacer {
    position: absolute;
    right: 0;
    height: 45px;
    width: 50px;
}

/* Page Specific */

/* memberships register */
.memberships.register .card-body-inner {
    position: relative;
}
.memberships.register .button-remove-user {
    position: absolute !important;
    top: -25px;
    right: -5px;
    padding: 0.2em 0.4em !important;
    background: black;
    color: white !important;
    opacity: 1;
}
.memberships.register .button-remove-user:hover {
    background: #333;
}
@media screen and (max-width: 575px) {
    /* pull in card/dropshadow to edge of screen */
    .memberships.register > div > .row:last-child > div {
        padding: 0 !important;
    }
    .memberships.register > div > .row:last-child > div > .bg-white {
        margin-top: 1em;
        border-radius: 0 !important;
        padding: 0.75em !important;
    }
    .memberships.register > div > .row:last-child form > .row:last-child > div {
        padding: 0;
    }
}

/* funnel (categories and activities index) */
.funnel .product-img .fa {
    text-align: left !important;
    margin-left: 15px;
}
.funnel .product-img > a {
    width: 100%;
    height: 300px;
    display: block;
}
.funnel .categories-admin-edit {
    margin-top: -50px !important;
}
.funnel .product-img > a:hover {
    color: inherit;
}
.funnel .product-img:hover .product-cart > a:first-child {
    background: var(--color-primary);
    color: white;
}
.funnel .product-cart {
    pointer-events: none;
    align-self: center;
    margin-top: 50px;
}
.funnel .product-cart > * {
    pointer-events: all;
}

/* more button popover */
.funnel .product-details {
    position: relative;
}
.funnel .popover-header {
    pointer-events: none;
}
.funnel .popover-header::after {
    pointer-events: auto;
    content: "\f00d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    cursor: pointer;
}
.funnel .popover {
    height: calc(100% - 4em);
    z-index: 9999;
    box-shadow: 0 20px 40px 8px rgb(0 0 0 / 25%) !important;
    transform: translate(0, 0) !important;
    max-width: none !important;
}
.funnel .popover-inner {
    height: calc(100% - 2em - 5px);
    display: flex;
    flex-direction: column;
}
.funnel .popover-body {
    flex: 1;
    overflow-y: scroll;
}
.funnel .popover-content {
    font-size: 14px;
}
.funnel .popover-text {
    flex: 1;
}
.funnel .popover-close {
    cursor: pointer;
}
.funnel .popover-buttons {
    padding: 1em;
    text-align: center;
}
.funnel .popover-advance {
    flex: 1;
}
.funnel .popover {
    margin: 1em 1em 1em 1em !important;
}
@media screen and (min-width: 992px) {
    .funnel .popover {
        margin: 2em 2em 2em 2em !important;
    }
}

.crizal.funnel {
    display: none;
}
.crizal.funnel.mobile {
    display: block;
}

.crizal.funnel.loggedout {
    display: block;
}
.crizal.funnel.mobile.loggedout {
    display: none;
}
@media screen and (min-width: 768px) {
    .crizal.funnel {
        display: block;
    }
    .crizal.funnel.mobile {
        display: none;
    }
}

.crizal.funnel.mobile section {
    padding-top: 1em;
}
.crizal.funnel.mobile a {
    border: 1px solid transparent;
    padding: 1em;
    display: block;
}

@media screen and (min-width: 500px) {
    .icon-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1.5rem 0;
    }
    .icon-buttons > div {
        height: 100%;
    }
    .icon-buttons > div a {
        height: 100%;
    }
    .icon-buttons > div a > div {
        flex-flow: column;
        gap: 1.5rem
    }
    .icon-buttons i {
        margin: 1rem;
    }
}

/* mobile funnel colors */
.crizal.categories.mobile a:hover {
    color: var(--color-primary);
}
.crizal.categories.mobile i {
    color: var(--color-primary);
    background: var(--color-primary-light);
}
.crizal.categories.mobile .icon-buttons a:hover {
    border: 1px solid var(--color-primary);
    background: var(--color-primary-light);
}
.crizal.categories.mobile .icon-buttons a:hover i {
    color: var(--color-primary-light);
    background: var(--color-primary);
}
.crizal.categories .mobile-banner {
    background: var(--color-primary);
}
.crizal.categories .mobile-banner h1 {
    color: white;
}
.crizal.activities.mobile a:hover {
    color: var(--color-tertiary);
}
.crizal.activities.mobile i {
    color: var(--color-tertiary);
    background: var(--color-tertiary-light);
}
.crizal.activities.mobile .icon-buttons a:hover {
    border: 1px solid var(--color-tertiary);
    background: var(--color-tertiary-light);
}
.crizal.activities.mobile .icon-buttons a:hover i {
    color: var(--color-tertiary-light);
    background: var(--color-tertiary);
}
.crizal.activities .mobile-banner {
    background: var(--color-tertiary);
}
.crizal.activities .mobile-banner h1 {
    color: white;
}
.funnel .product-details > a {
    position: absolute;
    z-index: 9999;
    bottom: 4em;
    right: 0;
    top: 0;
    left: 0;
}
.funnel .product-details > a > div {
    pointer-events: none;
    height: calc(100% + 4em);
}
.crizal.categories .product-details > a:hover > div {
    background: rgba(var(--color-9-rgb), 0.3);
}
.crizal.activities .product-details > a:hover > div {
    background: rgba(var(--color-10-rgb), 0.3);
}

/* categories index */
.categories.index .owl-item {
    height: 55vh;
}
.categories.index .owl-item h1 {
    margin-top: 1em;
}
.categories.index .owl-dots {
    bottom: 10vh;
}
.categories.index .owl-theme .owl-dots .owl-dot:hover span, .owl-theme .owl-dots .owl-dot.active span {
    background: var(--color-primary);
}
.categories.index .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span, .owl-theme .owl-dots .owl-dot:focus span {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.categories.index.slider-fade {
    display: none;
}
@media screen and (min-width: 768px) {
    .categories.index.slider-fade {
        display: block;
    }
    .categories.index.login-buttons {
        display: none;
    }
}
.categories.index .owl-dots {
    bottom: 2vw;
    pointer-events: none;
}
.categories.index .owl-dot {
    pointer-events: auto;
}
.categories.index .item > .container {
    height: 100%;
}
.categories.index .item > .container > .row {
    height: 100%;
}
.categories.index .owl-item-inner {
    height: 100%;
    padding-bottom: 1.5em;
    padding-left: 3em;
    display: flex;
    flex-direction: column;
}
.categories.index .owl-item-inner h1 {
    margin-top: 25px;
}
.categories.index .owl-item-inner p {
    overflow: hidden;
    margin-bottom: 7px;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    flex-shrink: 1;
    flex-grow: 1;
    flex-basis: auto;
    min-height: 0;
}

/* faq */
.faq {
    margin-bottom: 2em !important;
}
.faq .accordion {
    background: transparent !important;
}
.faq .accordion .accordion-button.collapsed {
    border-color: #bbb;
}
.faq .accordion .card-body {
    border-color: #bbb;
}
.faq .accordion .card {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
.faq .accordion button {
    text-transform: none;
}

/* Activities/Index 'Special' Banner styling */
.product-img .specialbanner {
    position: absolute;
    top: 38px; /* Adjust to position in top-right corner */
    right: -40px; /* Offset to create diagonal effect */
    background-color: #800000; /* Maroon */
    color: white;
    padding: 8px 40px; /* Padding for ribbon shape */
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transform: rotate(45deg); /* Diagonal angle */
    transform-origin: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    z-index: 10; /* Above image, below SCHEDULE link */
    white-space: nowrap; /* Prevent text wrapping */
}

/* Ensure SCHEDULE link remains clickable */
.product-cart {
    z-index: 20; /* Above banner */
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .product-img .specialbanner {
        font-size: 0.8rem;
        padding: 6px 30px;
        right: -30px;
        top: 8px;
    }
}

/* Prevent justified text interference */
.product-img .specialbanner {
    text-align: center !important;
}


