:root {
    --page-bg: #fff;
    --page-padding: 64px;
    --section-gap: 64px;
    --element-bg: #f3f5f6;
    --element-bg-transparent: #5470A1;
    --element-border: #ccd8eb;
    --text-color: #2a3b58;
    --secondary-text-color: #647085;
    --border-radius: 4px;
    --blue: #0f387c;
    --red: #d12221;
    --white: #fff;
    --transition: all var(--transition-duration) var(--transition-timing-function);
    --transition-duration: 0.1s;
    --transition-timing-function: ease-in-out;
}

::selection {
    background-color: var(--red);
    color: var(--white);
}

.grecaptcha-badge {
    display: none;
}

body,
main {
    overflow-x: hidden;
}

body,
body *,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce ul.products li.product .onsale,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product.sale .price del bdi,
.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity input,
#cart_items_wrap .cart_totals form.checkout_coupon>p,
#cart_items_wrap .cart_totals form.checkout_coupon>p input,
.woocommerce .product span.onsale,
.woocommerce ul.products li.product span.onsale,
#woocommerce_section .woo_content .left_side #all_cats_button,
#woocommerce_section .woo_content .left_side #mobile_filters_button,
#product_loop_header .title_wrap .sm_title,
#product_loop_header .sort_and_results_wrap *,
.woocommerce .product #gallery_and_summary_wrap .summary #esto_calculator * {
    font-family: "Rubik";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -0.6px;
}

b,
strong,
.bold {
    font-weight: 500;
}

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

.title,
.title * {
    font-size: 64px;
    line-height: 80px;
    font-weight: 600;
    text-transform: uppercase;
}

.woocommerce .product #gallery_and_summary_wrap .summary .product_title {
    font-size: 40px;
    line-height: 48px;
}

.red {
    color: var(--red);
}

h1,
h1 *,
.sm_title,
#customer_details .woocommerce-billing-fields h3,
#customer_details .woocommerce-billing-fields h3,
#form_wrap .form_title,
.woocommerce-MyAccount-content .woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column__title,
#sfwc-user-switcher-pane h3,
#sfwc-user-switcher-pane p,
.button,
#cart_items_wrap .cart_totals form.checkout_coupon button.button,
#cart_items_wrap .cart_totals .wc-proceed-to-checkout .button,
#footer .title,
#front_page_banner #top #banner #banner_slider .slide .content .text_content .description *,
#front_page_detailed_categories .category_wrap .sub_category_title,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product:not(.sale) .price bdi,
.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_and_price_wrap .price_wrap .subtotal_wrap *,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .price_wrap .price ins,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .price_wrap .price ins *,
#cart_items_wrap .cart_totals .order-total bdi,
#cart_items_wrap .cart_totals .order-total bdi * {
    font-size: 24px;
    line-height: 32px;
}

h1,
h1 *,
.sm_title,
#customer_details .woocommerce-billing-fields h3,
#customer_details .woocommerce-billing-fields h3,
#form_wrap .form_title,
.woocommerce-MyAccount-content .woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-MyAccount-content .woocommerce-customer-details .woocommerce-column__title,
#sfwc-user-switcher-pane h3,
#sfwc-user-switcher-pane p {
    font-weight: 700;
    text-transform: uppercase;
}

main {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
    margin-bottom: var(--section-gap);
    margin-top: 24px;
    overflow: hidden;
}

header,
main>section {
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
}

.button,
#cart_items_wrap .cart_totals form.checkout_coupon button.button,
#cart_items_wrap .cart_totals .wc-proceed-to-checkout .button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--red);
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    width: max-content;
    max-width: 100%;
    text-align: center;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    border: none;
    transition: var(--transition);
}

.button:hover {
    scale: 1.025;
}

/* Contact form */

#form_wrap,
#subscribe_form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
}

#form_wrap p {
    margin: 0;
    color: var(--secondary-text-color);
}

#form_wrap a,
#subscribe_form a,
#customer_login #register_wrap .woocommerce-privacy-policy-text a {
    font-weight: 500;
    color: var(--secondary-text-color);
}

#form_wrap a:hover,
#subscribe_form a:hover,
#customer_login #register_wrap .woocommerce-privacy-policy-text a:hover {
    color: var(--blue);
}

#form_wrap .form_title {
    margin: 0;
    color: var(--red);
}

#form_wrap .fields_wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#form_wrap .form_row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#form_wrap .form_row * {
    width: 100%;
}

#form_wrap .double {
    display: flex;
    align-items: top;
    justify-content: center;
    gap: 8px;
}

#form_wrap .form_field,
#subscribe_form .fields .form_field,
#customer_login #login_wrap .fields_wrap input,
#customer_login #register_wrap .fields_wrap input,
#lost_password_wrap input {
    padding: 16px;
    background-color: var(--white);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    width: 100%;
    color: var(--text-color);
}

#form_wrap #service_field,
#form_wrap .form_field::placeholder,
#subscribe_form .fields .form_field::placeholder,
#customer_login #login_wrap .fields_wrap input::placeholder,
#customer_login #register_wrap .fields_wrap input::placeholder,
#lost_password_wrap input::placeholder {
    text-transform: uppercase;
}

#form_wrap .form_field::placeholder {
    color: var(--secondary-text-color);
    opacity: 1;
}

#form_wrap .form_field:focus {
    outline: none;
    border-color: var(--blue);
}

#form_wrap .wpcf7-spinner {
    display: none;
}

#form_wrap .send_wrap {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 32px;
}

#form_wrap #send_button {
    background-color: var(--blue);
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
}

#form_wrap textarea {
    resize: none;
    height: 104px;
}

#form_wrap .field_wrap .show-password-input {
    --size: 24px;
    width: var(--size);
    height: var(--size);
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#form_wrap .field_wrap .show-password-input::after {
    width: var(--size);
    height: var(--size);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#subscribe_form {
    gap: 8px;
    padding: 48px;
}

#subscribe_form * {
    margin: 0;
}

#subscribe_form .fields {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
}

#subscribe_form .fields :first-child {
    width: 100%;
}

#subscribe_form .wpcf7-spinner {
    display: none;
}

#subscribe_form .fields .form_field,
#subscribe_form .legal,
#subscribe_form .legal *,
#subscribe_form #send_btn,
#customer_login #login_wrap .fields_wrap *,
#customer_login #register_wrap .fields_wrap *,
#customer_login #login_wrap .lost_password a,
#lost_password_wrap *:not(.title),
#form_wrap,
#form_wrap *,
#mini_cart_wrap .widget_shopping_cart_content .empty_cart #close_mini_cart_btn,
#mini_cart_wrap .widget_shopping_cart_content .buttons .button,
.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity input[type="number"],
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity input[type="number"],
#cart_items_wrap .cart_totals form.checkout_coupon button.button,
#customer_details .woocommerce-billing-fields .form-row label,
#customer_details .woocommerce-shipping-fields .form-row label,
#customer_details .woocommerce-billing-fields .form-row input,
#customer_details .woocommerce-shipping-fields .form-row input,
#billing_country_field span.woocommerce-input-wrapper,
#shipping_country_field span.woocommerce-input-wrapper,
#billing_country_field span.woocommerce-input-wrapper *,
#shipping_country_field span.woocommerce-input-wrapper *,
#customer_details .woocommerce-additional-fields #order_comments_field textarea,
#address_edit_form .fields_wrap .form-row input,
#address_edit_form .fields_wrap .form-row label,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .button,
#product_section .wc-block-components-notice-banner .button,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .price_wrap .secondary,
#list_and_form .item .buttons_wrap .button,
#dashboard_last_orders .order_wrap .order_status,
#dashboard_last_orders .order_wrap .button,
.woocommerce table.shop_table tbody tr td .button,
#employees_grid .job,
#post_content .post_header .title_wrap .post_meta * {
    font-size: 16px;
    line-height: 24px;
}

header form.is-search-form input.is-search-input,
#sfwc-user-switcher-pane form select,
#sfwc-user-switcher-pane form select option,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input input,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input .item,
#sfwc-user-switcher-pane .selectize-dropdown [data-selectable].option,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input .item.added_to_cart#sfwc-user-switcher-pane form select::placeholder,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input input::placeholder {
    font-size: 16px !important;
    line-height: 24px !important;
}

#subscribe_form #send_btn {
    background-color: var(--blue);
    cursor: pointer;
    font-weight: 700;
}

/* Price tax switch */

#price_tax_switch {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: max-content;
    cursor: pointer;
    border-radius: var(--border-radius);
    background-color: transparent;
    padding: 0;
    border: 2px solid var(--blue);
}

#price_tax_switch .side {
    padding: 8px 16px;
    color: var(--blue);
}

#price_tax_switch .side.without_vat,
#price_tax_switch.tax_included .side.with_vat {
    background-color: var(--blue);
    color: var(--white);
}

#price_tax_switch.tax_included .side.without_vat {
    background-color: transparent;
    color: var(--text-color);
}

header #mobile_search_wrap #price_tax_switch {
    display: none;
}

/* Header */

#mobile_search_wrap {
    display: none;
}

#site_logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

#site_logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

#header #site_logo {
    width: 240px;
    min-width: 240px;
}

#header #site_logo.mobile {
    display: none;
}

#scroll_header #site_logo {
    width: 48px;
    min-width: 48px;
}

header {
    padding-top: 24px;
    padding-bottom: 24px;
    position: relative;
}

header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

#header_nav ul {
    display: flex;
    gap: 32px;
}

header #navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: max-content;
    gap: 32px;
}

header #navigation .nav_btn {
    background-color: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

header #navigation .nav_btn svg {
    --size: 32px;
    height: var(--size);
    width: var(--size);
}

header #navigation .nav_btn svg path {
    fill: var(--blue);
}

@keyframes cart_bounce {
    0% {
        scale: 1;
    }

    40% {
        scale: 1.25;
    }

    80% {
        scale: 0.9;
    }

    100% {
        scale: 1;
    }
}

header #navigation #mini_cart_btn {
    --bounce-duration: 0.25s;
    display: flex;
    align-items: start;
    justify-content: end;
    gap: 0;
    /* transition: all var(--bounce-duration) ease-in-out; */
}

header #navigation #mini_cart_btn.bounce {
    animation-name: cart_bounce;
    animation-duration: 0.6s;
}

header form.is-search-form,
body div.is-ajax-search-result {
    --width: 512px;
}

header form.is-search-form {
    width: var(--width) !important;
}

body div.is-ajax-search-result {
    width: calc(var(--width) - 1px) !important;
}

header form.is-search-form {
    position: relative;
    border: 1px solid var(--element-border);
    display: flex;
    align-items: center;
}

header form.is-search-form,
header form.is-search-form label input.is-search-input {
    border-radius: var(--border-radius) !important;
}

header form.is-search-form input.is-search-input {
    padding: 16px;
    height: unset;
    border: none !important;
}

header form.is-search-form label {
    width: 100% !important;
}

header form.is-search-form button.is-search-submit {
    margin-right: 16px;
}

header form.is-search-form button.is-search-submit .is-search-icon {
    background-color: transparent;
    border: none;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

header form.is-search-form button.is-search-submit .is-search-icon svg {
    --size: 24px;
    height: var(--size);
    width: var(--size);
}

body div.is-ajax-search-result,
body div.is-ajax-search-details {
    padding: 0;
    background-color: var(--white);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
}

body div.is-ajax-search-result {
    overflow: hidden;
}

#scroll_header {
    --scroll-header-start: 256;
    /* Value is converted to px in JavaScript */
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-101%);
    width: 100%;
    max-width: 1920px;
    z-index: 1024;
    transition: all 0.3s ease-in-out;
    pointer-events: none;
}

#scroll_header.show,
#scroll_header.sub_cats_open,
#scroll_header.cart_open {
    pointer-events: all;
    transform: translateX(-50%);
}

#scroll_header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100vw;
    background-color: var(--page-bg);
    z-index: -1;
    border-bottom: 1px solid transparent;
}

#scroll_header.show::after {
    border-color: var(--element-border);
}

#scroll_header #logo_and_cats_wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

#scroll_header #sub_cats_warp {
    position: relative;
}

#scroll_header #cats_toggle_btn {
    text-transform: uppercase;
    font-weight: 500;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    color: var(--text-color);
}

#scroll_header #cats_toggle_btn svg {
    --size: 24px;
    width: var(--size);
    min-width: var(--size);
}

#scroll_header #cats_toggle_btn>svg * {
    fill: var(--text-color);
}

#scroll_header #mega_menu {
    position: absolute;
    top: 100%;
    left: -24px;
    width: 332px;
    opacity: 0;
    pointer-events: none;
}

