/*
Theme Name: Berghöfer Hamburg
Theme URI: 
Author: bavariansocialclub
Author URI: 
Description: Blocktheme for Berghöfer Hamburg 2026
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7.2
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: berghoefer
Tags: 
*/

/* 
---------------------------------------------
 Smoothing everything up
---------------------------------------------
*/
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media screen and (prefers-reduced-motion: no-preference) {
    html { 
        scroll-behavior: smooth;
    }
}

html {
    interpolate-size: allow-keywords;
    scroll-padding-top: 154px;
}

@media (min-width: 782px) {
    html {
        scroll-padding-top: 82px;
    }
    html:has(.admin-bar) {
        scroll-padding-top: calc( 116px + var(--wp-admin--admin-bar--height, 0));
    }
}

body {
  scrollbar-gutter: stable;
  overflow-x: clip;
}

/* 
---------------------------------------------
 Helper (maybe obsolete)
---------------------------------------------
*/
.show-mobile {
    display: none!important;
}
.hide-mobile {
    display: block!important;
}
.is-layout-flex.hide-mobile {
    display: flex!important;
}
@media (max-width: 767px) {
    .show-mobile {
        display: block!important;
    }
    .is-layout-flex.show-mobile {
        display: flex!important;
    }
    .is-layout-flex.hide-mobile,    
    .hide-mobile {
        display: none!important;
    }
}


/* 
---------------------------------------------
 Header
 .is-header
    .is-header--top
    .is-header--hero
    .is-header--navi
    .is-header--stoerer
---------------------------------------------
*/
header a,
header a:hover {
    text-decoration: none;
    color: var(--wp--preset--color--black);
}

.is-header--stoerer {
    width: 178px;
    height: 178px;
    position: absolute;
    top: 50px;
    right: 50px;
}

@media (max-width: 767px) {

    .is-header--hero {
        min-height: 175px!important;
    }
    .is-header--navi {
        position: absolute;
        top: -10px;
        right: 0;

    }
    .is-header--stoerer {
        width: 150px;
        height: 150px;
        top: 132px;
        right: auto;
        left: 10px;
    }
}

/* Fixed Navi */
.is-navi--fixed {
    display: none;
    opacity: 0;
    transition: all 0.25s allow-discrete;
}
.has-fixed-navi .is-navi--fixed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    display: block;
    margin: 0;
    opacity: 1;
    @starting-style {
        opacity: 0;
    }
}
.is-navi--fixed a,
.is-navi--fixed a:hover {
    text-decoration: none;
    color: var(--wp--preset--color--black);
}

@media (max-width: 767px) {

    .has-fixed-navi .is-navi--fixed > div > div.is-content-justification-left {
        justify-content: space-between!important;
    }
}


/* 
---------------------------------------------
 Footer
---------------------------------------------
*/
footer {
    margin: 0;
}
footer a,
footer a:hover {
    text-decoration: none;
}

/* 
---------------------------------------------
 Bold Italic --> Extrabold Italic
---------------------------------------------
*/
.wp-block-heading em,
strong em,
em strong {
    font-weight: 800;
}

/* 
---------------------------------------------
 List Style
---------------------------------------------
*/
ul.wp-block-list {
    list-style: none;
    padding: 0;
}
ol.wp-block-list {
    padding: 0 0 0 1.5rem;
}


/* 
---------------------------------------------
 Kategorie Teaser
---------------------------------------------
*/
/* Kategorie Teaser Home */
.has-cat-teaser .is-teaser img {
    height: 240px;
    object-fit: contain;
    margin-top: 24px;
}
@media (max-width: 767px) {
    .has-cat-teaser .is-teaser img {
        height: 120px;
        margin-top: 0;
    }
}

/* Unter-Kategorie Teaser  */
@media (max-width: 767px) {
    #product-navi {
        gap: var(--wp--preset--spacing--rem-0050);
    }
    #product-navi .is-teaser {
        display: flex;
        align-items: center;
        gap: 24px;
        padding: var(--wp--preset--spacing--rem-0100) 0!important;
    }
    #product-navi .is-teaser .wp-block-heading {
        order: 2;
        margin: 0!important;
        text-align: left!important;
        font-size: var(--wp--preset--font-size--title-large)!important;
    }
    #product-navi .is-teaser .wp-block-image {
        margin: 0!important;
    }
    #product-navi .is-teaser .wp-block-image img {
        height: 80px!important;
   }
}

