/*
Theme Name: eseom-theme
Author: eseom GmbH
Author URI: https://eseom.de
Version: 1.0.0
*/

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/wp-content/themes/eseom-theme/fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations'),
    url('/wp-content/themes/eseom-theme/fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/wp-content/themes/eseom-theme/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations'),
    url('/wp-content/themes/eseom-theme/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
}

:root {
    --app-primary: #2793D1;
    --bg-primary: #FFFFFF;
    --text-primary: #000000;
    --text-primary-hover: #000000;
    --text-secondary: #5A5855;
    --btn-primary-bg: #2793D1;
    --btn-primary-border-radius: 6px;
    --btn-primary-text-color: #fff;
    --btn-primary-text-color-hover: #fff;
    --btn-primary-border: #1879b1;
    --btn-primary-bg-hover: #1879b1;
    --btn-primary-border-hover: #1879b1;
    --btn-primary-active-bg: #1879b1;
    --btn-primary-active-border-color: #1879b1;
    --btn-primary-disabled-bg: #54beff;
    --btn-primary-disabled-text: #000;
    --btn-primary-disabled-border-color: #54beff;
}

body{
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: 0.015rem;
    font-size: 1.0rem;
    overflow-x: hidden;
}

body.admin-bar > header:not(.entry-header):not(.page-header){
    position: sticky;
    position: -webkit-sticky;
    top: 32px;
    z-index: 11;
}

@media(min-width:601px){
    body.admin-bar > header:not(.entry-header):not(.page-header){
        top: 42px;
    }
}

@media(min-width:783px){
    body.admin-bar > header:not(.entry-header):not(.page-header){
        top: 32px;
    }
}

body > header:not(.entry-header):not(.page-header){
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 11;
}

.btn.btn-primary {
    color: var(--btn-primary-text-color);
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-border);
    border-radius: var(--btn-primary-border-radius);
}

/* Hover State */
.btn.btn-primary:hover {
    color: var(--btn-primary-text-color-hover);
    background-color: var(--btn-primary-bg-hover);
    border-color: var(--btn-primary-border-hover);
}

.btn.btn-primary:active,
.btn.btn-primary.active,
.btn.btn-primary:focus {
    color: var(--btn-primary-text-color-hover);
    background-color: var(--btn-primary-active-bg);
    border-color: var(--btn-primary-active-border-color);
    box-shadow: 0 0 0 0.25rem rgba(39, 147, 209, 0.5);
}

.btn.btn-primary:disabled,
.btn.btn-primary.disabled {
    color: var(--btn-primary-disabled-text);
    background-color: var(--btn-primary-disabled-bg);
    border-color: var(--btn-primary-disabled-border-color);
    opacity: 0.65;
}

/* BEGIN - GLOBAL STYLES */
h1{
    font-size: 2.2rem;
}

h1, h2{
    font-weight: bold;    
}

a{
    color: #008d5f;
    text-decoration: none;
    -webkit-transition: 0.2s all ease-in;
    -moz-transition: 0.2s all ease-in;
    -o-transition: 0.2s all ease-in;
    transition: 0.2s all ease-in;
}

a:hover{
    color: #047d52;
    text-decoration: none;
}

.alert.alert-info{
    color: #ffffff;
    background-color: #1976D2;
    border-color: #1976D2;
}

.alert.alert-info p{
    margin-bottom: 0;   
}

.alert.alert-danger{
    color: #ffffff;
    background-color: #b61c1b;
    border-color: #b61c1b;
}

.alert.alert-danger p{
    margin-bottom: 0;   
}

.alert.alert-success{
    color: #ffffff;
    background-color: #0a804b;
    border-color: #0a804b;
}

.alert.alert-success p{
    margin-bottom: 0;   
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu),
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback),
.nav-pills .nav-link,
.alert, .btn{
    border-radius: 0;
}

button:focus, .btn.focus, .btn:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-secondary.dropdown-toggle:focus {
    outline: 0;
    box-shadow: none;
}

.btn-green {
    color: #fff;
    background-color: #008d5f;
    border-color: #008d5f;
    transition: 0.2s linear all;
    border-radius: 20px;
    padding: 5px 25px;
}

.btn-green svg{
    width: 14px;
    fill: #fff;
    position: relative;
    top: -2px;
    margin-right: 10px;
}

.btn-green:hover {
    color: #fff;
    background-color: #047d52;
    border-color: #047d52;
}

.btn-white-transparent {
    color: #fff;
    background-color: transparent;
    border-color: #fff;
    border-radius: 20px;
    padding: 5px 25px;
}

.btn-white-transparent svg{
    width: 14px;
    fill: #fff;
    position: relative;
    top: -2px;
    margin-right: 10px;
    transition: 0.2s linear all;
}

.btn-white-transparent:hover {
    color: #000;
    background-color: #fff;
    border-color: #fff;
}

.btn-white-transparent:hover svg {
    fill: #000;
}

.btn-black-transparent {
    color: #000;
    background-color: transparent;
    border-color: #000;
    border-radius: 20px;
    padding: 5px 25px;
}

.btn-black-transparent svg{
    width: 14px;
    fill: #000;
    position: relative;
    top: -2px;
    margin-right: 10px;
    transition: 0.2s linear all;
}

.btn-black-transparent:hover {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.btn-black-transparent:hover svg {
    fill: #fff;
}

.btn-brown {
    color: #fff;
    background-color: #927f77;
    border-color: #927f77;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 12px;
}

.btn-brown svg{
    width: 14px;
    fill: #fff;
    position: relative;
    top: -2px;
    margin-right: 10px;
}

.btn-brown:hover {
    color: #fff;
    background-color: #7c6d66;
    border-color: #7c6d66;
}

.text-color-red{
    color: #be1716;
}
/* END - GLOBAL STYLES */

.navbar-brand img{
    width: 100px;
    height: 29px;
}

@media(min-width: 550px){
    .navbar-brand img{
        width: 152px;
        height: 44px;
    }
}

.header-right-side {
    gap: 1rem;
}

@media(min-width: 1200px){
    .header-right-side {
        gap: .5rem;
    }
}

.header-divider {
    width: 1px;
    height: 28px;
    background-color: #d8d8d8;
    margin: 0 0.25rem;
}

#header-lang-switcher-btn {
    background: transparent;
    border: none;
    color: #111;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    line-height: 1;
}

#header-lang-switcher-btn::after {
    display: none !important;
}

#header-lang-switcher-btn svg {
    stroke-width: 0.5;
    transition: transform 0.2s ease;
}

#header-lang-switcher.show #header-lang-switcher-btn svg {
    transform: rotate(90deg);
}

#header-lang-switcher-dropdown {
    border-radius: 6px;
    margin-top: 0.5rem;
    width: 60px;
    min-width: auto !important;
    padding-top: 12px;
    left: -12px;
}

#header-lang-switcher-dropdown .dropdown-item {
    font-size: 0.9rem;
    color: #333;
}

#header-lang-switcher-dropdown .dropdown-item:hover,
#header-lang-switcher-dropdown .dropdown-item.active {
    background-color: #f1f1f1;
    color: var(--app-primary);
}

.search-topbar-wrapper {
    margin-left: 0;
}

