/* ---------------------------------------------------------------------------------------------

	Theme Name: WorkDigital Foundation Child
	Version: 0.1
	Description: Child theme for WorkDigital Foundation theme
	Author: WorkDigital
	Author URI: https://workdigital.dk
    Template: wd-foundation

/* --------------------------------------------------------------------------------------------- */

/* wd-foundation compatability ændringer begynder */

:root {
    --hero-section-height: 550px;
}

body {
    font-family: var(--primary-font-stack);
    font-size: var(--body-font-size);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .headline, h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, .h1 *, .h2 *, .h3 *, .h4 *, .h5 *, .h6 *, .headline * {
    font-family: var(--primary-font-stack)!important;
}

* {
    font-family: var(--secondary-font-stack)!important;
}

.entry-content {
    font-family: var(--primary-font-stack);
    font-size: var(--body-font-size);
}

.entry-content p, .entry-content li {
    line-height: var(--body-line-height);
}

.wdf-align-standard {
    max-width: var(--theme-standard-width);
    margin-left: auto;
    margin-right: auto;
}

.wdf-align-narrow {
    max-width: var(--theme-narrow-width);
    margin-left: auto;
    margin-right: auto;
}

/*.entry-content > *,*/
.wdf-align-full > *,
.wp-block-cover.wdf-align-full .wp-block-cover__inner-container > * {
    width: var(--theme-standard-width);
    max-width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
}

.wdf-align-full, .wp-block-cover.wdf-align-full > * {
    width: 100%!important;
    max-width: 100%!important;
    margin-left: 0!important;
    margin-right: 0!important;
}

.header-topper-item .wd-icon {
    top: 1px;
}

.header-topper-items {
    font-size: var(--small-font-size);
}

@media screen and (min-width: 1190px) and (hover: hover) {
    .sub-menu, .main-header-nav-open, .nav-backdrop, .nav-drawer-header, .main-header-menu .menu-item.menu-item-has-children > span.icon {
        display: none;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-inner {
        height: auto;
        align-items: center;
        max-height: var(--header-height);
        padding: 0px 24px;
        --dropdown-menu-distance: 5px;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    nav.main-header-nav {
        position: relative;
        height: auto;
        background: none;
        border: none;
        width: auto;
        max-width: unset;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        border-radius: 0;
        transform: none;
        transition: none;
        color: inherit;
        pointer-events: all;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu .menu-item.menu-item-has-children:hover > a {
        position: relative;
        z-index: 1;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header.main-header--hide-icons-on-desktop .menu-item .wd-icon {
        display: none;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header.main-header--hide-icons .menu-item > a, .main-header:not(.main-header--hide-icons) .menu-item > a:not(:has(.wd-icon)), .main-header:not(.main-header--hide-icons-on-desktop) .menu-item > a:not(:has(.wd-icon)) {
        padding-left: 0;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu {
        display: flex;
        gap: 24px;
        margin: 0;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu .menu-item.menu-item-object-custom.menu-item-has-children > a {
        pointer-events: none;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu .menu-item.menu-item-has-children > a:after {
        content: "";
        display: block;
        width: 0px;
        height: 0px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 6px solid var(--header-text-color);
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu .menu-item > a {
        display: flex;
        border-radius: 0;
        padding: 0;
        height: var(--header-height);
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu .menu-item > a.expand-sub-menu {
        display: none;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu > .menu-item > a:active, .main-header-menu > .menu-item > a:focus, .main-header-menu > .menu-item.current_page_item > a {
        background: none!important;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .sub-menu {
        max-height: unset;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header:not(.main-header--hide-icons-on-desktop) .sub-menu .menu-item > a {
        padding-left: 16px;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu .menu-item:has(> a[href="#"]):not(.is-expanded) .sub-menu {
        max-height: unset;
        pointer-events: all;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu .menu-item.menu-item-has-children:hover > ul.sub-menu {
        overflow: visible;
        display: block;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu > .menu-item > a:before {
        content: "";
        bottom: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 42px;
        height: 3px;
        background-color: var(--header-active-color);
        border-radius: 3px 3px 0 0;
        opacity: 0;
        transition: opacity var(--standard-transition);
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header--hide-icons .main-header-menu > .menu-item.menu-item-has-children > a:before, .main-header--hide-icons-on-desktop .main-header-menu > .menu-item.menu-item-has-children > a:before {
        left: calc(-10px + 50%);
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header--show-icons .main-header-menu > .menu-item > a:before {
        left: calc(18px + 50%);
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header--show-icons .main-header-menu > .menu-item.menu-item-has-children > a:before {
        left: calc(8px + 50%);
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu > .menu-item.current_page_item > a:before, .main-header-menu > .menu-item.current-menu-parent > a:before {
        opacity: 0.7;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu > .menu-item.current_page_item:hover > a:before, .main-header-menu > .menu-item:hover > a:before, .main-header-menu > .menu-item.current-menu-parent:hover > a:before {
        opacity: 1;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        position: absolute;
        background: var(--background-color);
        box-shadow: var(--shadowlevel-1);
        border-radius: 8px;
        transform: translateY(var(--dropdown-menu-distance));
        top: 100%;
        right: 0;
        min-width: 180px;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu:after {
        content: "";
        height: calc(var(--dropdown-menu-distance) + 28px);
        width: 100%;
        background: transparent;
        position: absolute;
        display: block;
        top: calc((var(--dropdown-menu-distance) * -1) - 28px);
        left: auto;
        right: 0;
        bottom: -7px;
        clip-path: polygon(60% 0, 100% 0, 100% 100%, 0% 100%);
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu li {
        margin: 0;
        padding: 0;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu li:not(:last-child) {
        border-bottom: 1px solid var(--surface-color);
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu li a {
        display: flex;
        margin: 0;
        padding: 8px 16px;
        color: inherit;
        text-decoration: none;
        transition: background-color var(--slow-transition);
        color: var(--text-color);
        height: auto;
        border-radius: 0;
        white-space: nowrap;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu li a .wd-icon {
        width: 24px;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu li:first-child a {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu li:last-child a {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu li a:hover {
        background-color: var(--surface-color);
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu > ul > li.menu-item-has-children:hover ul.sub-menu {
        display: flex;
        flex-direction: column;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu .menu-item.menu-item-has-children ul.sub-menu {
        display: none;
        right: calc(100% - 10px);
        top: 0;
        z-index: 1;
    }

}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-menu ul.sub-menu .menu-item.menu-item-has-children:hover > ul.sub-menu {
        display: block;
    }

}

.hero-section {
    min-height: var(--hero-section-height);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-section h1.wp-block-heading {
    font-size: var(--huge-font-size);
    max-width: 768px;
}

.hero-section p {
    max-width: 60rem;
}

.hero-section p.has-text-align-center {
    margin-left: auto;
    margin-right: auto;
}

.hero-section.hero-section-type-farve {
    background: var(--hero-section-background);
}

.hero-section.hero-section-type-farve .hero-section-content {
    background: none;
}

.hero-section.hero-section--auto-height {
    min-height: unset;
    height: auto;
}

.hero-section.hero-section--auto-height .hero-section-content {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 80px 0 20px;
}

.hero-section.hero-section-type-video {
    min-height: unset;
    height: 56.25vw;
    max-height: var(--hero-section-height);
}

.hero-section-video-wrapper {
    height: 100%;
}

.hero-section-video-wrapper video {
    position: absolute;
    width: auto!important;
    height: auto!important;
    aspect-ratio: var(--video-width) / var(--video-height);
    min-height: 100%;
    min-width: 100%;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    transform: translateX(-50%);
}

iframe.hero-video-iframe {
    width: 100vw!important;
    height: 56.25vw!important;
    display: block;
    max-width: unset;
    aspect-ratio: 64 / 36;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(-50%);
}

.hero-section-image-wrapper, .hero-section-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    scroll-behavior: smooth;
}

.hero-section-image-wrapper .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    object-position: center center;
    height: 100%;
    width: 100%;
}

.hero-section--parallax .hero-section-image-wrapper .hero-image {
    object-position: center var(--parallax-percent);
    scroll-behavior: smooth;
    transition: object-position 1ms linear;
    perspective: 1px;
    transform: translateZ(1px);
    height: var(--hero-section-height);
    min-width: var(--img-width);
}

.hero-section--parallax.hero-section--parallax-bottom .hero-section-image-wrapper .hero-image {
    object-position: center calc((var(--parallax-percent) * -1) + 50%);
}

.hero-section.hero-section-type-img .hero-section-content {
    color: var(--hero-section-text-color);
    display: flex;
    align-items: flex-end;
}

.hero-section.hero-section-gradient .hero-section-content {
    background: linear-gradient(0deg, var(--hero-section-separator-color), transparent 50%);
}

.hero-section.hero-section-triangle {
    clip-path: polygon(100% 0, 100% calc(100% - min(10vw, 100px)), 70% 100%, 0 calc(100% - min(10vw, 100px)), 0 0);
    -webkit-backface-visibility: hidden;
}

.hero-section-triangle .hero-section-inner {
    padding-top: calc(var(--gap) * 2);
    margin-bottom: 70px;
}

.hero-section-inner {
    width: var(--theme-standard-width);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 60px 0;
}

.hero-section .wp-block-buttons {
    margin: 0 0 30px;
    display: flex;
    gap: 10px;
}

.wp-block-buttons:has(.has-text-align-center), *.has-text-align-center + .wp-block-buttons {
    justify-content: center;
}

.hero-section.hero-section--low-res .hero-section-image-wrapper:not(.hero-section-image-wrapper--low-res) {
    background-color: #000;
}

.hero-section.hero-section--low-res .hero-section-image-wrapper:not(.hero-section-image-wrapper--low-res) .hero-image {
    filter: blur(10px);
}

.hero-section-image-wrapper .hero-image.hero-image--low-res {
    width: var(--img-width);
    height: var(--img-height);
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    box-shadow: var(--shadowlevel-5);
}

@media screen and (max-width: 420px) {
    .hero-section .wp-block-buttons {
        flex-direction: column;
    }

}

@media screen and (min-width: 700px) {
    .hero-section-inner {
        max-width: calc(100% - 80px);
    }

}

.wpcf7 {
    width: 100%;
    max-width: 600px;
}

footer.site-footer .footer-inner {
    max-width: calc(100% - 40px);
    padding: 40px 0;
}

.footer-columns {
    gap: calc(var(--footer-gap) * 3);
}

@media screen and (min-width: 601px) {
    .footer-columns {
        display: grid;
        grid-template-columns: repeat(var(--num-footer-columns), 1fr);
        gap: var(--footer-gap);
        align-items: start;
    }

}

@media screen and (min-width: 700px) {
    footer.footer .footer-inner {
        max-width: calc(100% - 80px);
    }

}

@media screen and (max-width: 600px) {
    .footer-column {
        max-width: 90vw;
        width: 300px;
    }

}

p.footer-headline {
    font-family: var(--primary-font-stack)!important;
    margin: 0;
    font-size: var(--medium-font-size);
    line-height: 100%;
    font-weight: bold;
}

li.footer-item.footer-item--type-opening-hours {
    max-width: 280px;
}

li.footer-item .wd-icon {
    position: relative;
    top: 1px;
}

li.footer-item span.icon-space {
    width: 24px;
}

@media screen and (max-width: 999px) {
    .header-topper {
        height: 40px;
    }

}

@media screen and (max-width: 767px) {
    .hero-title {
        font-size: var(--large-font-size);
    }

}

@media screen and (max-width: 619px) {
    .hero-title {
        font-size: var(--medium-font-size);
    }

}

body *:not(.post-inner) > .entry-content > *:first-child {
    margin-top: 3.5rem;
}

body .entry-content > *:first-child {
    margin-top: 3.5rem;
}

body .entry-content > *:last-child {
    margin-bottom: 3.5rem;
}

@media screen and (min-width: 700px) {
    body .entry-content > *:first-child {
        margin-top: 6rem;
    }

}

@media screen and (min-width: 700px) {
    body .entry-content > *:last-child {
        margin-bottom: 6rem;
    }

}

.wd-icon * {
    fill: currentColor;
}

h2.wp-block-heading {
    font-size: var(--large-font-size);
}

.wp-block-group > :last-child, .wp-block-column > :last-child, .wp-block-group__inner-container > :last-child {
    margin-bottom: 0!important;
}

.wp-block-button .wp-block-button__link,
.btn,
.wpcf7 .kontaktform-rows .kontaktform-form-row input.wpcf7-submit {
    text-transform: initial;
    letter-spacing: 0;
    line-height: 0;
    background-color: var(--btn-color);
    color: var(--btn-text-color);
    border-radius: 26px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: background-color var(--standard-transition);
    text-decoration: none;
    font-weight: var(--bold);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

a.checkout-button.button.alt.wc-forward,
#place_order.button.alt {
    border-radius: 40px;
}

.wp-block-button .wp-block-button__link:hover, .btn:hover, .wpcf7 .kontaktform-rows .kontaktform-form-row input.wpcf7-submit:hover {
    background-color: var(--btn-color-hover);
}

.wp-block-button .wp-block-button__link svg {
    fill: currentColor;
}

ul.firmainfo li.icon-space {
    padding-left: calc(24px + 0.5ch);
}

.wpcf7 {
    max-width: 100%;
}

.wp-block-contact-form-7-contact-form-selector {
    margin-top: 40px;
}

.wpcf7-form {
    border-radius: var(--theme-border-radius);
    overflow: hidden;
    box-shadow: var(--shadowlevel-1);
}

.entry-content .wp-block-contact-form-7-contact-form-selector h3 {
    padding: 20px;
    margin: 0;
    display: block;
    text-align: center;
    background: var(--secondary-color);
    font-size: var(--medium-font-size);
    font-weight: var(--bold);
    color: var(--background-color);
}

.kontaktform-rows {
    display: grid;
    grid-template-columns: 1fr;
}

@media screen and (min-width: 520px) {
    .kontaktform-rows {
        grid-template-columns: 1fr 1fr;
    }

}

.kontaktform-form-row {
    position: relative;
    background-color: var(--kontaktformular-bg);
    padding: 20px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
}

.wpcf7 .kontaktform-rows .kontaktform-form-row * {
    color: var(--text-color);
}

.kontaktform-form-row p {
    position: relative;
}

.kontaktform-form-row p:last-child {
    margin-bottom: 0;
}

.kontaktform-image-row {
    position: relative;
    min-height: 160px;
}

.kontaktform-image-row img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.kontaktform-form-row .wpcf7-spinner {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"], textarea {
    padding: 1rem 1.8rem;
}

.kontaktform-form-row textarea {
    height: 9rem;
}

.wpcf7-form {
    position: relative;
}

.wpcf7 form:not(.invalid) .wpcf7-response-output:not(:empty) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--theme-border-radius);
    display: grid;
    place-items: center;
    font-weight: var(--bold);
    text-align: center;
    z-index: 1;
    border: none;
    background-color: var(--dark);
    background-color: color-mix(in srgb, var(--dark), transparent 10%);
    box-shadow: var(--shadowlevel-3);
    height: calc(100% - 40px);
    width: calc(100% - 40px);
    margin: auto;
    font-size: var(--medium-font-size);
    color: var(--light);
}

.wpcf7 {
    position: relative;
}

.wpcf7 label {
    position: static;
}

.wpcf7 *::placeholder {
    color: transparent;
    user-select: none;
    pointer-events: none;
}

.wpcf7 .label-text {
    position: absolute;
    top: 10px;
    z-index: 1;
    left: calc(19px - 0.5ch);
    font-size: var(--body-font-size);
    transition: transform var(--standard-transition);
    padding: 0 0.5ch;
    pointer-events: none;
}

.wpcf7 label:has(input:not(:placeholder-shown)) .label-text, .wpcf7 label:has(textarea:not(:placeholder-shown)) .label-text, .wpcf7 label:focus-within .label-text {
    transform: translateY(-22px);
    background: linear-gradient(0deg, var(--kontaktformular-inner-bg) 13px, transparent);
}

.wpcf7 label input, .wpcf7 label textarea {
    letter-spacing: normal;
    background: var(--kontaktformular-inner-bg);
    border-radius: 8px;
    border: 1px solid var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
    outline: none;
}

.wpcf7 label input {
    padding: 5px 20px;
    min-height: 44px;
    width: 100%;
}

.wpcf7 label textarea {
    padding: 15px 20px;
    width: 100%;
}

.wpcf7 label input:focus, .wpcf7 label textarea:focus {
    outline: 2px solid var(--text-color);
    outline-offset: -2px;
}

.wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--kontaktformular-inner-bg) inset !important;
}

.wpcf7-not-valid-tip {
    position: absolute;
    bottom: 1px;
    right: 3px;
    font-size: 0.7em;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: red;
    border-radius: var(--theme-border-radius);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: var(--background-color);
    opacity: 0.8;
    text-align: center;
    margin: 0;
    font-size: var(--small-font-size);
    pointer-events: none;
}

.dialog-alt-p {
    font-weight: bold;
}

.wp-block-yoast-faq-block, .schema-faq {
    width: 100%;
    max-width: 850px!important;
    margin-left: auto;
    margin-right: auto;
    margin-top: 70px;
}

.wp-block-yoast-faq-block .schema-faq-answer, .schema-faq .schema-faq-answer {
    display: none;
    padding-left: 38px;
    padding-top: 10px;
}

.wp-block-yoast-faq-block .schema-faq-section.active .schema-faq-answer, .schema-faq .schema-faq-section.active .schema-faq-answer {
    display: block;
}

.schema-faq-question {
    user-select: none;
    cursor: pointer;
}

.schema-faq-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid color-mix(in srgb, var(--text-color), transparent 70%);
}

strong.schema-faq-question {
    display: flex;
    font-weight: 600;
    align-items: center;
}

strong.schema-faq-question::before {
    display: inline-block;
    content: url("wd-foundation/icons/plus.svg");
    width: 24px;
    height: 24px;
    margin-right: 14px;
    opacity: 0.3;
}

.wp-block-yoast-faq-block .schema-faq-section.active strong.schema-faq-question::before, .schema-faq .schema-faq-section.active strong.schema-faq-question::before {
    content: url("wd-foundation/icons/minus.svg");
}

body.dark-mode strong.schema-faq-question::before {
    content: url("wd-foundation/icons/plus-white.svg");
}

body.dark-mode .wp-block-yoast-faq-block .schema-faq-section.active strong.schema-faq-question::before, body.dark-mode .schema-faq .schema-faq-section.active strong.schema-faq-question::before {
    content: url("wd-foundation/icons/minus-white.svg");
}


/* Source: _wd-foundation/blocks/employees/employees.css */
/* Compared with: wd-foundation/blocks/employees/employees.css */

.wd-cards--employees .wd-card-content-wrapper .wd-card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 0;
    line-height: normal;
}


/* Source: _wd-foundation/blocks/wd-cards/wd-cards.css */
/* Compared with: wd-foundation/blocks/wd-cards/wd-cards.css */

.wd-cards-wrapper {
    --wd-cards-space: 8px;
}

.wd-cards {
    gap: var(--wd-cards-space);
}

.wd-card-content-wrapper .wd-card-excerpt p, .wd-card-content-wrapper .wd-card-content p {
    font-size: var(--body-font-size);
}

.wp-element-button.wd-button {
    height: 52px;
}

@media screen and (max-width: 570px) {
    .wp-element-button.wd-button {
        font-size: 12px;
    }

}

.wda-controls-btn {
    border: 5px solid transparent;
}


/* Source: _wd-foundation/blocks/wd-usp/wd-usp.css */
/* Compared with: wd-foundation/blocks/wd-usp/wd-usp.css */

.wd-usp-container {
    display: flex;
}

.wd-usp__title {
    font-size: var(--small-font-size);
}

.wd-usp__title + .wd-usp__text {
    margin-top: 5px;
}

.wd-usp__text {
    font-size: var(--small-font-size);
}

/* wd-foundation compatability ændringer afsluttet */

html {
    scroll-behavior: smooth;
}

.tekstombrydning {
    float: left;
    margin: 0 10px 2px 0;
}

.flydende-flex > *[style*="flex-basis"]{
	flex-basis: fit-content!important;
}
.flydende-flex > *[style*="flex-basis"]:first-child{
	flex-shrink: 0!important;
}

h2.wp-block-heading {
    line-height: 1.2;
}

/*
    ——————————
    Variabler
    ——————————
*/
:root {
    --standard-padding: 40px;
    --standard-padding-vertical: 30px;
    --standard-padding-full: 30px 40px 30px;
    --btn-padding: .618em 1em;
}


/* WooCommerce */

.woocommerce .quantity .qty {
    color: var(--text-color);
    padding: 10px;
    background: var(--background-color);
    border: 1px solid var(--separator);
    border-radius: 8px;
    width: 60px;
}

.btn.btn--from-shortcode.hero-btn {
    --btn-color: var(--primary-color);
    --btn-text-color: var(--light);
    border: 2px solid var(--btn-color);
    background: linear-gradient(0deg, color-mix(in srgb, var(--btn-color), black 20%), var(--primary-color));
    margin: 20px 0 0;
	transition: border-color var(--standard-transition);
}

.btn.btn--from-shortcode.hero-btn a{
	color: inherit;
	text-decoration: none;
	display: contents;
}

.btn.btn--from-shortcode.hero-btn:hover {
    border: 2px solid color-mix(in srgb, var(--btn-color), black 20%);
}

/* Header */

.main-header-logo-link{
    position: relative;
    top: 15px;
    max-width: 85%;
}

.main-header-logo-link img{
    max-height: unset;
    max-width: unset;
    width: auto;
    height: auto;
}

header.wd-header {
    box-shadow: none;
}

.main-header-menu .menu-item.space-right {
    margin-right: 60px;
}

.main-header-menu .user-focus {
    cursor: pointer;
}

.main-header-inner {
    justify-content: space-between;
}

@media screen and (min-width: 1190px) and (hover: hover) {
    .main-header-inner {
        justify-content: flex-end;
    }

    .main-header-logo-link{
        position: absolute;
        /* top: 26px; */
        left: calc(50vw - (var(--theme-standard-width) / 2) - 10px);
    }

    .main-header-menu .menu-item > a {
        font-family: var(--primary-font-stack) !important;
        font-weight: bold;
    }

    .main-header--show-icons .main-header-menu > .menu-item:not(:has(.wd-icon)) > a:before {
        left: 50%;
    }

    .main-header--show-icons .main-header-menu > .menu-item:has(.wd-icon) > a:before {
        left: calc(18px + 50%);
    }
}

/* Hero */

.hero-section {
    min-height: var(--hero-section-height);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-section h1.wp-block-heading {
    font-size: var(--huge-font-size);
    max-width: 768px;
}

.hero-section p{
    max-width: 60rem;
}

.hero-section p.has-text-align-center {
    margin-left: auto;
    margin-right: auto;
}

.hero-section.hero-section-type-farve{
    background: var(--hero-section-background);
}

.hero-section.hero-section-type-farve .hero-section-content{
    background: none;
}

.hero-section.hero-section--auto-height {
    min-height: unset;
    height: auto;
}

.hero-section.hero-section--auto-height .hero-section-content {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 80px 0 20px;
}

.hero-section.hero-section-type-video {
    min-height: unset;
    height: 56.25vw;
    max-height: var(--hero-section-height);
}

.hero-section-video-wrapper {
    height: 100%;
}

.hero-section-video-wrapper video {
    position: absolute;
    width: auto!important;
    height: auto!important;
    aspect-ratio: var(--video-width) / var(--video-height);
    min-height: 100%;
    min-width: 100%;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    transform: translateX(-50%);
}

iframe.hero-video-iframe{
    width: 100vw!important;
    height: 56.25vw!important;
    display: block;
    max-width: unset;
    aspect-ratio: 64 / 36;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(-50%);
}

.hero-section-image-wrapper,
.hero-section-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    scroll-behavior: smooth;
}

.hero-section-image-wrapper .hero-image{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    object-position: center center;
    height: 100%;
    width: 100%;
}

.hero-section--parallax .hero-section-image-wrapper .hero-image{
    object-position: center var(--parallax-percent);
    scroll-behavior: smooth;
    transition: object-position 1ms linear;
    perspective: 1px;
    transform: translateZ(1px);
    height: var(--hero-section-height);
    min-width: var(--img-width);
}

.hero-section--parallax.hero-section--parallax-bottom .hero-section-image-wrapper .hero-image{
    object-position: center calc((var(--parallax-percent) * -1) + 50%);
}

.hero-section.hero-section-type-img .hero-section-content{
    color: var(--hero-section-text-color);
    display: flex;
    align-items: flex-end;
}

.hero-section.hero-section-gradient .hero-section-content{
    background: linear-gradient(0deg, var(--hero-section-separator-color), transparent 50%);
}

.hero-section.hero-section-triangle{
    clip-path: polygon(100% 0, 100% calc(100% - min(10vw, 100px)), 70% 100%, 0 calc(100% - min(10vw, 100px)), 0 0);
    -webkit-backface-visibility: hidden;
}

.hero-section-inner{
    width: var(--theme-standard-width);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 60px 0;
}

.hero-section .wp-block-buttons {
    margin: 0 0 30px;
    display: flex;
    gap: 10px;
}

.wp-block-buttons:has(.has-text-align-center),
*.has-text-align-center + .wp-block-buttons {
    justify-content: center;
}

.hero-section.hero-section--low-res .hero-section-image-wrapper:not(.hero-section-image-wrapper--low-res){
    background-color: #000;
}
.hero-section.hero-section--low-res .hero-section-image-wrapper:not(.hero-section-image-wrapper--low-res) .hero-image{
    filter: blur(10px);
}

.hero-section-image-wrapper .hero-image.hero-image--low-res{
    width: var(--img-width);
    height: var(--img-height);
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    box-shadow: var(--shadowlevel-5);
}

@media screen and (max-width: 420px){
    .hero-section .wp-block-buttons {
        flex-direction: column;
    }
}

@media screen and (min-width: 700px) {

    .hero-section-inner{
        max-width: calc(100% - 80px);
    }
}

.hero-section.hero-section-type-farve{
    background-repeat: no-repeat;
    background-position: bottom right 60%;
}

.hero-section-triangle .hero-section-inner {
    margin-left: auto;
    margin-right: auto;
}

.hero-section.hero-section-type-farve .hero-section-content {
    background-color: color-mix(in srgb, var(--background-color) 75%, transparent);
}

.hero-section-triangle .hero-section-inner h1{
    font-size: 56px;
    max-width: 650px;
    line-height: 50px;
    margin-bottom: 20px;
    letter-spacing: -4px;
    text-transform: uppercase;
    text-shadow: 0px 3px 64px color-mix(in srgb, var(--secondary-color), var(--light) 20%);
}

.hero-section p {
    text-shadow: 0px 3px 64px color-mix(in srgb, var(--secondary-color), var(--light) 20%);
}

@property --gradeg {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0deg;
}

.btn.btn--from-shortcode.hero-btn {
    --btn-color: var(--primary-color);
    --btn-text-color: var(--light);
    --gradeg: 0deg;
    border: 3px solid #000;
    background: linear-gradient(var(--gradeg),
color-mix(in srgb, var(--btn-color), black 20%), var(--primary-color));
    padding: 24px 28px;
    margin: 30px 0 0;
    transition: all var(--standard-transition);
    outline: 5px solid #fff;
    padding: 10px 28px;
    font-size: var(--small-headline-font-size);
    line-height: var(--small-headline-line-height);
}

.btn.btn--from-shortcode.hero-btn:hover {
    --btn-color: var(--primary-color);
    --btn-text-color: var(--light);
    --gradeg: 90deg;
    border: 3px solid #000;
    outline: 5px solid #fff;
}

@media screen and (min-width: 600px) {
    .hero-section-triangle .hero-section-inner h1{
        font-size: 86px;
        max-width: 650px;
        line-height: 80px;
    }
}

@media screen and (min-width: 1000px) {
    .hero-section.hero-section-type-farve .hero-section-content {
        background: none;
    }

    .hero-section.hero-section-type-farve{
        background-position: bottom right;
    }
}

/* USPS Cards */

.wd-cards-wrapper.usps{
    position: relative;
    --wd-cards-space: 80px;
    --wd-card-bg: var(--background-color);
    --wd-card-border-radius: 40px;
    --wd-card-shadowlevel: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
}

.wd-cards-wrapper.usps .wd-card-content-wrapper {
    padding: 30px 40px 30px;
}

.wd-cards-wrapper.usps .wd-card-image-wrapper {
    padding: 40px 40px 0;
}

.wd-cards-wrapper.usps img.wd-card-image {
    border-radius: 0;
    width: auto;
    object-fit: initial;
    object-position: initial;
    aspect-ratio: initial;
}

.wd-cards-wrapper.usps .wd-card-content-wrapper .wd-card-title:is(h1,h2,h3,h4,h5,h6,p) {
    font-weight: bold;
    font-size: 30px;
}

.wd-cards-wrapper.usps .wd-card {
    transition: all 225ms ease-out;
}

.wd-cards-wrapper.usps .wd-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadowlevel-5), 0px 20px 70px 10px rgba(0, 0, 0, 0.22);
}

.wd-cards-wrapper.usps .wd-card-content-wrapper .wd-card-title + .wd-card-button,
.wd-cards-wrapper.usps .wd-card-content-wrapper .wd-card-title-link + .wd-card-button,
.wd-cards-wrapper.usps .wd-card-content-wrapper .wd-card-content + .wd-card-button {
    margin-top: 0;
}
.wd-cards-wrapper.usps .wp-block-button .wp-block-button__link{
    --btn-text-color: var(--text-color)
}

@media screen and (max-width: 1200px) {
    .wd-cards-wrapper.usps {
        --wd-cards-space: 20px;
    }

    .wd-cards-wrapper.usps .wd-card-content-wrapper .wd-card-title:is(h1,h2,h3,h4,h5,h6,p) {
        font-size: 20px;
    }

    .wd-cards-wrapper.usps .wp-block-button__link {
        font-size: 16px;
    }
}

@media screen and (max-width: 750px) {
    .wd-cards-wrapper.usps .wd-cards {
        grid-template-columns: repeat(var(--mobile-columns), 1fr);
    }
}


/*Processlinje cards*/

.wd-cards-wrapper.process {
    --wd-cards-space: 0;
    --wd-card-shadowlevel: 0;
    --wd-card-border-radius: 0;
    --wd-card-bg: transparent;
    text-align: center;
    margin-bottom: 50px;
}

.wd-cards-wrapper.process .wd-card-image-wrapper {
    display: flex;
    justify-content: center;
}

.wd-cards-wrapper.process img.wd-card-image {
    border-radius: 0;
    width: auto;
    object-fit: initial;
    object-position: initial;
    aspect-ratio: initial;
}

.wd-cards-wrapper.process .wd-card-content {
    color: color-mix(in srgb, var(--text-color), var(--background-color));
    margin-top: 4px;
}

.wd-cards-wrapper.process .wd-card:not(:first-child,:last-child) {
    transform: translateY(60px);
}

@media screen and (max-width: 1000px){
    .wd-cards-wrapper.process .wd-card:not(:first-child,:last-child) {
        transform: translateY(0);
    }
}

/* Arrow background*/

.arrow-background--white {
    background-repeat: no-repeat;
    background-position: top calc(50%) center;
}

.arrow-background--white{
    background-image: url(https://a-stickers-dk.testdigital.dk/wp-content/uploads/2025/01/arrow-white.png);
}

/*Citationstegn*/

figure.citationstegn {
    position: absolute;
    top: -40px;
    right: -20px;
    max-width: 130px;
}

.citationsbokse .citationsboks {
    --wd-card-bg: var(--background-color);
    display: grid;
    grid-template-rows: auto 1fr;
    background-color: var(--wd-card-bg);
    border-radius: 40px;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
    padding: 40px;
    position: relative;
}


.citationsbokse > .wp-block-group__inner-container > .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.citationsbokse > .wp-block-group__inner-container > .wp-block-columns:not(:last-child) {
    margin-bottom: 50px;
}

.quotee {
    margin-top: 20px;
    gap: 10px;
}

.quotee img {
    width: 83px;
    max-width: 100%;
}

.quotee p {
    font-size: 24px;
    font-weight: bold;
}

.quotee > .wp-block-column {
    flex-basis: auto !important;
    align-items: center;
    display: flex;
    gap: 0;
}

.reviews-extra-wrapper .wdf-align-full > * {
    max-width: 100% !important;
}

@media screen and (max-width: 1200px) {
    figure.citationstegn {
        position: absolute;
        top: -20px;
        right: -15px;
    }

    figure.citationstegn img {
        max-width: 80px;
    }

    .citationsbokse .citationsboks h2 {
        font-size: 28px;
    }
}

@media screen and (min-width: 900px) {
    .citationsbokse > .wp-block-group__inner-container > .wp-block-columns {
        gap: 80px;
    }

    .citationsbokse > .wp-block-group__inner-container > .wp-block-columns:not(:last-child) {
        margin-bottom: 80px;
    }
}

@media screen and (min-width: 782px) {
    .citationsbokse > .wp-block-group__inner-container > .wp-block-columns {
        grid-template-columns: 1fr 1fr;
    }

    .citationsbokse .citationsboks:last-child {
        transform: translateY(80px);
    }
}

@media screen and (max-width: 500px) {
    .citationsbokse .citationsboks {
        padding: 30px;
    }
}

/*Category Display*/

.woocommerce-loop-category__title mark{
    display: none;
}

.woocommerce ul.products li.product {
    transition: all var(--standard-transition);
}

.woocommerce ul.products li.product a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--standard-transition);
}

.woocommerce ul.products li.product a:not(:has(.price)) img {
    width: auto;
    box-shadow: 0px 1px 4px 4px #000;
    border-radius: 20px;
    border: 4px solid #000;
    outline: 4px solid #fff;
    margin: 0;
    transition: all var(--standard-transition);
    aspect-ratio: 227 / 170;
    object-fit: cover;
    max-width: 227px;
    width: 100%;
    background: var(--light);
}

.woocommerce ul.products li.product a:has(.price) img {
    aspect-ratio: 1 / 1;
}

li.product-category {
    display: flex;
    justify-content: center;
}

h2.woocommerce-loop-category__title {
    text-align: center;
}

.woocommerce ul.products li.product a:not(:has(.price)):hover img {
    box-shadow: 0px 6px 6px 4px rgba(0, 0, 0, 0.5);
    /* transform: translateY(-5px); */
    transition: all var(--standard-transition);
}

.term-description * + *:not(:first-child) {
    margin-top: 24px;
}
.term-description {
    margin: 90px auto 90px !important;
}

.woocommerce-page ul.products li:has(.price) {
    padding: 30px !important;
    border: 1px solid var(--separator);
    border-radius: 20px;
    text-align: center;
    transition: all var(--standard-transition);
}

.woocommerce-page ul.products li:has(.price):hover {
    box-shadow: var(--shadowlevel-2);
    transform: translateY(-6px);
}

.woocommerce-page ul.products li:has(.price) .woocommerce-loop-product__title{
    font-weight: normal;
    color: var(--text-color);
}

/*FAQ*/

.faq-headline{
    position: relative;
}

.faq-headline:after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.faq-headline.faq-headline--1:after {
    background: linear-gradient(45deg, var(--secondary-color), color-mix(in srgb, var(--secondary-color), var(--background-color)));
    height: 300px;
    width: 300px;
    border-radius: 300px;
    top: -160px;
    left: -120px;
    box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
}

.faq-headline.faq-headline--2:after {
    background: linear-gradient(115deg, var(--secondary-color), color-mix(in srgb, var(--secondary-color), var(--background-color)));
    height: 240px;
    width: 240px;
    border-radius: 300px;
    top: -120px;
    left: 60px;
    box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
}

.faq-headline.faq-headline--3:after {
    background: linear-gradient(-45deg, var(--secondary-color),
color-mix(in srgb, var(--secondary-color), var(--background-color)));
    height: 280px;
    width: 280px;
    border-radius: 300px;
    top: -148px;
    left: -73px;
    box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
}

.faq-headline.faq-headline--4:after {
    background: linear-gradient(89deg, var(--secondary-color), color-mix(in srgb, var(--secondary-color), var(--background-color)));
    height: 260px;
    width: 260px;
    border-radius: 300px;
    top: -160px;
    left: -120px;
    box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
}

.wp-block-group:has(.faq-headline) .wp-block-column:empty {
    position: relative;
}

.wp-block-group:has(.faq-headline) .wp-block-column:empty:after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(89deg, var(--primary-color), color-mix(in srgb, var(--primary-color), var(--background-color)));
    height: 260px;
    width: 260px;
    border-radius: 300px;
    top: 60px;
    left: 60px;
    box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
}

.wp-block-group:has(.faq-no-shadow) .wp-block-column:empty:after {
    box-shadow: none;
}

@media screen and (max-width: 781px) {
    .wp-block-group:has(.faq-headline) .wp-block-column:empty {
        position: absolute;
        width: 100%;
        contain: layout;
        z-index: -1;
    }

    .faq-headline:after {
        box-shadow: none !important;
        height: 300px !important;
        width: 300px !important;
        top: -30px !important;
        left: -110px !important;
    }

    .wp-block-group:has(.faq-headline) .wp-block-column:empty:after {
        left: auto;
        right: -80px;
        top: 60px;
        transform-origin: center;
        max-width: 100vw;
        bottom: 0;
    }

    .wp-block-group:has(.faq-headline) .wp-block-column:empty:after {
        box-shadow: none;
    }


}

@media screen and (min-width: 700px) {
    body .entry-content > *:last-child {
        margin-bottom: 0;
    }
}

/* Product Page Accordion Info Styling */
.wdpp-info-accordion, .wdpp-add-to-cart-area {
    margin-bottom: 40px;
    padding: var(--standard-padding-full, 30px 40px);
    background-color: var(--background-color);
    border-radius: 20px;
    box-shadow: var(--shadowlevel-3), 0px 10px 30px 0px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.wdpp-title {
    margin-bottom: 15px;
    line-height: 1.2;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.wdpp-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 240px;
    max-width: 80%;
    height: 1px;
    background: linear-gradient(
            to right,
            var(--primary-color) 20%,
            transparent 80%
    );
}

.wdpp-title-description-wrapper > *:last-child{
    margin-bottom: 0;
}

.auto-break { 
    white-space: pre-wrap;
 }

.wdpp-info-accordion-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

.wdpp-table-row {
    display: grid;
    grid-template-columns: minmax(120px, 30%) 1fr;
    padding: 15px 0;
    border-bottom: 1px solid var(--separator);
    transition: background-color 0.2s ease, padding 0.2s ease;
    min-height: 40px;
    /* align-items: center; */
}

/* Remove bottom border from the last row */
.wdpp-table > .wdpp-table-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wdpp-table-row:hover {
    background-color: rgba(var(--background-color-hover-rgb, 245, 245, 245), 0.5);
    padding-left: 10px;
}

/* Style for the key (label) */
.wdpp-table-key {
    font-weight: 600;
    color: var(--text-color, #555);
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* Style for the value */
.wdpp-table-value {
    margin: 0;
    word-break: break-word;
    font-size: 0.95rem;
    color: var(--text-color);
    vertical-align: middle;
}

/* Boolean (Yes/No) Styling with icons */
.wdpp-display.is-true,
.wdpp-display.is-false {
    display: inline-flex;
    align-items: center;
    font-size: 0; /* Hide original text */
}

.wdpp-display.is-true::before,
.wdpp-display.is-false::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    font-size: initial;
    line-height: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: -0.35em;
    vertical-align: middle;
}

.wdpp-table-row:has(.is-false) {
    display: none;
}

.wdpp-display {
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Checkmark icon for 'Ja' */
.wdpp-display.is-true::before {
    background-image: url('../wd-foundation/icons/check-green.svg');
    vertical-align: middle;
}

/* Cross icon for 'Nej' */
.wdpp-display.is-false::before {
    /* background-image: url('../wd-foundation/icons/close.svg'); */
    content: 'Nej';
    vertical-align: middle;}

/* Color Swatch Styling */
.wdpp-display--text-color,
.wdpp-display--layer-color {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.wdpp-display--text-color::after,
.wdpp-display--layer-color::after {
    content: '';
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    border: 1px solid var(--border-color, #ccc);
    border-radius: 4px;
    background-color: var(--display-color, #000);
    vertical-align: middle;
}

/* Font preview styling */
.wdpp-display--font::before {
    content: 'Aa';
    display: inline-block;
    margin-right: 8px;
    font-size: 1.2em;
    color: var(--primary-color);
    /* vertical-align: middle; */
    font-family: var(--display-font-family, 'Arial', sans-serif), serif;
}

/* Size display styling */
.wdpp-display--width {
    font-weight: 600;
    font-size: 1.0em;
    vertical-align: middle;
}

.wdpp-display--height {
    font-weight: 600;
    font-size: 1.0em;
    vertical-align: middle;
    margin-left: -5px;
}

.wdpp-table-row .wd-icon svg {
    color: var(--primary-color);
    fill: var(--primary-color);
    vertical-align: middle;
}

/*.wdpp-display--width::before {*/
/*    content: url('../wd-foundation-child/icons/width.svg');*/
/*    color: var(--primary-color);*/
/*    vertical-align: middle;*/
/*}*/

/*.wdpp-display--height::before {*/
/*    content: url('../wd-foundation-child/icons/height.svg');*/
/*    !* display: inline-block; *!*/
/*    margin-left: -5px;*/
/*    margin-right: -7px;*/
/*    color: var(--primary-color);*/
/*    !* font-size: 1.0em; *!*/
/*    !* transform: translateY(-1px); *!*/
/*    vertical-align: middle;*/
/*}*/

/* Responsive adjustments */
@media screen and (max-width: 768px) {

    :root{
        --body-font-size: 14px;
    }

    .wdpp-table-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .wdpp-table-key {
        font-size: 0.85rem;
        color: var(--text-color-secondary);
    }

    .wdpp-table-value {
        font-size: 1rem;
        padding-left: 10px;
    }

    .wdpp-info-accordion {
        padding: 20px;
    }
}

/* Footer */

.subfooter {
    padding: 30px;
    background: var(--primary-color-faded);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-size: 12px;
}

.subfooter a{
    color: inherit;
    text-decoration: none;
}

.subfooter a:hover{
    text-decoration: underline;
}

.footer-leadin svg{
    display: block;
    transform: translateY(1px);
}

.footer-leadin.footer-leadin--squiggly {
    transform: translateY(5px);
}

.footer-leadin.footer-leadin--squiggly {
    transform: translateY(5px);
    margin-top: -24px;
}

footer.site-footer .footer-inner {
    padding: 120px 0 60px;
}

/* Product Page styling*/

.wdpp-description {
    margin-bottom: 40px;
    white-space: pre-wrap;
}

.wd-product-page{
    padding: 90px 0 90px;
    /* width: var(--theme-standard-width); */
    width: auto;
    /*max-width: calc(100% - 20px);*/
    /* margin-left: auto;
    margin-right: auto; */
    padding-left: auto;
    padding-right: auto;
}

.wdpp-first-row {
    max-width: var(--theme-standard-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    align-items: flex-start;
    gap: 50px;
}

.wdpp-info-accordion, 
.wdpp-add-to-cart-area,
.wdpp-icon-table {
    margin-bottom: 40px;
    padding: var(--standard-padding-full);
    background-color: var(--background-color);
    border-radius: 40px;
    box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
    position: sticky;
}

.wdpp-add-to-cart-area {
    position: sticky;
    /* transform: translateX(1px); */
}

.wdpp-info-accordion-content {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
}

.wdpp-info-accordion h3 {
    margin-bottom: 10px;
}

.wdpp-info-accordion input, .wdatca-add-wrapper input {
    padding: 5px 10px;
    font-size: 16px;
    color: var(--text-color);
    background: var(--background-color);
    box-shadow: none;
    border: 1px solid var(--separator);
    align-self: start;
    border-radius: 8px;
}

.wdatca-add-wrapper input::-webkit-outer-spin-button, .wdatca-add-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

select.wdpp-select {
    font-size: 16px;
    padding: 5px 5px;
    margin-bottom: 10px;
    background: var(--background-color);
    color: var(--text-color);
    border-color: var(--separator);
    font: var(--primary-font-stack);
}

.wdatca-add-wrapper {
    display: flex;
    align-items: center;
    gap: 20px 10px;
    justify-content: flex-end;
    /* flex-wrap: wrap; */
}

.wdatca-quantity-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-right: 9px;
}

.wdpp-table-row {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid var(--separator);
    transition: var(--standard-transition);
    gap: 25px;
    text-align: right;
}

.wdpp-table-row:hover {
    background-color: var(--background-color-hover);
}

.wdpp-info-wrapper {
    margin-right: 20px;
}

.wdpp-image-wrapper {
    margin: 0 auto;
}

.wdpp-image-wrapper.wdpp-image-wrapper--advanced-measurements {
    margin: 0 auto 0 0;
}

@media screen and (max-width: 1035px) {
    .wdpp-first-row {
        grid-template-columns: 1fr;
    }

    .wdpp-image-wrapper-wrapper {
        position: unset !important;
        margin: 0 auto;
    }

    .wdpp-info-wrapper {
        padding: 40px;
        margin-right: 0;
    }

    .wdpp-icon-table ul {
        display: flex;
        flex-direction: row;
    }
}

/* Discount slider styling */
.wdpp-input.wdpp-input--slider {
    margin-top: 15px;
    padding-top: 15px;
}

.wdpp-discount-slider-container {
	width: 100%;
	margin-top: 10px;
}

.wdpp-discount-display {
	display: flex;
	justify-content: space-between;
	font-size: 16px;
}

.wdpp-discount-qty {
	font-weight: bold;
}

.wdpp-discount-price {
	font-weight: bold;
}

.wdpp-discount-percent:has(span.wdpp-selected-percent:empty) {
    display: none;
}

.wdpp-discount-percent{
    display: none   ;
}

.wdpp-discount-slider-wrapper {
	position: relative;
	padding: 20px 0;
}

.wdpp-discount-slider {
	width: 100%;
	height: 5px;
	-webkit-appearance: none;
	appearance: none;
	background: var(--separator);
	outline: none;
	border-radius: 5px;
	z-index: 2;
	position: relative;
	background: linear-gradient(to right, var(--primary-color) var(--slider-fill, 0%), var(--separator) var(--slider-fill, 0%));
}

.wdpp-discount-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--primary-color);
	cursor: pointer;
	z-index: 3;
}

.wdpp-discount-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--primary-color);
	cursor: pointer;
	z-index: 3;
	border: none;
}

.wdpp-discount-slider::-moz-range-progress {
	background-color: var(--primary-color);
	height: 5px;
	border-radius: 5px;
}

.wdatca-add-wrapper input {
    text-align: center;
}

button.quantity-btn {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 9px 10px;
    background: var(--background-color);
    border-radius: 5px;
    border: 1px solid var(--separator);
    cursor: pointer;
    color: var(--text-color);
    transition: var(--standard-transition);
}

button.quantity-btn:hover {
    background: var(--background-color-hover);
}

.wdpp-discount-slider-ticks {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: calc(100% - 18px);
    top: 38px;
    left: 9px;
}

.wdpp-discount-tick {
	position: relative;
	width: 2px;
	height: 10px;
	background: #999;
	z-index: 1;
}

.wdpp-discount-tick.active {
	background: var(--primary-color);
}

.wdpp-discount-tick-label {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12px;
	color: #666;
}
.wdpp-discount-tick.active .wdpp-discount-tick-label {
	color: var(--primary-color);
	font-weight: bold;
}

.wdpp-cart-wrapper {
    width: 100%;
}

.wdpp-cart {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.wdpp-cart-wrapper:has(.wdpp-input.wdpp-input--slider) .wdpp-cart:after {
    content: "";
    height: 1px;
    width: calc(100% + (var(--standard-padding) * 2));
    background: linear-gradient(to right, var(--primary-color) 20%, transparent 80%);
    display: block;
    position: absolute;
    bottom: 0;
    left: calc(var(--standard-padding) * -1);
    border-top: 1px solid var(--separator);
}

.wdpp-cart:last-child {
    border-bottom: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

p.wdatca-current-price {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to left, transparent, var(--separator));
    font-weight: bold;
    white-space: nowrap;
}

p.wdatca-current-price-per-unit {
    font-size: var(--small-font-size);
    color: var(--separator-hover);
}

.wdatca-button {
    background-color: var(--btn-color);
    color: var(--text-color);
    border-radius: 20px;
    padding: 10px 20px;
    transition: all var(--standard-transition);
    font: var(--primary-font-stack);
    border: 0px;
}

.wdatca-button:hover {
    background-color: var(--btn-color-hover);
    color: var(--text-color-hover);
    transition: all var(--standard-transition);
    box-shadow: var(--shadowlevel-2);
    cursor: pointer;
}

a.wdatca-button {
    color: var(--light);
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    text-align: center;
}

/* Size styling */
.wdpp-size-inputs {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.wdpp-size-control {
	display: none;
}

.wdpp-size-control.active {
	display: block;
}

.wdpp-size-control label {
	display: block;
    margin-bottom: 3px;
}

.wdpp-size-input-wrapper {
	display: none;
}

.wdpp-size-input-wrapper.active {
    display: flex;
    align-items: center;
}

.wdpp-input--size {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wdpp-size-toggle {
	display: flex;
	gap: 10px;
}

.wdpp-size-toggle-btn {
    padding: 10px;
    background: var(--background-color);
    border: 1px solid var(--separator);
    color: var(--text-color);
    cursor: pointer;
    font-size: 16px;
    transition: var(--standard-transition);
}

.wdpp-size-toggle-btn:hover {
    background: var(--background-color-hover);
}

.wdpp-size-toggle-btn.active {
	background: var(--primary-color);
	color: white;
    border-color: transparent;
}

.wdpp-size-toggle-btn.active:hover {
    background: var(--primary-color-hover);
}

.wdpp-size-input-container {
	display: flex;
	flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* Modern Range Indicator Styling */
.wdpp-size-range-indicator {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 2px 6px;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease-out;
    font-size: 0.75rem;
    align-items: end;
}

.wdpp-size-range-indicator:not(.show) {
    pointer-events: none;
    position: absolute;
    transition: none;
}

.wdpp-size-range-indicator.show {
    opacity: 1;
    transform: translateY(0);
}

.wdpp-size-input-container.near-limit .wdpp-size-range-indicator:not(.show) {
    display: none;
}

.wdpp-size-range-min {
    grid-column: 1;
    grid-row: 1;
    min-width: 35px;
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
    padding: 2px 6px;
    background: color-mix(in srgb, var(--surface-color), transparent 10%);
    border-radius: var(--theme-border-radius);
    border: 1px solid var(--separator);
    font-size: 0.7rem;
}

.wdpp-size-range-max {
    grid-column: 3;
    grid-row: 1;
    min-width: 35px;
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
    padding: 2px 6px;
    background: color-mix(in srgb, var(--surface-color), transparent 10%);
    border-radius: var(--theme-border-radius);
    border: 1px solid var(--separator);
    font-size: 0.7rem;
}

.wdpp-size-range-indicator small:nth-of-type(1) {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.65rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.wdpp-size-range-indicator small:nth-of-type(2) {
    grid-column: 3;
    grid-row: 2;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.65rem;
    color: var(--text-color);
    opacity: 0.7;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.wdpp-size-range-bar {
    grid-column: 2;
    grid-row: 1;
    height: 6px;
    background: var(--separator);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    align-self: center;
}

.wdpp-size-range-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-hover));
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease-out;
    position: relative;
}

.wdpp-size-range-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
}

/* Enhanced UX states */
.wdpp-size-input-container.near-limit .wdpp-size-range-indicator {
    opacity: 1;
    transform: translateY(0);
}

.wdpp-size-input-container.near-limit .wdpp-size-range-min,
.wdpp-size-input-container.near-limit .wdpp-size-range-max {
    border-color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color), transparent 90%);
}

.wdpp-size-input-container.at-limit .wdpp-size-range-progress {
    background: linear-gradient(90deg, #ff9500, #ff6b00);
}

.wdpp-size-input-container.at-limit .wdpp-size-range-min,
.wdpp-size-input-container.at-limit .wdpp-size-range-max {
    border-color: #ff9500;
    background: color-mix(in srgb, #ff9500, transparent 85%);
    color: #ff6b00;
}

/* Input focus state enhancements */
/*
.wdpp-size-input-width:focus,
.wdpp-size-input-height:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color), transparent 85%);
}
*/

/* Improved placeholder styling */
.wdpp-size-input-width::placeholder,
.wdpp-size-input-height::placeholder {
    color: color-mix(in srgb, var(--text-color), transparent 60%);
    font-size: 0.85em;
    font-weight: 400;
}

/* Canvas styling */
.wdpp-image-wrapper-wrapper {
    position: sticky;
    top: 165px;
    z-index: 10;
    align-self: flex-start;
    width: fit-content;
    height: fit-content;
}

.wdpp-image-wrapper-wrapper:has(.wdpp-size-vis) {
    padding: 7px 0 0 34px;
}

.wdpp-image-wrapper-wrapper:has(.wdpp-image-wrapper--advanced-measurements .wdpp-size-vis),
body.builder-type-flag .wdpp-image-wrapper-wrapper:has(.wdpp-size-vis) {
    padding: 0;
}

.wdpp-image-wrapper {
    position: relative;
    z-index: 10;
    align-self: flex-start;
    aspect-ratio: 1/1;
    /* width: 90vw; */
    /* width: 100%; */
    width: fit-content;
    max-width: 500px;
    /* max-width: calc(100vw - 34px); */
}

.wdpp-canvas, .wdpp-image-to-draw {
    width: 500px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
}

/* Color grid styling */
.wdpp-color-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.wdpp-color-box {
	width: 30px;
	height: 30px;
	/* border-radius: var(--theme-border-radius); */
	border-radius: 50%;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.2s ease-out;
	box-shadow: var(--shadowlevel-1);
	position: relative;
	overflow: visible;
}

.wdpp-color-box:hover {
	transform: scale(1.15);
    box-shadow: var(--shadowlevel-2);
}

.wdpp-color-box.selected {
	border-color: var(--text-color);
    box-shadow: var(--shadowlevel-3);
    transform: scale(1.1);
}

.wdpp-color-box.selected:after {
    content: "";
    position: absolute;
    top: -6px;
    right: -6px;
    width: 14px;
    height: 14px;
    background-color: var(--background-color);
    border: 2px solid var(--text-color);
    border-radius: 50%;
    box-shadow: var(--shadowlevel-1);
}

.wdpp-color-box.selected:before {
    content: "✓";
    position: absolute;
    top: -5px;
    right: -5px;
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
    text-align: center;
    color: var(--text-color);
    z-index: 1;
    font-weight: bold;
}

.wdpp-input--color-grid:not(:last-child) {
	margin-bottom: 18px;
}

.konvajs-content {
    pointer-events: none;
}

/* Responsive */
@media screen and (min-width: 900px) {
    .wdpp-first-row {
        gap: 90px;
    }
}

@media screen and (max-width: 700px) {
    .wd-product-page {
        padding: 0;
        margin-top: 30px;
    }

    .wdpp-first-row {
        grid-template-columns: 1fr;
    }

    .wdpp-image-wrapper-wrapper {
        position: relative;
        top: 0;
        /*margin-top: 46px;*/
        margin-top: 3.5rem;
    }
    
    .konvajs-content {
        /*width: calc(100vw - 34px) !important;*/
    }
    canvas{
        /*width: calc(100vw - 34px) !important;*/
        /*height: calc(100vw - 34px) !important;*/
    }

    .wdpp-info-wrapper {
        width: calc(100vw - 20px);
        margin: 10px;
        margin-bottom: 3.5rem;
    }
}

@media screen and (max-width: 600px) {
    .wdpp-info-wrapper {
        padding: 10px;
    }

    .wdpp-image-wrapper {
        max-width: 400px;
    }
}

@media screen and (max-width: 500px) {
    .wdpp-image-wrapper {
        max-width: 350px;
    }

    .wdatca-add-wrapper {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 430px) {
    .wdpp-image-wrapper {
        max-width: 300px;
    }
}

/* Image Popup Thumbnails */
.wdpp-image-popup-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px auto !important;
    max-width: 90vw;
}

.wdpp-image-popup-item {
    flex: 0 0 auto;
    cursor: pointer;
    transition: var(--standard-transition);
    border-radius: var(--theme-border-radius);
    overflow: hidden;
    box-shadow: var(--shadowlevel-1);
    width: 106px;
    height: 106px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wdpp-image-popup-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadowlevel-3);
}

.wdpp-image-popup-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--theme-border-radius);
}

/* Lines */
.wdpp-display-wrapper {
    display: none;
}

.wdpp-display-wrapper.active {
    display: block;
}

/* Size Visualization */
.wdpp-size-vis {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.wdpp-size-vis-content {
    display: flex;
    justify-content: center;
}

/* Horizontal size bar (width) */
.wdpp-size-vis-width {
    position: absolute;
    width: 150px;
    text-align: center;
    margin-top: -30px;
}

.wdpp-size-vis-width::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--surface-color);
}

.wdpp-size-vis-width::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 2px;
    height: 10px;
    background-color: var(--surface-color);
}

.wdpp-size-vis-width .arrow-right {
    position: absolute;
    top: 8px;
    right: 0;
    width: 2px;
    height: 10px;
    background-color: var(--surface-color);
}

/* Vertical size bar (height) */
.wdpp-size-vis-height {
    position: absolute;
    width: 150px;
    text-align: center;
    height: calc(100% - 2px);
    margin-left: -63px;
    transform: rotate(-90deg);
}

.wdpp-size-vis-height::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--surface-color);
}

.wdpp-size-vis-height::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 2px;
    height: 10px;
    background-color: var(--surface-color);
}

.wdpp-size-vis-height .arrow-bottom {
    position: absolute;
    top: 8px;
    right: 0;
    width: 2px;
    height: 10px;
    background-color: var(--surface-color);
}

.wdpp-image-wrapper--advanced-measurements .wdpp-size-vis-height,
.wdpp-image-wrapper--advanced-measurements .wdpp-size-vis-width,
body.builder-type-flag .wdpp-size-vis-height,
body.builder-type-flag .wdpp-size-vis-width {
    display: none;
}

/* Size text */
.wdpp-size-vis-text {
    position: relative;
    font-size: 0.75rem;
    background-color: var(--surface-color);
    padding: 4px 10px;
    border-radius: var(--theme-border-radius);
    white-space: nowrap;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Woocommerce */
.woocommerce-cart-form__cart-item dl.variation dt,
.woocommerce-checkout-review-order-table dl.variation dt,
.woocommerce-table--order-details dl.variation dt {
    float: left;
    clear: left;
    margin-right: 5px;
    font-weight: 600;
}

.woocommerce-cart-form__cart-item dl.variation dd,
.woocommerce-checkout-review-order-table dl.variation dd,
.woocommerce-table--order-details dl.variation dd {
    margin-bottom: 5px !important;
}

.woocommerce-cart-form__cart-item dl.variation,
.woocommerce-checkout-review-order-table dl.variation,
.woocommerce-table--order-details dl.variation {
    margin-top: 10px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: max-content auto;
    grid-gap: 5px 10px;
}

.woocommerce-cart-form__cart-item dl.variation dt,
.woocommerce-cart-form__cart-item dl.variation dd,
.woocommerce-checkout-review-order-table dl.variation dt,
.woocommerce-checkout-review-order-table dl.variation dd,
.woocommerce-table--order-details dl.variation dt,
.woocommerce-table--order-details dl.variation dd {
    float: none;
    margin-bottom: 5px;
    padding: 0;
}

/* Product Page */
.wdpp-hidden-form {
    display: none;
}
.wdpp-color-grid .wdpp-color-box {
    cursor: pointer;
    display: inline-block;
    /* Other properties are inherited from the main color box styles above */
}

.wdpp-input {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    /*padding-bottom: 20px;*/
}

.wdpp-label-text {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wdpp-select {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.wdpp-size-input-wrapper {
    display: flex;
    align-items: center;
}

.wdpp-size-input-wrapper input {
    width: 70px;
    padding: 0.4rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    text-align: center;
}

.wdpp-size-input-min-max-wrapper {
    background-color: #fff;
    border: 1px dashed #ccc;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    width: fit-content;
}

.wdpp-size-limit-label {
    font-weight: 600;
    display: inline-block;
    width: 60px;
}

.wdpp-size-input-min,
.wdpp-size-input-max {
    margin-left: 0.5rem;
    color: #666;
}

.wdpp-size-input-wrapper,
.wdpp-size-input-min-max-wrapper {
    display: none;
}

.wdpp-size-input-wrapper.active,
.wdpp-size-input-min-max-wrapper.active {
    display: inline-block;
    margin-top: 0.5rem;
}

.wdpp-textarea--custom-text {
    border-radius: 8px;
    /* width: 100%; */
    font: var(--primary-font-stack);
    border: 1px solid var(--separator);
    background: var(--background-color);
    color: var(--text-color);
}

textarea {
    resize: none;
}

.woocommerce ul.products li.product .button {
    background-color: var(--btn-color);
    border-radius: 20px;
    color: var(--text-color);
    font-weight: 700;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--btn-color-hover);
    box-shadow: none;
}

.woocommerce nav.woocommerce-pagination ul{
    margin-bottom: 20px;
    border-radius: 8px;
}

.woocommerce nav.woocommerce-pagination li:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.woocommerce nav.woocommerce-pagination li:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: var(--btn-color);
    color: var(--btn-text-color);
}

.woocommerce .woocommerce-ordering select {
    border-radius: 8px;
    padding: 3px 8px;
}

.wdpp-select.wdpp-select--font-family {
    height: 37px;
}

.wdpp-checkbox,
.wdpp-radio-input,
.wdpp-radio {
    appearance: none;
    cursor: pointer;
    width: 37px;
    height: 37px;
    border-radius: 8px;
    background-color: var(--surface-color);
    border: 3px solid var(--separator);
}

.wdpp-radio.wdpp-radio--justification-left {
    background: url('../wd-foundation-child/icons/format_align_left.svg');
    background-color: var(--surface-color);
    background-size: contain;
    border: 3px solid var(--separator);
}

.wdpp-radio.wdpp-radio--justification-center {
    background: url('../wd-foundation-child/icons/format_align_center.svg');
    background-color: var(--surface-color);
    background-size: contain;
    border: 3px solid var(--separator);
}

.wdpp-radio.wdpp-radio--justification-right {
    background: url('../wd-foundation-child/icons/format_align_right.svg');
    background-color: var(--surface-color);
    background-size: contain;
    border: 3px solid var(--separator);
}

.wdpp-radio.wdpp-radio--flag-position-left {
    background: url('../wd-foundation-child/icons/flag_left.svg');
    background-color: var(--surface-color);
    background-size: contain;
    border: 3px solid var(--separator);
}

.wdpp-radio.wdpp-radio--flag-position-right {
    background: url('../wd-foundation-child/icons/flag_right.svg');
    background-color: var(--surface-color);
    background-size: contain;
    border: 3px solid var(--separator);
}

.wdpp-checkbox.wdpp-checkbox--mirrored {
    background: url('../wd-foundation-child/icons/flip.svg') no-repeat;
    background-color: var(--surface-color);
    background-size: contain;
    background-position: center;
    border: 3px solid var(--separator);
}

.wdpp-checkbox.wdpp-checkbox--italic {
    background: url('../wd-foundation-child/icons/format_italic.svg');
    background-color: var(--surface-color);
    background-size: contain;
    border: 3px solid var(--separator);
}

.wdpp-checkbox.wdpp-checkbox--bold {
    background: url('../wd-foundation-child/icons/format_bold.svg');
    background-color: var(--surface-color);
    background-size: contain;
    border: 3px solid var(--separator);
}

.wdpp-checkbox.wdpp-checkbox--set {
    background: url('../wd-foundation-child/icons/content_copy.svg');
    background-color: var(--surface-color);
    background-size: contain;
    border: 3px solid var(--separator);
}

.wdpp-checkbox:checked,
.wdpp-radio:checked {
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadowlevel-1);
}

.wdpp-options-wrapper {
    display: block;
}

.wdpp-input--radio {
    display: flex;
    flex-direction: row;
    padding-right: 10px;
    margin-right: 5px;
    border-right: 1px solid var(--separator);
    gap: 5px;
}

.wdpp-options-inner-wrapper div:last-child {
    border-right: none !important;
}

.wdpp-options-inner-wrapper {
    display: flex;
    gap: 5px;
}

/*.wdpp-options-wrapper .wdpp-input--checkbox {
     border-left: 1px solid var(--separator);
    padding-left: 5px;
}*/

/* .wdpp-options-wrapper .wdpp-input--checkbox:not(:first-child):not(:last-child) {
    border-left: 0px solid var(--separator);
}

.wdpp-input--checkbox .wdpp-label-text:not(:last-child) {
    display: none;
} */

.wdpp-input.wdpp-input-set.wdpp-input--checkbox {
    padding: 20px 0 10px;
    border-bottom: 1px solid var(--separator);
    margin-bottom: 30px;
}

.wdpp-checkbox-wrapper {
    display: flex;
    gap: 20px;
}

.wdpp-checkbox-label{
    cursor: pointer;
}

.wdpp-checkbox-label * {
    user-select: none;
}

.wdpp-checkbox--hidden {
    display: none!important;
}

.wdpp-toggle {
    cursor: pointer;
    width: 37px;
    height: 37px;
    border-radius: 8px;
    border: 3px solid var(--separator);
    position: relative;
}
.wdpp-toggle-marker {
    width: 23px;
    height: 39px;
    border-bottom: 8px solid var(--primary-color);
    border-right: 8px solid var(--primary-color);
    position: absolute;
    top: 7px;
    left: 18px;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: opacity var(--standard-transition);
}

input.wdpp-checkbox:checked + .wdpp-toggle {
    border-color: var(--text-color);
}

input.wdpp-checkbox:checked + .wdpp-toggle .wdpp-toggle-marker{
    opacity: 1;
}

.wdpp-input--text-size {
    margin-top: 10px;
}

@media screen and (max-width: 500px) {
    .wdpp-info-accordion,
    .wdpp-add-to-cart-area {
        padding: 25px;
    }
    
    /* Mobile adjustments for size inputs */
    .wdpp-size-range-min,
    .wdpp-size-range-max {
        min-width: 30px;
        font-size: 0.65rem;
        padding: 1px 4px;
    }
    
    .wdpp-size-range-indicator {
        gap: 6px;
    }
    
    .wdpp-size-range-bar {
        height: 4px;
    }
}

/* Cart */
a.checkout-button {
    background-color: var(--btn-color);
    color: var(--text-color);
    border-radius: 20px;
    padding: 10px 20px;
    transition: all var(--standard-transition);
}

a.checkout-button:hover {
    background-color: var(--btn-color-hover);
    color: var(--text-color-hover);
    transition: all var(--standard-transition);
    box-shadow: var(--shadowlevel-2);
    cursor: pointer;
}

.woocommerce .button {
    background-color: var(--btn-color);
    color: var(--text-color);
    border-radius: 20px;
    padding: 10px 20px;
    transition: all var(--standard-transition);
    font: var(--primary-font-stack);
    border: 0px;
    font-weight: 700;
    text-decoration: none;
}

.woocommerce .button:hover {
    background-color: var(--btn-color-hover);
    color: var(--text-color-hover);
    transition: all var(--standard-transition);
    box-shadow: var(--shadowlevel-2);
    cursor: pointer;
}

.woocommerce .actions .button[name="update_cart"] {
    background-color: var(--surface-color);
    color: var(
    --text-color);
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    transition: var(
    --standard-transition);
    font-weight: 700;
}

.woocommerce .actions .button[name="update_cart"]:hover {
    background-color: var(--surface-color-hover);
    color: var(--text-color-hover);
    box-shadow: none;
    cursor: pointer;
}

.woocommerce table.shop_table {
    box-shadow: var(--shadowlevel-2);
    border: 0px;
    border-radius: 20px;
    margin-bottom: var(--small-gap);
}

.woocommerce-cart .cart-collaterals .cart_totals table {
    box-shadow: none;
    border: 1px solid var(--separator);
}

.woocommerce table.shop_table tbody:first-child tr:first-child td,
.woocommerce table.shop_table tbody:first-child tr:first-child th,
.woocommerce table.shop_table thead:first-child tr:first-child th {
    padding-top: var(--standard-padding-vertical);
}

.woocommerce table.shop_table tbody:last-child tr:last-child td,
.woocommerce table.shop_table tbody:last-child tr:last-child th,
.woocommerce table.shop_table tfoot:last-child tr:last-child th,
.woocommerce table.shop_table tfoot:last-child tr:last-child td   {
    padding-bottom: var(--standard-padding-vertical);
}

.woocommerce table.shop_table th:first-child {
    padding-left: var(--standard-padding);
}

.woocommerce table.shop_table td:last-child {
    padding-right: var(--standard-padding);
}

.woocommerce table.shop_table td:first-child {
    padding-left: var(--standard-padding);
}

.woocommerce table.shop_table tr:last-child {
    padding-bottom: var(--standard-padding-vertical);
}

.product-name {
    max-width: 100%;
    overflow: hidden;
}

.product-name dl {
    max-height: 150px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background-color: var(--surface-color-faded);
}

.product-name dt, .product-name dd {
    border-bottom: 1px solid #f0f0f0;
    padding: 5px 0;
}

@media (max-width: 768px) {
    .product-name dl {
      max-height: 200px;
    }

    .product-name dd p {
      word-wrap: break-word;
    }

    .woocommerce table.shop_table td:first-child {
        padding: 14px 12px;
    }
    
    .tooltip-content {
        right: 0;
    }
}

.info-icon {
    position: relative;
    cursor: pointer;
    display: inline-block;
    margin-left: 5px;
}

.info-icon svg{
    fill: var(--text-color);
}

.tooltip-content {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    position: absolute;
    background: var(--background-color-hover);
    border-radius: 20px;
    width: max-content;
    z-index: 1;
    box-shadow: var(--shadowlevel-2);
    pointer-events: none;
    width: 460px;
    min-width: max-content;
    max-width: 80vw;
}

td.product-name {
    position: relative;
    overflow: visible;
}

.info-icon:hover .tooltip-content,
.info-icon:focus .tooltip-content {
    opacity: 1;
    visibility: visible;
}

.info-icon svg {
    display: block;
    transform: translateY(4px);
}

.variation-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.variation-row:first-child {
    padding-top: 12px;
}

.variation-row:last-child {
    padding-bottom: 8px;
}

.variation-row:not(:last-child) {
    border-bottom: 1px solid var(--separator);
}

.variation-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 3px;
    padding-left: 16px;
    padding-right: 16px;
}

.variation-label {
    font-weight: bold;
    width: 50%;
    word-break: break-word;
}

.variation-value {
    width: 50%;
    word-break: break-word;
}

.tooltip-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 600px) {
    .tooltip-content {
      left: auto;
      right: 0;
      max-width: 90vw;
    }
}

/* Checkout */

.checkout {
    margin-bottom: 120px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row textarea.input-text,
.woocommerce form .form-row select {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: none;
    transition: var(--standard-transition), box-shadow 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--separator-hover);
    /* outline: none; */
    box-shadow: var(--shadowlevel-1);
}

.woocommerce .woocommerce-customer-details address {
    border: 0px solid;
}

#order_review_heading {
    padding-top: var(--standard-padding-vertical);
    padding-left: var(--standard-padding);
}

.wdcart_table td,
.wdcart_table th {
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding-top: 5px;
    text-align: left;
}

.wdcart_table td:first-child,
.wdcart_table th:first-child {
    padding-left: var(--standard-padding);
    padding-right: 10px;
}

.wdcart_table td:last-child,
.wdcart_table th:last-child {
    padding-right: var(--standard-padding);
}

.wdcart_table tr:last-child {
    padding: var(--standard-padding-vertical);
}

.woocommerce-checkout #payment {
    background-color: var(--surface-color);
    padding: var(--standard-padding-full);
    padding-top: 0px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;

}

.woocommerce-checkout #payment div.payment_box {
    background-color: var(--surface-color-hover);
    font: var(--primary-font-stack);
    border-radius: 20px;
    color: var(--text-color);
}

.woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid var(--surface-color-hover);
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}

.woocommerce-checkout #payment div.form-row,
.woocommerce-checkout #payment ul.payment_methods {
    padding: 0px;
    margin-bottom: 0px;
    padding-top: 10px;
}

.selection {
    display: block
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    margin-top: 4px;
}

.select2-container--open .select2-dropdown--below {
    border: 1px solid var(--separator);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.select2-container--default .select2-selection--single {
    border-radius: 8px;
    height: 37px;
    border: 1px solid var(--separator);
    padding: 4px 10px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--primary-color);
}

@media screen and (max-width: 600px) {
    .woocommerce-page .col2-set .col-2 {
        padding: 0 !important;
        margin-top: 20px;
    }

    .woocommerce-page .col2-set .col-1 {
        padding: 0 !important;
    }

    .wdcart_table th:first-child,
    .wdcart_table td:first-child {
        padding-left: 10px;
    }

    .wdcart_table th:last-child,
    .wdcart_table td:last-child {
        padding-right: 10px;
    }

    #order_review_heading {
        padding-left: 10px;
    }

    .woocommerce-checkout #payment {
        padding: 10px;
    }
}

/* profile */
.woocommerce-MyAccount-content {
    border-radius: 20px;
    padding: 20px;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    background-color: var(--btn-color);
    color: var(--btn-text-color);
    font-weight: 500;
    transition: var(--standard-transition);
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background-color: var(--btn-color-hover);
    color: var(--btn-text-color-hover);
    box-shadow: var(--shadowlevel-2);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border-radius: 8px;
    border: 1px solid var(--separator);
    padding: 4px 10px;
    font: var(--primary-font-stack);
}

.woocommerce-column--billing-address,
.woocommerce-column--shipping-address,
.woocommerce-Address {
    border: 1px solid var(--separator);
    padding: var(--standard-padding-full);
    box-shadow: none !important;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    border-radius: 20px;
}

.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    border-radius: 20px;
    box-shadow: var(--shadowlevel-2);
}

.account-orders-table {
    box-shadow: var(--shadowlevel-2);
}

.woocommerce-orders-table__row {
    padding: 5px;
    height: 45px;
}

.woocommerce-EditAccountForm,
.woocommerce-address-fields{
    box-shadow: var(--shadowlevel-2);
    padding: var(--standard-padding-full);
    border-radius: 20px;
}

fieldset {
    margin-bottom: 10px;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    box-shadow: var(--shadowlevel-2);
    padding: 15px;
    border-radius: 20px;
}

.pay:not(:last-child),
.view:not(:last-child) {
    margin-right: 5px;
}

.pay,
.view,
.cancel {
    align-self: middle !important;
    background-color: var(--background-color) !important;
    color: var(--secondary-color) !important;
    font-weight: bold !important;
    padding: 0px !important;
}

.pay,
.view,
.cancel:hover {
    box-shadow: none !important;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
}

.account-info .woocommerce {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.account-info .woocommerce:has(.woocommerce-form-login),
.account-info .woocommerce:has(.woocommerce-ResetPassword) {
    display: unset;
}

.account-info .woocommerce-MyAccount-navigation li {
    margin: 0;
    margin-bottom: 10px;
}

.account-info .addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.account-info .addresses::before,
.account-info .addresses::after {
    content: none;
}

.account-info .woocommerce .col2-set .col-1,
/*.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2,*/
.account-info .woocommerce .col2-set .col-2{
    float: none;
    width: 100%;
    padding: 20px;
}

.woocommerce-account .addresses .title .edit {
    float: none;
}

@media screen and (max-width: 1000px){
    .account-info .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        gap: 10px;
        text-align: center;
        border-bottom: 1px solid var(--separator);
    }

    .account-info .woocommerce-MyAccount-navigation li {
        margin-bottom: 0;
    }

    .account-info .woocommerce-MyAccount-navigation li a {
        border-radius: 20px 20px 0 0;
        box-shadow: none;
    }

    .account-info .woocommerce {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .woocommerce table.shop_table_responsive tr, 
    .woocommerce-page table.shop_table_responsive tr {
        display: contents;
    }

    .woocommerce table.shop_table td {
        padding: 14px 12px;
    }

    .woocommerce table.shop_table td:last-child {
        padding: 14px 12px;
    }

    .woocommerce table.shop_table tbody:last-child tr:last-child td {
        padding: 14px 12px;
    }

    .woocommerce table.shop_table td {
        border-top: none;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
    }

    .account-info .woocommerce-MyAccount-content {
        padding: 0;
        margin-top: 20px;
    }

    .account-info .woocommerce-EditAccountForm, 
    .account-info .woocommerce-address-fields {
        padding: 20px;
    }

    .account-info .woocommerce-page form .form-row-last {
        width: 48%;
    }
}

@media screen and (max-width: 700px) {
    .account-info .addresses {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 650px) {
    .account-info .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        text-align: center;
        border-bottom: none;
    }

    .account-info .woocommerce-MyAccount-navigation li {
        margin-bottom: 0;
    }

    .account-info .woocommerce-MyAccount-navigation li a {
        border-radius: 20px;
    }
}

/* Contact */

.wpcf7 {
    contain: layout;
}

.wpcf7-form {
    padding: var(--standard-padding-full);
    margin-bottom: 30px;
    box-shadow: var(--shadowlevel-4);
    border-radius: 40px;
    background-color: var(--background-color);
}

.wpcf7-submit {
    background-color: var(--btn-color);
    padding: var(--btn-padding);
    border-radius: 20px;
    border: 0px solid;
    cursor: pointer;
    color: var(--text-color);
    font: var(--primary-font-stack);
    font-weight: 700;
    transition: var(--standard-transition);
    margin-top: 10px;
}

.wpcf7-submit:hover {
    transition: var(--standard-transition);
    background-color: var(--btn-color-hover);
}

.wp-block-table {
    border-radius: 20px;
    /* border: 1px solid var(--separator); */
    padding-bottom: 60px;
}

.wp-block-table td {
    border: 0px solid;
}

.wp-block-table tbody:first-child tr:first-child td,
.wp-block-table tbody:first-child tr:first-child th,
.wp-block-table thead:first-child tr:first-child th {
    padding-top: var(--standard-padding-vertical);
}

.wp-block-table tbody:last-child tr:last-child td,
.wp-block-table tbody:last-child tr:last-child th  {
    padding-bottom: var(--standard-padding-vertical);
}

.wp-block-table th:first-child {
    padding-left: var(--standard-padding);
}

.wp-block-table td:last-child {
    padding-right: var(--standard-padding);
}

.wp-block-table td:first-child {
    padding-left: var(--standard-padding);
}

.wp-block-table tr:not(:first-child) {
    box-shadow: none;
    border-top: 1px solid var(--separator);
}

.wpcf7 label input,
.wpcf7 label textarea,
.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--separator);
    padding: 4px 10px;
    font: var(--primary-font-stack);
    max-height: 188px;
    min-height: 37px;
    color: var(--text-color);
}

.wpcf7 label input:focus,
.wpcf7 label textarea:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus {
    border: 1px solid var(--separator-hover);
    box-shadow: var(--shadowlevel-2);
}

.contact-headline,
.contact-table,
.contact-empty,
.wpcf7-form{
    position: relative;
}

.contact-headline:after,
.contact-table:after,
.contact-empty:after,
.wpcf7-form::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    pointer-events: none;
}

.contact-table,
.contact-table table {
    contain: layout;
    overflow: hidden;
}

.contact-headline:after {
    background: linear-gradient(45deg, var(--secondary-color), color-mix(in srgb, var(--secondary-color), var(--background-color)));
    height: 300px;
    width: 300px;
    border-radius: 300px;
    top: -160px;
    left: -120px;
}

.contact-empty-1:after {
    background: linear-gradient(45deg, var(--secondary-color), color-mix(in srgb, var(--secondary-color), var(--background-color)));
    height: 300px;
    width: 300px;
    border-radius: 300px;
    top: -20px;
    left: -80px;
    /*box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);*/
    z-index: -1;
}

.contact-empty-2:after {
    background: linear-gradient(45deg, var(--secondary-color), color-mix(in srgb, var(--secondary-color), var(--background-color)));
    height: 300px;
    width: 300px;
    border-radius: 300px;
    top: 240px;
    left: 20px;
    box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
}

.contact-table:after {
    content: "";
    display: block;
    position: absolute;
    /* z-index: 0; */
    pointer-events: none;
    background: linear-gradient(89deg, var(--primary-color), color-mix(in srgb, var(--primary-color), var(--background-color)));
    height: 260px;
    width: 260px;
    border-radius: 300px;
    top: 160px;
    left: 120px;
}

.wpcf7::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(89deg, var(--primary-color), color-mix(in srgb, var(--primary-color), var(--background-color)));
    height: 260px;
    width: 260px;
    border-radius: 300px;
    top: -160px;
    left: 520px;
}

@media screen and (max-width: 1050px){
    .wpcf7::before {
        left: unset;
        right: -50px;
    }
}

@media screen and (max-width: 600px){
    .wpcf7-form {
        padding: 20px;
    }
}



/*Search*/

.search-bar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
    display: none;
}

.search-bar-wrapper .search-bar-inner-wrapper {
    display: block;
    position: fixed;
    top: 10%;
    width: 100%;
    background: var(--background-color);
    z-index: 99;
    border-top: 1px solid var(--separator);
    box-shadow: var(--shadowlevel-2);
    transition: box-shadow var(--standard-transition);
    padding: 20px 0;
}

.search-bar-wrapper .search-bar-inner-wrapper .search-form-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    width: var(--theme-standard-width);
    margin: 0 auto;
}

.search-bar-wrapper input {
    padding: 0 0 0 18px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--separator);
    font-size: 20px;
    color: var(--text-color);
}

