.woocommerce-notices-wrapper .woocommerce-message{
    max-width: max-content;
    margin-bottom: var(--space-md);
}

.product .woocommerce-product-gallery{
    max-width: 22rem;
    margin-bottom: var(--space-sm);
}
.woocommerce-product-gallery__wrapper a{
    cursor: default;
    pointer-events: none;
}
.woocommerce-product-gallery__image img{
    width: 100%;
    height: auto;
    border: 1px solid rgba(var(--color-primary), .5);
}

.product .summary {
    margin-bottom: var(--space-sm);
}

table.variations, div.reset_variations_alert{
    display: none;
}

.woocommerce-variation-price{
    margin-top: var(--space-xs);
}
.woocommerce-variation-price .price {
    font-weight: 700;
    font-size: 1.2rem;
}

.woocommerce-variation-add-to-cart {
    margin-top: var(--space-sm);
}

.woocommerce-variation-add-to-cart .custom-style-option{
    margin-bottom: var(--space-lg);
}

.woocommerce-variation-add-to-cart .custom-style-option h4{
    margin-bottom: var(--space-xs);
}

.woocommerce-variation-add-to-cart .custom-style-option.fabric-swatches h4{
    margin-bottom: unset;
}

.woocommerce-variation-add-to-cart .custom-style-option.fabric-swatches .direction-text{
    margin-bottom: var(--space-xs);;
}

.custom-style-option.non-variation .flex-wrapper:not(:last-child){
    margin-bottom: var(--space-sm);
}

.custom-style-option .flex-wrapper {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.custom-style-option .tooltip-parent{
    position: relative;
}
.custom-style-option .tooltip-parent .tooltip {
    position: fixed;
    left: 50%;
    top: 30%;
    background-color: rgb(var(--color-info));
    color: #ffffff;
    padding: calc(var(--space-xs) * .5) var(--space-xs);
    border-top-left-radius: calc(var(--space-xs) * .5);
    border-top-right-radius: calc(var(--space-xs) * .5);
    border-bottom-right-radius: calc(var(--space-xs) * .5);
    transition: opacity .3s;
    opacity: 0;
    z-index: 100;
    transform: translateX(-50%);
    pointer-events: none;
}
.custom-style-option .tooltip-parent:hover .tooltip {
    opacity: 1;
}

.custom-style-option.fabric-swatches .swatch-item{
    cursor: pointer;
}

.custom-style-option.fabric-swatches .swatch-item img{
    max-width: 5rem;
}

.custom-style-option.non-variation label.tooltip-parent{
    cursor: pointer;
    flex-basis: 0;
}

.custom-style-option .tooltip-parent.selected::after {
    content: "\2713";
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    position: absolute;
    text-align: right;
    height: 100%;
    top: 0;
    left: 0;
    color: white;
    padding: .5em;
    box-sizing: inherit;
}

.custom-style-option.non-variation .tooltip-parent svg{
    height: 3.9375rem;
    width: auto;
}

.custom-style-option.non-variation .flex-wrapper.sleeve svg{
    height: 5.3125rem;
}

.custom-style-option input[type="radio"] {
    display: none;
}

.woocommerce-variation-add-to-cart .buttons-wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-gap: var(--space-sm);
    max-width: 22rem;
}
.woocommerce-variation-add-to-cart .buttons-wrapper .quantity{
    grid-column: 1 / -1;
}
.woocommerce-variation-add-to-cart .quantity input {
    width: 100%;
    border-radius: var(--border-radius);
    border-width: 1px;
    border-style: solid;
    font-size: .9rem;
    border-color: rgb(var(--color-primary));
}


.woocommerce-single-product-description p:not(:last-child) {
    margin-bottom: var(--space-sm);
}