.topbar-expand-search svg {
    fill: #111;
    width: 18px;
    height: 18px;
}

.btn-header-contact {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    text-transform: none;
}

/* BEGIN - NAVBAR STYLES */
#main-navbar{
    background-color: #fff;
}

/* BEGIN - MOBILE NAVBAR / MENU */
body.admin-bar #hc-nav-1.hc-offcanvas-nav .nav-container{
    top: 46px;
}

@media(min-width:601px){
    body.admin-bar #hc-nav-1.hc-offcanvas-nav .nav-container{
        top: 46px;
    }
}

@media(min-width:783px){
    body.admin-bar #hc-nav-1.hc-offcanvas-nav .nav-container{
        top: 32px;
    }
}

#main-navbar .hc-navbar-toggler{
    display: none;
    border: 0;   
}

@media (max-width: 1199px){
    html.hc-nav-yscroll{
        overflow-y: hidden;
    }

    body.hc-nav-open {
        overflow: unset;
        position: unset; 
        width: unset; 
        min-height: unset;
    }

    #main-navbar .hc-navbar-toggler.hc-nav-trigger{
        display: block;
        border: 0;   
        right: 20px;
        position: relative;
        width: unset;
        min-height: unset;
        z-index: unset;
        top: unset;
        background: none;
    }

    #main-navbar .hc-nav-trigger span {
        transform: none;
    }

    #main-navbar .hc-navbar-toggler.hc-nav-trigger .navbar-toggler-icon,
    #main-navbar .hc-navbar-toggler.hc-nav-trigger .navbar-toggler-icon:before,
    #main-navbar .hc-navbar-toggler.hc-nav-trigger .navbar-toggler-icon:after{
        height: 1px;   
        background: #000;
        border: 0;   
    }

    #hc-nav-1 .nav-container{
        background: #fff;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-container, #hc-nav-1.hc-offcanvas-nav .nav-wrapper, #hc-nav-1.hc-offcanvas-nav ul{
        background-color: #fff;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-container .nav-item-wrapper .nav-back-button{
        border-top: 1px solid #fff;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-container .nav-item-wrapper .nav-back-button span{
        border-left: 1px solid #fff;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-container .nav-back .nav-back-button span::before {
        margin-left: -2px;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    #hc-nav-1.hc-offcanvas-nav .nav-close-button span::before, 
    #hc-nav-1.hc-offcanvas-nav .nav-close-button span::after{
        border-top: 1px solid #fff;
        border-left: 1px solid #fff;
        width: 12px;
        height: 12px;
        margin-top: -12px;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-close-button span::before{
        margin-left: -15px;
    }

    #hc-nav-1 .nav-container .nav-wrapper{
        background: #fff;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-container  .nav-item-wrapper{
        background: #fff;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-container .nav-item-wrapper .nav-item-link,
    #hc-nav-1.hc-offcanvas-nav .nav-container .nav-item-wrapper a{
        color: #222;
        border: 0;
        border-bottom: 1px solid #dbdde0;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-container .nav-next span{
        border-left: 1px solid #dbdde0;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-next span::before, .hc-offcanvas-nav .nav-back span::before{
        border-top: 2px solid #000;
        border-left: 2px solid #000;
        transform: translate(-50%, -50%) rotate(135deg);
    }

    #hc-nav-1.hc-offcanvas-nav .nav-back a{
        background: #fff;
    }

    #hc-nav-1 .dropdown-menu .dropdown-item{
        width: unset;
    }

    #hc-nav-1.hc-offcanvas-nav .nav-item-link{
        border: 0;
    }

    #hc-nav-1 .dropdown-toggle::after, #hc-nav-1 .dropdown-menu>.menu-item-has-children>.dropdown-item::after{
        position: absolute;
        right: 22px;
        top: 23px;
        display: none;
    }

    #hc-nav-1 .nav-mobile-caret{
        display: none;
    }

    #hc-nav-1 .dropdown-menu{
        display: block;
        border: 0;
    }
}
/* END - MOBILE NAVBAR / MENU */

/* BEGIN - DESKTOP NAVBAR / MENU */
@media (min-width: 1200px){
    #main-navbar{
        padding: 0;
        margin-top: -1px;
    }

    body.es-nav-fixed #main-navbar{
        box-shadow: 0px -1px 10px rgba(0,0,0,0.2)
    }

    #main-navbar #menu-hauptmenue>li:last-child>a{
        padding-right: 20px;
    }

    #main-navbar .dropdown-item:hover, #main-navbar .dropdown-item:hover{
        background-color: #f1f1f1;
    }

    #main-navbar .submenu .menu-item:last-child a:hover{
        background-color: #f1f1f1;
    }

    #main-navbar .dropdown-item.active, #main-navbar .dropdown-item:active{
        color: #000;
        background-color: #f1f1f1;
        outline: 0;
    }

    #main-navbar .nav-mobile-caret{
        display: none;
    }

    /* BEGIN - CHANGE COLOR AND BACKGROUND COLOR OF ACTIVE MENU/NAVBAR ITEMS */
    #main-navbar .nav-link{
        color: #000;
    }

    #main-navbar .current-menu-ancestor>a{
        color: #000;
    }

    #main-navbar ul>.current_page_item .nav-link{
        color: #000;
    }

    #main-navbar .dropdown-menu .current-menu-ancestor>.dropdown-item{
        background-color: #f1f1f1;
        font-weight: bold;
    }

    #main-navbar .current-menu-ancestor .current-menu-item>a{
        background-color: #f1f1f1;
        font-weight: bold;
    }

    #main-navbar .current-menu-ancestor .submenu .current-menu-item:last-child a{
        background-color: #f1f1f1;
    }
    /* END - CHANGE COLOR AND BACKGROUND COLOR OF ACTIVE MENU/NAVBAR ITEMS */

    #main-navbar #menu-hauptmenue>li>a{
        padding: 28px 12px 25px 12px;
    }

    #main-navbar #menu-hauptmenue>li>a:hover{
        color: #2793d1;
    }

    #main-navbar #menu-hauptmenue>li>a:after{
        content: none;   
    }

    #main-navbar .dropdown-item{
        padding: 0.55rem 1.75rem;
    }

    #main-navbar .dropdown-menu .menu-item:focus, #main-navbar .dropdown-menu .menu-item:hover{
        background: none;
    }

    #main-navbar .dropdown-menu .menu-item a{
        position: relative;
        font-size: 1.0em;
        padding-top: 12px;
    }

    #main-navbar .dropdown-menu .menu-item:not(:last-child) a{
        border-bottom: 1px solid #ccc;
    }

    #main-navbar .submenu .menu-item:last-child a{
        border-bottom: 0;
        background-color: #fff;
    }

    #main-navbar #menu-hauptmenue>li>.dropdown-menu:before{
        border-bottom: 15px solid rgba(0, 0, 0, 0.2);
        border-left: 15px solid rgba(0, 0, 0, 0);
        border-right: 15px solid rgba(0, 0, 0, 0);
        content: "";
        display: inline-block;
        left: 20%;
        position: absolute;
        top: -14px;
    }

    #main-navbar .dropdown-menu{
        margin: 0;
        border: 0;
        border-radius: 0;
        min-width: 14rem;
        -webkit-box-shadow: 5px 5px 17px -12px rgba(0,0,0,0.75);
        -moz-box-shadow: 5px 5px 17px -12px rgba(0,0,0,0.75);
        box-shadow: 5px 5px 17px -12px rgba(0,0,0,0.75);
    }

    /* BEGIN - MAKE MUTLILEVEL DROPDOWN MENU ON MOBILE CLICKABLE */
    #main-navbar #menu-hauptmenue>li>.dropdown-menu{
        top: 80px;
    }

    #main-navbar #menu-hauptmenue>li>.dropdown-menu:after {
        border-bottom: 14px solid #FFFFFF;
        border-left: 15px solid rgba(0, 0, 0, 0);
        border-right: 15px solid rgba(0, 0, 0, 0);
        content: "";
        display: inline-block;
        left: 20%;
        position: absolute;
        top: -13px;
    }

    #main-navbar .dropdown-menu .menu-item-has-children>a:after{
        border-right: 0 dotted;
        border-top: 5px solid transparent;
        border-left: 5px solid #000;
        border-bottom: 5px solid transparent;
        content: '';
        right: 10px;
        top: 17px;
        position: absolute;
    }

    #main-navbar .dropdown-menu .dropdown-toggle:after{
        border-top: .3em solid transparent;
        border-right: 0;
        border-bottom: .3em solid transparent;
        border-left: .3em solid;
    }
    #main-navbar .dropdown-menu .dropdown-menu{
        margin-left:0; margin-right: 0;
    }
    #main-navbar .dropdown-menu li{
        position: initial;
    }
    #main-navbar .nav-item .submenu{ 
        min-height: 100%;
        display: none;
        position: absolute;
        left:100%; 
        top:0;
    }
    #main-navbar .nav-item .submenu-left{ 
        right:100%; left:auto;
    }
    #main-navbar .dropdown-menu > li:hover{ background-color: #f1f1f1 }
    #main-navbar .dropdown-menu > li:hover > .submenu{
        display: flex;
        flex-direction: column;
    }
    /* END - MAKE MUTLILEVEL DROPDOWN MENU ON MOBILE CLICKABLE */
}