/* 
---------------------------------------------
 Produkt Teaser

 .is-teaser
    .has-title
        .wp-block-post-title
    .wp-block-post-featured-image
    .has-excerpt
        .wp-block-post-excerpt
    .is-teaser-tag
---------------------------------------------
*/
/* Link Overlay */
.is-teaser {
    position: relative;
}
.is-teaser a::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    z-index: 1;
    /* background-color: rgba(255,255,255,.2);
    opacity: 0; */
}
/* .is-teaser a:hover::before {
    opacity: 1;
} */
.is-teaser .wp-block-post-featured-image {
    position: static;
}
.is-teaser .wp-block-post-terms a {
    pointer-events: none!important;
    text-decoration: none;
}
.is-teaser .wp-block-post-excerpt {
    hyphens: auto;
}
.is-teaser-tag {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

/* Active State */
.is-teaser.is-active {
    box-shadow: inset 6px 6px var(--wp--preset--color--medium-grey),
                inset -6px -6px var(--wp--preset--color--medium-grey);
}

/* Image Multiply */
.is-teaser img,
.has-img-multiply img {
    mix-blend-mode: multiply;
}

/* Background Colors */
.is-teaser:hover {
    background-color: var(--wp--preset--color--ultra-light-grey);
}
/* .is-teaser.has-ultra-light-grey-background-color:hover {
    background-color: #f9f9f9!important;
} */

.wp-block-post-template-is-layout-grid .product > .is-teaser,
.owl-carousel .product > .is-teaser {
    background-color: var(--wp--preset--color--ultra-light-grey);
}
.wp-block-post-template-is-layout-grid .product > .is-teaser:hover,
.owl-carousel .product > .is-teaser:hover {
    background-color: #f7f7f7!important;
}
/* #Druck */
.wp-block-post-template-is-layout-grid .product_use-druck > .is-teaser,
.owl-carousel .product_use-druck > .is-teaser {
    background-color: var(--wp--preset--color--leaf-green);
}
.wp-block-post-template-is-layout-grid .product_use-druck > .is-teaser:hover,
.owl-carousel .product_use-druck > .is-teaser:hover {
    background-color: #dbe0ce!important;
}
/* #Abgas */
.wp-block-post-template-is-layout-grid .product_use-abgas > .is-teaser,
.owl-carousel .product_use-abgas > .is-teaser {
    background-color: var(--wp--preset--color--light-infored);
}
.wp-block-post-template-is-layout-grid .product_use-abgas > .is-teaser:hover,
.owl-carousel .product_use-abgas > .is-teaser:hover {
    background-color: #f0c2c4!important;
}
/* #Dämpfung */
.wp-block-post-template-is-layout-grid .product_use-daempfung > .is-teaser,
.owl-carousel .product_use-daempfung > .is-teaser {
    background-color: var(--wp--preset--color--light-cyan);
}
.wp-block-post-template-is-layout-grid .product_use-daempfung > .is-teaser:hover,
.owl-carousel .product_use-daempfung > .is-teaser:hover {
    background-color: #afd0de!important;
}

/* Schläuche */
.has-schlaeuche .is-teaser h3 {
    min-height: 60px;
}
.has-schlaeuche .is-teaser .has-excerpt {
    min-height: 315px!important;
}


/* Lagerprogramm */
.has-lagerprogramm .is-teaser {
    min-height: 440px!important;
}



/* 
---------------------------------------------
 Tables
---------------------------------------------
*/
.is-data-table {
    margin-top: var(--wp--preset--spacing--rem-0350);
    margin-bottom: var(--wp--preset--spacing--rem-0350)!important;
    overflow: auto;
}
.is-data-table table {
    width: 100%;
    border-collapse: collapse;
    color: var(--wp--preset--color--black);
}
.is-data-table th {
    min-width: max-content;
    padding: 0.5rem 0.5rem 0.25rem;
    text-align: center;
    vertical-align: bottom;
    background: var(--wp--preset--color--ultra-light-grey);
}
.is-data-table tr:nth-child(2) th {
    padding: 0 0.25rem 0.5rem;
    border-bottom: 1px solid var(--wp--preset--color--grey);
    font-size: 0.875em;;
}
.is-data-table td {
    padding: 0.5rem;
    text-align: center;
    border-bottom: 1px solid var(--wp--preset--color--grey);
}
.is-data-table td:not(:last-child) {
    border-right: 1px solid var(--wp--preset--color--light-grey);
}
.is-data-table tr:nth-child(even) td {
    background-color: var(--wp--preset--color--ultra-light-grey);
}
.is-data-table tr td[colspan] {
    background-color: var(--wp--preset--color--light-grey);
    /* color: var(--wp--preset--color--white); */
}
/* Table Caption */
.is-data-table table caption {
    display: none;
}

/* Table Links */
td[style*="background-color:#ed694b"] a {
    color: var(--wp--preset--color--white);
}


/* Scrollabel Table + Index Navi */
.is-scrollable {
    overflow: scroll;
    scroll-behavior: smooth;
    scroll-padding-top: 111px;
    height: 585px;
}
.is-scrollable .is-index-navi {
    position: sticky;
    top: 0;
    align-items: end;
    height: 80px;
    padding-bottom: 0.5rem;
}
.is-scrollable thead {
    position: sticky;
    top: 80px;
    line-height: 1;
    height: 30px;
}

.is-scrollable :is(th:first-child, td:first-child) {
    text-align: left;
}

@media (max-width: 960px) {
    .is-scrollable .is-index-navi {
        gap: 8px 14px;
    }
}

/* 
---------------------------------------------
Images
---------------------------------------------
*/
.has-fullwidth img {
    width: 100%!important;
}


/* 
---------------------------------------------
 Product Overview
---------------------------------------------
*/



/* 
---------------------------------------------
 Owl Carousell
---------------------------------------------
*/
.owl-carousel {
    /* padding: 0 50px; */
}

.owl-stage-outer {
    margin: 0;   
}
.owl-item li {
    list-style: none;
}

/* Navi */
.owl-nav button {
    position: absolute;
    top: 50%;
    left: -64px;
    transform: translateY(-50%);
    background: var(--wp--preset--color--light-grey)!important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 0.6;
    /* transition: all .3s; */
}
.owl-nav button:hover {
    opacity: 1;
}
.owl-nav button::before {
    content: '←';
    padding: 0 0 0 5px;
    font-size: 22px;
}
.owl-nav button.disabled {
    opacity: .1;
    cursor: default!important;
}
.owl-nav button.owl-next {
    left: auto;
    right: -64px
}
.owl-nav button.owl-next::before {
    content: '→';
    padding-right: 0 5px 0 0;
}
.owl-nav button span {
    color: transparent;
}

/* Dots */
.owl-dots {
    text-align: center;
}
.owl-dot {
    width: 10px;
    height: 10px;
    margin: 4px;
    background: var(--wp--preset--color--light-grey)!important;
    border-radius: 50%;
    opacity: 0.45;
}
.owl-dot.active {
    opacity: 1;
}



/* 
---------------------------------------------
 Product Detail
---------------------------------------------
*/
/* Dynamic content inline */
.is-product-data {
    position: relative;
    gap: var(--wp--preset--spacing--rem-0350);
}
.is-product-data .is-stoerer {
    position: absolute;
    top: -50px;
    left: -50px;
    z-index: 1;
    transition: opacity .3s ease-out;
}
.is-product-data .is-stoerer:hover {
    opacity: 0.1;
}
.is-product-description > * {
    margin-block-start: 0;
}
.is-product-description > ul + p {
    margin-block-start: var(--wp--preset--spacing--rem-0100);
}

/* single post */
.single-product .entry-content {
    padding-top: 1.5rem;
}

/* Variations */

.is-variation {
    display: none;
    margin-block-start: var(--wp--preset--spacing--rem-0100);
}
.is-variation:target,
.is-variation.is-visible {
    display: block;
}

.is-variation--toggle {
    margin-block-start: var(--wp--preset--spacing--rem-0100);
}
.is-variation--toggle.has-background {
    padding: 0;
} 
.is-variation--toggle.has-background a {
    display: block;
    padding: var(--wp--preset--spacing--rem-0100);
    text-decoration: none;
} 
.is-variation--toggle.has-background a:hover {
    color: var(--wp--preset--color--black);
} 

@media (max-width: 1120px) {
    .is-product-data .is-stoerer {
        left: -20px;
    }
}


/* 
---------------------------------------------
 Dynamic Content Style overrides
---------------------------------------------
*/

.has-dynamic-content .wp-block-buttons {
    gap: var(--wp--preset--spacing--rem-0100);
}
.has-dynamic-content .wp-block-button__width-100 {
    flex-basis: 100%;
    width: 100%;
}
.has-dynamic-content .wp-block-button__width-100 a {
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
    text-align: center;
}

/* 
---------------------------------------------
 Gallery Grid - Style overrides
---------------------------------------------
*/
.wp-block-gallery.is-product--gallery {
    --grid-gap: var(--wp--preset--spacing--rem-0100, 16px);
    gap: var(--grid-gap);
    align-items: flex-start;
}
.wp-block-gallery.is-product--gallery figure.wp-block-image {
    width: calc(50% - var(--grid-gap)/2);
}
.wp-block-gallery.is-product--gallery figure.wp-block-image img {
    object-fit: contain;
}
.wp-block-gallery.is-product--gallery figcaption {
    margin: var(--wp--preset--spacing--rem-0050) 0 0;
    font-size: var(--wp--preset--font-size--small);
}

@media (min-width: 600px) {
    .wp-block-gallery.is-product--gallery figure.wp-block-image {
        width: calc(20% - var(--grid-gap)*.8);
    }
    .wp-block-gallery.is-product--gallery.has-3-columns figure.wp-block-image {
        width: calc(33% - var(--grid-gap)*.66);
    }
}



/* 
---------------------------------------------
 Kontakt Label
---------------------------------------------
*/
.is-contact-label {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 100;
    width: 62px;
    height: 160px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    transition: width .3s ease-out;
    font-size: var(--wp--preset--font-size--title-large);
    overflow: clip;
}
.is-contact-label > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 390px;
    height: 160px;
    margin: 0;
    padding: 0;
    border-radius: 12px 0 0 12px;
    background: #4d4d4d url(assets/img/icons_kontakt.png) no-repeat 0 50%;
    background-size: auto 100%!important; 
    font-size: var(--wp--preset--font-size--title-large);
}
.is-contact-label:hover {
    width: 390px;
}
.is-contact-label ul {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    margin: 0!important;
    padding: 8px 0 8px 68px;
}
.is-contact-label a {
    text-decoration: none;
    color: var(--wp--preset--color--white);
}
.is-contact-label a:hover {
    color: #80bcd5;
}