.search-bar-wrapper .wd-icon {
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.search-bar-wrapper .wd-icon svg{
    width: 40px;
    height: 40px;
}

.search-bar-open {
    display: block !important;
}

.search-bar-wrapper .search-results-wrapper {
    position: absolute;
    top: 100%;
    background: var(--background-color);
    z-index: 9;
    width: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadowlevel-2)0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

#search-results {
    width: 100%;
}

#search-results ul {
    list-style: none;
    overflow-y: auto;
    width: 100%;
    max-width: calc(var(--theme-standard-width) + 40px);
    margin: 0 auto;
    padding: 0 30px;
    max-height: 50vh;
    overflow-x: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

#search-results ul li {
    margin: 0;
    padding: 8px;
}

#search-results ul li a {
    color: var(--primary-color);
    align-items: center;
    padding: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    font-size: 12px;
    text-align: center;
    color: var(--text-color);
    justify-content: flex-start;
}

#search-results ul li a img {
    max-height: 140px;
    background-color: #fff;
    border-radius: 10px;
    padding: 5px;
}

div#search-results li:has(img[src="false"]) {
    display: none;
}

#live-search:focus {
    outline: none;
}

#search-results p {
    text-align: center;
    margin-bottom: 10px;
}

@media screen and (max-width: 1200px) {
    #search-results ul {
        /*grid-template-columns: repeat(5, 1fr);*/
        padding: 0;
    }

    .search-bar-wrapper .search-bar-inner-wrapper .search-form-wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    #search-results ul {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 750px) {
    #search-results ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 550px) {
    #search-results ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*Profil*/