@media (min-width: 1440px){
    #main-navbar #menu-hauptmenue>li>a{
        padding: 28px 20px 25px 20px;
    }
}
/* END - DESKTOP NAVBAR / MENU */
/* END - NAVBAR STYLES */

/* BEGIN - FOOTER STYLES */
footer{
    color: #fff;
    position: relative;
    background: var(--app-primary);
}

.footer-brand-aligned .footer-logo {
    display: block;
    width: 220px;
    height: auto;
}

.footer-brand-aligned .footer-address {
    padding-left: 62px;
    font-size: 0.95rem;
    margin-top: 30px;
}

@media (min-width: 1400px) {
    .footer-brand-aligned .footer-logo {
        width: 284px;
    }

    .footer-brand-aligned .footer-address {
        padding-left: 85px;
    }
}

.footer-title {
    margin-bottom: 1.25rem !important;
}

.footer-menu-list li {
    margin-bottom: 0.25rem;
}

.footer-menu-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-block;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    margin-left: -0.6rem;
    width: 100%;
}

.footer-menu-list li a:hover,
.footer-menu-list li a:focus {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
}

.footer-col-box {
    width: 100%;
    max-width: 260px;
    display: inline-block;
    text-align: left;
}

@media (min-width: 992px) {
    .footer-col-box {
        max-width: none;
        width: 100%;
        display: block;
    }
}
/* END - FOOTER STYLES */

/* BEGIN - VISUAL COMPOSER ELEMENT STYLING */
.vc-hoverbox-wrapper .vc-hoverbox-inner {
    min-height: 450px !important;
}

.hover-box-3-grid .vc-hoverbox-wrapper .vc-hoverbox-inner{
    min-height: 371px !important;
}