@media (max-width: 767px) {
    .is-contact-label {
        position: absolute;
        top: 126px;
        transform: translateY(0);

    }
}


/*
-------------------------------------------------------------
 Formular
-------------------------------------------------------------
*/
/* wpcf7 - normalize, variables */
.wpcf7 {
    --gap-input: 24px;
    --gap-radio: 32px;
    --radius: 6px;
    --font-family: var(--wp--preset--font-family--rig-sans);
    --font-size: var(--wp--preset--font-size--copy);
    --font-size-alert: var(--wp--preset--font-size--small);
    --font-size-label: 10px;
    --line-height: 2rem;
    --color-default: var(--wp--preset--color--dark-grey);
    --color-active: var(--wp--preset--color--dark-cyan);
    --color-border: var(--wp--preset--color--light-grey);
    --color-light: var(--wp--preset--color--white);
    --color-alert: var(--wp--preset--color--info-red);
    --color-success: var(--wp--preset--color--leaf-green);
    --input-padding: 0.75rem 1rem ;
}
.wpcf7 p {
    margin: 0;
}
.wpcf7-list-item {
    margin: 0;
}
.input-wrap br {
    display: none;
}

/* Fieldset */
fieldset {
    width: 100%;
    border: none;
    padding: 0;
}
/* fieldset + fieldset {
    margin-block-start: var(--wp--preset--spacing--rem-0150);
} */