.woocommerce form .show-password-input, .woocommerce-page form .show-password-input {
    top: auto;
    right: 5px;
    width: 30px;
    text-align: center;
}

.woocommerce form .show-password-input::after, .woocommerce-page form .show-password-input::after {
    margin-left: 0;
}

.woocommerce-ResetPassword,
.woocommerce-form-login {
    max-width: 600px;
}

.woocommerce-ResetPassword p.woocommerce-form-row {
    width: 100%;
}

.woocommerce-form-login p.form-row {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
}

.woocommerce-form-login p.form-row-wide {
    display: unset;
}

/*Tom kurv*/

.post-63 {
    margin-bottom: 90px;
}

/*Products*/

.columns-4 .products ul, 
.columns-4 ul.products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.columns-4 ul.products li.product, 
.columns-4 ul.products li.product {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.columns-4 .products ul::after, 
.columns-4 .products ul::before, 
.columns-4 ul.products::after, 
.columns-4 ul.products::before {
    content: none;
}

@media screen and (max-width: 1000px){
    .columns-4 .products ul, 
    .columns-4 ul.products {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 700px){
    .columns-4 .products ul, 
    .columns-4 ul.products {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .columns-4 ul.products[class*=columns-] li.product, 
    .columns-4 ul.products[class*=columns-] li.product {
        padding: 10px !important;
    }
}

@media screen and (max-width: 550px) {
    .post-62 .woocommerce {
        max-width: 100%;
    }
    
    .post-62 .woocommerce  ul {
        gap: 5px;
    }
    .post-62 .columns-4 ul.products[class*=columns-] li.product, 
    .post-62 .columns-4 ul.products[class*=columns-] li.product {
        padding: 10px !important;
    }
}

@media screen and (max-width: 500px) {
    .post-62 .woocommerce {
        max-width: calc(100% - 40px);
        margin: 0 auto;
    }
    
    .post-62 .woocommerce  ul {
        gap: 30px;
        grid-template-columns: 1fr;
    }
    .post-62 .columns-4 ul.products[class*=columns-] li.product, 
    .post-62 .columns-4 ul.products[class*=columns-] li.product {
        padding: 10px !important;
    }

    .post-62 .woocommerce ul.products li.product a:not(:has(.price)) img {
        max-width: 300px;
    }
}

@media screen and (max-width: 450px) {
    .columns-4 {
        max-width: 100%;
        margin: 0 3px;
    }

    .columns-4 ul {
        gap: 3px !important;
    }
}

/*Responsive*/

@media screen and (max-width: 1800px){
    .hero-section-content .hero-section-inner h1 {
        text-shadow: 0 100px 100px #cb8b2c;
        paint-order: stroke fill;
        -webkit-text-stroke: 5px color-mix(in srgb, var(--secondary-color), var(--light) 20%);
    }

    .hero-section-content .hero-section-inner p {
        text-shadow: 0 10px 10px #cb8b2c;
        paint-order: stroke fill;
        -webkit-text-stroke: 2px color-mix(in srgb, var(--secondary-color), var(--light) 20%);
    }
}

@media screen and (max-width: 1125px) {
    .wdpp-first-row {
        gap: 50px;
    }
}

@media screen and (max-width: 1085px) {
    .wdpp-first-row {
        gap: 20px;
    }
}

@media screen and (max-width: 1000px){
    .hero-section-content .hero-section-inner h1,
    .hero-section-content .hero-section-inner p {
        text-shadow: none;
        paint-order: normal;
        -webkit-text-stroke: transparent;
    }
}

body.woocommerce ul.products li.product .price {
    display: none;
}

span.wdpp-textarea-suffix {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: var(--surface-color);
    padding: 5px 5px;
    line-height: normal;
    border-radius: 0 8px 8px 0;
    border: 1px solid var(--separator);
    color: color-mix(in srgb, var(--text-color), transparent 30%);
    font-size: 13px;
    display: flex;
    width: 30px;
    text-align: center;
    display: flex;
    align-items: center;
}

.wdpp-textarea-wrapper{
    display: inline-flex;
    position: relative;
}

.wdpp-text-size-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    max-width: 140px;
}

.wdpp-textarea-wrapper input{
    width: 100%;
}

.wdpp-input.wdpp-input--text-size-range {
    display: flex;
    flex-direction: row;
    gap: 3px 20px;
    width: 100%;
}

.wdpp-label-color-wrapper{
    display: flex;
    gap: 0.5ch;
}

.wdpp-textarea.wdpp-textarea--custom-text {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.wdpp-textarea.wdpp-textarea--custom-text::-webkit-scrollbar {
    display: none;
}

.wdatca-additional-fee-wrapper {
    display: block;
    font-size: var(--small-font-size);
    color: var(--separator-hover);
}

.wdpp-input-set .wdpp-description {
    margin-bottom: 20px;
    display: block;
    font-size: var(--small-font-size);
    color: var(--separator-hover);
}

.wdpp-input-set .wdpp-title {
    line-height: 37px;
    margin-bottom: 5px;
    padding-bottom: 0;
    border-bottom: 1px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to left, transparent 40%, var(--separator));
}
.wdpp-input-set .wdpp-title:after {
    content: none;
    display: none;
}

table.variations{
    width: 100%;
    margin-bottom: 30px;
}

table.variations tr{
    display: grid;
}


table.variations tr *{
    display: block;
}

table.variations th{
    text-align: left;
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

table.variations select {
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid var(--separator);
    font-size: 16px;
    padding: 5px 5px;
    background: var(--background-color);
    color: var(--text-color);
    border-color: var(--separator);
    font: var(--primary-font-stack);
}

table.variations .reset_variations {
    display: none !important;
}

.single_variation_wrap .price {
    margin-bottom: 1rem;
    display: block;
    font-weight: bold;
    line-height: 1.2;
    font-size: 1.3rem;
    text-align: right;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    margin-bottom: 30px;
    gap: 10px;
    justify-content: end;
}


.wdpp-info-wrapper:has(.wdpp-add-to-cart-area) .single_variation_wrap .woocommerce-variation-add-to-cart,
.wdpp-info-wrapper:has(.wdpp-add-to-cart-area) .single_variation_wrap .woocommerce-variation-price{
    display: none!important;
}

.wdpp-info-wrapper:has(.single_variation_wrap .single_add_to_cart_button.disabled) .wdatca-button-wrapper {
    transform: none !important;
}

.wdpp-info-wrapper:has(.single_variation_wrap .single_add_to_cart_button.disabled) .wdatca-button {
    pointer-events: none;
    opacity: 0.7;
    user-select: none;
    transform: none !important;
}

.single_variation_wrap {
    margin-bottom: 30px;
}

/*
.wdpp-info-wrapper:not(:has(.reset_variations[style*="visibility: visible"])) button.wdatca-button {
    opacity: 0.7;
    cursor: auto;
    pointer-events: none;
    transform: none!important;
}

.wdpp-info-wrapper:not(:has(.reset_variations[style*="visibility: visible"])) .wdatca-button-wrapper,
.wdpp-info-wrapper:not(:has(.reset_variations[style*="visibility: visible"])) .wdatca-button-wrapper:hover {
    transform: none!important;
}

.wdpp-info-wrapper:not(:has(.reset_variations[style*="visibility: visible"])) button.wdatca-button:hover {
    background-color: var(--btn-color);
    color: var(--text-color);
    transition: none;
    box-shadow: none;
    cursor: auto;
}*/

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
    background-color: var(--btn-color);
    color: var(--text-color);
    border-radius: 20px;
    padding: 10px 20px;
    transition: all var(--standard-transition);
    font: var(--primary-font-stack);
    border: 0px;
    box-shadow: none;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled{
    opacity: 0.7;
    cursor: auto;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover {
    background-color: var(--btn-color-hover);
    color: var(--text-color-hover);
    box-shadow: var(--shadowlevel-2);
    cursor: pointer;
    transition: all var(--standard-transition);
}

.woocommerce-message {
    border-top-color: var(--primary-color);
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 1em 2em 1em 3.5em;
    margin: 0 0 2em;
    position: relative;
    background-color: transparent;
    color: var(--text-color);
    border-top: 3px solid var(--primary-color);
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
    border: 1px solid;
    border-color: var(--separator);
    border-top-width: 3px;
    border-radius: 20px;
}

.wdpp-notices-wrapper:has(.woocommerce-message) .wdpp-notices-backdrop {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: block;
    /*pointer-events: none;*/
}

.wdpp-notices {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
    max-width: 50vw;
}

.wdpp-notices:not(:has(.woocommerce-message)) {
    display: none!important;
}

.wdpp-notices .woocommerce-error,
.wdpp-notices .woocommerce-info,
.wdpp-notices .woocommerce-message {
    border: none;
    background-color: var(--background-color);
    box-shadow: var(--shadowlevel-5);
    margin: 0;
    padding: 20px 40px;
    display: flex;
    flex-direction: column;
    outline: none;
}

.wdpp-notices .woocommerce-message .button.wc-forward {
    display: block;
    float: none;
    /*margin: 10px auto 0;*/
    width: auto;
    background-color: var(--btn-color);
    color: var(--text-color);
    border-radius: 20px;
    padding: 10px 20px;
    transition: all var(--standard-transition);
    font: var(--primary-font-stack);
    border: 0px;
    box-shadow: none;
}

.wdpp-notices .woocommerce-message .button.wc-continue {
    border-radius: 20px;
}

.wdpp-notices .woocommerce-message .button.wc-forward:hover {
    background-color: var(--btn-color-hover);
    color: var(--text-color-hover);
    box-shadow: var(--shadowlevel-2);
    cursor: pointer;
    transition: all var(--standard-transition);
}

.wdpp-notices .woocommerce-error:before,
.wdpp-notices .woocommerce-info:before,
.wdpp-notices .woocommerce-message:before {
    display: none;
}

.wdpp-notices:has(.wdpp-notices-close-button) .woocommerce-message {
    padding-top: 40px;
}

.wdpp-notices-close-button{
    position: absolute;
    top: 0;
    right: 0;
    -webkit-appearance: none;
    appearance: none;
    color: var(--text-color);
    border: none;
    background: var(--surface-color);
    cursor: pointer;
    display: block;
    border-radius: 0 50% 0 50%;
    padding: 6px;
    transition: background-color var(--standard-transition);
}

button.wdpp-notices-close-button:hover {
    background: var(--surface-color-hover);
}

.wdpp-notices-close-button svg{
    display: block;
}

/*Minicart*/

.cart-item .wd-icon{
    position: relative;
}
.cart-item .wd-mini-cart-counter{
    position: absolute;
    background: var(--primary-color);
    padding: 2px 5px;
    border-radius: 50px;
    font-size: 14px;
    bottom: -7px;
    right: -9px;
    font-weight: bold;
    text-align: right;
    box-shadow: var(--shadowlevel-2);
    border: 2px solid var(--dark);
    outline: var(--light) solid 2px;
    font-family: var(--primary-font-stack) !important;
    line-height: 14px;
}

/* Ekstra */

.woocommerce table.shop_table tbody:last-child tr:last-child td.actions {
    padding-top: var(--standard-padding-vertical);
}

.woocommerce-billing-fields__field-wrapper .form-row label {
    font-weight: bold;
}

.wdcart_table td, .wdcart_table th{
    vertical-align: top;
}

.woocommerce-checkout #payment {
    background-color: var(--background-color);
}

.product-thumbnail .attachment-woocommerce_thumbnail {
    max-width: 80px;
}

.woocommerce .products li.product a.button{
    display: none;
} 

/* Tak for bestillingen */

body.woocommerce-order-received ul.wc-item-meta {
    margin: 0;
    font-size: 0.8em;
}

body.woocommerce-order-received ul.wc-item-meta li{
    margin: 0 0 0 10px;
}

body.woocommerce-order-received td.woocommerce-table__product-name.product-name > a {
    font-weight: bold;
    text-decoration: none;
    color: var(--text-color);
}
body.woocommerce-order-received td.woocommerce-table__product-name.product-name > a:hover {
    text-decoration: underline;
}

body.woocommerce-order-received td.woocommerce-table__product-total {
    vertical-align: baseline;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-order-received h2.woocommerce-order-details__title {
    margin-bottom: 20px;
}

/* Text Height Dropdown and Custom Height Toggle Styles */
.wdpp-input--text-size-dropdown {
    margin-bottom: 15px;
}

.wdpp-input--custom-height-toggle {
    margin-bottom: 15px;
}

.wdpp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.wdpp-checkbox--enable-custom-height {
    margin: 0;
}

.wdpp-select--text-height {
    font-size: 16px;
    padding: 5px 5px;
    background: var(--background-color);
    color: var(--text-color);
    border-color: var(--separator);
    font: var(--primary-font-stack);
    height: 37px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--separator);
}

.wdpp-input--text-size-range[style*="display: none"] {
    display: none !important;
}

/* Readonly input styling */
.wdpp-textarea--custom-text-width[readonly],
.wdpp-textarea--custom-text-height[readonly],
.wdpp-textarea--custom-text-baseheight[readonly] {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

/* Product guide */
.wdpp-guides-wrapper {
    position: relative;
    max-width: var(--theme-standard-width);
    display: grid;
    overflow: visible;
    align-items: flex-start;
    gap: 90px;
    padding: var(--standard-padding);
    margin: 0 auto 40px auto;
    border-radius: 40px;
    box-shadow: var(--shadowlevel-4), 0px 20px 70px 0px rgba(0, 0, 0, 0.11);
}

.wdpp-guides-wrapper:empty,
.wdpp-guides-wrapper:not(:has(div)) {
    display: none;
}

.wdpp-guides-wrapper > .wdpp-guide:not(:first-child):after {
    content: "";
    height: 1px;
    width: calc(100% + (var(--standard-padding) * 2));
    background: linear-gradient(to right, var(--primary-color) 20%, transparent 80%);
    display: block;
    position: absolute;
    top: -45px;
    left: calc(var(--standard-padding) * -1);
    border-top: 1px solid var(--separator);
}

.wdpp-guide{
    display: grid;
    gap: 20px;
    position: relative;
}

.wdpp-guide h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 240px;
    max-width: 80%;
    height: 1px;
    background: linear-gradient(to right, var(--primary-color) 20%, transparent 80%);
}

.wdpp-guide h3 {
    margin-bottom: 15px;
    line-height: 1.2;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.wdpp-guide h3:not(:first-child) {
    margin-top: 25px;
}

.wdpp-image-wrapper-wrapper {
    margin-bottom: 40px;
}

.product_steps,
.product_viden {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

/* @media (max-width: 1200px) {
    .wdpp-guides {
        margin: 0 20px 40px 20px;
    }
}

@media (max-width: 1035px) {
    .wdpp-guides {
        margin: 0px 40px 40px 40px;
    }
} */

@media (max-width: 700px) {
    /* .wdpp-guides {
        margin: 0 50px 40px 50px;
    } */

    .product_steps,
    .product_viden {
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 600px) {
    /* .wdpp-guides {
        margin: 0 20px 40px 20px;
    } */

    .product_steps,
    .product_viden {
        grid-template-columns: 1fr; 
    }
}

.guide_img,
.viden_img {
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
}

.guide-tab-button {
    padding: 10px 20px;
    background: var(--btn-color);
    color: var(--text-color);
    border: none;
    font: var(--primary-font-stack);
    cursor: pointer;
    transition: var(--standard-transition);
    outline: none;
    border-right: 1px solid var(--btn-color-hover);
}

.guide-tab-button:last-child {
    border-right: none;
}

.guide-tab-button:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.guide-tab-button:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.guide-tab-button:hover {
    background: var(--btn-color-hover);
}

.guide-tab-button.active {
    background: var(--btn-color-hover);
    font-weight: bold;
}

.guide-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    border-radius: 0px;
    overflow: hidden;
}

.guide-tab-button{
    border-radius: 0;
}

@media (max-width: 600px) {
    .guide-tabs {
        flex-direction: column;
        width: 100%;
    }

    .guide-tab-button {
        border-right: none !important;
        border-bottom: 1px solid var(--separator);
        border-radius: 0 !important;
        width: 100%;
        text-align: left;
    }

    .guide-tab-button:first-child {
        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;
    }

    .guide-tab-button:last-child {
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
        border-bottom: none;
    }
}


/* variations color select */

table.variations:has(select[id^="pa_farve"]){
    display: none;
}

table.variations:has(select[id^="pa_farve"]):has(.color-buttons-grid){
    display: table;
}

select[id^="pa_farve"] {
    display: none;
}

/* Color buttons grid */
table.variations tr .color-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0px;
    margin-top: 20px;
}

/* Individual color button */
table.variations tr .color-button {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 80px;
    position: relative;
}

table.variations tr .color-button:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.15);
}

table.variations tr .color-button.selected {
    border-color: var(--primary-color);
    background-color: var(--background-color);
    box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.2);
}

table.variations tr .color-button.selected::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 4px;
    color: #007acc;
    font-weight: bold;
    font-size: 14px;
}