.es-vc-hoverbox-wrapper-higher.vc-hoverbox-wrapper .vc-hoverbox-inner{
    min-height: 450px !important;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-front .vc-hoverbox-block-inner{
    color: #fff;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-front .vc-hoverbox-block-inner h2{
    text-align: left;
    font-size: 1.5rem;
    max-width: 215px;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-front{
    justify-content: flex-end;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc-hoverbox-block-inner{
    display: flex;
    flex-direction: column;
    color: #fff;
    height: 100%;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc-hoverbox-block-inner h2{
    align-self: flex-start;
    text-align: left;
    font-size: 1.5rem;
    border-bottom: 1px solid #fff;
    padding-bottom: 15px;
    max-width: 215px;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc-hoverbox-block-inner .vc_btn3-container{
    margin-top: auto;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc-hoverbox-block-inner p{
    text-align: left;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back .vc_btn3.vc_btn3-icon-right .vc_btn3-icon{
    top: 48%;
}

.vc-hoverbox-wrapper .vc_btn3.vc_btn3-size-md.vc_btn3-style-outline{
    padding-bottom: 10px;
}

/* BEGIN - ADD THE CLASS "slider-arrows-black" IN THE WRAPPER AROUND THE SLIDER REVOLUTION ELEMENT SO THE ARROWS OF THE SLIDER WILL BE BLACK */
.slider-arrows-black .tparrows:before{
    color: #000;
}
/* END - ADD THE CLASS "slider-arrows-black" IN THE WRAPPER AROUND THE SLIDER REVOLUTION ELEMENT SO THE ARROWS OF THE SLIDER WILL BE BLACK */

.flex-align-row-center-image-text-elements{
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media(min-width: 768px){
    .flex-align-row-center-image-text-elements{
        flex-direction: row;
    }

    .flex-align-row-center-image-text-elements .wpb_text_column,
    .flex-align-row-center-image-text-elements .vc_custom_heading{
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* BEGIN - BLOG POSTS GRID */
.vc_grid.vc_pageable-wrapper{
    overflow: hidden;
}
/* END - BLOG POSTS GRID */

/* BEGIN - STYLE CUSTOM VISUAL COMPOSER ELEMENT POPUP SLIDER */
.popup-slider-main-image-wrapper{
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-slider-main-image-hover-area{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0px;
    background: rgba(146, 127, 119, 0.75);
    -webkit-transition: 0.2s all ease-in;
    -moz-transition: 0.2s all ease-in;
    -o-transition: 0.2s all ease-in;
    transition: 0.2s all ease-in;
}

.popup-slider-main-image-hover-area svg{
    width: 32px;   
    fill: #fff;
}

.popup-slider-main-image-hover-area .popup-slider-main-image-hover-title{
    margin-top: 10px;
    color: #fff;
}

.popup-slider-main-image-wrapper:hover .popup-slider-main-image-hover-area{
    opacity: 1;
}

.popup-slider-modal-text{
    margin-top: 25px;
    margin-bottom: 10px;
}

.popup-slider-badge{
    position: absolute;
    top: 0;
    right: calc(50% - 100px);
    padding-top: 0px;
    padding-right: 14px;
    padding-left: 10px;
    margin-top: -17px;
    background: #be1716;
    color: #fff;
    font-size: 38px;
    line-height: 0.9;
    font-weight: bold;
    transform: rotate(-90deg) translate(0%, -100%);
    transform-origin: 100%;
}

@media(min-width:768px){
    .popup-slider-badge{
        position: absolute;
        right: 25px;
        margin-top: -6px;
    }
}
/* END - STYLE CUSTOM VISUAL COMPOSER ELEMENT POPUP SLIDER */

/* BEGIN - STYLE CUSTOM BREADCRUMB ELEMENT */
@media(min-width: 992px){
    body .vc-breadcrumb-wrapper-sticky{
        position: sticky;
        z-index: 9;
        top: 82px;
    }

    body.admin-bar .vc-breadcrumb-wrapper-sticky{
        top: 114px;
    }
}

.breadcrumb{
    background-color: #f8f8f8;
    padding: 1rem 1rem .75rem 1rem;
    font-size: .97rem;
    text-transform: uppercase;
}

.breadcrumb a,
.breadcrumb span {
    margin-right: 5px;
    margin-left: 5px;
    color: #434345;
    -webkit-transition: 0.2s all ease-in;
    -moz-transition: 0.2s all ease-in;
    -o-transition: 0.2s all ease-in;
    transition: 0.2s all ease-in;
}

.breadcrumb a:hover{
    color: #be1716;
}
/* END - STYLE CUSTOM BREADCRUMB ELEMENT */

/* BEGIN - STYLE CUSTOM TIMELINE ELEMENT */
.custom-timeline {
    position: relative;
    margin: 0 auto;
    background-color: #fff;
}

.custom-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #f8f8f8;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.custom-timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

@media (min-width: 769px){
    .custom-timeline-container:not(:first-child){
        margin-top: -150px;
    }
}

@media (min-width: 992px){
    .custom-timeline-container:not(:first-child){
        margin-top: -150px;
    }
}

@media (min-width: 1200px){
    .custom-timeline-container:not(:first-child){
        margin-top: -150px;
    }
}

@media (min-width: 1400px){
    .custom-timeline-container:not(:first-child){
        margin-top: -250px;
    }
}

.custom-timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid #927f77;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.custom-timeline-container.left {
    left: 0;
}

.custom-timeline-container.right {
    left: 50%;
}

.custom-timeline-container.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 18px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid #f8f8f8;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #f8f8f8;
}

.custom-timeline-container.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 18px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid #f8f8f8;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f8f8f8 transparent transparent;
}

.custom-timeline-container.right::after {
    left: -13px;
}

.custom-timeline-content {
    padding: 20px 30px;
    background-color: #f8f8f8;
    position: relative;
    border-radius: 6px;
    -webkit-box-shadow: -7px 10px 8px -8px rgba(0,0,0,0.26);
    -moz-box-shadow: -7px 10px 8px -8px rgba(0,0,0,0.26);
    box-shadow: -7px 10px 8px -8px rgba(0,0,0,0.26);
}

.custom-timeline-content-image{
    margin-top: 15px;
    margin-bottom: 25px;
}

@media (max-width: 768px){
    .custom-timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .custom-timeline::after {
        left: 31px;
    }

    .custom-timeline-container.right {
        left: 0%;
    }

    .custom-timeline-container.left::after, .custom-timeline-container.right::after {
        left: 18px;
    }

    .custom-timeline-container.right::before,.custom-timeline-container.left::before {
        left: 60px;
        border: medium solid #f8f8f8;
        border-width: 10px 10px 10px 0;
        border-color: transparent #f8f8f8 transparent transparent;
    }
}
/* END - STYLE CUSTOM TIMELINE ELEMENT */

/* BEGIN - STYLE REVOLUTION SLIDER WITH IMAGES BELOW */
rs-thumbs .tp-thumb.selected{
    border: 5px solid #927f77;
}

@media(max-width: 1440px){
    body .slider-with-pics-below{
        margin-bottom: 70px !important;
    }
}
/* END - STYLE REVOLUTION SLIDER WITH IMAGES BELOW */

/* BEGIN - CLASS FOR THE VC BUTTON ELEMENT */
.vc-btn-red button, .vc-btn-red a{
    color: #fff!important;
    background-color: #be1716!important;
    border-color: #be1716!important;
    padding-bottom: 10px!important;
    font-size: 1.1rem!important;
}

.vc-btn-red button:hover, .vc-btn-red a:hover{
    color: #fff!important;
    background-color: #910101!important;
    border-color: #910101!important;
}

.vc-btn-red button i, .vc-btn-red a i{
    top: 22px;
}
/* END - CLASS FOR THE VC BUTTON ELEMENT */

/* BEGIN - CHANGE VISUAL COMPOSER STANDARD HOVER BOX FLIP ANIMATION TO OPACITY ANIMATION */
.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-block{
    transition: opacity .5s ease-in-out;
}

.vc-hoverbox-wrapper .vc-hoverbox .vc-hoverbox-back{
    transform: none;
    animation-name:vc-hoverbox-opacity-animation-mouseout;
    animation-duration:0.5s;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
}

.vc-hoverbox-wrapper .vc-hoverbox:hover .vc-hoverbox-front{
    transform: none;
}

.vc-hoverbox-wrapper .vc-hoverbox:hover .vc-hoverbox-back{
    animation-name:vc-hoverbox-opacity-animation-mouseover;
    animation-duration:0.5s;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
}

@keyframes vc-hoverbox-opacity-animation-mouseover {
    0% {
        opacity: 0;
        z-index: 0;
    }
    33.333% { 
        z-index: 2; 
    }
    66.666% { 
        z-index: 2; 
    }
    100% {  
        opacity: 1;  
        z-index: 2;
    }
}

@keyframes vc-hoverbox-opacity-animation-mouseout {
    0% {
        opacity: 1;
        z-index: 2;
    }
    33.333% { 
        z-index: 2; 
    }
    66.666% { 
        z-index: 2; 
    }
    100% {  
        opacity: 0;  
        z-index: 0;
    }
}
/* END - CHANGE VISUAL COMPOSER STANDARD HOVER BOX FLIP ANIMATION TO OPACITY ANIMATION */

/* BEGIN - ARTICLE NUMBER / SKU IN THE BOTTOM RIGHT CORNER OF AN IMAGE */
.img-desc-bottom-right-white{
    position: relative;
    margin-bottom: -25px!important;
    right: 5px;
    color: #fff;
    width: 100%;
    text-align: right;
    bottom: 35px;
    font-size: 1rem;
}

.img-desc-bottom-right-black{
    position: relative;
    margin-bottom: -25px!important;
    right: 5px;
    color: #212529;
    width: 100%;
    text-align: right;
    bottom: 35px;
    font-size: 1rem;
}
/* END - ARTICLE NUMBER / SKU IN THE BOTTOM RIGHT CORNER OF AN IMAGE */

/* END - VISUAL COMPOSER ELEMENT STYLING */

/* BEGIN - ADD BREAKPOINT TO BOOTSTRAP 4 */
@media (min-width: 1440px){
    .container {max-width: 1410px;}
}
/* END - ADD BREAKPOINT TO BOOTSTRAP 4 */

/* BEGIN - THE ESEOM DSGVO PLUGIN IS NEEDED FOR THIS PART - A LINK IN THE FOOTER IS DISPLAYED TO BE ABLE TO SHOW THE DATA PROTECTION MODAL */
.dsgvo-plugin-data-protection-settings-link{
    -webkit-transition: 0.2s all ease-in;
    -moz-transition: 0.2s all ease-in;
    -o-transition: 0.2s all ease-in;
    transition: 0.2s all ease-in;
}

.dsgvo-plugin-data-protection-settings-link:hover{
    cursor: pointer;
    color: #f1f1f1;
}
/* END - THE ESEOM DSGVO PLUGIN IS NEEDED FOR THIS PART - A LINK IN THE FOOTER IS DISPLAYED TO BE ABLE TO SHOW THE DATA PROTECTION MODAL */

/* BEGIN - Expandable Search */
#main-navbar .navbar-nav {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

#main-navbar .navbar-nav > li > a {
    white-space: nowrap !important;
}

.search-topbar-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#topbar-search {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-bottom: 0;
    z-index: 10;
}

.topbar-expand-search {
    display: flex;
    align-items: center;
    position: relative;
    height: 38px;
    margin-bottom: 0;
}

.topbar-expand-search svg {
    position: absolute;
    right: 3px;
    top: 50% !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    width: 18px;
    height: 18px;
    fill: #111;
    pointer-events: none;
    z-index: 3;
    padding: 0 !important;
}

body .topbar-expand-search input {
    border: 1px solid transparent !important;
    background: transparent !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    border-radius: 6px !important;
    height: 38px !important;
    width: 24px !important;
    padding: 6px 24px 6px 0 !important;
    cursor: pointer;
    box-sizing: border-box !important;
    transition: width 0.25s ease, padding 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

body .topbar-expand-search input:focus {
    outline: none !important;
    width: 220px !important;
    padding: 6px 32px 6px 12px !important;
    border: 1px solid #ced4da !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    cursor: text;
}

body .topbar-expand-search input:focus + svg {
    top: 50% !important;
    left: auto !important;
    right: 10px !important;
}
/* END - Expandable Search */

/* BEGIN - PAGINATION OF THE SEARCH RESULTS */
.search-pagination-wrapper{
    margin-top: 40px;
}
/* END - PAGINATION OF THE SEARCH RESULTS */

.vc_btn3-shape-round.vc_btn3-style-flat.vc_btn3-color-success{
    padding: 15px 40px;
    font-weight: bold;
    font-size: 1.1rem;
    background-color: #008d5f;
    color: #fff;
    line-height: 1;
    transition: 0.2s all linear;
}

.vc_btn3-shape-round.vc_btn3-style-flat.vc_btn3-color-success:hover, 
.vc_btn3-shape-round.vc_btn3-style-flat.vc_btn3-color-success:focus{
    background-color: #047d52;
}

.vc_btn3-shape-round.vc_btn3-style-flat.vc_btn3-color-inverse{
    padding: 15px 40px;
    font-weight: bold;
    font-size: 1.1rem;
    background-color: transparent;
    color: #000;
    border: 1px solid #000;
    line-height: 1;
    transition: 0.2s all linear;
}

.vc_btn3-shape-round.vc_btn3-style-flat.vc_btn3-color-inverse:hover, 
.vc_btn3-shape-round.vc_btn3-style-flat.vc_btn3-color-inverse:focus{
    background-color: #000;
    color: #fff;
}

.vc_btn3-shape-round.vc_btn3-style-flat.vc_btn3-color-default{
    padding: 15px 40px;
    font-weight: bold;
    font-size: 1.1rem;
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    line-height: 1;
    transition: 0.2s all linear;
}

.vc_btn3-shape-round.vc_btn3-style-flat.vc_btn3-color-default:hover, 
.vc_btn3-shape-round.vc_btn3-style-flat.vc_btn3-color-default:focus{
    background-color: #fff;
    color: #000;
}

body .flex-control-paging li a{
    background: #000;
    width: 15px;
    height: 15px;
}

body .flex-control-paging li a.flex-active{
    background: #047d52;
}

body .wpcf7-list-item{
    margin: 0;
}

.esflexslidercontainer {
    min-height: 350px;
}

.esflexslidercontainer .flexslider {
    max-height: 670px;
    overflow: hidden!important;
    min-height: 320px;
}

.esflexslidercontainer .flex-direction-nav .flex-prev {
    left: 10px;
    opacity: 0.8;
    padding: 5px 7px;
    width: 41px;
    height: 48px;
}

.esflexslidercontainer .flex-direction-nav .flex-prev:before {
    color: #fff!important;
}

.esflexslidercontainer .flex-direction-nav .flex-next {
    right: 10px;
    opacity: 0.8;
    padding: 5px 7px;
    width: 41px;
    height: 48px;
}

.esflexslidercontainer .flex-direction-nav .flex-next:before {
    color: #fff!important;
}

.esflexslidercontainer .wpb_wrapper {
    position: relative;
    width: 100%; /* Full width */
    height: 0; /* Set to 0 */
    padding-top: 51% /* Replace with your aspect ratio */
}

.esflexslidercontainer .flexslider {
    position: absolute!important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.esflexslidercontainer.wpb_gallery .wpb_flexslider .flex-control-nav {
    bottom: 20px;
    top: auto;
    display: none;
}

@media(min-width: 1200px){
    .esflexslidercontainer.wpb_gallery .wpb_flexslider .flex-control-nav {
        bottom: 20px;
        top: auto;
        display: block;
    }
}

.flexslider .slides img{
    min-height: 320px;
    object-fit: cover;
}

/* BEGIN - CHANGE FLEXSLIDER ICONS / STYLE OF PREV/NEXT SLIDE AREA */
.esflexslidercontainer .flex-next,
.esflexslidercontainer .flex-prev {
    text-indent: -9999px; 
    display: block;
    width: 40px; 
    height: 40px; 
    text-align: center !important;
    background-size: 100%;
    background-repeat: no-repeat;
    background: none;
}

.esflexslidercontainer .flex-prev:after {
    display: block;
    position: absolute;
    content: '';
    width: 40px;
    top: 0;
    left: 3px;
    height: 40px;
    background: url('/wp-content/themes/eseom-theme/img/flexslider-arrow-back.svg') no-repeat center center !important; 
    background-size: 100%;
}

.esflexslidercontainer .flex-next:after {
    display: block;
    position: absolute;
    content: '';
    width: 40px;
    top: 0;
    right: 0;
    height: 40px;
    background: url('/wp-content/themes/eseom-theme/img/flexslider-arrow-forward.svg') no-repeat center center !important; 
    background-size: 100%;
}

.esflexslidercontainer .flex-next:before,
.esflexslidercontainer .flex-prev:before{
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px; 
    height: 40px; 
    background: rgba(0,0,0,0.7);
}
/* END - CHANGE FLEXSLIDER ICONS / STYLE OF PREV/NEXT SLIDE AREA */

video{
    cursor: pointer;
}

.header-cart-wrapper {
    position: relative;
    line-height: 1;
}

.cart-contents {
    text-decoration: none;
    color: #024c97; /* Matching your logo color from Navwalker */
}

.cart-contents .cart-count {
    font-size: 11px;
    padding: 0.35em 0.6em;
    margin-left: -8px;
    margin-top: -11px;
    vertical-align: top;
}

:root, body {
    --wp--preset--font-size--small: 18px !important;
}

/* Override WooCommerce Checkout Sidebar Sticky Top */
@container (min-width: 700px) {
    .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
        top: 120px !important;
    }
}

/* =======================================================
   WooCommerce Global Button Styling
   ======================================================= */

body main:not(.site-main-woocommerce){
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Target Classic & Block Buttons */
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce input.button,
.woocommerce input.button.alt,
.wc-block-components-button:not(.is-link) {
    background-color: #2793d1 !important;
    color: #ffffff !important;
    border: 1px solid #2793d1 !important;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

/* Hover & Focus States (Darker Blue: #1f7bb0) */
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce input.button.alt:hover,
.wc-block-components-button:not(.is-link):hover,
.woocommerce button.button:focus,
.woocommerce button.button.alt:focus,
.wc-block-components-button:not(.is-link):focus {
    background-color: #1f7bb0 !important;
    border-color: #1f7bb0 !important;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Disabled State Styling (Out of stock, loading, etc.) */
.woocommerce button.button:disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt:disabled[disabled],
.wc-block-components-button:not(.is-link):disabled {
    background-color: #a4d3ee !important;
    border-color: #a4d3ee !important;
    color: #ffffff !important;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

/* =======================================================
   WooCommerce Single Product Page Styling
   ======================================================= */

/* 1. Product Gallery Images */
.woocommerce div.product div.images img {
    border-radius: 8px; /* Smooth corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Subtle depth */
}

/* Gallery Thumbnails */
.woocommerce div.product div.images .flex-control-thumbs {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    width: 25%; /* Usually 4 per row */
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 6px;
    transition: opacity 0.3s ease, transform 0.2s ease, border 0.2s ease;
    opacity: 0.6;
    border: 2px solid transparent;
}
.woocommerce div.product div.images .flex-control-thumbs li img:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1;
    transform: translateY(-2px);
    border-color: #2793d1; /* Highlight active thumb with your primary color */
}

/* 2. Product Title & Price */
.woocommerce div.product .product_title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #2793d1; /* Primary color for price */
    font-size: 1.5rem;
    font-weight: 600;
}
.woocommerce div.product p.price del {
    color: #6c757d; /* Muted color for old price */
    font-size: 1.1rem;
    font-weight: 400;
    margin-right: 8px;
}

/* 3. Modern Quantity Input */
.woocommerce div.product form.cart .quantity {
    margin-right: 15px;
}
.woocommerce div.product form.cart .qty {
    width: 70px;
    height: 46px; /* Match the height of your add-to-cart button */
    border-radius: 4px;
    border: 1px solid #ced4da; /* Bootstrap standard border */
    padding: 0 10px;
    text-align: center;
    font-weight: 500;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.woocommerce div.product form.cart .qty:focus {
    outline: 0;
    border-color: #2793d1;
    box-shadow: 0 0 0 0.25rem rgba(39, 147, 209, 0.25); /* Bootstrap-style focus ring */
}
/* Hide the clunky HTML5 number arrows */
.woocommerce div.product form.cart .qty::-webkit-inner-spin-button,
.woocommerce div.product form.cart .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 4. Product Meta (SKU, Categories) */
.woocommerce div.product .product_meta {
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #6c757d; /* Bootstrap text-muted */
}
.woocommerce div.product .product_meta span {
    display: block;
    margin-bottom: 5px;
}
.woocommerce div.product .product_meta a {
    color: #2793d1;
    text-decoration: none;
    font-weight: 500;
}
.woocommerce div.product .product_meta a:hover {
    text-decoration: underline;
}

/* =======================================================
   5. Modernize the Product Tabs (Double-Line Fix)
   ======================================================= */

/* The main gray container line */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 25px;
    border-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Kill ALL default WooCommerce borders and pseudo-elements */
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li a::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
    display: none !important;
}

/* Reset the list items completely */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Style the link and prepare the invisible border */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: #6c757d !important;
    border: none !important; /* Strip theme borders */
    border-bottom: 3px solid transparent !important; /* Invisible placeholder */
    margin-bottom: -2px !important; /* Pull it down to perfectly overlap the gray ul border */
    transition: all 0.3s ease;
}

/* The ONLY active colored line */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #2793d1 !important;
    border-bottom: 3px solid #2793d1 !important; /* Overrides the transparent placeholder */
}

/* =======================================================
   WooCommerce Refinements (Messages, Heights, Price, Tabs)
   ======================================================= */

/* 1. Price Color Update (Black) */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product p.price ins {
    color: #000000 !important;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}
.woocommerce div.product p.price del {
    color: #6c757d !important; /* Keeps the old crossed-out price gray */
    font-size: 1.1rem;
    font-weight: 400;
    margin-right: 8px;
}

/* 2. Equal Height for Quantity Box & Add to Cart Button */
.woocommerce div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px; /* Adds clean spacing between input and button */
}
.woocommerce div.product form.cart .quantity {
    margin: 0 !important; /* Remove WooCommerce's default float/margins */
}

.wc-block-components-quantity-selector{
    min-width: 120px;
}

/* Force identical heights and box-sizing */
.woocommerce div.product form.cart .qty,
.woocommerce div.product form.cart button.single_add_to_cart_button {
    height: 48px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    vertical-align: middle;
}
.woocommerce div.product form.cart .qty {
    width: 70px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    text-align: center;
    font-weight: 500;
    padding: 0 10px;
}
.woocommerce div.product form.cart button.single_add_to_cart_button {
    display: flex;
    align-items: center; /* Centers the text perfectly inside the 48px height */
    justify-content: center;
    padding: 0 25px;
    line-height: 1; /* Prevents text from pushing the height taller */
}

/* 3. Highlight the Active Tab with a Thick Underline */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #2793d1 !important;
    border-bottom: 3px solid #2793d1 !important; /* Thick primary color underline */
}

/* 4. Modern WooCommerce Notices & Messages (Like Bootstrap Alerts) */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    background-color: #ffffff;
    border-top: none !important; /* Remove ugly default top bar */
    border-left: 5px solid #2793d1; /* Primary color fallback */
    border-radius: 6px;
    padding: 15px 25px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); /* Soft drop shadow */
    color: #333333;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    clear: both;
    gap: 20px;
}
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::before {
    display: none; /* Hide default WooCommerce icons to keep it clean */
}

/* Remove the default browser focus outline on WooCommerce notices */
.woocommerce-message:focus,
.woocommerce-error:focus,
.woocommerce-info:focus {
    outline: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important; /* Preserves our custom shadow */
}

/* Specific Notice Colors */
.woocommerce-message {
    border-left-color: #198754; /* Bootstrap Success Green */
}
.woocommerce-error {
    border-left-color: #dc3545; /* Bootstrap Danger Red */
}
.woocommerce-info {
    border-left-color: #0dcaf0; /* Bootstrap Info Blue */
}

/* Fix "View Cart" button inside the message */
.woocommerce-message .button,
.woocommerce-error .button,
.woocommerce-info .button {
    margin-left: auto; /* Pushes the button to the far right of the alert box */
    background-color: transparent !important;
    color: #2793d1 !important;
    border: 1px solid #2793d1 !important;
    padding: 6px 15px;
    font-size: 0.9rem;
}
.woocommerce-message .button:hover,
.woocommerce-error .button:hover,
.woocommerce-info .button:hover {
    background-color: #2793d1 !important;
    color: #ffffff !important;
}

/* Fix unwanted flex gap caused by clearfix pseudo-elements */
.woocommerce div.product form.cart::before,
.woocommerce div.product form.cart::after {
    display: none !important;
}

/* =======================================================
   My Account Icon & Dropdown Styles
   ======================================================= */
.header-my-account-wrapper a {
    color: #024c97;
    text-decoration: none;
}

.header-my-account-wrapper .dropdown-toggle::after {
    display: none;
}

/* 1. Force Center Alignment */
.header-my-account-wrapper .dropdown {
    position: relative;
}
.header-my-account-wrapper .dropdown-menu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important; /* Pulls it exactly to the center */
    margin-top: 15px !important; /* The visual gap */
    border: none;
    border-top: 3px solid #2793d1;
    border-radius: 0 0 6px 6px;
}

/* 2. The Invisible Hover Bridge */
/* This covers the 15px margin-top so your mouse never leaves the element */
.header-my-account-wrapper .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent; /* Completely invisible */
}

/* Dropdown item styling */
.header-my-account-wrapper .dropdown-item:active,
.header-my-account-wrapper .dropdown-item:focus,
.header-my-account-wrapper .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #2793d1;
}

/* =======================================================
   WooCommerce My Account Dashboard Styling
   ======================================================= */

/* 1. Layout: Flexbox instead of Floats */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
/* Kill default WooCommerce floats */
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
    display: none !important;
}

