@charset "UTF-8";
/**
 * DO NOT CHANGE THIS FILE!
 * To override any of the settings in this section, add your styling code in the custom directory.
 * Loading first in the style.scss & classic-editor.scss
 */
/**
 * General - https://wordpress.org/documentation/article/css/
 * DO NOT CHANGE THIS FILE
 * to override any of the settings in this section, add your styling code in the custom directory.
 *
 * HOW TO MINIFY (!!!)
 * As we use native nested CSS we need to minify our CSS with https://lightningcss.dev/
 */
.page-content a,
.comments-area a {
    text-decoration: underline;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    margin-left: -80px;
    margin-right: -80px;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.alignfull img {
    width: 100vw;
}

.wp-caption {
    margin-block-end: 1.25rem;
    max-width: 100%;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption-text {
    margin: 0;
}

.gallery-caption {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.5;
    margin: 0;
    padding: 0.75rem;
}

.pagination {
    margin: 20px auto;
}

.sticky {
    position: relative;
    display: block;
}

.bypostauthor {
    font-size: inherit;
}

.hide {
    display: none !important;
}

.post-password-form p {
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.post-password-form [type=submit] {
    margin-inline-start: 3px;
}

/**
 * Utility styles
 */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eeeeee;
    clip: auto !important;
    clip-path: none;
    color: #333333;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/**
 * Post item in archive pages
 */
.post .entry-title a {
    text-decoration: none;
}

.post .wp-post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .post .wp-post-image {
        max-height: 400px;
    }
}

@media (max-width: 575px) {
    .post .wp-post-image {
        max-height: 300px;
    }
}

/**
 * Comments
 */
#comments .comment-list {
    margin: 0;
    padding: 1rem;
    list-style: none;
    font-size: 0.9em;
}

#comments .comment,
#comments .pingback {
    position: relative;
}

#comments .comment .comment-body,
#comments .pingback .comment-body {
    display: flex;
    flex-direction: column;
    padding-block-start: 30px;
    padding-block-end: 30px;
    padding-inline-start: 75px;
    padding-inline-end: 25px;
    border-block-end: 1px solid #cccccc;
    background-color: #ededed;
    margin-bottom: 2.5rem;
    position: relative;
    border-radius: 12px;
}

#comments .comment .comment-body::before {
    content: '';
    position: absolute;
    bottom: -22px;
    right: 2rem;
    background-color: #ededed;
    padding: 20px;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: #cccccc;
    transform: rotate(45deg);
}

#comments .comment .avatar,
#comments .pingback .avatar {
    position: absolute;
    left: 1rem;
    border-radius: 50%;
    border: 1px solid #cccccc;
    margin-inline-end: 10px;
}

html[dir=rtl] #comments .comment .avatar, body.rtl #comments .comment .avatar,
html[dir=rtl] #comments .pingback .avatar,
body.rtl #comments .pingback .avatar {
    left: auto;
    right: 0;
}

#comments .comment-meta {
    display: flex;
    justify-content: space-between;
    margin-block-end: 0.9rem;
}

#comments .reply,
#comments .comment-metadata {
    font-size: 11px;
    line-height: 1;
}

#comments .children {
    position: relative;
    list-style: none;
    margin: 0;
    padding-inline-start: 30px;
}

#comments .children li:last-child {
    padding-block-end: 0;
}

#comments ol.comment-list .children:before {
    display: inline-block;
    font-size: 1em;
    font-weight: normal;
    line-height: 100%;
    content: "↪";
    position: absolute;
    top: 45px;
    left: 0;
    width: auto;
}

html[dir=rtl] #comments ol.comment-list .children:before, body.rtl #comments ol.comment-list .children:before {
    content: "↩";
    left: auto;
    right: 0;
}

@media (min-width: 768px) {
    #comments .comment-author,
    #comments .comment-metadata {
        line-height: 1;
    }
}

@media (max-width: 767px) {
    #comments .comment .comment-body {
        padding: 30px 0;
    }

    #comments .children {
        padding-inline-start: 20px;
    }

    #comments .comment .avatar {
        position: inherit;
        float: left;
    }

    html[dir=rtl] #comments .comment .avatar, body.rtl #comments .comment .avatar {
        float: right;
    }
}