/* Color circle */
table.variations tr .color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    background-size: cover;
    box-shadow: var(--shadowlevel-1);
}

/* Color name text */
table.variations tr .color-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.2;
    text-align: center;
}

/* Placeholder option styling */
table.variations tr .placeholder-option {
    grid-column: 1 / -1;
    justify-self: center;
    color: var(--separator);
    font-style: italic;
    border: 2px dashed var(--separator);
    background: var(--background-color);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    table.variations tr .color-buttons-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    table.variations tr .color-button {
        padding: 12px 6px;
        min-height: 70px;
    }
    
    table.variations tr .color-circle {
        width: 28px;
        height: 28px;
    }
    
    table.variations tr .color-name {
        font-size: 10px;
    }
}

/* Related products */
.wdpp-related-products {
    margin-top: 50px;
    max-width: var(--theme-standard-width);
    margin: 0 auto;
}

.wdpp-related-products h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.wdpp-related-products .products li.product:last-child {
    margin-right: 0;
}

.short_description {
    margin-top: -25px;
}

.short_description ul {
    margin-top: -20px;
    margin-bottom: 0;
    white-space: normal;
}

/*Megamenu*/
.megamenu {
    background-color: var(--background-color);
    z-index: 20;
    position: fixed;
    top: 60px;
    width: 100%;
    left: 0;
    box-shadow: var(--shadowlevel-1);
}

