/* Leave the @layer declarations to prevent conflicts with editor defined styles */
@layer theme, base, components, utilities;
@layer components {
    :root {
        --theme-color-black: #272727;
        --theme-color-white: #ffffff;
        --theme-color-gray-dark: #5D5E61;
        --theme-color-gray-medium: #87888A;
        --theme-color-gray-light: #C9CACB;
        --theme-color-off-white: #F0F3F6;
        --theme-color-component-bg: #D9D9D9;
        --theme-color-neutral-dark: #9C9C9C;
        --theme-color-neutral-light: #E8E8E8;

        --theme-heading-font-family: 'Space Grotesk', sans-serif;
        --theme-default-font-size: 18px;
        --theme-h1-font-size: 76px;
        --theme-h1-line-height: 92px;
        --theme-h1-font-weight: 700;
        --theme-h2-font-size: 52px;
        --theme-h2-line-height: 62px;
        --theme-h2-font-weight: 400;
        --theme-h3-font-size: 36px;
        --theme-h3-line-height: 44px;
        --theme-h3-letter-spacing: 0;
        --theme-h3-font-weight: 400;

        --page-bg: var(--theme-color-white);
        --theme-text-color: var(--theme-color-black);
        --theme-heading-color: var(--theme-color-black);

        --theme-transition-timing-funtion: cubic-bezier(0.4, 0, 0.2, 1);
        --theme-tranisition-duration: 300ms;
        --theme-subnav-anim-duration: 500ms;

        --theme-button-padding-small-desktop: 5px 25px;
        --theme-button-font-size-small-desktop: 16px;
        --theme-button-padding-small-tablet: 8px 24px;
        --theme-button-font-size-small-tablet: 15px;
        --theme-button-padding-small-mobile: 12px 24px;
        --theme-button-font-size-small-mobile: 14px;
        --theme-button-padding-medium-desktop: 10px 34px;
        --theme-button-font-size-medium-desktop: 16px;
        --theme-button-padding-medium-tablet: 12px 32px;
        --theme-button-font-size-medium-tablet: 16px;
        --theme-button-padding-medium-mobile: 14px 32px;
        --theme-button-font-size-medium-mobile: 16px;
        --theme-button-padding-large-desktop: 12px 45px;
        --theme-button-font-size-large-desktop: 18px;
        --theme-button-padding-large-tablet: 18px 46px;
        --theme-button-font-size-large-tablet: 18px;
        --theme-button-padding-large-mobile: 18px 44px;
        --theme-button-font-size-large-mobile: 18px;
        --theme-button-padding-xl-desktop: 23px 45px;
        --theme-button-font-size-xl-desktop: 18px;
        --theme-button-padding-xl-tablet: 28px 58px;
        --theme-button-font-size-xl-tablet: 18px;
        --theme-button-padding-xl-mobile: 28px 56px;
        --theme-button-font-size-xl-mobile: 18px;
        --theme-button-padding-2xl-desktop: 33px 66px;
        --theme-button-font-size-2xl-desktop: 18px;
        --theme-button-padding-2xl-tablet: 31px 69px;
        --theme-button-font-size-2xl-tablet: 18px;
        --theme-button-padding-2xl-mobile: 36px 70px;
        --theme-button-font-size-2xl-mobile: 18px;
        --theme-button-shape: calc(infinity * 1px);

        --theme-nav-color: var(--theme-color-white);
    }

    body, .outer-container {
        background-color: var(--site-bg-color, var(--page-bg));
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body.dark, .dark .outer-container {
        background-color: var(--page-bg-dark);
    }

    body:has(.mobile-nav):has(.mobile-nav-open) {
        overflow: hidden;
        height: 100vh;
        overscroll-behavior: none;
    }

    body:has(.not-scrolled) .header-section:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 20;
        width: 100%;
        height: 20%;
        background: linear-gradient(to bottom,rgba(0,0,0,0.3) 0%,rgba(0,0,0,0.15) 40%,rgba(0,0,0,0) 100%);
    }

    .no-header .component:has(.main-header) {
        display: none;
    }

    .no-footer .footer-inner {
        display: none;
    }

    .inner-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
    }

    /* Start text styles. These correspond to the Site Design: Text Styles options in the editor  */
    html, html.dark .contrast, .text-light-bg {
        color: var(--theme-text-color);
    }

    .text-option, .art-text {
        font-size: var(--theme-default-font-size);
        line-height: 27px;
        letter-spacing: 0;
        font-weight: 400;
        text-transform: none;
    }

    .text-option a, .art-text a, .link-container a {
        color: var(--color-primary-main);
        text-decoration: none;
    }

    .text-option a:hover, .text-option a.active, .art-text a:hover, .art-text a.active, .link-container a:hover {
        color: var(--color-primary-light);
        text-decoration: none;
    }

    .heading-light-bg, h1:not(.custom-text-color), h2:not(.custom-text-color), h3:not(.custom-text-color), h4:not(.custom-text-color), h5:not(.custom-text-color), h6:not(.custom-text-color) {
        color: var(--theme-heading-color);
    }

    h1 .text-option , h1 {
        font-size: var(--theme-h1-font-size);
        font-weight: var(--theme-h1-font-weight);
        line-height: var(--theme-h1-line-height);
        letter-spacing: 0;
        text-transform: none;
    }

    h2 .text-option, h2 {
        font-size: var(--theme-h2-font-size);
        line-height: var(--theme-h2-line-height);
        letter-spacing: 0;
        font-weight: var(--theme-h2-font-weight);
        text-transform: none;
    }

    h3 .text-option, h3 {
        font-size: var(--theme-h3-font-size);
        line-height: var(--theme-h3-line-height);
        letter-spacing: var(--theme-h3-letter-spacing);
        font-weight: var(--theme-h3-font-weight);
        text-transform: none;
    }

    .art-button {
        font-family: var(--font-button);
        font-size: var(--theme-default-font-size);
        letter-spacing: 0;
        font-weight: 400;
        text-transform: none;
    }

    blockquote {
        font-family: var(--font-quote);
        color: var(--theme-text-color);
        font-size: var(--theme-default-font-size);
        line-height: 24px;
        letter-spacing: 0;
        font-weight: 400;
        text-transform: none;
        font-style: italic;
    }

    /* End text styles */

    /* Button Styles */
    .art-button.button-standard {
        color: var(--color-primary-main);
        background-color: var(--color-secondary-main);
        border: 1px solid var(--color-primary-main);
        border-radius: var(--theme-button-shape);
        transition-property: all;
        transition-timing-function: var(--theme-transition-timing-funtion);
        transition-duration: 150ms;

        &:hover {
            color: var(--theme-color-white);
            background-color: var(--color-primary-main);
        }
    }

    .art-button.button-highlight {
        color: var(--theme-color-white);
        background-color: var(--color-primary-main);
        border: 1px solid var(--theme-color-white);
        border-radius: var(--theme-button-shape);
        transition-property: all;
        transition-timing-function: var(--theme-transition-timing-funtion);
        transition-duration: 150ms;

        &:hover {
            color: var(--color-primary-main);
            background-color: var(--theme-color-white);
            border-color: var(--color-primary-main);
        }
    }

    .art-button.button-small {
        padding: var(--theme-button-padding-small-mobile);
        font-size: var(--theme-button-font-size-small-mobile);
    }

    .art-button.button-medium {
        padding: var(--theme-button-padding-medium-mobile);
        font-size: var(--theme-button-font-size-medium-mobile);
    }

    .art-button.button-large {
        padding: var(--theme-button-padding-large-mobile);
        font-size: var(--theme-button-font-size-large-mobile);
    }

    .art-button.button-xl {
        padding: var(--theme-button-padding-xl-mobile);
        font-size: var(--theme-button-font-size-xl-mobile);
    }

    .art-button.button-2xl {
        padding: var(--theme-button-padding-2xl-mobile);
        font-size: var(--theme-button-font-size-2xl-mobile);
    }

    .art-button.md\:button-small {
        @media (width >=768px) {
            padding: var(--theme-button-padding-small-tablet);
            font-size: var(--theme-button-font-size-small-tablet);
        }
    }

    .art-button.md\:button-medium {
        @media (width >=768px) {
            padding: var(--theme-button-padding-medium-tablet);
            font-size: var(--theme-button-font-size-medium-tablet);
        }
    }

    .art-button.md\:button-large {
        @media (width >=768px) {
            padding: var(--theme-button-padding-large-tablet);
            font-size: var(--theme-button-font-size-large-tablet);
        }
    }

    .art-button.md\:button-xl {
        @media (width >=768px) {
            padding: var(--theme-button-padding-xl-tablet);
            font-size: var(--theme-button-font-size-xl-tablet);
        }
    }

    .art-button.md\:button-2xl {
        @media (width >=768px) {
            padding: var(--theme-button-padding-2xl-tablet);
            font-size: var(--theme-button-font-size-2xl-tablet);
        }
    }

    .art-button.lg\:button-small {
        @media (width >=1024px) {
            padding: var(--theme-button-padding-small-desktop);
            font-size: var(--theme-button-font-size-small-desktop);
        }
    }

    .art-button.lg\:button-medium {
        @media (width >=1024px) {
            padding: var(--theme-button-padding-medium-desktop);
            font-size: var(--theme-button-font-size-medium-desktop);
        }
    }

    .art-button.lg\:button-large {
        @media (width >=1024px) {
            padding: var(--theme-button-padding-large-desktop);
            font-size: var(--theme-button-font-size-large-desktop);
        }
    }

    .art-button.lg\:button-xl {
        @media (width >=1024px) {
            padding: var(--theme-button-padding-xl-desktop);
            font-size: var(--theme-button-font-size-xl-desktop);
        }
    }

    .art-button.lg\:button-2xl {
        @media (width >=1024px) {
            padding: var(--theme-button-padding-2xl-desktop);
            font-size: var(--theme-button-font-size-2xl-desktop);
        }
    }

    /* End Button Styles */

    /* Base component styles */

    .component-tabbed-box.style-theme .tabbed-box-inner {
        background: transparent;
        border: none;
        overflow: hidden;
    }

    .component-tabbed-box.style-theme ul.labels {
        background: var(--color-accent-main);
        padding: 8px;
        border-radius: 10px;
    }

    .component-tabbed-box.style-theme li {
        background: var(--color-accent-main);
    }

    .component-tabbed-box.style-theme li.active-tab {
        background: var(--color-primary-main);
        color: var(--theme-color-white);
        border-radius: 10px;
    }

    .component-table.style-theme {
        border: 1px solid var(--theme-color-neutral-light);
        border-radius: 14px;
        overflow: hidden;
    }

    .component-table.style-theme tr {
        border-bottom: 1px solid var(--theme-color-neutral-light);

        &:last-child {
            border-bottom: none;
        }
    }

    .component-table.style-theme td {
        background: transparent;
        border: none;
    }

    .component-table.style-theme td.heading-cell {
        background: transparent;
    }

    .component-social-accounts svg.w-4 {
        width: auto !important;
        height: 16px;
    }
    .component-social-accounts svg.w-5 {
        width: auto !important;
        height: 20px;
    }
    .component-social-accounts svg.w-6 {
        width: auto !important;
        height: 24px;
    }
    .component-social-accounts svg.w-7 {
        width: auto !important;
        height: 28px;
    }
    .component-social-accounts svg.w-8 {
        width: auto !important;
        height: 32px;
    }
    .component-social-accounts svg.w-9 {
        width: auto !important;
        height: 36px;
    }
    .component-social-accounts svg.w-10 {
        width: auto !important;
        height: 40px;
    }
    .component-social-accounts svg.w-12 {
        width: auto !important;
        height: 48px;
    }
    .component-social-accounts svg.w-14 {
        width: auto !important;
        height: 56px;
    }
    .component-social-accounts svg.w-16 {
        width: auto !important;
        height: 64px;
    }
    .component-social-accounts svg.w-20 {
        width: auto !important;
        height: 80px;
    }
    .component-social-accounts svg.w-24 {
        width: auto !important;
        height: 96px;
    }
    .component-social-accounts svg.w-28 {
        width: auto !important;
        height: 112px;
    }
    .component-social-accounts svg.w-32 {
        width: auto !important;
        height: 128px;
    }
    .component-social-accounts svg.w-36 {
        width: auto !important;
        height: 144px;
    }
    .component-social-accounts svg.w-40 {
        width: auto !important;
        height: 160px;
    }
    .component-social-accounts svg.w-44 {
        width: auto !important;
        height: 176px;
    }
    .component-social-accounts svg.w-48 {
        width: auto !important;
        height: 192px;
    }
    .component-social-accounts svg.w-52 {
        width: auto !important;
        height: 208px;
    }
    .component-social-accounts svg.w-56 {
        width: auto !important;
        height: 224px;
    }
    .component-social-accounts svg.w-60 {
        width: auto !important;
        height: 240px;
    }
    .component-social-accounts svg.w-64 {
        width: auto !important;
        height: 256px;
    }
    .component-social-accounts svg.w-72 {
        width: auto !important;
        height: 288px;
    }

    .auth-component {
        padding: 36px 100px;
        border: 2px solid var(--theme-color-off-white);
        border-radius: var(--shape);
    }

    .auth-component button {
        width: 100%;
        padding: var(--theme-button-padding-large-desktop) !important;
        margin-top: 20px;
    }

    .auth-component .auth-inner {
        &:before {
            content: url("data:image/svg+xml,%3Csvg width='122' height='130' viewBox='0 0 122 130' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M122 65C122 100.899 92.8985 130 57 130L1.52588e-05 130L9.22662e-06 61C6.2814e-06 27.3106 27.3106 -6.98078e-06 61 -9.926e-06C94.6894 -1.28712e-05 122 27.3106 122 61L122 65Z' fill='%231B1D21'/%3E%3Crect x='46.3813' y='60.1094' width='29' height='25' rx='1.5' stroke='white' stroke-width='3'/%3E%3Cpath d='M60.8794 45.7109C65.3528 45.7109 68.9798 49.3372 68.98 53.8105V59.5107H52.7798V53.8105C52.78 49.3374 56.4062 45.7111 60.8794 45.7109Z' stroke='white' stroke-width='3'/%3E%3Ccircle cx='60.8821' cy='73.0125' r='3.2' fill='white'/%3E%3C/svg%3E%0A");
            width: 122px;
            display: block;
            margin: 0 auto;
        }
    }

    .auth-component h2, .auth-component p {
        text-align: center;
        margin: 36px 0 !important;
    }

    /* End Base component styles */

    .main-header {
        min-height: 72px;
        display: flex;
        align-items: center;
        padding: 0 40px;
        background: var(--color-primary-main);
        transition: background-color 0.3s ease-in-out;
    }

    .header-page .main-header {
        position: fixed;
        z-index: 70;
        width: 100%;
        background: transparent;
    }

    .header-page .main-header.scrolled {
        background: var(--color-primary-main);
    }

    .main-header.mobile-nav {
        min-height: 60px;
        padding: 0 12px;
    }

    .main-header .light-bg-logo {
        &:where(.dark, .dark *) {
            display: none;
        }
    }

    .main-header .dark-bg-logo {
        display: none;

        &:where(.dark, .dark *) {
            display: block;
        }
    }

    .main-header .logo-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40%;
        padding: 0 20px;

        &:where(.mobile-nav *) {
            padding: 0;
            justify-content: start;
        }
    }

    .main-header .logo-container img {
        max-width: 120px;
        max-height: 28px;

        @media (width >= 768px) {
            max-width: 160px;
            max-height: 32px;
        }

        @media (width >= 1024px) {
            max-width: 200px;
            max-height: 35px;
        }
    }

    .main-header .logo-container img.logo-custom {
        max-width: 140px;
        max-height: 80px;

        @media (width >=768px) {
            max-width: 160px;
            max-height: 100px;
        }

        @media (width >=1024px) {
            max-width: none;
            max-height: none;
            height: auto;
            width: var(--logo-width, 200px) !important;
        }
    }

    .main-header .text-logo {
        color: var(--theme-color-white);
        font-size: 36px;
        font-weight: 400;
        line-height: 1.2em;
        text-wrap: nowrap;

        @media (width >= 768px) {
            font-size: 38px;
        }

        @media (width >= 1024px) {
            font-size: 48px;
        }

        &:where(.dark, .dark *) {
            color: var(--theme-color-white);
        }
    }

    .main-header .desktop-nav-links {
        display: flex;
        flex-wrap: wrap;
        width: 30%;
        padding: 24px 0;

        &:where(.mobile-nav *) {
            display: none;
        }
    }

    .nav-link {
        font-size: 16px;
        color: var(--theme-nav-color);
        position: relative;
        padding: 12px 10px;
        border-radius: var(--shape);
        text-wrap: nowrap;
        transition-property: all;
        transition-timing-function: var(--theme-transition-timing-funtion);
        transition-duration: var(--theme-tranisition-duration);

        &:where(.dark, .dark *) {
            color: var(--theme-nav-color-dark) !important;
        }

        &:where(.header-page *) {
            &:where(.not-scrolled *) {
                color: #ffffff;
            }
        }
    }

    .main-header .desktop-nav-links .nav-link:hover, .main-header .desktop-nav-links .nav-link.active {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .subnav {
        position: absolute;
        width: 200px;
        max-height: 100vh;
        overflow-y: auto;
        padding: 16px 0;
        background: var(--theme-color-white);
        border-radius: var(--shape);
    }

    ul.subnav .nav-link {
        background: none;
        color: var(--theme-color-neutral-dark) !important;
        font-size: var(--theme-default-font-size);
        line-height: 30px;
        text-wrap: wrap;

        &:hover {
            color: var(--color-primary-main) !important;
        }
    }

    /* Generic subnav improvements */
    .subnav li a {
        display: inline-block;
        width: 100%;
        padding: 0 18px;
    }

    .subnav .nav-link .subnav-label {
        width: 100%;
        display: inline-flex;
        justify-content: space-between;
    }

    /* Subnav animation helpers */
    .subnav-anim {
        transition-property: transform, opacity;
        transition-timing-function: var(--theme-transition-timing-funtion);
        transition-duration: var(--theme-subnav-anim-duration, 500ms);
        will-change: scale, transform, opacity;
    }

    .subnav-anim.from-below {
        transform: translateY(-10px);
        opacity: 0;
    }

    .subnav-anim.from-left {
        transform: translateX(10px);
        opacity: 0;
    }

    .subnav-anim.from-right {
        transform: translateX(-10px);
        opacity: 0;
    }

    .subnav-anim.is-open {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }

    .main-header .desktop-nav-buttons {
        flex-grow: 1;
        display: inline-flex;
        justify-content: end;
        gap: 16px;
        text-wrap: nowrap;

        &:where(.mobile-nav *) {
            display: none;
        }
    }

    .main-header .desktop-nav-buttons a, .main-header .mobile-nav-buttons a, .main-header .mobile-nav-buttons button {
        padding: 10px 24px;
        color: var(--theme-color-white);
        font-size: 14px;
        font-family: var(--font-button, 'Space Grotesk');
        background-color: rgba(255, 255, 255, 0.15);
        border: 1px solid var(--theme-color-white);
        border-radius: var(--theme-button-shape);
        font-weight: 400;
        transition-property: all;
        transition-timing-function: var(--theme-transition-timing-funtion);
        transition-duration: var(--theme-tranisition-duration);

        &:hover {
            color: var(--color-primary-main);
            background-color: var(--color-accent-main);
        }

        &:where(.dark, .dark *) {
            background-color: var(--theme-color-gray-dark);
            border: none;
            color: var(--theme-color-white);

            &:hover {
                background-color: var(--theme-color-white);
                color: var(--theme-color-black);
            }
        }
    }

    .main-header a.phone-link {
        position: relative;
        top: -1px;
        display: inline-flex;
        gap: 8px;
        color: var(--color-primary-main);
        border-color: var(--color-secondary-main);
        background-color: var(--color-secondary-main);
        padding-left: 38px;

        &:hover {
            background-color: var(--color-secondary-light);
        }
    }

    .main-header a.phone-link .phone-icon {
        position: absolute;
        top: 7px;
        left: 6px;
        background: var(--color-primary-main);
        border-radius: var(--theme-button-shape);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-header a.phone-link .phone-icon svg {
        width: 26px;
        height: 26px;
    }

    .main-header .desktop-nav-buttons .avatar {
        border-radius: calc(infinity * 1px);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
    }

    .main-header .desktop-nav-buttons .avatar span {
        color: var(--color-primary-main);
    }

    .main-header .desktop-nav-buttons .avatar span svg {
        width: 24px;
    }

    .main-header .desktop-nav-buttons .avatar img {
        border-radius: calc(infinity * 1px);
        width: 26px;
        height: 26px;
    }

    .main-header .mobile-nav-buttons {
        flex-grow: 1;
        display: inline-flex;
        justify-content: end;
        gap: 8px;

        &:where(.desktop-nav *) {
            display: none;
        }
    }

    .main-header .mobile-nav-buttons a {
        padding: 10px 16px;
        font-size: 8px;
    }

    .main-header .mobile-nav-buttons button {
        padding: 4px;
        cursor: pointer;
    }

    .main-header .mobile-nav-buttons button svg {
        width: 20px;
        height: 20px;
        padding: 3px;
    }

    .mobile-cart-alert {
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        top: 4px;
        right: 0;
        height: 20px;
        width: 20px;
        margin: 4px;
        background-color: var(--color-primary-main);
        border-radius: calc(infinity * 1px);
        font-size: 10px;
        font-weight: 700;
    }

    .mobile-cart-alert span {
        color: #ffffff;
    }

    .main-header .mobile-nav-overlay {
        position: absolute;
        background: var(--theme-color-white);
        height: calc(100vh - var(--nav-height, 60px));
        width: 100%;
        top: var(--nav-height, 60px);
        left: 0;
        z-index: 30;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        overflow: hidden;

        &:where(.dark, .dark *) {
            background: var(--theme-color-black);
        }
    }

    .main-header .mobile-nav-overlay .mobile-nav-panels {
        position: relative;
        flex: 1 1 auto;
        overflow: hidden;
    }

    .main-header .mobile-nav-overlay .mobile-nav-panel {
        position: absolute;
        inset: 0;
        padding: 16px 20px 150px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        overflow: hidden;
        background: var(--theme-color-white);
        transition: transform 0.3s ease, opacity 0.3s ease;

        &:where(.dark, .dark *) {
            background: var(--theme-color-black);
        }
    }

    .main-header .mobile-nav-overlay .mobile-nav-panel--root {
        transform: translateX(0);
        opacity: 1;
        overflow-y: auto;
    }

    .main-header .mobile-nav-overlay .mobile-nav-panel--root.is-shifted {
        transform: translateX(-10%);
        opacity: 0;
        pointer-events: none;
    }

    .main-header .mobile-nav-overlay .mobile-nav-panel--child {
        overflow-y: auto;
    }

    .main-header .mobile-nav-overlay .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow-y: auto;
    }

    .main-header .mobile-nav-overlay .mobile-nav-link {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: none;
        border: none;
        border-bottom: 1px solid #F7F6F3;
        width: 100%;
        padding: 8px 0;
        font-family: var(--font-nav-link, var(--theme-heading-font-family));
        font-size: 24px;
        line-height: 1.4em;
        color: var(--theme-color-black);
        text-align: left;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;

        &:where(.dark, .dark *) {
            color: var(--theme-nav-color-dark);
        }
    }

    .main-header .mobile-nav-overlay .mobile-nav-link svg {
        width: 20px;
        height: 20px;
    }

    .main-header .mobile-nav-overlay .mobile-nav-link--has-children {
        font-weight: 600;
    }

    .main-header .mobile-nav-overlay .mobile-nav-link--parent {
        font-size: 18px;
        font-weight: 600;
    }

    .main-header .mobile-nav-overlay .mobile-nav-chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-header .mobile-nav-overlay .mobile-subnav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--theme-color-gray-light);

        &:where(.dark, .dark *) {
            border-color: var(--theme-color-gray-dark);
        }
    }

    .main-header .mobile-nav-overlay .mobile-subnav-title {
        font-size: 20px;
        font-weight: 700;
    }

    .main-header .mobile-nav-overlay .mobile-subnav-back {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: none;
        border: none;
        padding: 0;
        font-size: 16px;
        cursor: pointer;
        color: inherit;

        &:hover {
            opacity: 0.7;
        }
    }

    .main-header .mobile-nav-overlay .mobile-subnav-back-icon svg {
        width: 20px;
        height: 20px;
    }

    .main-header .mobile-nav-overlay .mobile-subnav-list {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow-y: auto;
        padding-top: 16px;
    }

    .main-header .mobile-nav-overlay .mobile-subnav-parent-link {
        margin-bottom: 16px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--theme-color-gray-light);

        &:where(.dark, .dark *) {
            border-color: var(--theme-color-gray-dark);
        }
    }

    .mobile-subnav-parent-link .mobile-nav-link {
        border-bottom: none !important;
    }

    .mobile-subnav-enter,
    .mobile-subnav-leave {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-subnav-enter-start,
    .mobile-subnav-leave-end {
        transform: translateX(100%);
        opacity: 0;
    }

    .mobile-subnav-enter-end,
    .mobile-subnav-leave-start {
        transform: translateX(0);
        opacity: 1;
    }

    .main-header .mobile-nav-overlay-buttons {
        position: absolute;
        z-index: 40;
        bottom: 12%;
        inset-inline: 0;
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: center;
        padding: 12px;
    }

    .main-header .mobile-nav-overlay-buttons img {
        width: 20px;
        height: 20px;
        border-radius: calc(infinity * 1px);
    }

    .main-header .mobile-nav-overlay-buttons a {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 10px 24px;
        color: var(--theme-color-white);
        font-size: 12px;
        background-color: var(--color-primary-main);
        border: 2px solid var(--color-accent-main);
        border-radius: var(--shape);
        font-weight: 700;
        transition-property: all;
        transition-timing-function: var(--theme-transition-timing-funtion);
        transition-duration: var(--theme-tranisition-duration);

        &:hover {
            background-color: var(--color-primary-light);
        }
    }

    .post-list {
        margin: 80px auto 40px;
        max-width: 1200px;
    }

    .post-list .post-list-container {
        padding: 0 20px;
        display: grid;
        gap: 20px;

        @media (width >= 768px) {
            grid-template-columns: repeat(2, minmax(0, 1fr))
        }

        @media (width >= 1024px) {
            grid-template-columns: repeat(3, minmax(0, 1fr))
        }
    }

    .post-item .post-list-container li {
        height: 100%;
    }

    .post-item article {
        height: 100%;
        display: flex;
        flex-direction: column;
        border: 1px solid var(--theme-color-neutral-light);
        border-radius: var(--shape);
        overflow: hidden;
    }

    .post-item article:hover {
        background: var(--color-accent-main);
        border-color: var(--theme-color-neutral-dark);
    }

    .post-item article .cover-image-link {
        display: block;
        width: 100%;
        height: 350px;
    }

    .post-item article .cover-image-link img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .post-item article .post-details {
        padding: 30px;
    }

    .post-item article .post-avatar, article.post .post-avatar {
        height: 20px;
        width: 20px;
        border-radius: calc(infinity * 1px);
    }

    .post-item article .post-topbar, article.post .post-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: var(--font-heading, var(--theme-heading-font-family));
    }

    .post-item article .post-topbar .post-date, article.post .post-topbar .post-date {
        border-radius: var(--shape);
        font-size: 14px;
        font-family: var(--font-text);
        color: var(--theme-color-gray-medium);
    }

    .post-item article .post-topbar .post-author, article.post .post-author {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 700;
    }

    .post-item .post-title {
        margin: 32px 0 16px;
        font-size: var(--theme-h3-font-size);
        font-weight: 400;
    }

    .post-item .post-content {
        font-size: 18px;
    }

    .post-item .post-tags, article.post .post-tags {
        margin: 32px 0 0;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    article.post .post-tags {
        margin: 0;
    }

    .post-item .post-tags a, article.post .post-tags a {
        padding: 4px 12px;
        border-radius: calc(infinity * 1px);
        border: 1px solid var(--theme-color-neutral-light);
        font-size: 12px;
        font-family: var(--font-heading, var(--theme-heading-font-family));
        transition-property: all;
        transition-timing-function: var(--theme-transition-timing-funtion);
        transition-duration: var(--theme-tranisition-duration);

        &:hover {
            background: var(--theme-color-neutral-dark);
            border-color: var(--theme-color-neutral-dark);
            color: var(--theme-color-white);
        }
    }

    .posts-pagination {
        margin-top: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .posts-pagination nav {
        isolation: isolate;
        display: inline-flex;
        border-radius: 6px;
        box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgb(0 0 0 / 0.05);
    }

    .posts-pagination a {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: #ffffff;
        border: 1px solid #d1d5db;
        font-size: 14px;
        color: #6b7280;

        &:hover {
            background: #f9fafb;
        }

        &:where(.dark, .dark *) {
            border-color: #6b7280;
            background: #1f2937;
            color: #d1d5db;
        }
    }

    .posts-pagination a.disabled {
        pointer-events: none;
        opacity: 40%;
    }

    .posts-pagination .pagination-button-left {
        padding: 8px 16px 8px 12px;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }

    .posts-pagination .pagination-button-right {
        padding: 8px 12px 8px 16px;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }

    .posts-pagination svg {
        width: 12px;
        height: 12px;
    }

    .post-container {
        padding: 0 20px;
        margin: 80px auto 40px;
        max-width: 720px;
    }

    article.post .post-topbar {
        justify-content: start;
        gap: 20px;
    }

    article.post .post-title {
        margin: 16px 0 16px;
        font-size: var(--theme-h2-font-size);
        font-weight: 400;
        line-height: var(--theme-h2-line-height);
    }

    article.post .subtitle {
        font-size: var(--theme-h3-font-size);
        color: var(--theme-color-neutral-dark);
    }

    article.post .post-author {
        margin-top: 20px;
    }

    article.post .cover-image {
        width: 100%;
        height: 400px;
        margin: 20px 0;
        border-radius: var(--shape);
        object-fit: cover;
        object-position: center;
    }

    article.post .post-footer {
        display: flex;
        justify-content: space-between;
        margin-top: 32px;
    }

    article.post .post-tags, article.post .post-social {
        width: 45%;
    }

    article.post .post-social {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
    }

    article.post .post-social svg {
        height: 24px;
        fill: var(--theme-color-black);
        transition-property: all;
        transition-timing-function: var(--theme-transition-timing-funtion);
        transition-duration: var(--theme-tranisition-duration);

        &:hover {
            scale: 1.1;
        }
    }

    .comments-container {
        margin: 40px 0;
    }

    .comments-container .art-button {
        padding: 8px 36px;
    }

    .total-comments {
        margin-bottom: 12px;
        font-size: var(--theme-default-font-size);
        color: var(--theme-color-gray-dark);
    }

    .comment-container.indented {
        border-left: 1px solid var(--theme-color-neutral-light);
    }

    .comment-container .reply-button, .comment-container .comment-date {
        color: var(--theme-color-neutral-dark);
    }
}

section.page-section {
    padding-left: 20px;
    padding-right: 20px;
}

.comments-container input, .comments-container textarea, .component input, .component textarea, .component select {
    background-color: var(--form-input-background-color, var(--color-accent-main));
    border: 1px solid var(--theme-color-neutral-dark);
    box-shadow: none;

    &:active, &:focus {
        background-color: var(--form-input-background-color, var(--theme-color-white));
        outline: none;
        box-shadow: none;
    }
}

.component textarea {
    min-height: 166px;
}

/* Component Styles */

.component-form-button .art-button {
    font-weight: 400 !important;
}

.component label {
    font-size: var(--theme-default-font-size);
}

.component .field-label {
    margin-bottom: 2px;
}

.component input::placeholder {
    color: var(--theme-color-gray-medium);
}

.comments-container input, .component input[type="text"], .component input[type="email"], .component input[type="url"], .component input[type="tel"], .component input[type="number"], .component input[type="password"], .component input[type="file"], .component select {
    font-size: 18px;
    color: var(--form-input-color, var(--theme-color-black));

    @media (width >= 768px) {
        padding: 14px 22px;
    }
}

.component input[type="file"] {
    padding: 8px;
}

.component input[type="file"]::file-selector-button {
    background: var(--theme-color-neutral-light);
    border-radius: var(--shape);
    font-size: 14px;
    color: var(--theme-color-black);
    margin-right: 36px;
}

.component input[type="checkbox"] {
    border-radius: 2px;
}

.component input[type="checkbox"], .component input[type="radio"] {
    background-color: var(--theme-color-white);

    &:checked {
        background-color: var(--color-secondary-main);
        border-color: var(--color-secondary-main);
    }

    &:hover {
        color: black;
    }
}

.component-radio-input .md\:layout-inline, .component-radio-input .lg\:layout-inline, .component-checkbox-input .md\:layout-inline, .component-checkbox-input .lg\:layout-inline {
    margin-bottom: 4px;
}

.component-radio-input .md\:layout-inline div, .component-radio-input .lg\:layout-inline div, .component-checkbox-input .md\:layout-inline div, .component-checkbox-input-input .lg\:layout-inline div {
    @media (width >= 768px) {
        margin: 12px 0;
        padding: 9px 19px;
        border-radius: var(--shape);
        border: 1px solid var(--theme-color-neutral-dark);
    }
}

.component .radio-option, .component .checkbox-option {
    color: var(--theme-color-neutral-dark);
}

.component-radio-input .md\:layout-inline .radio-option, .component-radio-input .lg\:layout-inline .radio-option, .component-checkbox-input .md\:layout-inline .checkbox-option, .component-checkbox-input .lg\:layout-inline .checkbox-option {
    @media (width >= 768px) {
        margin-right: 21px;
    }
}

.component-radio-input .md\:layout-inline .radio-option label, .component-radio-input .lg\:layout-inline .radio-option label {
    @media (width >= 768px) {
        margin-left: 8px;
        font-size: var(--theme-default-font-size);
    }
}

.component-radio-input .md\:layout-inline input, .component-radio-input .lg\:layout-inline input, .component-checkbox-input .md\:layout-inline input, .component-checkbox-input .lg\:layout-inline input {
    @media (width >= 768px) {
        width: 20px;
        height: 20px;
    }
}

.component-newsletter-form {
    background: var(--color-accent-main);
    border: 1px solid var(--theme-color-neutral-dark);
    border-radius: var(--theme-button-shape);

    &:has(input:active), &:has(input:focus) {
        background: var(--theme-color-white);
    }

}

.component-newsletter-form input {
    border: none;
    border-radius: var(--theme-button-shape);
}

.component-newsletter-form button {
    margin: 5px;

    @media (width >= 768px) {
        padding: 10px 40px;
    }
}

.component-text-with-image {
    padding: 36px;
    background: var(--theme-color-off-white);
    border-radius: var(--shape);
}

.component-text-with-image.layout-columns .text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.component-text-with-image h2 .text-option {
    font-size: var(--theme-h3-font-size);
    line-height: var(--theme-h3-line-height);
    letter-spacing: var(--theme-h3-letter-spacing);
    font-weight: var(--theme-h3-font-weight);
}

.component-text-with-image.layout-columns .text-body {
    flex-grow: 1;
}

.component-text-with-image.layout-columns .art-button {
    margin-top: 12px;
    padding: var(--theme-button-padding-large-mobile);
    border-radius: var(--theme-button-shape);

    @media (width >= 768px) {
        padding: var(--theme-button-padding-medium-tablet);
    }

    @media (width >= 1024px) {
        padding: var(--theme-button-padding-medium-desktop);
    }
}

.component-team.layout-full .team-item {
    background: var(--color-accent-main);
    border: none;
}

.component-team.layout-full .image-container {
    background: none;
}

.component-team.layout-full .team-item .team-name {
    font-size: var(--theme-h3-font-size);
    font-weight: 400;
}

.component-team.layout-full .team-item .team-title {
    margin-top: 0;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    color: var(--theme-color-neutral-dark);
}

.component-team.layout-full .team-item .team-bio {
    margin-top: 18px;
    font-size: 18px;
    line-height: 27px;
}

.component-team.layout-full .team-item .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--shape) var(--shape) 0 0 ;
}

