:root {
    --c-framboise: #e30b5d;
}

.woocommerce img {
    /* border-width: 2px;
    border-style: solid;
    border-top-color: #f9d094;
    border-right-color: #f9d094;
    border-bottom-color: #d6ae72;
    border-left-color: #d6ae72; */
    border-radius: 8px;
    box-shadow: 0 0 8px #4d4d4d6d;
}

main {
    padding-top: 1rem;
}

.woocommerce button[type=submit] {
    border: 1px solid #4d4d4d4d;
    text-shadow: 0 0 0.15rem #257a7a;
}

.woocommerce button.wc-variation-selection-needed {
    cursor: not-allowed;
}

.woocommerce #lmda-giftcard-to.not-empty,
.woocommerce #lmda-giftcard-from.not-empty {
    box-shadow: 0 0 12px var(--c-framboise);
}

.woocommerce.woocommerce.woocommerce.wc-block-store-notices {
    --corner: 3px;
    position: fixed;
    width: fit-content;
    max-width: 70%;
    z-index: 90000;
    transform: unset;
    left: 50%;
    translate: -50%;
    top: 5dvh;
    /* margin-inline: auto; */
    /* padding: 1rem; */
}

.theme-lmda .no-sidebar .entry-content>.alignwide {
    max-width: none;
    width: auto;
}

.theme-lmda.theme-lmda.theme-lmda .wp-element-button {
    background: var(--c-blue);
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 3px #4d4d4d4d;
}

.theme-lmda .woocommerce-notices-wrapper {
    padding: 0;
    width: max-content;
}

.theme-lmda .woocommerce .lmda-add-to-cart button.button.alt {
    grid-column: 1/-1;
}

.theme-lmda .woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    list-style-type: none;
    border-left: 0.5rem solid var(--color);
    border-top: 0;
    padding: 1rem;
    margin: 0 0 0.5rem 0;
    background-color: white;
    box-shadow: 0 0 12px #4d4d4d4d;
    border-radius: 3px;
}

.theme-lmda .woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    content: none;
}

.theme-lmda .woocommerce-error {
    --color: var(--c-framboise);
}

.theme-lmda .woocommerce-info {
    --color: var(--c-yellow);
}

.theme-lmda .woocommerce-message {
    --color: var(--c-blue);
}

.theme-lmda .woocommerce-error li {
    margin: 0;
    padding: 0;
}

.theme-lmda .woocommerce-error li+li {
    margin-top: 0.5rem;
}

.theme-lmda .lmda-add-to-cart table,
.theme-lmda .lmda-add-to-cart table tbody tr td,
.theme-lmda .lmda-add-to-cart table tbody tr th {
    border: 0;
}

.theme-lmda .lmda-add-to-cart table tbody tr th label {
    width: max-content;
}

.theme-lmda .lmda-add-to-cart table tbody tr td.value {
    text-align: right;
}

.lmda-add-to-cart .reset_variations {
    /* override element style */
    display: none !important;
}

.lmda-giftcard-field {
    display: none;
    grid-template-columns: 1fr 2fr;
    gap: 1ch;
    margin-block: 1rem 3rem;
    /* background-color: goldenrod; */
}

.lmda-giftcard-field.visible {
    display: grid;
}

.lmda-giftcard-field #lmda-giftcard-preview-btn {
    grid-column: 2;
}

.quantity {
    display: none !important;
}

.single_add_to_cart_button {
    float: none;
    width: 100%;
}

.theme-lmda .wp-block-woocommerce-cart.alignwide {
    max-width: none;
    width: auto;
}

/* CART PAGE */
.theme-lmda .wp-block-woocommerce-filled-cart-block {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    /* background-color: lightgreen; */
}

.theme-lmda .wp-block-woocommerce-filled-cart-block .wp-block-woocommerce-cart-items-block {
    font-size: 1.25rem;
}

.theme-lmda .wp-block-woocommerce-cart-items-block {
    /* color: white; */
    /* background-color: olive; */
}

.theme-lmda .wp-block-woocommerce-cart-totals-block {
    /* background-color: tomato; */
    /* color: white; */
}

/* START input field tooltips product add to cart */
.theme-lmda.theme-lmda .woocommerce form .form-row .woocommerce-input-wrapper .description {
    --bg-color: #d3f0f0;
    display: block;
    position: absolute;
    background: var(--bg-color);
    color: var(--c-dblue);
    padding: 1rem;
    margin: .5em 0 0;
    border-radius: 3px;
    box-shadow: 0 0 12px #4d4d4d4d;
    z-index: 1000;
}