.megamenu .mega-menu {
    column-count: 5;
    column-gap: 20px;
    padding-top: 70px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.megamenu .mega-column {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  width: 100%;
  margin: 0 0 20px;
}

.megamenu .mega-children {
    margin: 0;
}

.megamenu .mega-children li {
    text-decoration: none;
    list-style: none;
    margin: 0;
}

.megamenu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
}

.megamenu a:hover {
    text-decoration: underline;
}

.megamenu .mega-parent {
    font-weight: bold;
    position: relative;
}

.mega-closed {
    display: none;
}

@media screen and (min-width: 1189px) and (max-width: 1480px) {
  .main-header-logo-link img {
    max-height: 80px;
  }
}

@media screen and (max-width: 1189px) {
    .megamenu {
        display: none;
    }

    li.shop {
        display: none;
    }
    
    .main-header-menu .menu-item > a {
        display: flex;
        white-space: unset;
    }

    .main-header-menu {
        margin-bottom: 30px;
    }
}

.mega-mobil-children {
    /*display: none;*/
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition-property: max-height;
    transition-timing-function: ease;
    transition-duration: 250ms;
}

.mega-mobil-children .menu-item {
    margin-left: 20px;
}

.main-header-menu .has-children .mega-mobil-parent {
    padding-left: 32px;
}