/* 2. Navigation Sidebar (Styled like a Bootstrap List Group) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    flex: 0 0 100%;
    margin-bottom: 20px;
}
@media (min-width: 992px) { /* Bootstrap lg breakpoint */
    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex: 0 0 25%;
        max-width: 25%;
        margin-bottom: 0;
    }
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden; /* Keeps rounded corners clean */
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #eaeaea;
}
.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Hover and Active States */
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #f8f9fa;
    color: #2793d1;
}
.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #2793d1;
    color: #ffffff;
    font-weight: 600;
}

/* 3. Content Area (Styled like a Bootstrap Card) */
.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    flex: 1;
    min-width: 0; /* Prevents flex blowouts on small screens */
}

@media (min-width: 992px) {
    .woocommerce-account .woocommerce-MyAccount-content {
        background: #ffffff;
        padding: 30px;
        border: 1px solid #eaeaea;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    }
}

/* 4. Forms (Match Bootstrap .form-control) */
.woocommerce-MyAccount-content form .form-row {
    margin-bottom: 1.5rem;
}
.woocommerce-MyAccount-content form input.input-text,
.woocommerce-MyAccount-content form select,
.woocommerce-MyAccount-content form textarea {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.woocommerce-MyAccount-content form input.input-text:focus,
.woocommerce-MyAccount-content form select:focus,
.woocommerce-MyAccount-content form textarea:focus {
    border-color: #2793d1;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(39, 147, 209, 0.25); /* Primary color focus ring */
}

/* =======================================================
   5. Address Layout (Grid Fixes & Padding Improvements)
   ======================================================= */

/* Kill the invisible clearfix pseudo-elements that break the Grid */
.woocommerce-MyAccount-content .u-columns.col2-set::before,
.woocommerce-MyAccount-content .u-columns.col2-set::after,
.woocommerce-MyAccount-content .u-columns.addresses::before,
.woocommerce-MyAccount-content .u-columns.addresses::after {
    display: none !important;
}

/* Establish the Grid */
.woocommerce-MyAccount-content .u-columns.col2-set,
.woocommerce-MyAccount-content .u-columns.addresses {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first */
    gap: 30px; /* Clean, even spacing between the cards */
    margin: 0;
    padding: 0;
}
@media (min-width: 768px) {
    .woocommerce-MyAccount-content .u-columns.col2-set,
    .woocommerce-MyAccount-content .u-columns.addresses {
        grid-template-columns: 1fr 1fr; /* Side-by-side on desktop */
    }
}

/* Force the columns to behave inside the grid (Kill old floats) */
.woocommerce-MyAccount-content .u-columns .col-1,
.woocommerce-MyAccount-content .u-columns .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* The actual Address Card styling with improved padding */
.woocommerce-Address {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 25px !important; /* Generous, even inner padding */
    background: #fdfdfd;
    height: 100%;
    box-sizing: border-box;
}

/* The Header of the Card (Title + Edit Link) */
.woocommerce-Address .woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

/* Fix the massively oversized H3 from the theme */
.woocommerce-Address .woocommerce-Address-title h3 {
    margin: 0;
    font-size: 1.25rem !important; /* Tame the font size to look like a card title */
    font-weight: 600;
    line-height: 1.2;
}

/* Clean up the Edit / Add link */
.woocommerce-Address .woocommerce-Address-title a.edit {
    font-size: 0.9rem;
    color: #2793d1;
    text-decoration: none;
    white-space: nowrap; /* Prevents "hinzufügen" from wrapping weirdly */
}
.woocommerce-Address .woocommerce-Address-title a.edit:hover {
    text-decoration: underline;
}

/* The actual address text / paragraph */
.woocommerce-Address address {
    font-style: normal; /* Removes the default italic styling from <address> tags */
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/* Force padding inside the Address Cards */
.woocommerce-account .woocommerce-MyAccount-content .u-columns .woocommerce-Address {
    padding: 25px !important;
    box-sizing: border-box !important;
}

/* Ensure the title and the text don't have negative margins pulling them to the left */
.woocommerce-account .woocommerce-MyAccount-content .u-columns .woocommerce-Address .woocommerce-Address-title,
.woocommerce-account .woocommerce-MyAccount-content .u-columns .woocommerce-Address address {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
}

/* Optional: Add a tiny bit of space between the Title and the "Du hast bisher..." text */
.woocommerce-account .woocommerce-MyAccount-content .u-columns .woocommerce-Address address {
    padding-top: 15px !important;
}

/* Fix the Grid Blowout & Overflow */
.woocommerce-account .woocommerce-MyAccount-content .u-columns.col2-set,
.woocommerce-account .woocommerce-MyAccount-content .u-columns.addresses {
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce-account .woocommerce-MyAccount-content .u-columns .col-1,
.woocommerce-account .woocommerce-MyAccount-content .u-columns .col-2,
.woocommerce-account .woocommerce-MyAccount-content .u-columns .woocommerce-Address {
    min-width: 0 !important;
    word-wrap: break-word !important;
}

/* Fix the Title and Link Spacing */
.woocommerce-account .woocommerce-MyAccount-content .u-columns .woocommerce-Address .woocommerce-Address-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-bottom: -5px;
}


.woocommerce-account .woocommerce-MyAccount-content .u-columns .woocommerce-Address .woocommerce-Address-title:before {
    content: unset;
}

.woocommerce-account .woocommerce-MyAccount-content .u-columns .woocommerce-Address .woocommerce-Address-title h2 {
    flex: 1 1 auto !important;
    width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-content .u-columns .woocommerce-Address .woocommerce-Address-title a.edit {
    white-space: normal !important;
    flex: 0 0 auto !important;
    text-align: right;
}

/* 6. Data Tables (Orders, Downloads) */
.woocommerce-MyAccount-content table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden; /* Important for table border radius */
}
.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eaeaea;
    text-align: left;
    vertical-align: middle;
}
.woocommerce-MyAccount-content table.shop_table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6; /* Slightly thicker bottom border for headers */
}
.woocommerce-MyAccount-content table.shop_table tbody tr:last-child td {
    border-bottom: none;
}
.woocommerce-MyAccount-content table.shop_table .button {
    padding: 5px 12px;
    font-size: 0.875rem; /* Make table buttons a bit smaller */
}

/* =======================================================
   Global Form Fields (WordPress, Contact Forms, WooCommerce)
   ======================================================= */

/* Target all standard text-based inputs, textareas, and selects globally */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
    border-radius: 7px !important;
    border: 1px solid #ced4da !important;
    padding: 10px 15px !important;
    background-color: #ffffff !important;
    color: #495057 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    max-width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

/* Global Focus States (Blue Glow Effect) */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    border-color: #2793d1 !important;
    box-shadow: 0 0 0 0.25rem rgba(39, 147, 209, 0.25) !important;
    outline: none !important;
}