#scroll_header.sub_cats_open #mega_menu {
    opacity: 1;
    pointer-events: all;
}

#mini_cart_btn .basket-item-count,
#mini_cart_btn .basket-item-count * {
    font-size: 10px;
    line-height: 12px;
    letter-spacing: -0.3px;
    color: var(--page-bg);
}

#mini_cart_btn .basket-item-count {
    background-color: var(--red);
    border: 2px solid var(--page-bg);
    padding: 2px 5px;
    border-radius: 100vw;
    margin-left: -16px;
    margin-top: -2px;
}

#mini_cart_wrap {
    position: absolute;
    top: calc(100% - 24px);
    right: 8px;
    max-width: calc(100% - 16px);
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    z-index: 999;
    padding: 32px;
    display: none;
    flex-direction: column;
    gap: 16px;
    max-width: 512px;
}

#mini_cart_wrap.active {
    display: flex;
}

#mini_cart_wrap p {
    margin: 0;
}

#mini_cart_wrap ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#mini_cart_wrap .mini_cart_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--element-border);
}

#mini_cart_wrap .mini_cart_item:first-child {
    padding-top: 0px;
    border-top: none;
}

#mini_cart_wrap .mini_cart_item::after,
#mini_cart_wrap .mini_cart_item::before {
    content: none;
}

#mini_cart_wrap .mini_cart_item .remove {
    --size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
}

#mini_cart_wrap .mini_cart_item .remove:hover {
    background-color: transparent;
}

#mini_cart_wrap .mini_cart_item .remove svg {
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
}

#mini_cart_wrap .mini_cart_item .remove svg * {
    fill: var(--red);
    transition: var(--transition);
}

#mini_cart_wrap .mini_cart_item .remove:hover svg * {
    fill: var(--blue);
}

#mini_cart_wrap .mini_cart_item .info_side {
    display: flex;
    align-items: center;
    gap: 24px;
}

#mini_cart_wrap .mini_cart_item .info_side img {
    --size: 64px;
    width: var(--size);
    height: var(--size);
    min-width: var(--size);
    min-height: var(--size);
    object-fit: contain;
    margin: 0;
}

#mini_cart_wrap .mini_cart_item .details_wrap {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

#mini_cart_wrap .mini_cart_item .details_wrap .product_name_wrap * {
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
}

#mini_cart_wrap .widget_shopping_cart_content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#mini_cart_wrap .widget_shopping_cart_content .cart_list {
    max-height: 240px;
    overflow-y: scroll;
    padding-right: 16px;
}

#mini_cart_wrap .widget_shopping_cart_content .total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#mini_cart_wrap .widget_shopping_cart_content .total * {
    font-weight: 500;
    text-transform: uppercase;
}

#mini_cart_wrap .widget_shopping_cart_content .total .amount * {
    font-weight: 700;
}

#mini_cart_wrap .widget_shopping_cart_content .buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
    gap: 8px 16px;
    margin-top: -16px;
}

#mini_cart_wrap .widget_shopping_cart_content .empty_cart #close_mini_cart_btn,
#mini_cart_wrap .widget_shopping_cart_content .buttons .button {
    border: 2px solid var(--blue);
    background-color: var(--blue);
    color: var(--white);
    font-weight: 500;
    padding: 16px;
    cursor: pointer;
}

#mini_cart_wrap .widget_shopping_cart_content .empty_cart {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: end;
}

#mini_cart_wrap .widget_shopping_cart_content .empty_cart #close_mini_cart_btn,
#mini_cart_wrap .widget_shopping_cart_content .buttons #close_mini_cart_btn {
    background-color: transparent;
    border-color: var(--red);
    color: var(--red);
}

#mini_cart_wrap .widget_shopping_cart_content .buttons .button.checkout {
    display: none;
}

#mini_cart_wrap .product_name_wrap a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer */

#footer {
    position: relative;
    padding: 96px var(--page-padding);
    display: flex;
    justify-content: center;
}

#footer * {
    color: var(--white);
}

#footer .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: max-content;
    max-width: 100%;
}

#footer::after {
    content: "";
    position: absolute;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-color);
    z-index: -1;
}

#footer #site_logo {
    filter: brightness(0) invert(1);
}

#footer .divider {
    width: 100%;
    height: 1px;
    background-color: var(--secondary-text-color);
}

#footer .top,
#footer .bottom {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 128px;
    width: 100%;
}

#footer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#footer .top ul {
    max-width: 256px;
}

#footer #footer_nav {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 16px 64px;
}

#footer ul li {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 16px;
}

#footer ul li.social_media {
    display: flex;
    justify-content: start;
    gap: 16px 32px;
}

#footer ul li a {
    text-decoration: none;
}

#footer ul li svg {
    --size: 24px;
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
}

#footer ul li.social_media svg {
    --size: 32px;
}

#footer ul li svg path {
    fill: var(--white);
}

#footer .title {
    font-weight: 700;
    letter-spacing: -0.72px;
    text-transform: uppercase;
    padding-bottom: 8px;
}

#footer .item_title {
    text-transform: uppercase;
    padding-bottom: 8px;
    flex-direction: column;
    align-items: start;
    gap: 16px;
}

#footer .item_title img {
    height: 24px;
    filter: brightness(0) invert(1);
}

#footer #footer_nav a {
    text-decoration: underline;
}

/* Front page banner */
#front_page_banner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#front_page_banner #top {
    --grid-columns: 5;
    min-height: 504px;
    gap: 32px;
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
}

#mega_menu {
    position: relative;
}

#mega_menu #category_list {
    padding: 8px;
    margin: 0;
    background-color: var(--element-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--element-border);
    list-style-type: none;
    display: flex;
    flex-direction: column;
}

#mega_menu #category_list li.top_level_item {
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
}

#mega_menu #category_list li.top_level_item.has_sub_cats {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

#mega_menu #category_list li.top_level_item:hover,
#mega_menu #category_list li.top_level_item.hover {
    background-color: var(--white);
    border-color: var(--element-border);
}

#mega_menu #category_list li.top_level_item.has_sub_cats.hover {
    border-right-color: var(--white);
    z-index: 15;
}

#mega_menu #category_list li.top_level_item .top_cat_link {
    position: relative;
    padding: 15px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 24px;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#mega_menu #category_list li.top_level_item .top_cat_link svg {
    --size: 24px;
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
}

#mega_menu #category_list li.top_level_item.has_sub_cats .top_cat_link::after {
    content: none;
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    height: calc(100% - 2px);
    width: 8px;
    background-color: var(--white);
    z-index: 15;
}

#mega_menu #category_list li.top_level_item.has_sub_cats:hover .top_cat_link::after,
#mega_menu #category_list li.top_level_item.has_sub_cats.hover .top_cat_link::after {
    content: "";
}

#mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats {
    position: absolute;
    top: 8px;
    left: calc(100% - 8px);
    z-index: 10;
    width: calc(100vw - calc(var(--page-padding) * 2) - 100% - 8px);
    max-height: 75vh;
    overflow-y: scroll;
    background-color: var(--white);
    padding: 48px;
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    visibility: hidden;
    pointer-events: none;
}

#mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .container {
    column-count: 4;
    height: max-content;
}

/* #mega_menu #category_list li.top_level_item.has_sub_cats:hover .sub_cats, */
#mega_menu #category_list li.top_level_item.has_sub_cats.hover .sub_cats {
    visibility: visible;
    pointer-events: all;
}

#mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .sub_cat_list {
    list-style-type: none;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    /* flex: auto; */
    margin-bottom: 24px;
    margin-right: 48px;
}

#mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .sub_cat_list .sub_cat_name {
    margin-bottom: 8px;
}

#mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .sub_cat_list a {
    color: var(--text-color);
    text-decoration: none;
}

#mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .sub_cat_list a:hover {
    text-decoration: underline;
}

#mega_menu #category_list li.divider {
    margin: 8px 16px;
    width: calc(100% - 32px);
    height: 1px;
    background-color: var(--element-border);
}

#front_page_banner #top #banner {
    grid-column: span calc(var(--grid-columns) - 1);
    width: 100%;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    justify-content: end;
    align-items: stretch;
}

#front_page_banner #top #banner #banner_slider {
    --padding: 64px;
    width: 100%;
    position: relative;
}

#front_page_banner #top #banner #banner_slider .splide__track,
#front_page_banner #top #banner #banner_slider .slide .background,
#front_page_banner #top #banner #banner_slider .slide .content,
#front_page_banner #top #banner #banner_slider .slide .content .decoration {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

#front_page_banner #top #banner #banner_slider .slide {
    position: relative;
}

#front_page_banner #top #banner #banner_slider .slide .background {
    object-fit: contain;
}

#front_page_banner #top #banner #banner_slider .slide .content {
    width: 100%;
    /* max-width: calc(100% - var(--padding)); */
    /* max-width: 660px; */
    /* margin-left: var(--padding); */
    display: flex;
    flex-direction: column;
    justify-content: end;
}

/* #front_page_banner #top #banner #banner_slider .slide .content .decoration {
    --clip: 256px;
    background-color: var(--blue);
    -webkit-clip-path: polygon(calc(0% + var(--clip)) 0%,
            100% 0,
            100% 100%,
            0% 100%);
    clip-path: polygon(calc(0% + var(--clip)) 0%, 100% 0, 100% 100%, 0% 100%);
} */

#front_page_banner #top #banner #banner_slider .slide .content .text_content {
    position: relative;
    color: var(--white);
    text-align: right;
    padding: var(--padding);
    /* padding-left: 0px; */
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 24px;
}

#front_page_banner #top #banner #banner_slider .slide .content .text_content .text_wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#front_page_banner #top #banner #banner_slider .slide .content .text_content .text_wrap>* {
    margin: 0;
}

#front_page_banner #top #banner #banner_slider .slide .content .text_content .buttons_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    width: 100%;
}

#front_page_banner #top #banner #banner_slider .slide .content .text_content .button_wrap {
    width: max-content;
    max-width: 100%;
}

#front_page_banner #top #banner #banner_slider .slide .content .text_content .description * {
    font-weight: 500;
    text-transform: uppercase;
}

#front_page_banner #top #banner #banner_slider .slide .content .text_content .description> :first-child {
    margin-top: 0;
}

#front_page_banner #top #banner #banner_slider .slide .content .text_content .description> :last-child {
    margin-bottom: 0;
}

#front_page_banner #top #banner #banner_slider .splide__arrows {
    display: none;
}

#front_page_banner #top #banner #banner_slider .splide__pagination {
    display: flex;
    width: max-content;
    position: absolute;
    bottom: calc(var(--padding) / 4 * 3);
    right: var(--padding);
    left: unset;
    padding: 0;
    gap: 8px;
}

#front_page_banner #top #banner #banner_slider .splide__pagination li {
    --size: 8px;
    height: var(--size);
    width: max-content;
    min-height: var(--size);
    min-width: var(--size);
    background-color: var(--element-bg-transparent);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    border-radius: 100vw;
}

#front_page_banner #top #banner #banner_slider .splide__pagination button {
    margin: 0;
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
    background-color: var(--element-bg);
    opacity: 1;
    transform: scale(1);
    border-radius: 100vw;
    transition: var(--transition);
}

#front_page_banner #bottom {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

#front_page_banner #bottom.items-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#front_page_banner #bottom.items-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#front_page_banner #bottom.items-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

#front_page_banner #bottom .tag {
    background-color: var(--element-bg);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-text-color);
    text-transform: uppercase;
    text-decoration: none;
    gap: 16px;
    border-radius: var(--border-radius);
}

#front_page_banner #bottom .tag svg {
    --size: 24px;
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
}

#front_page_banner #bottom .tag svg path {
    fill: var(--secondary-text-color);
}

/* Front page services */

#front_page_services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

#front_page_services .service {
    border-radius: var(--border-radius);
    border: 1px solid var(--element-border);
    padding: 32px;
    padding-right: 72px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
}

#front_page_services .service::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%) rotate(45deg);
    height: 8px;
    width: 8px;
    border: 2px solid var(--secondary-text-color);
    border-left: none;
    border-bottom: none;
}

#front_page_services .service:hover {
    background-color: var(--element-bg);
}

#front_page_services .service * {
    padding: 0;
    margin: 0;
}

#front_page_services .service .service_title {
    text-transform: uppercase;
    line-height: 24px;
}

#front_page_services .service .description {
    color: var(--secondary-text-color);
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Front page detailed categories */

#front_page_detailed_categories {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

#front_page_detailed_categories .category_wrap {
    background-color: var(--element-bg);
    padding: 64px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 64px;
}

#front_page_detailed_categories .category_wrap>* {
    width: 100%;
}