#respond.comment-respond {
    padding: 1rem;
}

/**
 * Responsive layouts
 */
.site-header .header-inner, .site-header:not(.dynamic-header), .site-footer .footer-inner, .site-footer:not(.dynamic-footer), body:not([class*=elementor-page-]) .site-main, .page-header .entry-title {
    margin-inline-start: auto;
    margin-inline-end: auto;
    width: 100%;
}

@media (min-width: 576px) {
    .site-header .header-inner, .site-header:not(.dynamic-header), .site-footer .footer-inner, .site-footer:not(.dynamic-footer), body:not([class*=elementor-page-]) .site-main, .page-header .entry-title {
        max-width: 500px;
    }

    .site-header.header-full-width .header-inner {
        max-width: 100%;
    }

    .site-footer.footer-full-width .footer-inner {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .site-header .header-inner, .site-header:not(.dynamic-header), .site-footer .footer-inner, .site-footer:not(.dynamic-footer), body:not([class*=elementor-page-]) .site-main, .page-header .entry-title {
        max-width: 600px;
    }

    .site-header.header-full-width {
        max-width: 100%;
    }

    .site-footer.footer-full-width {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .site-header .header-inner, .site-header:not(.dynamic-header), .site-footer .footer-inner, .site-footer:not(.dynamic-footer), body:not([class*=elementor-page-]) .site-main, .page-header .entry-title {
        max-width: 800px;
    }

    .site-header.header-full-width {
        max-width: 100%;
    }

    .site-footer.footer-full-width {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .site-header .header-inner, .site-header:not(.dynamic-header), .site-footer .footer-inner, .site-footer:not(.dynamic-footer), body:not([class*=elementor-page-]) .site-main, .page-header .entry-title {
        max-width: 1140px;
    }

    .site-header.header-full-width {
        max-width: 100%;
    }

    .site-footer.footer-full-width {
        max-width: 100%;
    }
}

.site-header + .elementor {
    min-height: calc(100vh - 320px);
}


/* Custom added CSS for LearnDash, might move to other css file but for now this is okay :D */
/** Make sure course pages not built with Elementor are shown over full width */
body.sfwd-courses-template-default main#content {
    min-width: 100%;
}

.learndash-wrapper {

    & a.ld-primary-color.ld-course-step-back {
        display: none !important;
    }

    & .wpProQuiz_questionList label {
        color: black;
    }

    & .learndash-wrapper .ld-alert-warning .ld-button {
        background-color: var(--course-primary-color);
        color: white;
    }

    & a.ld-button {
        border-radius: var(--default-border-radius) !important;

        &:hover {
            color: white !important;
        }
    }

    & .ld-enrolled-users {
        margin: auto;
        padding: 0.25em 1em;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 0.75em;
        font-size: .875em;
        font-weight: 600;

        & .count {
            margin-left: 0.5em;
        }

        & img {
            box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
            border-radius: 14px;
            border: 1px solid white;

            &:not(:first-child) {
                margin-left: -5px;
            }
        }
    }

    & .ld-course-actions {
        display: flex;
        gap: 0.5em;
        width: 425px;
        justify-content: flex-end;

        & .course-button {
            width: 50%;
        }
    }

    @media (max-width: 768px) {
        & .ld-focus .ld-focus-sidebar {
            z-index: 9999999 !important;
            top: 0px !important;
            position: fixed !important;
        }
    }

    & .ld-breadcrumbs .course-breadcrumbs {
        font-size: 0.8em;

        & span a {
            color: var(--course-accent-color) !important;
            font-weight: 600;
            text-decoration: underline;
        }

        & span:not(:last-child):after {
            content: '»';
        }

        & span:last-child a {
            font-weight: bold;
        }
    }

    & .ld-focus {

        & .ld-focus-header {
            background-color: var(--course-primary-darker-color) !important;
            border-bottom: 1px solid black !important;

            @media (max-width: 768px) {
                position: fixed !important;
                top: 0;
                padding: 12px;
                z-index: 999999 !important;
            }

            & .ld-course-meta {
                padding-right: 1em;
                display: flex;
                flex: 1;
                justify-content: flex-end;
                align-items: center;
                gap: 1em;

                @media (max-width: 768px) {
                    & .ld-course-actions {
                        width: 100%;
                    }
                }
            }

            & .ld-mobile-nav, & .ld-brand-logo {
                background-color: var(--course-primary-darker-color) !important;

                & a span {
                    background-color: white;
                }
            }
        }

        & .ld-focus-sidebar {

            & .ld-course-navigation-heading.back-to-courses {
                position: absolute;
                bottom: 0;
                min-height: 1em;
                font-size: 14px;

                & i {
                    left: 1px;
                    position: absolute;
                    top: 3px;
                }
            }

            & .ld-focus-sidebar-wrapper {
                height: calc(100% - 62px) !important;

                &::-webkit-scrollbar {
                    width: 10px;
                }

                &::-webkit-scrollbar-track {
                    background: #EDEDED;
                }

                &::-webkit-scrollbar-thumb {
                    background: var(--course-primary-color);
                    border-radius: var(--default-border-radius);
                }

                &::-webkit-scrollbar-thumb:hover {
                    background: var(--course-primary-darker-color);
                }
            }

            /* Add overflow property for course heading */

            & .ld-course-navigation-heading h3 {
                width: 100%;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            /** Add a white border around the sidebar toggle */

            & .ld-focus-sidebar-trigger .ld-icon {
                border: 1px solid white;
            }
        }
    }

    & .ld-tabs {

        /** Remove padding from course materials/content tabs */

        & .ld-tabs-content .ld-tab-content {
            padding: 0 !important;
        }

        /** Reset to default style as Elementor changes these buttons */

        & .ld-tabs-navigation .ld-tab {
            font-family: inherit;
            font-size: inherit;
            text-shadow: inherit;
            box-shadow: inherit;
            border-radius: inherit;
        }

        /** Remove outline on focus & active state */

        & button:active, button:focus {
            outline: 0;
            border: none;
            -moz-outline-style: none;
        }
    }

    & .course-button {
        display: flex;
        align-items: center;
        text-align: center;
        font-weight: 600;
        font-size: 12px;
        line-height: 1.25em;
        padding: 1em;
        border: none;
        width: 100%;
        border-radius: var(--default-border-radius) !important;
        box-shadow: none !important;
        color: white;
        box-shadow: inherit;

        &:hover {
            color: white !important;
        }

        & span {
            flex: 1;
        }

        &.primary {
            background-color: var(--course-accent-color);
            box-shadow: none !important;
        }

        &.secondary {
            border: 2px solid var(--course-accent-color) !important;
            color: var(--course-accent-color);
            background-color: rgba(255, 255, 255, 0.95);

            &:hover {
                background-color: var(--course-accent-color);
            }
        }

        &.tertiary {
            background-color: var(--course-secondary-color);
        }

        &.disabled {
            background-color: grey;
        }

    }

    /** Redefine this CSS because fuzzing Elementor overwrites this */

    & .learndash_mark_complete_button {
        font-family: inherit !important;
        font-size: .75em !important;
        font-weight: 800 !important;
        text-shadow: none !important;
        color: white !important;
        background-color: var(--course-secondary-color) !important;
        box-shadow: none !important;
        border-radius: var(--default-border-radius) !important;
    }

    & form.sfwd-mark-incomplete.sfwd-mark-complete {

        &:after {
            color: var(--course-accent-color) !important;
        }

        & input[type=submit] {
            border-radius: var(--default-border-radius) !important;
            color: var(--course-accent-color) !important;
            border: 1px solid var(--course-accent-color) !important;
            background-color: white !important;
        }
    }
}

.course-hero-container {
    display: flex;
    padding: 6em;
    @media only screen and (max-width: 600px) {
        padding: 1.5em;
    }
    background-color: var(--course-primary-color);

    & .course-hero-wrapper {
        width: var(--course-container-width);
        margin: auto;
    }

    & .course-info {
        display: flex;

        flex-direction: column;
        margin-right: 28em;

        & .continue {
            margin-top: auto;
            width: 50%;
        }

        & h1 {
            color: white;
        }

        & p {
            color: white;
        }

        & a {
            font-family: var(--course-text-font-family), Sans-serif;
        }
    }
}


.progress-bar {
    position: relative; /* Add this to make the .progress element a positioning context */
    background-color: #808080;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    height: 25px;
    max-width: 100%;

    &.small {
        height: 15px;
        border-radius: var(--default-border-radius);

        & .progress {
            height: 15px;
            border-radius: var(--default-border-radius);
        }
    }

    & .progress {
        position: relative; /* Add this to make the .progress-text element positioned relative to .progress */
        background: var(--course-accent-color);
        height: 25px;
        width: 0;
        transition: width 0.5s ease-in;
    }

    & .progress-text {
        z-index: 10;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 1em;
        font-weight: 500;
    }
}

.course-container {
    display: flex;
    width: var(--course-container-width);
    margin: auto;

    &.full-width {
        width: 100%;
        padding: 0;
    }

    & .course-content {
        flex: 1;
        @media only screen and (min-width: 600px) {
            padding: 3em 3em 3em 0;
        }
        @media only screen and (max-width: 600px) {
            padding: 1em;
        }
    }

    & .course-sidebar {
        position: sticky;
        margin-top: -200px;
        margin-bottom: 1.5em;
        align-self: flex-start; /* Align the sidebar to the top of its container */
        width: 32%;
        background-color: white;
        top: 150px;
        z-index: 1; /* Stay on top */
        box-shadow: var(--default-box-shadow);
        border-radius: var(--default-border-radius);

        display: flex;
        flex-direction: column;

        & h2 {
            margin: 0.25em;
            text-align: center;
        }

        & .sidebar-image {
            position: relative;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            height: 225px;
            border-radius: var(--default-border-radius) var(--default-border-radius) 0 0;
        }

        & table.course-meta {
            margin-bottom: 0;

            & tr:not(:last-child) {
                border-bottom: 1px solid #EDEDED;
            }

            & td:first-child {
                font-weight: 500;
            }

            & td:last-child {
                text-align: right;
            }

            & td, & th {
                padding: 10px 14px;
                border: none;
                background: white;
            }
        }

        & .sidebar-content {
            padding: 8px;

            & .ld-course-actions {
                width: 100%;
                flex-direction: column;

                & .course-button {
                    width: 100%;
                }
            }
        }
    }
}

/** Login modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    justify-content: center;
    align-items: center;

    .modal {
        position: relative;
        background: #fff;
        width: 1000px;
        border-radius: var(--default-border-radius);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        margin: 18px;
        font-family: var(--course-text-font-family);
        font-size: var(--course-text-font-size);
        font-weight: var(--course-text-font-weight);

        @media (max-width: 600px) {
            height: 90vh;
            overflow-y: auto;
        }

        & .close-button {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
        }

        & .content-container {
            display: flex;
            overflow-y: auto;

            @media (max-width: 600px) {
                flex-direction: column;
            }

            & .logo-container {
                display: flex;
                background-color: var(--course-primary-darker-color);
                border-radius: var(--default-border-radius) 0 0 var(--default-border-radius);
                align-items: center;
                justify-content: center;
                flex: 1;
                padding: 1em;

                @media (max-width: 600px) {
                    border-radius: var(--default-border-radius) var(--default-border-radius) 0 0;
                }
            }

            & .login-container {
                display: flex;
                flex-direction: column;
                flex: 1;
                padding: 24px;

                & h2 {
                    font-family: var(--course-primary-font-family);
                    font-size: var(--course-primary-font-size);
                    font-weight: var(--course-primary-font-weight);
                    margin-bottom: 12px;
                }

                & p.login-username, p.login-password {
                    font-weight: bold;
                }
            }

            & .login-actions {
                margin-top: 6px;
                display: flex;
                align-items: center;
                justify-content: space-between;

                @media (max-width: 600px) {
                    flex-direction: column;
                    align-items: flex-start;
                }
            }
        }
    }
}

@media only screen and (max-width: 600px) {

    .course-hero-container {
        & .course-info {
            margin-right: 0;
            padding: 4%;

            @media only screen and (max-width: 600px) {
                & h1 {
                    font-size: 2em;
                }
            }

            & .course-meta .meta-wrapper {
                text-align: left;
            }
        }
    }

    .modal-container .modal-wrapper .modal-content {
        flex-direction: column;
    }

    .course-container {
        flex-direction: column-reverse;
        width: 100%;

        & .course-content {
            width: 100%;
        }

        & .course-sidebar {
            position: unset;
            width: 100%;
            margin-top: -1em;
        }
    }

    .course-lessons {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        padding: 5%;
    }

    .course-hero-container .course-hero-wrapper {
        width: 100%;
    }
}

.lesson-wrapper {
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    border-radius: var(--default-border-radius);

    & .lesson-image {
        position: relative;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 150px;
        border-radius: var(--default-border-radius) var(--default-border-radius) 0 0;
    }

    & .lesson-status {
        position: absolute;
        font-size: 13px;
        border-radius: var(--default-border-radius);
        padding: 4px 8px;
        top: 5px;
        left: 5px;
        z-index: 1;
        background-color: var(--course-accent-color);
        color: white;

        & i {
            margin-right: 5px;
        }

        &.unavailable {
            background-color: grey;
        }
    }

    & .lesson-status:empty {
        display: none;
    }

    & .lesson-title {
        font-family: var(--course-primary-font-family), Sans-serif;
        font-size: var(--course-primary-font-size);
        font-weight: var(--course-primary-font-weight);
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    & .lesson-description, & .lesson-cta, & .lesson-meta, & .topic-list {
        font-family: var(--course-text-font-family), Sans-serif;
        font-weight: var(--course-text-font-weight);
        font-size: var(--course-text-font-size);
    }

    & .lesson-meta {
        font-weight: 500;
    }

    & .topic-list:empty {
        display: none;
    }

    & .lesson-title, & .lesson-description, & .lesson-footer, & .lesson-meta {
        padding: 8px;
        text-align: center;
    }

    & .lesson-footer {
        margin-top: auto;
    }

    & .topic-list {
        list-style-type: none;
        padding: 0;
    }
}

.course-lesson-container {
    background-color: #F4F4F4;
    padding: 6em;

    @media only screen and (max-width: 600px) {
        padding: 1.5em;
    }


    & .course-lesson-title-wrapper {
        margin: auto;

        @media only screen and (min-width: 600px) {
            width: var(--course-container-width);
        }

        & h2 {
            margin-bottom: 2em;

            @media only screen and (max-width: 600px) {
                margin-bottom: 1em;
            }
        }
    }

    & .slider-container {

        & .slider-wrapper {
            z-index: 1;
            display: flex;
            height: 100%;
            width: calc(var(--course-container-width) + 100px);
            margin: 2em auto auto;

            @media only screen and (max-width: 600px) {
                width: 100%;
            }

            & li {
                list-style: none;
            }

            & .arrow {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 25px;
                font-size: 25px;

                & a {
                    color: black;
                }
            }

            & a:focus {
                outline: none;
            }

            & .items {
                flex: 1 1 100%;
                padding: 0;
                display: grid;
                grid-auto-flow: column;
                grid-gap: 20px;
                grid-auto-columns: calc((100% - 2 * 20px) / 3);
                margin: 0 30px;
                overflow: hidden;
                cursor: grab;

                @media only screen and (max-width: 600px) {
                    grid-auto-columns: 100%;
                }
            }

        }
    }
}

.course-quizzes-container {
    background-color: var(--course-primary-darker-color);
    padding: 6em;

    @media only screen and (max-width: 600px) {
        padding: 1.5em;
    }

    & h2 {
        color: white !important;
        margin-bottom: 2em;

        @media only screen and (max-width: 600px) {
            margin-bottom: 1em;
        }
    }

    & .course-quizzes-wrapper {
        z-index: 1;
        margin: auto;
        @media only screen and (min-width: 600px) {
            width: var(--course-container-width);
        }

        & .course-quizzes {
            margin-top: 2em;
            display: flex;
            flex-direction: column;
            gap: 1em;

            & .course-quiz-item {
                background-color: white;
                border-radius: 12px;
                padding: 1em;
                display: flex;
                gap: 0.5em;
                flex-direction: column;
                border: 3px solid var(--course-primary-color);

                & .course-quiz-info {
                    display: flex;
                    gap: 1em;

                    & .quiz-status {
                        margin-left: auto;
                        font-size: 13px;
                        background-color: grey;
                        border-radius: var(--default-border-radius);
                        padding: 4px 8px;
                        top: 5px;
                        left: 5px;
                        z-index: 1;
                        color: white;

                        &.passed {
                            background-color: var(--course-accent-color);
                        }

                        &.failed {
                            background-color: red;
                        }

                        & i {
                            margin-right: 5px;
                        }

                        &.unavailable {
                            background-color: grey;
                        }
                    }
                }


            }
        }
    }
}

/** Custom WooCommerce theme styling */
.shop-container {
    display: flex;
    align-items: flex-start;
    gap: 1.5em;
    margin-bottom: 2em;

    @media (max-width: 600px) {
        flex-direction: column;
    }

    & .sidebar {
        padding: 0.75em;
        background-color: #F8F8F8;
        border-radius: var(--default-border-radius);
        width: 25%;

        @media (max-width: 600px) {
            width: 100%;
        }

        & ul {
            list-style-type: none;
            padding: 0;

            & li {
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;

                & a.active {
                    font-weight: bold;
                }
            }
        }
    }
}

.products {
    width: 100%;
    display: grid;
    grid-gap: 1em 2%;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

    @media only screen and (max-width: 600px) {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    & .product-wrapper {
        position: relative;
        box-sizing: border-box;
        padding: 1em;
        display: flex;
        background-color: #F8F8F8;
        flex-direction: column;
        border-radius: var(--default-border-radius);

        & .product-image {
            position: relative;
            height: 150px;
            background-position: center;
            background-repeat: no-repeat;
            background-size: contain;
        }

        & .product-description {
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            font-size: .8em;
            line-height: 1.5;
            text-align: center;
            -webkit-box-orient: vertical;
            padding: 0 0.5em;
            margin-bottom: 1em;
            word-break: break-all;
        }


        & .product-title {
            padding: 8px 0;
            font-size: 1em;
            line-height: 1.5;
            text-align: center;
        }

        & .product-price {
            position: absolute;
            background-color: var(--default-primary-color);
            border-radius: var(--default-border-radius);
            text-align: center;
            font-weight: bold;
            color: white;
            margin: auto;
            padding: 0 0.5em;
            bottom: 5px;
            right: 5px;
            z-index: 1;
        }

        & a.button {
            background-color: var(--default-accent-color);
            color: white;
            border-radius: var(--default-border-radius);
            margin-top: auto;
            text-align: center;
        }

        & a.added_to_cart.wc-forward {
            text-align: center;
        }
    }
}

.shop-filter {
    display: flex;
    align-items: center;
    margin-bottom: 1em;

    @media (max-width: 600px) {
        flex-direction: column;
        gap: 0.5em;

        & .woocommerce-ordering {
            width: 100%;
        }
    }

    & .woocommerce-result-count {
        flex: 1;
    }

    & .woocommerce-result-count, & .woocommerce-ordering {
        margin: 0;
        float: none;
    }
}

/** Checkout and cart pages */

/* Common styles */
.tax-item {
    display: none;
}

a.tax-total {
    text-align: center;
    display: inline-block;
    font-size: 11px;
    border-radius: 12px;
    background-color: #d7d7d7;
    font-weight: bold;
    text-decoration: none;
    padding: 0 0.4rem;
}

/* Checkout styles */
.checkout-hero-header {
    text-align: center;
    background-color: var(--default-accent-color);
    padding: 2.5rem 0 5rem 0;
}

form.checkout.woocommerce-checkout ul.woocommerce-error {
    margin-bottom: 0;
    margin-top: 1em;
}

.checkout-container {
    border-radius: 12px;
    width: 1400px;
    background-color: white;
    margin: -5rem auto 3rem auto;
    box-shadow: 0 0 70px 0 rgba(0, 0, 0, .1);

    @media (max-width: 768px) {
        width: 100%;
    }

    & .checkout-wrapper {
        display: flex;

        @media (max-width: 768px) {
            flex-direction: column;
        }
    }

    & .woocommerce-checkout {

        & h3 {
            font-size: 20px;
        }

        & .checkout-summary {
            padding: 2rem;
            border-radius: 0 12px 12px 0;
            background-color: #FAFAFA;
            border-left: #a4a4a4;
            flex: 1;

            & tr.order-total td, & tr.order-total th,
            & tr.order-total.recurring-total th, & tr.order-total.recurring-total td {
                border-top: 1px solid rgba(0, 0, 0, .1);
            }

            & td:last-child {
                text-align: right;
            }

            & td, & th {
                border: none;
            }
        }
    }
}

& .checkout-forms {
    padding: 2rem;
    border-radius: 12px 0 0 12px;
    width: 60%;

    @media (max-width: 768px) {
        width: 100% !important;
    }

    & ul.woocommerce-error {
        margin-bottom: 0;
        margin-top: 1em;
    }

    & .select2-container--default .select2-selection--single {
        border: 1px solid #666666;
    }

    & form .form-row-first, & form .form-row-last, & form .form-row-first, & form .form-row-last {
        width: 49.5%;
    }

    & input[type=date], & input[type=email], & input[type=number], & input[type=password], & input[type=search], & input[type=tel], & input[type=text], & input[type=url], & select, & textarea {
        border: 1px solid lightgrey;
        padding: .75em;
    }

    & a.additional-field {
        font-weight: bold;
        text-decoration: none;
        text-align: center;
    }

    & td.product-quantity {
        width: 5%;
    }

    & .woocommerce table.shop_table {
        border: none;
        border-radius: 0;

        & tr td:last-of-type {
            text-align: right;
        }

        & td, & th {
            border: none;
        }

        & tfoot td {
            font-weight: normal;
        }
    }
}

.first-payment-date {
    font-style: italic;
}

.checkout-wrapper {
    display: flex;
}

.checkout-forms {
    padding: 2rem;
    border-radius: 12px 0 0 12px;
    width: 60%;

    & ul.woocommerce-error {
        margin-bottom: 0;
        margin-top: 1em;
    }

    & .select2-container--default .select2-selection--single {
        border: 1px solid #666666;
    }

    & form .form-row-first, & form .form-row-last, & form .form-row-first, & form .form-row-last {
        width: 49.5%;
    }

    & input[type=date], & input[type=email], & input[type=number], & input[type=password], & input[type=search], & input[type=tel], & input[type=text], & input[type=url], & select, & textarea {
        border: 1px solid lightgrey;
        padding: .75em;
    }

    & a.additional-field {
        font-weight: bold;
        text-decoration: none;
        text-align: center;
    }

    & td.product-quantity {
        width: 5%;
    }

    & .woocommerce table.shop_table {
        border: none;
        border-radius: 0;

        & tr td:last-of-type {
            text-align: right;
        }

        & td, & th {
            border: none;
        }

        & tfoot td {
            font-weight: normal;
        }
    }

    & ul#shipping_method li input {
        vertical-align: middle;
    }
}

.woocommerce-checkout {

    & h3 {
        font-size: 20px;
    }

    #payment {
        background: transparent;

        & #place_order, .woocommerce-page #payment #place_order {
            width: 100%;
            background-color: var(--default-accent-color);
            border-radius: var(--default-border-radius);
            padding: 1rem;
            font-size: 24px;
            float: none;
        }

        & .secure-payment-notice {
            text-align: center;
            margin-top: .5rem;
            font-size: 12px;
        }

        & div.form-row {
            padding: 1em 0 0 0;
        }

        & .woocommerce-privacy-policy-text, & span.woocommerce-terms-and-conditions-checkbox-text {
            font-size: 12px;
        }

        & .payment-selection {
            border-radius: 12px;
            background: #e9e6ed;
            border-bottom: 1px solid #cfc8d8;

            & .payment-note {
                font-size: 12px;
                padding: 0.1rem 1rem;
                text-align: center;
            }

            & ul.wc_payment_methods.payment_methods.methods {
                list-style-type: none;
                border-bottom: 0;

                & li {
                    display: inline-block;
                    margin-right: 10px; /* Adjust the margin as needed */

                    & img {
                        background-color: white;
                        cursor: pointer;
                        width: 4rem;
                        height: 3rem;
                        margin: 0;
                        box-shadow: 0 0 70px 0 rgba(0, 0, 0, .1);
                    }
                }

                & input[type=radio]:checked + label img {
                    color: #0964aa;
                    outline: 2px solid black;
                    font-style: normal;
                }
            }
        }
    }
}

.cart-container {
    display: flex;
    gap: 2rem;
    margin: 1em 0;

    @media (max-width: 768px) {
        flex-direction: column;
    }

    & form.woocommerce-cart-form {
        width: 55%;

        @media (max-width: 768px) {
            width: 100%;
            padding: 1em;
        }
    }

    & .cart-totals-container {
        flex: 1;
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
        border: 1px solid #E6E6E8;

        & .coupon {
            padding: 9px 12px;
            border-bottom: 1px solid rgba(0, 0, 0, .1);
            display: flex;
            gap: .5em;
            flex-direction: column;
        }

        & button.button[name=apply_coupon], & button.button[name=apply_coupon]:hover, & section.shipping-calculator-form button, & section.shipping-calculator-form button:hover {
            background-color: rgba(0, 0, 0, 0.01);
            box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.025);
            border: 2px solid var(--default-accent-color);
            color: black;
            font-weight: 500;
            font-size: 14px;
            padding: 1em;
            width: 100%;
            border-radius: 3px;
        }

        & .wc-proceed-to-checkout {
            padding: 12px;

            & a.checkout-button.button.alt.wc-forward {
                width: 100%;
                box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
                background-color: var(--default-accent-color);
                border-radius: var(--default-border-radius);
                margin-top: 1.5rem;
                margin: 0;
                color: white;
            }
        }

        & .cart_totals {

            & a.woocommerce-remove-coupon {
                color: red;
                margin-right: 0.35rem;
            }

            & table.shop_table {
                border: none;
                border-radius: 0;
                margin: 0 0 12px 0;

                & tr td:last-of-type {
                    text-align: right;
                }

                & td, & th {
                    border-left: none;
                    border-right: none;
                    border-bottom: none;
                }

                & tfoot td {
                    font-weight: normal;
                }
            }
        }

        & a#toggle-coupon-field {
            padding: 0 12px;
            font-weight: bold;
            font-size: 14px;
        }

        & .woocommerce-shipping-calculator-wrapper {
            background-color: transparent !important;

            & a.shipping-calculator-button {
                font-weight: bold;
            }
        }
    }

    & .wc-payment-gateways {
        margin-top: 1em;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5em;

        & img {
            width: 32px;
        }
    }
}