/* Keep WooCommerce Select2 Overrides (For Checkout Country/State Dropdowns) */
.select2-container .select2-selection--single {
    border-radius: 7px !important;
    border: 1px solid #ced4da !important;
    height: 46px !important;
    padding: 8px 15px !important;
    background-color: #ffffff !important;
    display: flex;
    align-items: center;
}

/* Fix the Select2 Arrow positioning */
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    right: 10px !important;
}

/* Select2 Focus State */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #2793d1 !important;
    box-shadow: 0 0 0 0.25rem rgba(39, 147, 209, 0.25) !important;
    outline: none !important;
}

/* =======================================================
   WooCommerce Checkout Blocks Floating Label Fix
   ======================================================= */

/* Restore the proper padding and exact height for standard inputs */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="url"],
.wc-block-components-combobox-control input[type="text"] {
    padding: 24px 16px 8px !important;
    line-height: 1.2 !important;
    height: 54px !important; /* Forces the box to the exact height the floating label expects */
}

.wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label {
    top: 28px;
    left: 16px;
}

.wc-block-components-form .wc-blocks-components-select label, .wc-blocks-components-select label {
    left: 16px;
}

.wc-block-components-form .wc-blocks-components-select select, .wc-blocks-components-select select {
    padding: 16px 16px 0!important;
}