#front_page_detailed_categories .category_wrap .sub_categories_wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 296px;
    height: max-content;
}

#front_page_detailed_categories .category_wrap .sub_category_title {
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 16px;
}

#front_page_detailed_categories .category_wrap .sub_category_title svg {
    --size: 24px;
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
}

#front_page_detailed_categories .category_wrap .sub_categories_wrap ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#front_page_detailed_categories .category_wrap .sub_categories_wrap ul a {
    text-decoration: none;
    color: var(--text-color);
}

#front_page_detailed_categories .category_wrap .products_wrap {
    width: 100%;
}

/* Woocommerce products grid */

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    content: none;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    gap: 64px 48px;
}

body.woocommerce:not(.tax-product_cat) ul.products {
    gap: 24px;
}

.woocommerce ul.products li.product-category img,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title .count {
    display: none !important;
}

.woocommerce ul.products li.product-category a {
    width: 100%;
    height: 100%;
    background-color: var(--element-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--element-border);
    padding: 24px;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    padding: 0;
    text-transform: uppercase;
    font-weight: 500;
}

.woocommerce ul.products li.product {
    margin: 0;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
    margin: 0;
    padding: 16px;
    width: 100%;
    background-color: var(--blue);
    transition: var(--transition);
    border-radius: var(--border-radius);
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce ul.products li.product .added_to_cart {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--red);
}

.woocommerce ul.products li.product .button::after {
    content: none;
}

.woocommerce .product span.onsale,
.woocommerce ul.products li.product span.onsale {
    border-radius: var(--border-radius);
    margin: 0;
    background-color: var(--red);
    padding: 8px 16px;
    min-height: unset;
    min-width: unset;
    font-weight: 700;
    line-height: 24px;
    top: 0;
}

.woocommerce .product span.onsale {
    top: 16px;
    left: -8px;
}

.woocommerce ul.products li.product span.onsale {
    right: 0;
}

.woocommerce ul.products li.product a img {
    margin: 0;
    width: 100%;
    /* height: 256px; */
    height: unset;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-color);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-weight: 600;
    text-transform: uppercase;
    padding: 0;
}

#woocommerce_product_price_wrap {
    margin: 0;
    display: flex;
    flex-direction: column;
}

#woocommerce_product_price_wrap .price_wrap {
    display: none;
    flex-direction: column;
}

#woocommerce_product_price_wrap .price_wrap.show {
    display: flex;
}

#woocommerce_product_price_wrap .sale_price,
#woocommerce_product_price_wrap .regular_price,
#woocommerce_product_price_wrap .sale_price *,
#woocommerce_product_price_wrap .regular_price *,
#woocommerce_product_price_wrap .price_range,
#woocommerce_product_price_wrap .price_range * {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--red);
}

#woocommerce_product_price_wrap .sale_price .tax_label,
#woocommerce_product_price_wrap .regular_price .tax_label,
#woocommerce_product_price_wrap .price_range .tax_label,
#woocommerce_product_price_wrap .regular_price.on_sale,
#woocommerce_product_price_wrap .regular_price.on_sale * {
    font-size: 20px;
    font-weight: 400;
    color: var(--secondary-text-color);
}

#woocommerce_product_price_wrap .regular_price.on_sale,
#woocommerce_product_price_wrap .regular_price.on_sale * {
    text-decoration: line-through;
}

#woocommerce_product_price_wrap .sale_price,
#woocommerce_product_price_wrap .regular_price,
#woocommerce_product_price_wrap .price_range {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Woocommerce archive */

#before_product_loop_content {
    margin-top: calc(0px - calc(var(--section-gap) / 2));
    margin-bottom: calc(var(--section-gap) / 2);
}

#after_product_loop_content {
    margin-top: var(--section-gap);
}

#woocommerce_section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#woocommerce_section>* {
    width: 100%;
}

#woocommerce_section .woo_content {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

#woocommerce_section .woo_content .left_side {
    width: 100%;
    max-width: 340px;
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active {
    display: flex;
    flex-direction: column;
}

#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap #mega_menu {
    height: 0px;
    opacity: 0;
    pointer-events: none;
}

#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #mega_menu {
    height: max-content;
    opacity: 1;
    pointer-events: all;
}

#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #mega_menu #category_list {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

#woocommerce_section .woo_content .left_side #all_cats_button,
#woocommerce_section .woo_content .left_side #mobile_filters_button {
    padding: 24px;
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    line-height: 24px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    width: 100%;
}

#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #all_cats_button {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

#woocommerce_section .woo_content .left_side #all_cats_button .icon,
#woocommerce_section .woo_content .left_side #mobile_filters_button .icon {
    --size: 24px;
    width: var(--size);
    height: var(--size);
    min-width: var(--size);
    min-height: var(--size);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#woocommerce_section .woo_content .left_side #all_cats_button .icon .bar {
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 1px;
    transition: var(--transition);
    transition-property: background;
}

#woocommerce_section .woo_content .left_side #all_cats_button .icon .bar.top {
    top: 10%;
}

#woocommerce_section .woo_content .left_side #all_cats_button .icon .bar.bottom {
    bottom: 10%;
}

#woocommerce_section .woo_content .left_side #all_cats_button:hover .icon .bar,
#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #all_cats_button .icon .bar {
    background-color: var(--white);
}

#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #all_cats_button .icon .bar.top {
    top: unset;
    rotate: 45deg;
}

#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #all_cats_button .icon .bar.middle {
    opacity: 0;
}

#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #all_cats_button .icon .bar.bottom {
    bottom: unset;
    rotate: -45deg;
}

#woocommerce_section .woo_content .left_side #all_cats_button:hover,
#woocommerce_section .woo_content .left_side #mobile_filters_button:hover,
#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #all_cats_button,
#woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap #mobile_filters_button.active {
    background-color: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

#woocommerce_section .woo_content .left_side #mobile_filters_button .icon {
    flex-direction: column;
    gap: 3px;
}

#woocommerce_section .woo_content .left_side #mobile_filters_button .icon .row {
    display: flex;
    align-items: center;
    gap: 3px;
    width: 100%;
}

#woocommerce_section .woo_content .left_side #mobile_filters_button .icon .circle {
    --size: 9px;
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
    border: 3px solid var(--text-color);
    border-radius: 100vw;
}

#woocommerce_section .woo_content .left_side #mobile_filters_button .icon .stripe {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 1px;
}

#woocommerce_section .woo_content .left_side #mobile_filters_button:hover .icon .stripe,
#woocommerce_section .woo_content .left_side #mobile_filters_button.active .icon .stripe {
    background-color: var(--white);
}

#woocommerce_section .woo_content .left_side #mobile_filters_button:hover .icon .circle {
    border-color: var(--white);
}

#woocommerce_section .woo_content .left_side #mobile_filters_button.active .row {
    position: absolute;
}

#woocommerce_section .woo_content .left_side #mobile_filters_button.active .row.top {
    transform: rotate(45deg);
}

#woocommerce_section .woo_content .left_side #mobile_filters_button.active .row.bottom {
    transform: rotate(-45deg);
}

#woocommerce_section .woo_content .left_side #mobile_filters_button.active .circle {
    display: none;
}

#woocommerce_section .woo_content .left_side .sidebar_wrap {
    padding: 48px;
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#woocommerce_section .woo_content .left_side .sidebar_wrap .divider {
    width: 100%;
    height: 1px;
    background-color: var(--element-border);
    margin: 8px 0;
}

#woocommerce_section .woo_content .left_side .sidebar_wrap .sale_category {
    display: flex;
    align-items: center;
    justify-content: start;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--text-color);
    font-weight: 500;
    gap: 8px;
}

#woocommerce_section .woo_content .left_side .sidebar_wrap .sale_category svg {
    --size: 24px;
    height: var(--size);
    width: var(--size);
}

#woocommerce_section .woo_content .left_side .sidebar_wrap>p {
    display: none;
}

#woocommerce_section .woo_content .left_side .sidebar_wrap .sale_category svg * {
    fill: var(--red);
}

#woocommerce_section .right_side {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}


#woocommerce_section .right_side .varustaja-custom-woocommerce-notice.count-0 {
    margin-top: -40px;
}


#product_loop_header,
#woocommerce_section .woo_content .left_side #all_cats_button {
    height: 82px;
}

#product_loop_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    margin-bottom: var(--section-gap);
}

body.woocommerce:not(.tax-product_cat) #product_loop_header {
    margin-bottom: 24px;
}

#product_loop_header .sort_and_results_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

#product_loop_header .sort_and_results_wrap>* {
    margin: 0;
}

#product_loop_header .sort_and_results_wrap .woocommerce-ordering {
    display: flex;
    align-items: center;
    justify-content: center;
}

#product_loop_header .sort_and_results_wrap .woocommerce-ordering select {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-color);
}

#product_loop_header .sort_and_results_wrap .woocommerce-result-count {
    color: var(--secondary-text-color);
}

#product_loop_header .title_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

#product_loop_header .title_wrap .sm_title {
    color: var(--text-color);
    font-weight: 500;
}

#product_loop_header .title_wrap .sm_title,
#product_loop_header .sort_and_results_wrap * {
    margin: 0;
    text-transform: uppercase;
}

#product_loop_header .title_wrap svg {
    --size: 24px;
    height: var(--size);
    width: var(--size);
}

/* Woocommerce cart page */

#cart_page_wrap {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

#cart_items_wrap {
    display: flex;
    gap: 64px;
    align-items: start;
    justify-content: space-between;
}

#cart_items_wrap>* {
    width: 100%;
}

.woocommerce .woocommerce-cart-form {
    position: relative;
}

.woocommerce .woocommerce-cart-form .gradient_decoration {
    position: absolute;
    left: 0;
    height: 0px;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    transition: var(--transition);
    transition-duration: 0.05s;
    transition-timing-function: linear;
}

.woocommerce .woocommerce-cart-form .gradient_decoration.active {
    height: 128px;
}

.woocommerce .woocommerce-cart-form .gradient_decoration.top {
    top: 0;
    background: linear-gradient(0deg, transparent 0%, var(--page-bg) 100%);
}

.woocommerce .woocommerce-cart-form .gradient_decoration.bottom {
    bottom: 0;
    background: linear-gradient(0deg, var(--page-bg) 0%, transparent 100%);
}

.woocommerce .woocommerce-cart-form #update_cart {
    display: none;
}