.component-team.layout-full .team-item .team-item-social {
    margin-top: 56px;
    gap: 12px;
}

.component-team.layout-full .team-item .team-item-social a, .component-team.layout-full .team-item .team-item-social svg {
    width: 52px;
}

.component-tabbed-box.style-theme li.tab-label {
    text-shadow: none;
    font-family: var(--font-heading);
    font-size: var(--theme-h3-font-size);
    font-weight: var(--theme-h3-font-weight);
    line-height: var(--theme-h3-line-height);
    letter-spacing: var(--theme-h3-letter-spacing);
    border: none;
}

.component-tabbed-box.style-theme .tabbed-box-inner ul {
    :where(& > :not(:last-child)) {
        border-inline-end-width: 2px;
    }
}

.component-table.style-theme td.heading-cell .text-option {
    font-family: var(--font-heading);
    font-size: var(--theme-h3-font-size);
}

.component-accordion, .component-faq.layout-collapsible {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.component-accordion .accordion-plus-icon svg, .component-accordion .accordion-minus-icon svg, .component-faq.layout-collapsible .accordion-plus-icon svg, .component-faq.layout-collapsible .accordion-minus-icon svg {
    display: none;
}

.component-accordion .accordion-plus-icon:before, .component-faq.layout-collapsible .accordion-plus-icon:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' viewBox='0 0 16 17' fill='none'%3E%3Cpath d='M8 15L8 1' stroke='%232D2D2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 15.668L12 11.668' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 15.668L4 11.668' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.component-accordion .accordion-minus-icon:before, .component-faq.layout-collapsible .accordion-minus-icon:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' viewBox='0 0 16 17' fill='none'%3E%3Cpath d='M8 2L8 16' stroke='%232D2D2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 1.33203L4 5.33203' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 1.33203L12 5.33203' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.component-accordion .accordion-item, .component-faq.layout-collapsible .faq-item {
    background: var(--color-accent-main);
    border-radius: 14px;
}

.component-accordion .toggle-button, .component-faq.layout-collapsible .toggle-button {
    padding: 24px 40px;
    border-radius: 14px;
}

.component-accordion .item-open .toggle-button, .component-faq.layout-collapsible .item-open .toggle-button {
    background: var(--theme-color-neutral-light);
}

.component-accordion .accordion-item-title .text-option {
    font-family: var(--font-heading);
    font-size: var(--theme-h3-font-size);
    color: var(--theme-color-black);
}

.component-faq.layout-collapsible .faq-item-title .text-option {
    font-family: var(--font-heading);
    font-size: var(--theme-h3-font-size);
    line-height: var(--theme-h3-line-height);
    color: var(--theme-color-black);
}

.component-faq.layout-collapsible .faq-item-body {
    padding: 20px 40px 0;
}

.component .component-search input {
    padding: 13px 10px 13px 58px;
    font-size: var(--theme-default-font-size);
}

.component-search svg {
    width: 28px;
    height: 28px;
    color: var(--theme-color-black);
}

.component-testimonials.layout-card .testimonial-quote-inner {
    font-size: 24px;
}

.component-testimonials .testimonial-quote-inner:before {
    content: url("data:image/svg+xml,%3Csvg width='26' height='16' viewBox='0 0 26 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2066_763)'%3E%3Cpath d='M-4.26252e-07 9.96699C3.77056e-08 4.65993 3.77543 1.50196 6.12923 0.0482564C6.42792 -0.136078 6.75017 0.246979 6.52182 0.515239C5.7882 1.37757 4.93176 2.61037 4.35404 4.16448C4.87721 4.01431 5.42959 3.93428 6.00015 3.93428C9.31382 3.93428 12 6.63517 12 9.96699C12 13.2988 9.31382 16 5.99985 16C2.68588 16 -7.17555e-07 13.2991 -4.26252e-07 9.96699Z' fill='%239C9C9C'/%3E%3C/g%3E%3Cg clip-path='url(%23clip1_2066_763)'%3E%3Cpath d='M14 9.96699C14 4.65993 17.7754 1.50196 20.1292 0.0482564C20.4279 -0.136078 20.7502 0.246979 20.5218 0.515239C19.7882 1.37757 18.9318 2.61037 18.354 4.16448C18.8772 4.01431 19.4296 3.93428 20.0001 3.93428C23.3138 3.93428 26 6.63517 26 9.96699C26 13.2988 23.3138 16 19.9999 16C16.6859 16 14 13.2991 14 9.96699Z' fill='%239C9C9C'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2066_763'%3E%3Crect width='12' height='16' fill='white' transform='translate(12 16) rotate(-180)'/%3E%3C/clipPath%3E%3CclipPath id='clip1_2066_763'%3E%3Crect width='12' height='16' fill='white' transform='translate(26 16) rotate(-180)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
    padding-right: 12px;

}

.component-footer .footer-social-link svg {
    width: 50px;
    height: 40px;
}
/* End Component Styles */