/* Positioning + Grid */
/* Columns */
.input-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-input);
}
.col-s { flex-basis: calc((50% - calc(var(--gap-input) * 1.5)) * 0.38); flex-grow: 1;}
.col-m { flex-basis: calc((50% - calc(var(--gap-input) * 1.5)) * 0.62); flex-grow: 1;}
.col-l { flex-basis: calc((100% - var(--gap-input)) * 0.5); flex-grow: 1;}
.col-xl { flex-basis: 100%; flex-grow: 1;}

@media (max-width: 1023px) {
    .wpcf7 {
        --gap-input: 24px;
        --gap-radio: 40px;
    }
    fieldset .has-background {
        padding: var(--wp--preset--spacing--rem-0150) var(--wp--preset--spacing--rem-0100);
    }    
    .col-s,
    .col-m,
    .col-l,
    .col-xl { flex-basis: 100%; }
}

.flex-col {
    display: flex;
    flex-direction: column;
}
.flex-col > .input-box:not(:first-child) {
    margin-top: var(--gap-input);
}
.flex-col > p:empty {display: none;}

/* Radios */
.wpcf7-form-control.wpcf7-radio {
    display: flex;
    gap: var(--gap-radio);
}
/* Checkboxes */
.wpcf7-form-control.wpcf7-acceptance {
    display: block;
    padding-bottom: 1.5rem;
    font-size: var(--font-size-alert);
    line-height: 1.6;
}
.wpcf7-form-control-wrap:last-child .wpcf7-acceptance {
    padding-bottom: 0;
}