.woocommerce .woocommerce-cart-form table.shop_table {
    margin: 0;
    border: none;
    border-radius: 0;
    border-collapse: unset;
    max-width: 100%;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: max-content;
    max-height: 552px;
    overflow-x: hidden;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody::-webkit-scrollbar {
    display: none;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr {
    background-color: var(--element-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--element-border);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr>* {
    width: 100%;
    max-width: 100%;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 24px;
    border: none;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .img_wrap {
    --size: 56px;
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .img_wrap * {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .discount {
    --arrow-width: 16px;
    background-color: var(--red);
    color: var(--white);
    font-weight: 600;
    margin-left: var(--arrow-width);
    position: relative;
    z-index: 2;
    padding: 4px 8px;
    padding-left: 0;
    line-height: 24px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    z-index: 0;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .discount svg {
    position: absolute;
    top: 0;
    right: calc(100% - 1px);
    height: 100%;
    width: var(--arrow-width);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .discount svg path {
    fill: var(--red);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_and_price_wrap {
    display: flex;
    flex-direction: column;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_and_price_wrap .name_wrap * {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-color);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_and_price_wrap .price_wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_and_price_wrap .price_wrap .subtotal_wrap * {
    font-weight: 700;
    color: var(--red);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_and_price_wrap .price_wrap .subtotal_wrap .tax_label {
    color: var(--secondary-text-color);
    font-weight: 400;
    font-size: 1em;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_and_price_wrap .price_wrap .item_wrap * {
    color: var(--secondary-text-color);
    text-transform: uppercase;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side {
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 16px;
    width: max-content;
    max-width: 100%;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .remove {
    border: 2px solid var(--red);
    border-radius: var(--border-radius);
    background-color: transparent;
    height: unset;
    width: unset;
    padding: 16px;
    font-size: 0px;
    line-height: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .remove:hover {
    background-color: var(--red);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .remove svg {
    --size: 24px;
    width: var(--size);
    height: var(--size);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .remove svg path {
    fill: var(--red);
    transition: var(--transition);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .remove:hover svg path {
    fill: var(--element-bg);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity {
    background-color: var(--page-bg);
    padding: 16px;
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
}

.woocommerce .product .upsells {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.woocommerce .product .upsells .sm_title {
    margin: 0;
}

.woocommerce .product .related.products {
    display: none;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity button,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity button {
    --size: 24px;
    --padding: 4px;
    height: var(--size);
    width: var(--size);
    padding: var(--padding);
    position: relative;
    border-radius: 0;
    border: none;
    background-color: transparent;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0px;
    line-height: 0px;
    cursor: pointer;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity button.minus::after,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity button.minus::after {
    content: "";
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity button.plus::before,
.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity button.plus::after,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity button.plus::before,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity button.plus::after {
    content: "";
    height: 2px;
    width: calc(100% - calc(var(--padding) * 2));
    background-color: var(--text-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity button.plus::after,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity button.plus::after {
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity button::before,
.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity button::after,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity button::after {
    transition: var(--transition);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity button:hover::before,
.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity button:hover::after,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity button:hover::before,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity button:hover::after {
    background-color: var(--red);
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity input::-webkit-outer-spin-button,
.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity input::-webkit-inner-spin-button,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity input::-webkit-outer-spin-button,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity input[type="number"],
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity input,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity input {
    padding: 0;
    width: 48px;
    border-radius: 0;
    border: none;
    background-color: transparent;
}

.woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side .quantity input:focus,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .quantity input:focus {
    outline: none;
}

#cart_items_wrap .cart_totals .woocommerce-form-coupon-toggle,
#cart_items_wrap .cart_totals form.checkout_coupon>p:not(.form-row),
#cart_items_wrap .cart_totals form.checkout_coupon>.clear {
    display: none;
}

#cart_items_wrap .cart_totals form.checkout_coupon {
    display: flex !important;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#cart_items_wrap .cart_totals form.checkout_coupon>p {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

#cart_items_wrap .cart_totals form.checkout_coupon>p::after,
#cart_items_wrap .cart_totals form.checkout_coupon>p::before {
    content: none;
}

#cart_items_wrap .cart_totals form.checkout_coupon .form-row-last {
    width: max-content;
    max-width: 100%;
}

#cart_items_wrap .cart_totals form.checkout_coupon input {
    border: none;
    border-radius: 0;
}

#cart_items_wrap .cart_totals form.checkout_coupon button.button {
    background-color: var(--blue);
    font-weight: 500;
    padding: 8px 16px;
}

#cart_items_wrap .cart_totals {
    max-width: 512px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#cart_items_wrap .cart_totals>* {
    margin: 0;
}

#cart_items_wrap .cart_totals *:not(input#coupon_code),
#cart_items_wrap .cart_totals input#coupon_code::placeholder {
    font-weight: 400;
    text-transform: uppercase;
}

#cart_items_wrap .cart_totals .wc-proceed-to-checkout {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: end;
}

#cart_items_wrap .cart_totals .wc-proceed-to-checkout .button {
    margin: 0;
    background-color: var(--blue);
}

#cart_items_wrap .cart_totals .order-total * {
    font-weight: 600 !important;
}

#cart_items_wrap .cart_totals .order-total bdi,
#cart_items_wrap .cart_totals .order-total bdi * {
    color: var(--red);
}

#cart_items_wrap .cart_totals tbody {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#cart_items_wrap .cart_totals tbody tr {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

#cart_items_wrap .cart_totals tbody tr.order-total {
    margin-bottom: 16px;
}

#cart_items_wrap .cart_totals tbody tr th,
#cart_items_wrap .cart_totals tbody tr td {
    padding: 0;
    border: none;
}

#cart_page_wrap .cart-collaterals .cross-sells {
    width: 100%;
}

.woocommerce form.checkout {
    max-width: 720px;
    margin: 0 auto;
}

#order_review,
.woocommerce form.checkout {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

#customer_details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#customer_details::after,
#customer_details::before,
#customer_details .woocommerce-billing-fields::after,
#customer_details .woocommerce-billing-fields::before {
    content: none;
}

#customer_details>*,
#address_edit_form {
    width: 100%;
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    padding: 32px;
}

#customer_details .woocommerce-billing-fields,
#customer_details .woocommerce-shipping-fields,
#address_edit_form .fields_wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#customer_details .woocommerce-billing-fields>*,
#customer_details .woocommerce-shipping-fields>*,
#address_edit_form .fields_wrap>* {
    margin: 0;
}

#customer_details .woocommerce-billing-fields .form-row,
#customer_details .woocommerce-shipping-fields .form-row,
#address_edit_form .fields_wrap .form-row {
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

#customer_details .woocommerce-billing-fields .form-row::after,
#customer_details .woocommerce-billing-fields .form-row::before,
#customer_details .woocommerce-shipping-fields .form-row::after,
#customer_details .woocommerce-shipping-fields .form-row::before,
#address_edit_form .fields_wrap .form-row::after,
#address_edit_form .fields_wrap .form-row::before {
    content: none;
}

#customer_details .woocommerce-billing-fields .form-row input,
#customer_details .woocommerce-shipping-fields .form-row input,
#billing_country_field .select2-selection,
#shipping_country_field .select2-selection,
#customer_details .woocommerce-additional-fields #order_comments_field textarea,
#address_edit_form .fields_wrap .form-row input {
    padding: 16px;
    background-color: var(--white);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    width: 100%;
}

#billing_country_field .select2-selection,
#shipping_country_field .select2-selection {
    height: max-content;
}

#billing_country_field .select2-selection .select2-selection__rendered,
#shipping_country_field .select2-selection .select2-selection__rendered {
    padding: 0;
}

#billing_country_field .select2-selection .select2-selection__arrow,
#shipping_country_field .select2-selection .select2-selection__arrow {
    height: 100%;
    width: 32px;
}

#customer_details .woocommerce-billing-fields .form-row input::placeholder,
#customer_details .woocommerce-shipping-fields .form-row input::placeholder,
#billing_country_field .select2-selection,
#shipping_country_field .select2-selection,
#customer_details .woocommerce-additional-fields #order_comments_field textarea::placeholder,
#address_edit_form .fields_wrap .form-row input::placeholder {
    text-transform: uppercase;
}

#customer_details .woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper,
#customer_details .woocommerce-shipping-fields .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 8px;
}

#billing_country_field,
#shipping_country_field,
#billing_company_field {
    grid-column: span 2;
}

#address_edit_form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#address_edit_form .button {
    background-color: var(--blue);
    color: var(--white);
    font-weight: 500;
}

#vat_number_field label {
    display: none;
}

#customer_details .woocommerce-additional-fields #order_comments_field {
    padding: 0;
    margin: 0;
}

#customer_details .woocommerce-additional-fields #order_comments_field textarea {
    height: 80px;
    resize: vertical;
}

#order_review_heading {
    display: none;
}

#order_review table.shop_table {
    margin: 0;
    border: none;
    border-radius: 0;
    border-collapse: collapse;
}

#order_review table.shop_table thead {
    display: none;
}

#order_review table.shop_table tbody td,
#order_review table.shop_table tfoot td,
#order_review table.shop_table tfoot th {
    padding: 0;
    border: none;
    color: var(--secondary-text-color);
}

#order_review table.shop_table tbody tr,
#order_review table.shop_table tfoot tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--element-border);
}

#order_review table.shop_table tbody tr,
#order_review table.shop_table tfoot tr {
    gap: 24px;
    padding: 24px 16px;
}

#order_review table.shop_table tbody tr:first-child {
    border-top: none;
    padding-top: 0;
}

#order_review table.shop_table tfoot tr.shipping {
    padding-left: 0;
    padding-right: 0;
    border-top: none;
}

#order_review table.shop_table tfoot tr.shipping th {
    display: none;
}

#order_review table.shop_table tfoot tr.shipping td {
    width: 100%;
}

#order_review table.shop_table tfoot tr.shipping td ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#order_review table.shop_table tfoot tr.shipping td ul li,
#order_review table.shop_table tfoot tr.shipping td ul li>label {
    width: 100%;
}

#order_review table.shop_table tfoot tr.shipping td ul li {
    margin: 0;
    position: relative;
}

#order_review table.shop_table tfoot tr.shipping td ul li>label {
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    color: var(--text-color);
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    height: 100%;
}

#order_review table.shop_table tfoot tr.shipping td ul li>input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

#order_review table.shop_table tfoot .montonio-pickup-point {
    border-top: none;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

#order_review table.shop_table tfoot .montonio-pickup-point .montonio-pickup-point-select-wrapper label {
    display: none;
}

#order_review table.shop_table tfoot .montonio-pickup-point .montonio-pickup-point-select-wrapper .select2 .select2-selection {
    border-radius: var(--border-radius);
    height: max-content;
    padding: 16px;
}

#order_review table.shop_table tfoot .montonio-pickup-point .montonio-pickup-point-select-wrapper .select2 .select2-selection__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
}

#order_review table.shop_table tfoot .montonio-pickup-point>td>br {
    display: none;
}

#order_review table.shop_table tfoot tr.shipping td ul li>input:checked+label,
#order_review table.shop_table tfoot tr.shipping td ul li>input:checked+label * {
    font-weight: 600;
}

#order_review table.shop_table tfoot tr.shipping td ul li>input:checked+label {
    border-width: 2px;
    border-color: var(--blue);
}

.woocommerce-remove-coupon {
    color: transparent !important;
    position: relative;
    background-color: var(--red);
    padding: 8px;
    border-radius: var(--border-radius);
}

.woocommerce-remove-coupon::after {
    color: var(--page-bg) !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.woocommerce .wc-block-components-notice-banner.is-error {
    border-color: var(--red);
}

.woocommerce .wc-block-components-notice-banner {
    margin: 0;
    padding: 32px !important;
    color: var(--text-color);
    border-radius: var(--border-radius);
}

#order_review #payment {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#order_review #payment .place-order {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 16px;
}

#order_review #payment .place-order::after,
#order_review #payment .place-order::before {
    content: none;
}

#order_review #payment .place-order p {
    margin: 0;
    width: 100%;
}

#order_review #payment .place-order .button {
    margin: 0;
    background-color: var(--blue);
    font-weight: 700;
}

#order_review #payment .wc_payment_methods {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: none;
}

#order_review #payment .wc_payment_methods::before,
#order_review #payment .wc_payment_methods::after {
    content: none;
}

#order_review #payment .wc_payment_methods>li {
    padding: 32px;
    border: 1px solid var(--element-border);
    background-color: var(--element-bg);
    border-radius: var(--border-radius);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#order_review #payment .wc_payment_methods>li::after,
#order_review #payment .wc_payment_methods>li::before {
    content: none;
}

#order_review #payment .wc_payment_methods>li input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}

#order_review #payment .wc_payment_methods>li label {
    width: 100%;
    display: block;
    position: relative;
    font-weight: 400;
}

#order_review #payment .wc_payment_methods>li input:checked+label {
    font-weight: 600;
}

#order_review #payment .wc_payment_methods>li label::after {
    --size: 4px;
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(45deg);
    border: 3px solid var(--text-color);
    display: block;
    width: var(--size);
    height: var(--size);
    border-top: none;
    border-left: none;
}

#order_review #payment .wc_payment_methods>li input:checked+label::after {
    transform: translateY(-50%) rotate(135deg);
}

#order_review #payment .wc_payment_methods>li .payment_box {
    margin: 0;
    padding: 0;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#order_review #payment .wc_payment_methods>li .payment_box .montonio-bank-payments-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#order_review #payment .wc_payment_methods>li .payment_box::after,
#order_review #payment .wc_payment_methods>li .payment_box::before {
    content: none;
}

#order_review #payment .wc_payment_methods>li .payment_box select {
    width: 100%;
    padding: 16px;
    margin: 0;
    border-radius: var(--border-radius);
    background: var(--page-bg);
    border: 1px solid var(--element-border);
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

#order_review #payment .wc_payment_methods>li .payment_box .montonio-bank-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0;
}

#order_review #payment .wc_payment_methods>li .payment_box .montonio-bank-items .montonio-bank-item {
    margin: 0;
    width: 100%;
    border-radius: var(--border-radius);
    height: 64px;
    box-shadow: none;
    background-color: var(--white);
    padding: 0;
    border: 0px solid var(--blue);
    transition-property: all;
    transition-duration: 0.1s;
    transition-timing-function: var(--transition-timing-function);
    position: relative;
}

#order_review #payment .wc_payment_methods>li .payment_box .montonio-bank-items .montonio-bank-item.active {
    border-width: 3px;
}

#order_review #payment .wc_payment_methods>li .payment_box .montonio-bank-items .montonio-bank-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 100%;
    max-width: 90%;
    height: 100%;
    max-height: 90%;
    object-fit: contain;
}

body.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle {
    display: none;
}

#breadcrumbs_section {
    display: flex;
    align-items: center;
    width: 100%;
}