/* Textareas need to be taller and stretchable */
.wc-block-components-textarea textarea {
    padding: 24px 16px 8px !important;
    line-height: 1.5 !important;
    height: auto !important;
    min-height: 120px !important;
}

/* =======================================================
   WooCommerce Product Grid Cards (Shop & Category Pages)
   ======================================================= */

/* 1. The Product Card Wrapper */
.woocommerce ul.products li.product {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03); /* Very soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex !important;
    flex-direction: column;
    padding: 0 0 20px 0 !important; /* Removes WC default padding */
    text-align: center;
    position: relative;
}

/* Hover Lift Effect */
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px); /* Lifts the card up slightly */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Deepens the shadow */
}

/* 2. Product Image */
.woocommerce ul.products li.product img {
    border-radius: 8px 8px 0 0; /* Rounds only the top corners */
    margin: 0 0 15px 0 !important;
    width: 100%;
    display: block;
}

/* 3. Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333333;
    padding: 0 16px;
    margin-bottom: 10px;
    line-height: 1.3;

    /* Force exact height for 2 lines (1.3 line-height * 2 lines = 2.6em) */
    min-height: 2.6em;

    /* Modern CSS Line Clamping */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maximum number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 4. Product Price */
.woocommerce ul.products li.product .price {
    color: #000000 !important; /* Keep it black as requested earlier */
    font-size: 1.35rem;
    font-weight: 600;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1; /* Magic trick: Pushes the button below it strictly to the bottom */
}
.woocommerce ul.products li.product .price del {
    color: #6c757d !important; /* Muted old price */
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 5px;
}