.mega-mobil-parent .wd-icon {
    position: absolute;
    right: 17px;
}

.mega-mobil-parent .wd-icon svg {
    margin-top: 8px;
    width: 30px;
    height: 30px;
}

@media screen and (min-width: 1189px) {
    .mobil-menu {
        display: none;
    }
}

.has-children.is-open .wd-icon svg { 
    transform: rotate(180deg); 
    transition: transform 200ms ease; 
}

@media (prefers-reduced-motion: reduce){
  .mega-mobil-children{ transition: none; }
}

/*upload felt*/
.wdpp-upload-area {
    border: 2px dashed var(--separator);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--background-color);
}

.wdpp-upload-area:not(:has(.wdpp-upload-remove:hover)):hover,
.wdpp-upload-area.drag-over {
    border-color: var(--primary-color);
    background: var(--primary-color-faded);
}

.wdpp-upload-icon svg {
    display: block;
    margin: 0 auto 10px;
    height: 50px;
    width: 50px;
}

.wdpp-upload-text {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.wdpp-upload-info {
    font-size: 0.9rem;
    color: var(--text-color);
}

.wdpp-upload-preview {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 4px;
}

.wdpp-upload-file-info {
    flex: 1;
}

.wdpp-upload-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: #dc3232;
    color: var(--light);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    pointer-events: all;
}