#breadcrumbs_section .woocommerce-breadcrumb {
    margin: 0;
    /* margin-bottom: calc(0px - calc(var(--section-gap) / 2)); */
    padding: 24px 32px;
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#breadcrumbs_section .woocommerce-breadcrumb::after,
#breadcrumbs_section .woocommerce-breadcrumb::before {
    content: none;
}

#breadcrumbs_section .woocommerce-breadcrumb,
#breadcrumbs_section .woocommerce-breadcrumb * {
    color: var(--secondary-text-color);
    text-decoration: none;
    text-transform: uppercase;
}

#breadcrumbs_section .woocommerce-breadcrumb a {
    transition: var(--transition);
}

#breadcrumbs_section .woocommerce-breadcrumb a:hover {
    color: var(--blue);
}

.woocommerce div.product {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.woocommerce .product #gallery_and_summary_wrap {
    display: flex;
    gap: 128px;
}

.woocommerce .product #gallery_and_summary_wrap>* {
    width: 100%;
}

.woocommerce .product #gallery_and_summary_wrap .summary {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 0;
}

.woocommerce .product #gallery_and_summary_wrap .summary #esto_calculator {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.woocommerce .product #gallery_and_summary_wrap .summary #esto_calculator img {
    max-width: 160px !important;
}

.woocommerce .product #gallery_and_summary_wrap .summary #esto_calculator bdi {
    color: var(--red);
    font-weight: 600;
}

.woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery {
    --gap: 16px;
    max-width: 512px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
    height: unset;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs {
    --border: 3px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: calc(var(--gap) - var(--border));
}

.woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs li {
    width: 100%;
}

.woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs li img {
    border: var(--border) solid transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border-color: var(--red);
}

.woocommerce .product #gallery_and_summary_wrap .summary form.cart,
.woocommerce .product #gallery_and_summary_wrap .summary form.variations_form .single_variation_wrap {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    gap: 24px;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.cart .right_side {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.variations_form>* {
    width: 100%;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.variations_form .single_variation_wrap .single_variation {
    display: block !important;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.variations_form .single_variation_wrap #price_range {
    margin: 0;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.variations_form #single_variation_price_area_wrap .single_variation {
    height: unset !important;
}

#variations_list_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#variations_list_wrap .variations {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}

#variations_list_wrap .variations select {
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: unset;
    padding: 16px 36px 16px 24px;
    margin: 0;
    background-color: var(--white);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    background-image: url("../icons/arrow_down.svg");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) 50%;
    background-size: 12px;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.cart::before,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart::after {
    content: none;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.cart .button,
#product_section .wc-block-components-notice-banner .button {
    padding: 16px !important;
    font-weight: 700;
    background-color: var(--blue);
    border-radius: var(--border-radius);
    color: var(--white) !important;
    opacity: 1;
    text-decoration: none;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.cart .price_wrap .price {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.cart .price_wrap .price ins,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .price_wrap .price ins * {
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.cart .price_wrap .price del,
.woocommerce .product #gallery_and_summary_wrap .summary form.cart .price_wrap .price del * {
    text-decoration: line-through;
    color: var(--secondary-text-color);
    opacity: 1;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.variations_form .variations {
    margin: 0;
}

.woocommerce .product #gallery_and_summary_wrap .summary form.variations_form {
    flex-direction: column;
    gap: 32px;
    padding: 0;
    border: none;
    background-color: transparent;
}

.woocommerce .product #gallery_and_summary_wrap .summary .product_title {
    margin: 0;
}

#product_technical_data {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#product_technical_data * {
    margin: 0;
}

#product_technical_data .grid {
    --padding-y: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0px 128px;
    position: relative;
    margin-bottom: calc(0px - var(--padding-y));
}

#product_technical_data .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--padding-y) 16px;
    border-bottom: 1px solid var(--element-border);
    gap: 24px;
}

#product_technical_data .item:hover {
    background-color: var(--element-bg);
}

#product_technical_data .item * {
    color: var(--secondary-text-color);
}

#product_technical_data .item .name {
    font-weight: 500;
}

#product_technical_data .item .value {
    text-align: right;
}

#product_technical_data .item:last-child {
    border: none;
}

#product_technical_data .grid::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--page-bg);
}

#new_product_description p:first-child,
#new_product_short_description p:first-child {
    margin-top: 0;
}

#new_product_description p:last-child,
#new_product_short_description p:last-child {
    margin-bottom: 0;
}

#product_section {
    display: flex;
    flex-direction: column;
    gap: calc(var(--section-gap) / 2);
    margin-top: calc(0px - calc(var(--section-gap) / 2));
}

body.single-product main>section {
    padding-left: calc(var(--page-padding) * 4);
    padding-right: calc(var(--page-padding) * 4);
}

body.woocommerce-account.logged-in .woocommerce {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

body.woocommerce-account.logged-in .woocommerce::before,
body.woocommerce-account.logged-in .woocommerce::after {
    content: none;
}

#sfwc-user-switcher-pane {
    --input-width: 480px;
    --input-padding: 16px;
    margin: 0;
    background-color: var(--element-bg) !important;
    border: 1px solid var(--element-border);
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
}

#sfwc-user-switcher-pane h3,
#sfwc-user-switcher-pane p {
    margin: 0;
}

#sfwc-user-switcher-pane h3 {
    color: var(--text-color) !important;
}

#sfwc-user-switcher-pane p {
    color: var(--secondary-text-color) !important;
    font-weight: 500;
}

#sfwc-user-switcher-pane>form {
    margin: 0;
    margin-left: auto;
}

#sfwc-user-switcher-pane form select,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: unset !important;
}

#sfwc-user-switcher-pane form select,
#sfwc-user-switcher-pane form select option,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input input,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input .item,
#sfwc-user-switcher-pane .selectize-dropdown [data-selectable].option,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input .item.added_to_cart#sfwc-user-switcher-pane form select::placeholder,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input input::placeholder {
    color: var(--secondary-text-color) !important;
    opacity: 1 !important;
}

#sfwc-user-switcher-pane form select,
#sfwc-user-switcher-pane .selectize-control.single .selectize-input {
    max-width: var(--input-width) !important;
    min-width: var(--input-width) !important;
    padding: var(--input-padding) !important;
    background-color: var(--white) !important;
    border: 1px solid var(--element-border) !important;
    box-shadow: none !important;
}

#sfwc-user-switcher-pane .selectize-control.single .selectize-input::after {
    content: "";
    background-image: url("../icons/arrow_down.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    --size: 12px;
    height: var(--size);
    width: var(--size);
    border: none !important;
    top: 50%;
    transform: translateY(-50%);
}

#myaccount_wrap {
    display: flex;
    gap: 128px;
}

#myaccount_wrap>* {
    width: 100%;
}

#myaccount_wrap .woocommerce-MyAccount-navigation {
    max-width: max-content;
}

#myaccount_wrap .woocommerce-MyAccount-navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#myaccount_wrap .woocommerce-MyAccount-navigation ul a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: start;
    color: var(--text-color);
    gap: 16px;
}

#myaccount_wrap .woocommerce-MyAccount-navigation ul a::after {
    content: "";
    height: 6px;
    aspect-ratio: 1/1;
    border: 2px solid var(--text-color);
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
}

#myaccount_wrap .woocommerce-MyAccount-navigation ul li.is-active a {
    font-weight: 500;
    text-decoration: underline;
}

#myaccount_wrap .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: var(--red);
}

#myaccount_wrap .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::after {
    content: none;
}

#list_and_form {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 48px;
}

#list_and_form>* {
    width: 100%;
}

#list_and_form .form_side {
    max-width: 39%;
}

#list_and_form .list_wrap {
    position: relative;
}

#list_and_form .list_wrap .content_wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: max-content;
}

#list_and_form.contacts_page .list_wrap .content_wrap {
    max-height: max-content !important;
}

#list_and_form .list_wrap .gradient {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0px;
    pointer-events: none;
    transition: var(--transition);
}

#list_and_form .list_wrap .gradient.active {
    height: 128px;
}

#list_and_form .list_wrap .gradient.top {
    top: 0;
    background: linear-gradient(0deg, transparent 0%, var(--white) 100%);
}

#list_and_form .list_wrap .gradient.bottom {
    bottom: 0;
    background: linear-gradient(0deg, var(--white) 0%, transparent 100%);
}

#list_and_form .list_wrap::-webkit-scrollbar {
    display: none;
}

#list_and_form .item {
    display: flex;
    gap: 48px;
    align-items: start;
    justify-content: start;
    width: 100%;
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    padding: 48px;
}

#list_and_form .item img {
    --size: 192px;
    width: var(--size);
    height: var(--size);
    min-width: var(--size);
    min-height: var(--size);
    object-fit: cover;
}

#list_and_form .item .info_wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
}

#list_and_form .item .info_wrap .title_wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 32px;
}

#list_and_form .item .info_wrap .title_wrap * {
    color: var(--blue);
}

#list_and_form.contacts_page .item .info_wrap .title_wrap img {
    width: unset;
    max-width: 100%;
    height: 24px;
    min-width: unset;
    min-height: unset;
    object-fit: contain;
}

#list_and_form .item .service_title {
    margin: 0;
}

#list_and_form .item .description {
    color: var(--secondary-text-color);
}

#list_and_form.contacts_page .item .description {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}

#list_and_form.contacts_page .item .description p {
    margin: 0;
}

#list_and_form.contacts_page .item .description>* {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--secondary-text-color);
    text-decoration: none;
}

#list_and_form.contacts_page .item .description a:hover {
    text-decoration: underline;
    color: var(--blue);
}

#list_and_form.contacts_page .item .description svg {
    --size: 24px;
    width: var(--size);
    height: var(--size);
    min-width: var(--size);
    min-height: var(--size);
}

#list_and_form.contacts_page .item .description svg * {
    fill: var(--text-color);
}

#list_and_form .item .description p:first-child {
    margin-top: 0;
}

#list_and_form .item .description p:last-child {
    margin-bottom: 0;
}

#list_and_form .item .buttons_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}

#list_and_form .item .buttons_wrap .button {
    background-color: var(--blue);
}

#cards_grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#cards_grid .title {
    margin: 0;
}

#cards_grid .grid_wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

#cards_grid .grid_wrap .item {
    background-color: var(--blue);
    color: var(--white);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#cards_grid .grid_wrap .item.red_bg {
    background-color: var(--red);
}

#cards_grid .grid_wrap .item.red_bg ::selection {
    background-color: var(--blue);
}

#cards_grid .grid_wrap .item .sm_title {
    margin: 0;
}

#cards_grid .grid_wrap .item .description p:first-child {
    margin-top: 0;
}

#cards_grid .grid_wrap .item .description p:last-child {
    margin-bottom: 0;
}

#dashboard_content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#dashboard_last_orders,
#dashboard_addresses {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#dashboard_last_orders .top_bar,
#dashboard_addresses .top_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
}

#dashboard_last_orders .top_bar *,
#dashboard_addresses .top_bar * {
    margin: 0;
}

#dashboard_last_orders .top_bar .all_orders_btn {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#dashboard_last_orders .top_bar .all_orders_btn::after {
    content: "";
    border: 4px solid var(--text-color);
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
    height: 6px;
    aspect-ratio: 1/1;
}

#dashboard_last_orders .last_orders {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#dashboard_last_orders .order_wrap {
    background-color: var(--page-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    padding: 24px;
    justify-content: space-between;
}

#dashboard_last_orders .order_wrap,
#dashboard_last_orders .order_wrap .info_wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#dashboard_last_orders .order_wrap * {
    margin: 0;
}

#dashboard_last_orders .order_wrap .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#dashboard_last_orders .order_wrap .order_status {
    background-color: var(--blue);
    color: var(--white);
    padding: 4px 8px;
    border-radius: var(--border-radius);
}

#dashboard_last_orders .order_wrap .order_number,
#dashboard_last_orders .order_wrap .order_status,
#dashboard_last_orders .order_wrap .button {
    text-transform: uppercase;
}

#dashboard_last_orders .order_wrap .order_number {
    font-weight: 600;
}

#dashboard_last_orders .order_wrap .buttons_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

#dashboard_last_orders .order_wrap .button {
    border: 2px solid var(--blue);
    background-color: transparent;
    color: var(--blue);
}

#dashboard_last_orders .order_wrap .button.view {
    background-color: var(--blue);
    color: var(--white);
}

#dashboard_last_orders .order_wrap .order_items {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

#dashboard_last_orders .order_wrap .order_items .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#dashboard_last_orders .order_wrap .order_items .item * {
    color: var(--secondary-text-color);
}