.woocommerce-cart-form__cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid #E6E6E8;
    margin-bottom: 0.75rem;
    position: relative;

    @media (max-width: 768px) {
        flex-direction: column;
    }

    & .product-thumbnail {
        width: 10%;

        @media (max-width: 768px) {
            width: 33%;
            margin: auto;
        }
    }

    & .product-info {
        @media (max-width: 768px) {
            width: 100%;
        }
        display: flex;
        flex-direction: column;
        justify-content: space-between;


        & .product-name {
            font-weight: bold;

            @media (max-width: 768px) {
                text-align: center;
            }
        }

        & .product-actions {
            display: flex;
            margin-top: 0.5rem;
            align-items: center;
            gap: .5rem;

            @media (max-width: 768px) {
                justify-content: space-between;
                margin: 0.5rem auto 0 auto;
            }
        }
    }

    & .product-subtotal {
        margin-left: auto;
        font-weight: bold;
    }

    & .product-remove {
        position: absolute;
        bottom: 1.5em;
        right: 1.5em;

        @media (max-width: 768px) {
            top: 1.5em;
        }

        & a.remove {
            display: flex;
            justify-content: center;
            align-items: center;

            & i {
                font-size: 0.7em;
            }
        }
    }
}

.shipping li {
    font-weight: normal;

    & input {
        vertical-align: middle !important;
        margin: 0 .4375em 0 0 !important;
    }
}

span.subscription-details {
    font-weight: normal;
    font-size: 0.75rem;
    font-style: italic;
}

.woocommerce .quantity .qty {
    padding: 0.2rem;
}

.wc-payment-note {
    font-size: 0.8em;
    text-align: center;
    line-height: 1.5;
}

.woocommerce form .form-row label, .woocommerce-page form .form-row label {
    display: inline-block !important;
}

.woocommerce-message {
    margin-bottom: 0;
}