/* Form Fields */
/* Input */
input {
    box-sizing: border-box;
    border: 2px solid var(--color-border);
}
/* Text */
input:not([type="checkbox"], [type="radio"], [type="submit"]),
textarea {
    width: 100%;
    border-radius: var(--radius);
    padding: var(--input-padding);
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: var(--color-default);
}
input:not([type="checkbox"], [type="radio"], [type="submit"])::placeholder,
textarea::placeholder {
    color: var(--color-default);
    opacity: 1;
}
input:not([type="checkbox"], [type="radio"], [type="submit"]):hover,
textarea:hover {
    border-color: var(--color-active);
}
input:not([type="checkbox"], [type="radio"], [type="submit"]):focus,
textarea:focus {
    border-color: var(--color-active);
    color: var(--color-default);
    outline: none;
}
.has-value input:not([type="checkbox"], [type="radio"], [type="submit"]),
.has-value select,
.has-value textarea,
.has-value .choices__inner .choices__item {
    color: var(--color-default);
    border-color: var(--color-active);
}
/* input:not([type="checkbox"], [type="radio"], [type="submit"]):focus-visible {
    outline: 2px solid var(--color-active);
    outline-offset: 2px;
} */

/* Textarea */
textarea {
    height: 143px;
    box-sizing: border-box;
    border: 2px solid var(--color-border);
    resize: vertical;
}

/* Radio + Checkbox */
input[type="radio"],
input[type="checkbox"] {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
input[type="radio"] + span,
input[type="checkbox"] + span {
  position: relative;
  display: inline-block;
  padding-left: 36px;
}
/* Pseudo-Input ----- */
input[type="radio"] + span::before,
input[type="checkbox"] + span::before {
  position: absolute;
  top: -2px;
  left: 0;
  display: inline-block;
  width: 20px;
  height: 20px;
  content: '';
  background: var(--color-light);
  border: 2px solid var(--color-border);
  border-radius: 4px;
}
input[type="checkbox"] + span::before {
  background-color: #fff;
}
input[type="radio"] + span::before {
  border-radius: 50%;
}
/* Hover -------------- */
input[type="radio"] + span:hover::before,
input[type="checkbox"] + span:hover::before {
  border-color: var(--color-active);
}
/* Checked + Active ----------- */
input[type="radio"]:checked + span::before,
input[type="checkbox"]:checked + span::before,
input[type="radio"]:active + span::before,
input[type="checkbox"]:active + span::before {
  border-color: var(--color-active);
  background-color: var(--color-light);
}
input[type="radio"]:checked + span::after,
input[type="radio"]:active + span::after {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-block;
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-light);
}
input[type="checkbox"]:checked + span::after {
  position: absolute;
  top: -2px;
  left: 0px;
  width: 24px;
  height: 24px;
  background: url(assets/img/check.svg) no-repeat 50% 50%;
  background-size: 16px 16px;
}

input[type="radio"]:active + span::before,
input[type="checkbox"]:active + span::before {
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .input-box.has-checkbox {
        text-align: center;
    }

}


/* Submit Button */
.has-submit {
    position: relative;
    margin-top: var(--gap-input);
    text-align: center;
}
.has-submit > p:first-child {
    position: relative;
    display: inline-block;
}
.has-submit > p:first-child::before {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    transform: translateY(-50%);
    content: "";
    background-image: url(assets/img/icons/icon-arrow-white.svg); 
    background-repeat: no-repeat;
    background-position: 0 0; 
    background-size: contain;
    pointer-events: none;
}
input[type="submit"] {
    width: fit-content;
    cursor: pointer;
    padding-left: 3rem;
    padding-right: 3rem;
}
.has-submit .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    margin: 0;
    transform: translateY(-50%); 
}