#dashboard_last_orders .order_wrap .order_items .item .item_name {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#dashboard_last_orders .no_orders {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 64px;
    background-color: var(--element-bg);
    border-radius: var(--border-radius);
    color: var(--secondary-text-color);
}

#dashboard_last_orders>.wc-block-components-notice-banner.is-info {
    display: none;
}

#user_greetings {
    margin: 0;
    margin-bottom: 32px;
}

#user_greetings .user_name {
    color: var(--red);
}

#dashboard_addresses .addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

#dashboard_addresses .addresses .address_title {
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

#dashboard_addresses .addresses .address,
.woocommerce-MyAccount-content .woocommerce-customer-details address {
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.woocommerce-MyAccount-content .woocommerce-customer-details address p {
    margin: 0;
}

#dashboard_addresses .addresses .address .button {
    background-color: var(--blue);
    color: var(--white);
}

.my_account_subpage_title {
    margin: 0;
    margin-bottom: 32px;
}

.woocommerce table.shop_table {
    border: none;
    border-radius: 0px;
    margin: 0;
}

.woocommerce table.shop_table thead tr th span {
    font-weight: 600;
}

.woocommerce table.my_account_orders thead tr,
.woocommerce table.my_account_orders tbody tr {
    display: flex;
}

.woocommerce table.shop_table thead tr th,
.woocommerce table.shop_table tbody tr td {
    padding: 16px 8px;
}

.woocommerce table.my_account_orders thead tr th,
.woocommerce table.my_account_orders tbody tr td {
    width: 100%;
}

.woocommerce table.shop_table tbody tr td {
    border-top: 1px solid var(--element-border);
}

.woocommerce table.shop_table tbody tr td,
.woocommerce table.shop_table tbody tr td * {
    color: var(--secondary-text-color);
}

.woocommerce table.shop_table tbody tr td a {
    text-decoration: none;
}

.woocommerce table.shop_table tbody tr td a:hover {
    color: var(--blue);
    cursor: pointer;
}

.woocommerce table.shop_table tbody tr td a.woocommerce-remove-coupon {
    background-color: var(--red);
    cursor: pointer;
}

.woocommerce table.shop_table tbody tr td a.woocommerce-remove-coupon::after {
    color: var(--white);
    font-weight: 600;
    pointer-events: none;
}

.woocommerce table.shop_table tbody tr td .button {
    background-color: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
    height: max-content;
}

.woocommerce table.shop_table tbody tr td .button.view {
    background-color: var(--blue);
    color: var(--white);
}

.woocommerce table.my_account_orders tbody tr td.woocommerce-orders-table__cell-order-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.woocommerce table.shop_table tr th:last-child,
.woocommerce table.shop_table tr td:last-child {
    text-align: right;
}

.woocommerce table.my_account_orders thead tr th.woocommerce-orders-table__header-order-actions,
.woocommerce table.my_account_orders tbody tr td.woocommerce-orders-table__cell-order-actions {
    text-align: right;
    justify-content: end;
}

#address_edit_form .fields_wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 8px;
}

#sidebar_cats_list_wrap {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#sidebar_cats_list_wrap .cats_list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#sidebar_cats_list_wrap .cats_list>.has_sub_cats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#sidebar_cats_list_wrap .cats_list>.has_sub_cats>.cats_list {
    display: none;
    gap: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--element-border);
}

#sidebar_cats_list_wrap .cats_list>.has_sub_cats.open>.cats_list {
    display: flex;
}

#sidebar_cats_list_wrap a {
    text-decoration: none;
    color: var(--text-color);
}

#sidebar_cats_list_wrap .item.top_level>.name_wrap>a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-weight: 500;
}

#sidebar_cats_list_wrap .item .name_wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

#sidebar_cats_list_wrap .item.active>.name_wrap>a {
    font-weight: 600;
}

#sidebar_cats_list_wrap .item.active>.name_wrap>a svg {
    --size: 24px;
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
}

#sidebar_cats_list_wrap .cats_list>.has_sub_cats>.name_wrap>.toggle_list {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100vw;
    border: none;
    margin: 0;
    padding: 6px;
    cursor: pointer;
    background-color: transparent;
}

#sidebar_cats_list_wrap .cats_list>.has_sub_cats>.name_wrap>.toggle_list::after {
    --size: 6px;
    content: "";
    height: var(--size);
    width: var(--size);
    min-height: var(--size);
    min-width: var(--size);
    border: 3px solid var(--text-color);
    border-left: none;
    border-bottom: none;
    rotate: 45deg;
}

#sidebar_cats_list_wrap .cats_list>.has_sub_cats.open>.name_wrap>.toggle_list::after {
    border-bottom: 3px solid var(--text-color);
    border-top: none;
}

#employees_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
}

#employees_grid * {
    padding: 0;
    margin: 0;
}

#employees_grid .job {
    color: var(--secondary-text-color);
}

#employees_grid .name {
    color: var(--blue);
}

#employees_grid a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--secondary-text-color);
}

#employees_grid a:hover {
    text-decoration: underline;
}

#employees_grid a svg {
    --size: 24px;
    width: var(--size);
    height: var(--size);
    min-width: var(--size);
    min-height: var(--size);
}

#employees_grid a svg * {
    fill: var(--blue);
}

#employees_grid .employee {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#page_content,
#post_content {
    width: 100%;
    max-width: calc(800px + calc(var(--page-padding) * 2));
    margin: 0 auto;
}

#post_content .post_content> :first-child,
#page_content> :first-child {
    margin-top: 0;
}

#post_content .post_content> :last-child,
#page_content> :last-child {
    margin-bottom: 0;
}

#post_content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

#post_content .post_header {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#post_content .post_header * {
    margin: 0;
}

#post_content .post_header img {
    width: 100%;
    height: unset;
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: var(--border-radius);
}

#post_content .post_header .title_wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#post_content .post_header .title_wrap .post_meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

#post_content .post_header .title_wrap .post_meta * {
    color: var(--secondary-text-color);
}

#blog_archive_section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#blog_archive_section .page_title {
    margin: 0;
}

#blog_archive_section .posts_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 64px;
}

#blog_archive_section .post_wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-color);
    text-decoration: none;
}

#blog_archive_section .post_wrap:hover {
    text-decoration: underline;
}

#blog_archive_section .post_wrap * {
    margin: 0;
}

#blog_archive_section .post_wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

#blog_archive_section .post_wrap .excerpt {
    color: var(--secondary-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#logged_out_info_wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#logged_out_info_wrap * {
    margin: 0;
}

#logged_out_info_wrap .cards_wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

#logged_out_info_wrap .cards_wrap .card {
    background-color: var(--blue);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#logged_out_info_wrap .cards_wrap .card * {
    color: var(--white);
}

#customer_login .title {
    text-align: center;
}

#customer_login *,
#lost_password_wrap * {
    margin: 0;
}

#customer_login,
#lost_password_wrap {
    padding-top: 150px;
    padding-bottom: 256px;
}

#customer_login #login_wrap,
#customer_login #register_wrap,
#lost_password_wrap {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

#customer_login #login_wrap.active,
#customer_login #register_wrap.active,
#lost_password_wrap {
    display: flex;
}

#customer_login #login_wrap form,
#customer_login #register_wrap form,
#lost_password_wrap form {
    width: 100%;
    max-width: 512px;
}

#customer_login #login_wrap .fields_wrap,
#customer_login #register_wrap .fields_wrap,
#lost_password_wrap form {
    background-color: var(--element-bg);
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    padding: 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#customer_login #login_wrap .fields_wrap .form-row,
#customer_login #register_wrap .fields_wrap .form-row,
#lost_password_wrap .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    width: 100%;
}

#customer_login #login_wrap .woocommerce-form-login,
#customer_login #register_wrap .woocommerce-form-register {
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

#customer_login #login_wrap .fields_wrap .buttons_wrap,
#customer_login #register_wrap .fields_wrap .buttons_wrap,
#lost_password_wrap .buttons_wrap {
    flex-direction: row;
    align-items: center;
    justify-content: end;
    gap: 32px;
    width: 100%;
}

#customer_login #login_wrap .fields_wrap .buttons_wrap::before,
#customer_login #login_wrap .fields_wrap .buttons_wrap::after,
#customer_login #register_wrap .fields_wrap .buttons_wrap::before,
#customer_login #register_wrap .fields_wrap .buttons_wrap::after,
#lost_password_wrap .buttons_wrap::before,
#lost_password_wrap .buttons_wrap::after {
    content: none;
}

#customer_login #login_wrap .fields_wrap .buttons_wrap .button,
#customer_login #register_wrap .fields_wrap .buttons_wrap .button,
#lost_password_wrap .buttons_wrap .button {
    background-color: var(--blue);
    color: var(--white);
}

#customer_login #login_wrap .lost_password a,
#customer_login #login_wrap .fields_wrap .buttons_wrap .form_switch,
#customer_login #register_wrap .fields_wrap .buttons_wrap .form_switch,
#lost_password_wrap .back_btn {
    cursor: pointer;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
}

#customer_login #login_wrap .lost_password a,
#lost_password_wrap .back_btn {
    text-decoration: none;
    font-weight: 400;
    color: var(--secondary-text-color);
}

#mobile_shop_sidebar {
    display: none !important;
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post:hover {
    background-color: var(--element-bg);
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections {
    display: flex;
    align-items: center;
    gap: 0px;
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .left-section {
    float: unset;
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .left-section,
.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .left-section .thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: unset;
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .left-section .thumbnail a img {
    --size: 64px;
    width: var(--size);
    height: var(--size);
    min-width: var(--size);
    min-height: var(--size);
    margin-right: 12px;
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .right-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-ajax-term-label {
    font-style: normal;
    text-transform: none;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-title a,
.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-title a * {
    font-size: 16px;
    text-transform: uppercase;
    color: var(--text-color);
    font-weight: 600;
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .right-section .is-title a,
.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .right-section .is-title a * {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-color);
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .right-section .meta,
.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .right-section .meta * {
    margin: 0;
    font-size: 16px;
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .right-section .meta .is-prices * {
    color: var(--red);
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .right-section .meta .is-prices del * {
    color: var(--secondary-text-color);
}

.is-ajax-search-result .simplebar-wrapper .simplebar-mask .simplebar-offset .simplebar-content-wrapper .simplebar-content .is-ajax-search-post .is-search-sections .right-section .is-search-content {
    display: none;
}

.is-ajax-search-result .is-show-more-results .is-show-more-results-text {
    padding: 12px;
    background-color: var(--element-bg);
}

.is-ajax-search-result .is-show-more-results .is-show-more-results-text:hover {
    background-color: var(--blue);
}

.is-ajax-search-result .is-show-more-results .is-show-more-results-text,
.is-ajax-search-result .is-show-more-results .is-show-more-results-text * {
    font-size: 16px;
}

.is-ajax-search-result .is-show-more-results .is-show-more-results-text:hover,
.is-ajax-search-result .is-show-more-results .is-show-more-results-text:hover * {
    color: var(--white);
}



@media (min-width: 1920px) {
    #mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats {
        width: calc(1920px - calc(var(--page-padding) * 2) - 100% - 8px);
    }
}

@media (max-width: 1800px) {
    .woocommerce ul.products {
        gap: 32px 24px;
    }
}

@media (max-width: 1700px) {
    #front_page_banner #top {
        --grid-columns: 4;
    }

    #blog_archive_section .posts_grid {
        gap: 32px;
    }

    #list_and_form,
    #list_and_form .list_wrap,
    #list_and_form .item {
        gap: 24px;
    }

    #front_page_detailed_categories .category_wrap {
        padding: 32px;
    }

    #front_page_detailed_categories .category_wrap .sub_categories_wrap {
        max-width: 256px;
    }

    #front_page_detailed_categories .category_wrap .sub_category_title {
        font-size: 1em;
        gap: 8px;
    }

    #product_loop_header .sort_and_results_wrap {
        gap: 12px 24px;
    }
}