.wdpp-upload-thumbnail {
    width: 60px;
    height: 60px;
    border: 1px solid var(--separator);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
    font-size: 24px;
}

.wdpp-upload-progress {
    margin-top: 1rem;
}

.wdpp-upload-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--separator);
    border-radius: 4px;
    overflow: hidden;
}

.wdpp-upload-progress-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    width: 0%;
}

.wdpp-upload-progress-text {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.wdpp-upload-error {
    color: #dc3232;
    background: var(--background-color);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.wdpp-upload-filename{
    line-break: anywhere;
    word-break: break-word;
}

label.wdpp-upload-label:has(*.wdpp-upload-placeholder[style*="display: none"]) {
    pointer-events: none;
}

main#mainContent {
    padding-bottom: 180px;
}

/*Ikoner på ikke builders*/
.wdpp-icon-table ul {
    list-style: none;
    margin: 0;
}

.wdpp-icon-table ul li {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
}

.wdpp-icon-table ul li:last-child {
    margin-bottom: 0;
}

.wdpp-icon-table ul li img {
    margin-right: 6px;
    width: 40px;
}

.wdpp-icon-table ul li a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}


.wdpp-options-wrapper:has(.wdpp-input--radio:only-child .wdpp-radio--justification),
.wdpp-input--radio:has(.wdpp-radio--justification){
    display: none;
}