/* 5. Add to Cart Button (Grid context) */
.woocommerce ul.products li.product .button {
    margin: auto 20px 0 20px; /* Keeps it neatly spaced from the edges */
    display: block;
    /* The colors are already inherited from your global button CSS! */
}

/* 6. "Sale" Badge */
.woocommerce ul.products li.product .onsale {
    top: 15px;
    left: 15px;
    right: auto;
    background-color: #dc3545; /* Bootstrap Danger Red */
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    min-height: auto;
    min-width: auto;
    z-index: 9;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

/* 7. Star Ratings */
.woocommerce ul.products li.product .star-rating {
    margin: 0 auto 10px auto; /* Center the stars */
    color: #ffc107; /* Bootstrap Warning Yellow */
}

/* =======================================================
   WooCommerce Block Notices (Cart & Checkout Blocks) - V2
   ======================================================= */

/* 1. The Main Notice Wrapper (Broadened to catch ALL notices) */
.wc-block-components-notice-banner {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 15px 25px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
    color: #333333 !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 25px !important;
}

/* 2. Specific Alert Colors (Left Border) */
.wc-block-components-notice-banner.is-error {
    border-left: 5px solid #dc3545 !important;
}
.wc-block-components-notice-banner.is-success {
    border-left: 5px solid #198754 !important;
}
.wc-block-components-notice-banner.is-info {
    border-left: 5px solid #0dcaf0 !important;
}

/* 3. Style the Main Status SVG Icon (White icon inside a colored circle) */
.wc-block-components-notice-banner > svg {
    flex-shrink: 0 !important;
    width: 24px !important;
    height: 24px !important;
    fill: #ffffff !important; /* White icon */
    border-radius: 50% !important; /* Perfect circle background */
}
.wc-block-components-notice-banner.is-error > svg {
    background-color: #dc3545 !important;
}
.wc-block-components-notice-banner.is-success > svg {
    background-color: #198754 !important;
}
.wc-block-components-notice-banner.is-info > svg {
    background-color: #0dcaf0 !important;
}

/* 4. The Text Content */
.wc-block-components-notice-banner .wc-block-components-notice-banner__content {
    flex-grow: 1 !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* 5. The Dismiss "X" Button - Forced Visibility */
.wc-block-components-notice-banner .wc-block-components-notice-banner__dismiss {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
    cursor: pointer !important;
    opacity: 1 !important; /* Forces Gutenberg to show it */
    visibility: visible !important;
    transition: transform 0.2s ease !important;
    margin-top: 0 !important;
}

/* 6. Reset the X icon so it doesn't inherit the white circle styling */
.wc-block-components-notice-banner .wc-block-components-notice-banner__dismiss svg {
    fill: #6c757d !important; /* Standard gray X */
    background-color: transparent !important; /* No background */
    width: 20px !important;
    height: 20px !important;
}

/* 7. Hover effect for the X */
.wc-block-components-notice-banner .wc-block-components-notice-banner__dismiss:hover {
    transform: scale(1.4);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.wc-block-components-notice-banner .wc-block-components-notice-banner__dismiss:hover svg {
    fill: #dc3545 !important; /* Turns red when hovered */
}