.woocommerce form .form-row::after,
.woocommerce-page form .form-row::after {
    clear: none;
}

.theme-lmda .woocommerce form .form-row .woocommerce-input-wrapper .description::before {
    content: "";
    position: absolute;
    display: block;
    left: 50%;
    top: 0;
    margin-top: calc((1rem - 1px) * -1);
    transform: translateX(-50%) rotate(180deg);
    border-width: 1rem 0.75rem 0 0.75rem;
    border-style: solid;
    border-color: var(--bg-color) transparent transparent transparent;
    z-index: 2001;
}

.woocommerce form .form-row::after,
.woocommerce form .form-row::before,
.woocommerce-page form .form-row::after,
.woocommerce-page form .form-row::before {
    content: none;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    all: unset;
}

.theme-lmda .lmda-giftcard-field input[type=date],
.theme-lmda .lmda-giftcard-field input[type=datetime-local],
.theme-lmda .lmda-giftcard-field input[type=datetime],
.theme-lmda .lmda-giftcard-field input[type=email],
.theme-lmda .lmda-giftcard-field input[type=month],
.theme-lmda .lmda-giftcard-field input[type=number],
.theme-lmda .lmda-giftcard-field input[type=password],
.theme-lmda .lmda-giftcard-field input[type=search],
.theme-lmda .lmda-giftcard-field input[type=tel],
.theme-lmda .lmda-giftcard-field input[type=text],
.theme-lmda .lmda-giftcard-field input[type=time],
.theme-lmda .lmda-giftcard-field input[type=url],
.theme-lmda .lmda-giftcard-field input[type=week],
textarea:not(.editor-post-title__input) {
    display: block;
    position: relative;
    padding: 10px;
    max-width: 100%;
    width: 100%;
    border: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12) inset;
    transition: all .2s linear;
    background-color: #f2f2f2;
    border-bottom: 1px solid #fff;
    box-sizing: border-box;
    color: #000;
}

.theme-lmda .woocommerce div.product form.cart .variations select {
    width: 100%;
}

.theme-lmda .woocommerce div.product form.cart .variations td,
.theme-lmda .woocommerce div.product form.cart .variations th {
    border: 0;
    line-height: 2em;
    vertical-align: middle;
    padding-left: 0;
}

.theme-lmda .woocommerce div.product form.cart .variations th.label label {
    margin-bottom: 0;
}

.woocommerce form .form-row .woocommerce-input-wrapper .description[aria-hidden=true] {
    display: none !important;
}

.theme-lmda .woocommerce form .form-row .required {
    color: var(--c-framboise);
}

/* END input field tooltips product add to cart */

/* START CHECKOUT PAGE */
.is-medium table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total,
.is-small table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
    display: none;
}

/* END CHECKOUT PAGE */

.theme-lmda.theme-lmda.theme-lmda .wp-element-button,
.theme-lmda .woocommerce .lmda-add-to-cart button.button {
    white-space: nowrap;
    padding: 1em 2em;
    border-radius: 3px;
    border: none;
    background: var(--c-blue);
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    text-decoration: none;
    transition: all 0.2s;
}

.theme-lmda.theme-lmda.theme-lmda .wp-element-button:hover,
.theme-lmda .woocommerce .lmda-add-to-cart button.button:hover {
    background: var(--c-dyellow)
}

.theme-lmda.theme-lmda.theme-lmda .wp-element-button.disabled:hover,
.theme-lmda .woocommerce .lmda-add-to-cart button.disabled.button:hover {
    background: var(--c-blue);
    opacity: 0.5;
}

.theme-lmda.theme-lmda.theme-lmda .wp-element-button.disabled:focus,
.theme-lmda .woocommerce .lmda-add-to-cart button.disabled.button:focus {
    outline: 0;
    outline: 2px solid var(--c-blue);
    outline-offset: 6px
}

/* ORDER */
.woocommerce-thankyou-order-received {
    font-weight: 400;
    font-size: 2rem;
}

.theme-lmda .woocommerce-table--order-details .entry-content li,
.theme-lmda .wc-item-meta {
    margin: 0;
}

.theme-lmda .wc-block-components-sidebar {
    width: auto;
}