.wdpp-info-accordion--adjustments:has(.wdpp-textarea--custom-text[data-num-lines]):not(:has(.wdpp-textarea--custom-text[data-num-lines="1"])) .wdpp-input--radio:has(.wdpp-radio--justification),
.wdpp-info-accordion--adjustments:has(.wdpp-textarea--custom-text[data-num-lines]):not(:has(.wdpp-textarea--custom-text[data-num-lines="1"])) .wdpp-options-wrapper:has(.wdpp-input--radio:only-child .wdpp-radio--justification){
    display: block;
}

/*Bestil et tilbud*/
.onskerform-wrapper form div {
    display: flex;
    gap: 20px;
}

.onskerform-wrapper form p {
    width: 100%;
}

.onskerform-wrapper form select {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--separator);
    padding: 4px 10px;
    font: var(--primary-font-stack);
    max-height: 188px;
    min-height: 37px;
    color: var(--text-color);
}

.onskerform-wrapper ::before {
    display: none;
}

.onskerform-wrapper  .wd-cf7-file-preview {
    margin-top: 10px;
}

.onskerform-wrapper .wpcf7-not-valid-tip {
    position: relative;
    left: 5px;
    top: 5px;
}

.onskerform-wrapper input {
    margin-bottom: 6px;
}

select {
    background: var(--kontaktformular-inner-bg);
}

.onskerform-wrapper .fileupload span::before {
    content: "Vælg fil";
    width: 100px;
    background-color: #36c1f0;
    display: flex;
    cursor: pointer;
    height: 37px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font: var(--primary-font-stack);
    max-height: 188px;
    min-height: 37px;
    color: var(--light);
}

.onskerform-wrapper .wpcf7-file {
    display: none;
}

.onskerform-wrapper .cf7-image-preview-wrapper {
    display: block;
}

.onskerform-wrapper .wd-cf7-file-preview-wrapper {
    margin-top: 0 !important;
}

.onskerform-wrapper p:last-child {
    margin-bottom: 0;
}

.onskerform-wrapper .cf7-image-preview-wrapper {
    margin-bottom: 6px;
}

.onskerform-wrapper .wd-cf7-file-preview-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.onskerform-wrapper .wd-cf7-file-preview {
    max-width: 200px;
    display: none;
}

.onskerform-wrapper .wd-cf7-file-remove {
    position: absolute;
    right: 2px;
    top: 2px;
    border: none;
    background-color: var(--text-color);
    color: var(--background-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: var(--body-font-size);
    line-height: 1;
}

#add_payment_method table.cart img,
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img {
    width: 80px;
}

.custom-wc-notice__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 0 0;
    flex-direction: row-reverse;
}

/* Efter 7.0.2 */

body.sometimes-burger .main-header--show-icons .main-header-menu > .menu-item:not(:has(.menu-icon)) > a:before{
    left: 50%;
}

@media screen and (min-width: 1189px) {
    .main-header-menu .menu-item .menu-icon svg{
        height: 34px;
    }

    .main-header-menu .menu-icon + .menu-label,
    .main-header-menu .menu-item:has(.menu-icon + .menu-label) > a:before{
        display: none;
    }
}
@media screen and (max-width: 1189px) {
    .main-header-menu .menu-item > a {
        padding: 0 0 0 32px;
    }
}

body:is(.woocommerce, .woocommerce-cart, .woocommerce-checkout) .entry-content {
    max-width: var(--theme-standard-width);
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--gap);
}

@media screen and (max-width: 1200px) {
    body:is(.woocommerce, .woocommerce-cart, .woocommerce-checkout) .entry-content {
        max-width: 100%;
        padding-left: var(--small-gap);
        padding-right: var(--small-gap);
    }
}

.wdpp-textarea.wdpp-textarea--custom-text {
    padding: 8px 10px 6px;
}

.wp-block-table table td,
.wp-block-table th {
    border: none;
}

:is(.cross-sells, .cart_totals) h2 {
    font-size: var(--product-headline-font-size);
    line-height: var(--product-headline-line-height);
    margin-bottom: 22px;
    font-weight: var(--product-headline-font-weight);
    font-family: var(--product-headline-font-family);
}

.woocommerce .entry-content form .form-row-last,
.woocommerce-page .entry-content form .form-row-last {
    margin-top: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
    margin-top: 0;
}

.select2-container--default .select2-selection--single {
    height: auto;
    padding: 10px 18px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    padding: 10px 18px;
}

.woocommerce form .form-row textarea.input-text {
    height: calc(var(--standard-text-line-height) * 8);
}

@media screen and (max-width: 1189px) {
    .main-header-menu, .main-header-menu li,
    .main-header-menu a,
    .main-header-menu .sub-menu {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        user-select: none;
    }

    .hero-section.hero-section-type-farve .hero-section-content {
        background: linear-gradient(180deg, var(--background-color), transparent);
    }
}

@media screen and (max-width: 768px) {

    *{
        --hero-section-height: 70vh!important;
    }

    .hero-section-triangle .hero-section-inner h1{
        font-size: var(--big-headline-font-size);
        line-height: var(--big-headline-line-height);
        font-weight: var(--big-headline-font-weight);
        letter-spacing: 0;
    }
}

.term-description > p > strong:only-child,
.term-description > p > strong:first-child:has(+ br) {
    font-size: var(--product-headline-font-size);
    font-weight: var(--product-headline-font-weight);
    line-height: var(--product-headline-line-height);
    font-family: var(--product-headline-font-family);
    margin-bottom: calc(var(--product-headline-font-size) / 2);
    display: block;
}

.wdpp-breadcrumbs{
    max-width: var(--theme-standard-width);
    margin: 0 auto var(--small-gap);
    padding-left: 34px;
}

.wd-product-page:has(.wdpp-image-wrapper--advanced-measurements) .wdpp-breadcrumbs {
    padding-left: 0;
}


/* Rettelser til rækkefølgend på produktsiden 

wp-singular product-template-default single single-product postid-3955 logged-in admin-bar wp-theme-wd-foundation wp-child-theme-wd-foundation-child theme-wd-foundation woocommerce woocommerce-page woocommerce-js sometimes-burger builder-type-sticker-2v3-layout customize-support

1	Breadcrumbs	Skal verificeres
2	Produktets titel	Skal verificeres
3	Beskrivende tekst	Skal verificeres
4	Produktbillede	Skal verificeres
5	Justering og tilpasning	Skal verificeres
6	“Dine valg”	Skal verificeres
7	Tilføj til kurv og mængderabatter	Skal verificeres
8	Popup-billedkarrusel	Skal verificeres
9	Guides, vejledning og “Værd at vide”	Skal verificeres
10	Relaterede produkter	Skal verificeres


*/

@media screen and (max-width: 1085px) {
    body.single.single-product{

        --pp-margin: 40px;

        /*order*/

        * {order: 99}

        .wdpp-breadcrumbs{ order: 0; } /*1 Breadcrumbs*/
        .wdpp-info-header{ order: 1; } /*2 Produktets titel + 3 Beskrivende tekst*/
        .wdpp-info-accordion--description{ order: 1; } /*2 Produktets titel + 3 Beskrivende tekst*/
        .wdpp-image-wrapper{ order: 2; } /*4 Produktbillede*/
        .wdpp-info-accordion--adjustments{ order: 3; } /*5 Justering og tilpasning*/
        .wdpp-info-accordion--choices{ order: 4; } /*6 “Dine valg”*/
        .wdpp-add-to-cart-area{ order: 5; } /*7 Tilføj til kurv og mængderabatter*/
        .wdpp-image-popup-wrapper{ order: 6; } /*8 Popup-billedkarrusel*/
        .wdpp-guides-wrapper{ order: 7; } /*9 Guides, vejledning og “Værd at vide”*/
        .wdpp-related-products{ order: 8; } /*10 Relaterede produkter osv.*/



        .wdpp-info-header{ 
            padding: 0 var(--pp-margin); 
        }

        .wdpp-image-wrapper.wdpp-image-wrapper--advanced-measurements {
            margin: 0 auto;
        }

        .wdpp-image-popup-wrapper{
            justify-content: center;
        }

        .wdpp-info-accordion--adjustments,
        .wdpp-info-accordion--choices,
        .wdpp-add-to-cart-area,
        .wdpp-guides-wrapper,
        .wdpp-related-products {
            margin: var(--gap) var(--pp-margin);
        }

        .wdpp-info-accordion--description{
            margin: 0 var(--pp-margin) var(--gap);
            padding: 0;
            overflow: initial;
            border-radius: 0;
            background: none;
            box-shadow: none;
        }



        .wd-product-page{
            display: flex;
            flex-direction: column;
        }

        .wdpp-breadcrumbs {
            margin: 0 initial var(--small-gap);
            padding: 0 var(--pp-margin); ;
        }

        .wdpp-first-row,
        .wdpp-info-wrapper,
        .wdpp-image-wrapper-wrapper {
            display: contents;
        }

    }
}

@media screen and (max-width: 472px) {
    .woocommerce .wdpp-related-product-section{
        .products.columns-4{
            display: flex;
            flex-direction: column;

            li.product{
                width: 100%;
            }
        }
    }
}

@media screen and (max-width: 1000px){
    body.wp-singular.single-product{
        &:has(input:focus, select:focus){
            .wdpp-add-to-cart-area{
                position: relative;
            }
        }   
    }
}