/* Invalid + Alerts */
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: var(--color-alert);
}
.wpcf7-not-valid-tip {
    padding: .5rem 1rem;
    font-size: var(--font-size-alert);
    color: var(--color-alert);
}
.wpcf7 form .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 1em;
    background: var(--color-light);
    color: var(--color-active);
    border: 2px solid var(--color-alert);
    border-radius: 8px;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--color-success);
}

/* Buttons */
.is-add-button .wp-block-button__link,
.wpcf7-field-group-add.wp-block-button__link {
    background: transparent;
    color: var(--wp--preset--color--dark);
}
.is-add-button .wp-block-button__link:hover,
.wpcf7-field-group-add.wp-block-button__link:hover {
    background:var(--wp--preset--color--dark); 
    color:var(--wp--preset--color--light)
}
.is-add-button .wp-block-button__link:active,
.wpcf7-field-group-add.wp-block-button__link:active {
    background:var(--wp--preset--color--grey); 
    border-color:var(--wp--preset--color--grey); 
    color:var(--wp--preset--color--light)
}


/* Choices Styles */
.has-select {
    height: 56px;
}
.choices {
    box-sizing: border-box;
    margin: 0;
    /* fonts-size: var(--wp--preset--font-size--copy); */
}
.choices[data-type*="select-one"]::after {
    content: none;
}
.choices[data-type*="select-one"] .choices__inner {
    box-sizing: border-box;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--color-default);
}
.col-l .choices[data-type*="select-one"] .choices__inner {
    width: calc((100% - var(--gap-input)) * 0.5);
}
.choices__inner .choices__list--single {
    padding: 0;
}
.choices__inner .choices__item {
    box-sizing: border-box;
    padding: var(--input-padding);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-light) url(assets/img/icons/icon-dropdown.svg) no-repeat calc(100% - 20px) 50%;
    background-size: 24px 24px;
    color: var(--white);
    font-size: var(--font-size);
    line-height: var(--line-height);
}
.choices__inner .choices__item:hover {
    border-color: var(--color-active)
}
.choices__inner .choices__placeholder {
    opacity: 1;
    color: var(--color-default);
}
.choices[aria-expanded="true"] .choices__inner .choices__item {
    padding: var(--input-padding);
    border: 2px solid var(--color-active);
}


.choices__list--dropdown, 
.choices__list[aria-expanded] {
    z-index: 2;
    margin: 16px 0 0;
    background: var(--color-light);
    border: 2px solid var(--color-active);
    border-radius: var(--radius);
    color: var(--color--black);
}
.choices__list--dropdown .choices__item, 
.choices__list[aria-expanded] .choices__item {
    position: relative;
    padding: var(--input-padding);
    font-size: var(--font-size);
    line-height: var(--line-height);
}
.choices__list--dropdown .choices__item--selectable.is-highlighted, 
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: var(--color-border);
}

.choices__inner select.wpcf7-not-valid + .choices__list--single .choices__item {
    /* padding: 12px 22px; */
    border: 2px solid var(--color-alert);
}

.choices.is-focused:not(.is-open, :hover) {
    border-radius: 8px;
    outline: 2px solid var(--color-active);
    outline-offset: 2px;
}

/* Label */
.input-box {
    position: relative;
}
.has-text label,
.has-textarea label {
    position: absolute;
    top: 17px;
    left: 18px;
    z-index: 1;
    transition: .3s;
    font-size: var(--font-size);
    color: var(--color-default);
    pointer-events: none;
}
.has-textarea label {
    top: 18px;
}
.has-text:focus-within label,
.has-text.has-value label,
.has-textarea:focus-within label,
.has-textarea.has-value label {
    top: 6px;
    font-size: var(--font-size-label);
    color: var(--color-active);
}
.has-text:focus-within input,
.has-text.has-value input,
.has-textarea:focus-within textarea,
.has-textarea.has-value textarea {
    padding: 1rem 1rem 0.5rem;
}

@media (max-width: 781px) {
    .has-submit {
        text-align: left;
    }
    .has-submit > p:first-child {
    width: 100%;
    }
    input[type="submit"] {
        width: 100%;
    }
}

@media (max-width: 1023px) {
    .col-l .choices[data-type*="select-one"] .choices__inner {
        width: 100%;
    }
}