@media (max-width: 1600px) {

    #footer .top,
    #footer .bottom {
        gap: 80px;
    }

    #list_and_form .item,
    #form_wrap,
    #front_page_services .service {
        padding: 24px;
    }

    #cards_grid .grid_wrap,
    #front_page_services {
        gap: 24px;
    }

    #front_page_services .service {
        padding-right: 32px;
    }

    #front_page_services .service::after {
        right: 16px;
    }

    #front_page_banner,
    #front_page_banner #top,
    #front_page_banner #bottom {
        gap: 24px;
    }

    #front_page_banner #bottom {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #front_page_detailed_categories .category_wrap {
        gap: 32px;
    }

    body.single-product main>section {
        padding-left: calc(var(--page-padding) * 3);
        padding-right: calc(var(--page-padding) * 3);
    }

    #product_technical_data .grid {
        gap: 0 64px;
    }

    .archive.woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .container {
        column-count: 3;
    }

    #product_loop_header {
        gap: 24px;
        height: max-content;
    }

    #product_loop_header .title_wrap,
    #product_loop_header .title_wrap *,
    #product_loop_header .sort_and_results_wrap {
        width: max-content;
        max-width: 100%;
    }

    #product_loop_header .sort_and_results_wrap {
        display: grid;
        grid-template-columns: repeat(2, auto);
    }

    #product_loop_header .sort_and_results_wrap .woocommerce-ordering {
        grid-column: span 2;
        justify-content: end;
    }
}

@media (max-width: 1500px) {
    #blog_archive_section .posts_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.single-product main>section {
        padding-left: calc(var(--page-padding) * 2);
        padding-right: calc(var(--page-padding) * 2);
    }

    #myaccount_wrap {
        gap: 64px;
    }

    #front_page_detailed_categories .category_wrap {
        flex-direction: column;
        gap: 24px;
    }

    #front_page_detailed_categories .category_wrap .sub_categories_wrap {
        max-width: 100%;
    }

    #front_page_detailed_categories .category_wrap .sub_categories_wrap ul {
        display: none;
    }
}

@media (max-width: 1400px) {
    :root {
        --page-padding: 32px;
    }

    .title,
    .title *,
    .woocommerce .product #gallery_and_summary_wrap .summary .product_title {
        font-size: 40px;
        line-height: 48px;
    }

    #front_page_banner #top {
        gap: 16px;
    }

    #footer .top {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    #footer .top ul {
        max-width: unset;
    }

    #footer .item_title {
        flex-direction: row;
    }

    #cards_grid .grid_wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #front_page_services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.single-product main>section {
        padding-left: var(--page-padding);
        padding-right: var(--page-padding);
    }

    #logged_out_info_wrap .cards_wrap {
        gap: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #logged_out_info_wrap .cards_wrap .card {
        padding: 32px;
    }

    #cart_items_wrap {
        gap: 32px;
    }

    /* #product_loop_header .sort_and_results_wrap {
    gap: 32px;
  } */
}

@media (max-width: 1300px) {

    main {
        margin-top: 0;
    }

    #front_page_banner #top {
        display: flex;
        flex-direction: column-reverse;
    }

    #front_page_banner #top #banner {
        height: 448px;
    }

    #list_and_form .item {
        flex-direction: column;
    }

    #list_and_form .item img {
        width: calc(var(--size) * 2);
        min-width: unset;
        max-width: 100%;
    }

    #list_and_form .form_side {
        max-width: unset;
    }

    #cart_items_wrap {
        flex-direction: column;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr {
        padding: 24px;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody {
        max-height: 512px;
    }

    #cart_items_wrap .cart_totals {
        margin-left: auto;
    }

    #front_page_banner #mega_menu #category_list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        padding: 24px;
    }

    #front_page_banner #mega_menu #category_list li.divider {
        display: none;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats .top_cat_link {
        pointer-events: none;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats {
        top: 100% !important;
        width: calc(100vw - calc(var(--page-padding) * 2) - 16px);
        max-height: max-content;
    }

    #scroll_header #mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats {
        width: calc(100vw - calc(var(--page-padding) * 4));
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats:hover .sub_cats,
    #mega_menu #category_list li.top_level_item.has_sub_cats.hover .sub_cats {
        visibility: hidden;
        pointer-events: none;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats ::selection {
        background-color: transparent;
        color: var(--text-color);
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats.active {
        background-color: var(--white);
        border-color: var(--element-border);
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats.active .sub_cats {
        visibility: visible;
        pointer-events: all;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats.active::after {
        content: '';
        position: absolute;
        top: calc(100% - 2px);
        left: 0;
        height: 4px;
        width: 100%;
        background-color: var(--white);
        z-index: 999;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats.active .top_cat_link {
        padding-left: calc(15px + 24px + 10px);
        /* padding + svg size + gap */
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats.active .top_cat_link svg {
        display: none;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats:hover .top_cat_link::after,
    #mega_menu #category_list li.top_level_item.has_sub_cats.hover .top_cat_link::after {
        content: none;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats.active .top_cat_link::after,
    #mega_menu #category_list li.top_level_item.has_sub_cats.active .top_cat_link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 18px;
        transform: translateY(-50%);
        width: 18px;
        height: 3px;
        border-radius: 1px;
        background-color: var(--red);
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats.active .top_cat_link::after {
        transform: translateY(-50%) rotate(45deg);
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats.active .top_cat_link::before {
        transform: translateY(-50%) rotate(-45deg);
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats.hover {
        background-color: transparent;
        border-color: transparent;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats {
        border-radius: var(--border-radius);
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats:hover {
        background-color: var(--white);
        border-color: var(--element-border);
    }

    #woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #all_cats_button {
        border-radius: var(--border-radius);
    }

    #woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #mega_menu.woo_archive_mobile {
        background-color: var(--element-bg);
        padding: 32px;
        border: 1px solid var(--element-border);
        border-radius: var(--border-radius);
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    #woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap #mega_menu.woo_archive_mobile .sale_category {
        display: flex;
        align-items: center;
        gap: 8px;
        width: max-content;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 500;
        color: var(--text-color);
    }

    #woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap #mega_menu.woo_archive_mobile .sale_category svg {
        --size: 24px;
        height: var(--size);
        width: var(--size);
        min-height: var(--size);
        min-width: var(--size);
    }

    #sidebar_cats_list_wrap .cats_list .has_sub_cats .toggle_list {
        padding: 12px;
    }

    #woocommerce_section .woo_content .left_side {
        display: none;
    }

    .archive.woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #product_loop_header {
        margin-bottom: 24px;
    }

    #mobile_shop_sidebar {
        display: flex !important;
    }

    #woocommerce_section .woo_content #mobile_shop_sidebar {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }

    #woocommerce_section .woo_content #mobile_shop_sidebar #nav_btns_wrap {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    #woocommerce_section .woo_content #mobile_shop_sidebar .sidebar_wrap {
        display: none;
        margin-top: 24px;
    }

    #woocommerce_section .woo_content #mobile_shop_sidebar .sidebar_wrap.active {
        display: flex;
    }

    #product_loop_header_wrap {
        display: flex;
        flex-direction: column-reverse;
    }

    #product_loop_header .sort_and_results_wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: end;
    }
}

@media (max-width: 1200px) {
    #blog_archive_section .posts_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #footer .bottom {
        flex-direction: column;
        align-items: center;
    }

    #footer .bottom #footer_nav_menu {
        width: 100%;
    }

    #footer ul li.social_media {
        justify-content: center;
    }

    #front_page_banner #bottom,
    #front_page_banner #bottom.items-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .woocommerce .product #gallery_and_summary_wrap {
        gap: 32px;
    }

    .woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    #dashboard_last_orders .last_orders {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive.woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #breadcrumbs_section .woocommerce-breadcrumb,
    #breadcrumbs_section .woocommerce-breadcrumb * {
        font-size: 16px;
        line-height: 24px;
    }

    #breadcrumbs_section .woocommerce-breadcrumb {
        padding: 12px;
    }

    #front_page_detailed_categories .category_wrap .products_wrap {
        overflow-x: scroll;
    }

    #front_page_detailed_categories .category_wrap .products_wrap .woocommerce .products {
        padding-bottom: 24px;
        display: flex;
        width: max-content;
    }

    #front_page_detailed_categories .category_wrap .products_wrap .woocommerce .product {
        width: 25vw !important;
    }

    .single-product .upsells.products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #front_page_banner #top #banner #banner_slider {
        --padding: 32px;
    }
}

@media (max-width: 1100px) {
    #front_page_banner #mega_menu #category_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #product_loop_header {
        flex-direction: column;
        align-items: start;
        height: max-content;
        gap: 8px;
        position: relative;
        padding: 24px;
    }

    #product_loop_header>* {
        width: 100%;
        padding-right: 300px;
    }

    #product_loop_header .sort_and_results_wrap .woocommerce-ordering {
        width: 280px;
        position: absolute;
        top: 50%;
        right: 24px;
        transform: translateY(-50%);
    }

    #front_page_banner #top #banner {
        height: 400px;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .container {
        column-count: 2;
    }
}

@media (max-width: 1000px) {
    #list_and_form {
        flex-direction: column-reverse;
    }

    #list_and_form .form_side {
        max-width: 100%;
    }

    #list_and_form .list_wrap .content_wrap {
        max-height: max-content !important;
        overflow-y: unset;
    }

    #list_and_form .list_wrap .gradient {
        display: none;
    }

    #product_technical_data .grid {
        gap: 0 32px;
    }

    #gallery_and_summary_wrap {
        flex-direction: column;
    }

    .woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery {
        max-width: 100%;
        gap: 24px;
    }

    .woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img {
        height: 320px;
    }

    #front_page_detailed_categories .category_wrap .products_wrap .woocommerce .product {
        width: 32vw !important;
    }

    header {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    header>.wrap>.is-search-form {
        display: none;
    }

    header #mobile_search_wrap {
        display: block;
    }

    header #mobile_search_wrap .is-search-form {
        width: 100% !important;
    }
}

@media (max-width: 900px) {
    #footer #footer_nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #myaccount_wrap {
        flex-direction: column;
        gap: 24px;
    }

    #myaccount_wrap .woocommerce-MyAccount-navigation {
        max-width: 100%;
    }

    #myaccount_wrap .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    #myaccount_wrap .woocommerce-MyAccount-navigation ul a {
        padding: 8px 12px;
        background-color: var(--element-bg);
        border: 1px solid var(--element-border);
        border-radius: var(--border-radius);
    }

    #myaccount_wrap .woocommerce-MyAccount-navigation ul a:hover,
    #myaccount_wrap .woocommerce-MyAccount-navigation ul li.is-active a {
        background-color: var(--blue);
        color: var(--white);
        text-decoration: none;
    }

    #myaccount_wrap .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
        background-color: var(--page-bg);
    }

    #myaccount_wrap .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
        background-color: var(--red);
        color: var(--white);
    }

    #myaccount_wrap .woocommerce-MyAccount-navigation ul a::after {
        content: none;
    }

    #myaccount_wrap table.my_account_orders .woocommerce-orders-table__header-order-placed-by,
    #myaccount_wrap table.my_account_orders .woocommerce-orders-table__cell-order-placed-by {
        display: none;
    }

    #myaccount_wrap table.my_account_orders.shop_table_responsive thead {
        display: block;
    }

    #myaccount_wrap table.my_account_orders.shop_table_responsive tr td {
        border-top: 1px solid var(--element-border);
        text-align: left !important;
    }

    #myaccount_wrap table.my_account_orders.shop_table_responsive tr td::before {
        content: none;
    }

    .my_account_subpage_title {
        margin-bottom: 16px;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody {
        max-height: max-content;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr {
        flex-direction: column;
        gap: 8px;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side,
    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .right_side,
    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_and_price_wrap {
        width: 100%;
    }

    .archive.woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-product .upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {

    #footer .top,
    #footer .bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    #footer ul {
        gap: 16px;
    }

    #footer .top ul li {
        justify-content: center;
        text-align: center;
    }

    #dashboard_last_orders .last_orders,
    #dashboard_addresses .addresses {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #cart_items_wrap .cart_totals {
        max-width: 100%;
    }

    #product_loop_header>* {
        padding-right: 0;
    }

    #product_loop_header .sort_and_results_wrap {
        justify-content: center;
        gap: 12px 24px;
    }

    #product_loop_header .sort_and_results_wrap .woocommerce-ordering {
        position: unset;
        top: unset;
        right: unset;
        transform: unset;
    }

    #product_loop_header .title_wrap,
    #product_loop_header .title_wrap *,
    #product_loop_header .sort_and_results_wrap,
    #product_loop_header .sort_and_results_wrap .woocommerce-ordering {
        width: 100%;
    }

    #product_loop_header .sort_and_results_wrap {
        justify-content: space-between;
    }
}

@media (max-width: 800px) {
    #front_page_detailed_categories .category_wrap .products_wrap .woocommerce .product {
        width: 36vw !important;
    }
}

@media (max-width: 768px) {
    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side::before {
        content: none;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_wrap {
        text-align: left;
    }

    #cart_items_wrap .cart_totals tbody tr>*,
    .woocommerce .woocommerce-cart-form table.shop_table tbody tr>* {
        background-color: transparent;
    }

    #cart_items_wrap .cart_totals tbody th {
        display: block;
    }

    #cart_items_wrap .cart_totals tbody td::before {
        content: none;
    }

    .woocommerce ul.products li.product {
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    :root {
        --page-padding: 24px;
    }

    .title,
    .title *,
    .woocommerce .product #gallery_and_summary_wrap .summary .product_title {
        font-size: 32px;
        line-height: 40px;
    }

    #blog_archive_section .posts_grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #subscribe_form {
        padding: 32px;
    }

    #cards_grid .grid_wrap .item {
        padding: 24px;
    }

    #employees_grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    #list_and_form .item .buttons_wrap {
        gap: 24px;
    }

    #front_page_services,
    #front_page_banner #bottom,
    #front_page_banner #bottom.items-2,
    #front_page_banner #bottom.items-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #product_technical_data .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #product_technical_data .item {
        padding: 16px;
    }

    .woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .woocommerce .product #gallery_and_summary_wrap .summary form.cart,
    .woocommerce .product #gallery_and_summary_wrap .summary form.variations_form .single_variation_wrap {
        flex-direction: column;
    }

    .woocommerce .product #gallery_and_summary_wrap .summary form.cart>*,
    .woocommerce .product #gallery_and_summary_wrap .summary form.variations_form .single_variation_wrap>* {
        width: 100%;
    }

    .woocommerce .product #gallery_and_summary_wrap .summary form.cart .right_side {
        justify-content: end;
    }

    .woocommerce .product #gallery_and_summary_wrap .summary form.cart .right_side>* {
        width: 100%;
    }

    .woocommerce .product #gallery_and_summary_wrap .summary form.cart .price_wrap {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: start;
        gap: 8px;
    }

    header {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    #scroll_header {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    #scroll_header #sub_cats_warp,
    header:not(#scroll_header) form.is-search-form {
        display: none;
    }

    header:not(#scroll_header) #mobile_search_wrap {
        display: flex;
    }

    header #mobile_search_wrap form.is-search-form {
        display: flex;
        width: 100% !important;
    }

    header #navigation #price_tax_switch {
        display: none;
    }

    header #mobile_search_wrap {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    header #mobile_search_wrap #price_tax_switch {
        display: flex;
    }

    body div.is-ajax-search-result {
        width: calc(100% - calc(var(--page-padding) * 2)) !important;
        left: var(--page-padding) !important;
    }

    #customer_login,
    #lost_password_wrap {
        padding-top: 0;
        padding-bottom: var(--section-gap);
    }

    header .wrap {
        position: relative;
    }

    #mini_cart_wrap {
        width: calc(100vw - var(--page-padding));
        max-width: unset;
        right: calc(0px - calc(var(--page-padding) / 2));
        top: calc(100% + 16px);
    }

    #front_page_banner #mega_menu #category_list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        padding: 8px;
        gap: 12px;
    }

    /* 
  #product_loop_header > * {
    padding-right: 0;
  }

  #product_loop_header .sort_and_results_wrap {
    gap: 32px;
  }

  #product_loop_header .sort_and_results_wrap .woocommerce-ordering {
    position: relative;
    top: unset;
    right: unset;
    transform: none;
  } */

    #front_page_banner #top #banner {
        height: 360px;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats {
        padding: 24px;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .sub_cat_list {
        margin-right: 24px;
    }
}

@media (max-width: 720px) {
    #front_page_detailed_categories .category_wrap .products_wrap .woocommerce .product {
        width: 50vw !important;
    }
}

@media (max-width: 650px) {
    #employees_grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #employees_grid .employee,
    #employees_grid a {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    :root {
        --page-padding: 12px;
    }

    #cards_grid .grid_wrap,
    #logged_out_info_wrap .cards_wrap {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #form_wrap .send_wrap {
        flex-direction: column-reverse;
    }

    #list_and_form .item .info_wrap .title_wrap {
        flex-direction: column;
        align-items: start;
    }

    #myaccount_wrap table.my_account_orders .woocommerce-orders-table__header-order-total,
    #myaccount_wrap table.my_account_orders .woocommerce-orders-table__cell-order-total {
        display: none;
    }

    #customer_details .woocommerce-billing-fields .form-row,
    #customer_details .woocommerce-shipping-fields .form-row,
    #address_edit_form .fields_wrap .form-row {
        grid-column: span 2;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr {
        position: relative;
        padding: 12px;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .img_wrap {
        display: none;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .name_and_price_wrap .price_wrap {
        flex-direction: column;
        align-items: start;
        gap: 0;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .discount {
        position: absolute;
        bottom: calc(12px + 14px);
        left: 12px;
        margin-left: unset;
        margin-right: var(--arrow-width);
        padding: 4px 8px;
        padding-right: 0;
        border-radius: var(--border-radius) 0 0 var(--border-radius);
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .discount svg {
        right: unset;
        left: calc(100% - 1px);
        transform: rotate(180deg);
    }

    #customer_details>*,
    #address_edit_form {
        padding: 16px;
    }

    #order_review table.shop_table tfoot tr.shipping td ul {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #order_review table.shop_table tfoot tr.shipping td ul li>label {
        flex-direction: row;
        flex-wrap: wrap;
    }

    /* 
  #product_loop_header .sort_and_results_wrap {
    flex-direction: column;
    gap: 12px;
  }

  #product_loop_header .sort_and_results_wrap > * {
    width: 100%;
  }

  #product_loop_header .sort_and_results_wrap .woocommerce-ordering,
  #product_loop_header .sort_and_results_wrap .woocommerce-ordering select {
    width: 100%;
  }

  #product_loop_header .sort_and_results_wrap .woocommerce-ordering select {
    border: 1px solid var(--element-border);
    border-radius: var(--border-radius);
    background-color: var(--white);
    padding: 12px;
  } */

    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .added_to_cart {
        font-size: 16px;
        line-height: 24px;
    }

    .woocommerce ul.products {
        gap: 24px 12px;
    }

    .woocommerce ul.products li.product .price,
    .woocommerce ul.products li.product .price * {
        font-size: 20px !important;
        line-height: 24px !important;
    }

    #woocommerce_section .woo_content #mobile_shop_sidebar #nav_btns_wrap {
        gap: 12px;
    }

    #woocommerce_section .woo_content .left_side #archive_page_all_cats_wrap.active #mega_menu.woo_archive_mobile,
    #woocommerce_section .woo_content #mobile_shop_sidebar .sidebar_wrap.active {
        margin-top: 12px;
    }

    #woocommerce_section .woo_content #mobile_shop_sidebar {
        margin-bottom: 12px;
    }

    #woocommerce_section .woo_content .left_side #all_cats_button,
    #woocommerce_section .woo_content .left_side #mobile_filters_button {
        height: max-content;
        font-size: 16px;
        line-height: 24px;
    }

    #woocommerce_section .woo_content .left_side #all_cats_button .icon,
    #woocommerce_section .woo_content .left_side #mobile_filters_button .icon {
        --size: 18px;
        gap: 2px;
    }

    #woocommerce_section .woo_content .left_side #all_cats_button .icon .bar,
    #woocommerce_section .woo_content .left_side #mobile_filters_button .icon .stripe {
        height: 2px;
    }

    #woocommerce_section .woo_content .left_side #mobile_filters_button .icon .row {
        gap: 2px;
    }

    #woocommerce_section .woo_content .left_side #mobile_filters_button .icon .circle {
        --size: 7px;
        border-width: 2px;
    }

    #product_loop_header,
    #woocommerce_section .woo_content .left_side #all_cats_button,
    #woocommerce_section .woo_content .left_side #mobile_filters_button {
        padding: 16px;
    }

    header {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    #front_page_banner #top #banner {
        height: 320px;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    #mega_menu #category_list li.top_level_item.has_sub_cats .sub_cats .sub_cat_list {
        margin: 0;
    }

    #front_page_banner #top #banner #banner_slider {
        --padding: 24px;
    }

    #front_page_banner #top #banner #banner_slider .slide .content .text_content .button_wrap .button {
        font-size: 16px;
        line-height: 20px;
        padding: 8px 16px;
    }

    #front_page_banner #top #banner #banner_slider .splide__pagination {
        bottom: calc(var(--padding) / 4);
    }
}

@media (max-width: 550px) {
    .woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    #header #site_logo {
        display: none;
    }

    #header #site_logo.mobile {
        display: flex;
        width: 48px;
        min-width: 48px;
    }
}

@media (max-width: 500px) {
    #form_wrap .double {
        flex-direction: column;
    }

    #product_technical_data .item {
        padding: 16px 4px;
    }

    .woocommerce .product #gallery_and_summary_wrap .summary form.cart,
    .woocommerce .product #gallery_and_summary_wrap .summary form.variations_form .single_variation_wrap {
        padding: 16px;
    }

    /* header:not(#scroll_header) .wrap {
    flex-direction: column;
  } */

    #scroll_header form.is-search-form {
        display: none;
    }

    #scroll_header #mobile_search_wrap {
        display: block;
    }

    header #mobile_search_wrap {
        flex-direction: column;
    }

    header#scroll_header #price_tax_switch {
        display: none;
    }

    header #price_tax_switch {
        max-width: 100%;
    }

    header #price_tax_switch .side {
        width: 100%;
    }

    #mini_cart_wrap .mini_cart_item .info_side>a {
        display: none;
    }

    #myaccount_wrap .woocommerce-MyAccount-navigation ul {
        gap: 8px;
    }

    #myaccount_wrap .woocommerce-MyAccount-navigation ul li,
    #myaccount_wrap .woocommerce-MyAccount-navigation ul li a {
        width: 100%;
    }

    #customer_details .woocommerce-additional-fields #order_comments_field textarea {
        height: 128px;
    }

    #mega_menu #category_list {
        padding: 6px;
    }

    #mega_menu #category_list li.top_level_item .top_cat_link {
        padding: 12px;
    }

    /* #woocommerce_section .woo_content #mobile_shop_sidebar #nav_btns_wrap {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  } */

    #front_page_detailed_categories .category_wrap {
        padding: 24px;
    }

    #front_page_detailed_categories .category_wrap .products_wrap .woocommerce .product {
        width: 65vw !important;
    }
}

@media (max-width: 480px) {
    #product_loop_header .sort_and_results_wrap {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #product_loop_header .sort_and_results_wrap #tax_filter_wrap *,
    #product_loop_header .sort_and_results_wrap .woocommerce-ordering select,
    #product_loop_header .sort_and_results_wrap .woocommerce-result-count {
        font-size: 16px;
        line-height: 24px;
    }

    #product_loop_header .sort_and_results_wrap .woocommerce-ordering {
        justify-content: center;
    }
}

@media (max-width: 450px) {
    #subscribe_form {
        padding: 24px;
    }

    #subscribe_form .fields {
        flex-direction: column;
    }

    #subscribe_form .fields>* {
        width: 100%;
    }

    #footer .item_title {
        flex-direction: column;
        align-items: center;
    }

    #footer #footer_nav {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #footer ul li {
        justify-content: center;
        text-align: center;
    }

    #list_and_form.contacts_page .item .description>* {
        gap: 4px;
    }

    .woocommerce .product #gallery_and_summary_wrap .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #customer_login #login_wrap .fields_wrap .buttons_wrap,
    #customer_login #register_wrap .fields_wrap .buttons_wrap,
    #lost_password_wrap .buttons_wrap {
        flex-direction: column-reverse;
        gap: 12px;
    }

    #myaccount_wrap table.my_account_orders .woocommerce-orders-table__header-order-date,
    #myaccount_wrap table.my_account_orders .woocommerce-orders-table__cell-order-date {
        display: none;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side {
        flex-direction: column;
        align-items: start;
        gap: 4px;
    }

    .woocommerce .woocommerce-cart-form table.shop_table tbody tr .left_side .discount {
        position: relative;
        left: unset;
        bottom: unset;
    }

    #front_page_banner #top #banner {
        height: 280px;
    }
}

@media (max-width: 400px) {
    .woocommerce .product #gallery_and_summary_wrap .summary form.cart .right_side {
        flex-direction: column;
    }

    #order_review table.shop_table tbody tr.cart_item {
        flex-direction: column;
    }

    #order_review table.shop_table tbody tr.cart_item>* {
        width: 100%;
    }

    #front_page_banner #top #banner {
        height: 224px;
    }

    #front_page_banner #top #banner #banner_slider .slide .content .text_content .button {
        width: 100%;
    }
}

@media (max-width: 360px) {

    .archive.woocommerce ul.products,
    .single-product .upsells.products ul.products {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #woocommerce_section .woo_content #mobile_shop_sidebar #nav_btns_wrap {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}