.favorites_container {
    display: table;
    position: relative;

    span {
        cursor: pointer;
        position: relative;
        font-size: 13px;

        /* &:hover {
            color: #0D4976;
        } */
    }

    &:hover {
        ul {
            display: block;
        }
    }

    ul {
        position: absolute;
        border: 1px solid #0D4976;
        background-color: #fff;
        padding: 10px 15px;
        margin: -5px 0 0 0;
        list-style: none;
        font-size: 12px;
        width: fit-content;
        min-width: 200px;
        right: 0;
        z-index: 100;

        li {
            line-height: 20px;
            margin: 0;
            text-align: left;
            display: block;

            a {
                display: block;

                &:hover {
                    color: #0D4976;
                }
            }

            &:last-child {
                padding-bottom: 0;
            }
        }
    }
}

/*
 * Same absolute-positioned dropdown as desktop, just anchored from the
 * icon's left edge instead of the right (right: 0 on the base
 * .favorites_container ul rule tends to push it out of view in the
 * narrower mobile column). Note this doesn't solve the table wrapper's
 * overflow-x-auto clipping if the dropdown extends past its currently
 * visible area - that's a separate, accepted tradeoff for now.
 *
 * Specificity note: this <ul> is still nested inside .favorites_container
 * in the DOM, so the desktop rule ".favorites_container ul" (class + tag,
 * specificity 0-1-1) would otherwise beat a plain ".favorites_dropdown_mobile"
 * class selector (0-1-0) - most importantly its "right: 0" - so this
 * selector matches ".favorites_container ul" one-for-one on specificity
 * (class + tag) and adds the extra class to win the tie.
 */
.favorites_container ul.favorites_dropdown_mobile {
    position: absolute;
    left: 0;
    right: auto;
    border: 1px solid #0D4976;
    background-color: #fff;
    padding: 10px 15px;
    margin: -5px 0 0 0;
    list-style: none;
    font-size: 12px;
    width: fit-content;
    min-width: 200px;
    max-width: 100%;
}

.favorites_container ul.favorites_dropdown_mobile li {
    line-height: 20px;
    margin: 0;
    text-align: left;
    display: block;
}

.favorites_container ul.favorites_dropdown_mobile li a {
    display: block;
}

.favorites_container ul.favorites_dropdown_mobile li a:hover {
    color: #0D4976;
}

.favorites_container ul.favorites_dropdown_mobile li:last-child {
    padding-bottom: 0;
}

.dose_calculator_wrapper {
    background: #0D4976;
    color: #ffffff;
} 
.dose_calculator_container {
    width: 100%;
}

.dose_calculator_form {
    margin: 0 auto;
}

.dose_calculator_form label {
    color: #fff;
    margin-left: 0;
    font-size: 14px;
    text-align: right;
    width: 45%;
    text-wrap: auto;
}

.dose_calculator_form .field-uom label {
    text-align: center;
    margin: 0 auto;
}

.product-options-wrapper .fieldset .field.field-uom label span {
    padding-left: 0;
}

.dose_calculator_form h3 {
    display: block;
    font-size: 1.27em;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}

.dose_calculator_form :where(fieldset~fieldset) {
    margin-top: 20px;
}

.dose_calculator_form input {
    display: inline-block;
    height: 40px;
    border-color: #798f9d;
    border-radius: 0px;
    border: 1px solid #ededed;
    border-left-width: 0.4rem;
    text-align: center;
    width: 40%;
}

.dose_calculator_form input:hover {
    border-left-color: #FFC000;
}


input#mixing_rate_end, input#mixing_rate_start, .dose_calculator_form input, .dose_calculator_form select {
    color: #0D4976;
}

.info-tooltip-content .info-part {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    width: 360px;
    color: #000;
}

input.total_eaches_medications {
    background-color: #7D8D98;
    color: #fff;
    text-align: center;
    border: 2px solid #FFC000;
    font-weight: bold;
    font-size: 20px;
}

.product-options-bottom .add-to-cart {
    margin: 10px auto 0;
    padding: 0px;
}

.pip-grouped-product-view .table.grouped tbody tr td {
    padding: 3px 8px;
    border-bottom: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    vertical-align: middle;
    text-align: left;
    font-weight: normal;
    position: relative;
}

.dose_calculator_form .tooltip-image td {
    border: 1px solid #dfdfdf;
    padding: 3px;
    text-align: center;
    font-size: 14px;
}

.product-options-wrapper .fieldset .field.field-uom label span:before {
    content: '*';
    color: #e02b27;
}

.dose_calculator_form .product-options-wrapper .product-qty label.label {
    width: auto;
    color: #fca53c;
    text-align: center;
    margin: 0;
}

.product-options-wrapper .fieldset .field label span {
    position: relative;
    padding-left: 10px;
    padding-right: 5px;
    font-size: 16px;
    display: block;
    font-weight: 700;
}

.product-add-form .product-options-wrapper .field .control {
    width: auto !important;
}

.pip-grouped-product-view .table.grouped tbody tr td input.qty {
    width: 80px !important;
    background-color: #eeeeee;
    border-radius: 0;
    color: #fca53c;
    font-size: 14px;
    height: 32px;
    padding: 0;
}

.dose_calculator_form .product-options-wrapper .product-qty {
    border-color: #dfdfdf;
    width: 160px;
    text-align: center;
    margin: 10px auto 0 auto;
    padding: 5px 0px;
    border: 1px solid;
    border-radius: 5px;
}

.dose_calculator a {
    color: transparent;
    display: inline-block;
    width: 50px;
    cursor: pointer;
    display: block;
    height: 50px;
}

.dose_calculator_form button.calculate {
    display: inline-block;
    white-space: break-spaces;
    height: 40px;
    line-height: 1.5;
    background: #FFC000;
    font-size: 14px;
    color: #0D4976;
    width: 166px;
    margin-left: 34%;
}

.dose_calculator_form button.calculate:hover {
    color: #fff;
}

.modal-quick-view {
    display: none;
    font-size: 13px;
    cursor: pointer;
}
.image:hover .modal-quick-view {
    display: block;
    position: absolute;
    z-index: 1;
    width: 52px;
    height: 32px!important;
    padding-top: 0!important;
    /* A fixed "top: 25px" only centers this over the image when the row's
       height happens to match the image's own height. Table rows stretch
       every cell to the tallest sibling (e.g. a row with icons or a dose
       calculator in another column), so the image drifts toward the taller
       cell's vertical middle while a fixed offset stays pinned near the top.
       Centering relative to the cell's actual height instead tracks that. */
    top: 50%;
    transform: translateY(-50%);
    background: #666666;
    color: white;
    opacity: 0.6;
    line-height: 1.1;
}

._with-tooltip {
position: relative;
}

.field-tooltip-action {
display: inline-block;
margin-left: 8px;
cursor: pointer;
background: #eee;
border-radius: 50%;
width: 30px;
height: 30px;
text-align: center;
font-weight: bold;
line-height: 26px;
font-size: 20px;
background: transparent;
border: 1px solid #eee;
}

.tooltip-image {
position: absolute;
top: 100%;
left: 0;
background: #fff;
border: 1px solid #ccc;
padding: 10px;
z-index: 1000;
width: 260px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.pip-grouped-product-view .table.grouped tbody tr {
background-color: #fff;
}
.pip-grouped-product-view .table.grouped tbody tr td {
padding: 3px 8px;
border-bottom: 1px solid #dfdfdf;
border-right: 1px solid #dfdfdf;
vertical-align: middle;
text-align: left;
font-weight: normal;
position: relative;
}

.info-block {
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
margin-left: 6px;
background-color: #e6e6e6;
border-radius: 50%;
cursor: pointer;
background-repeat: no-repeat;
background-position: center;
background-size: contain;

transition: all 0.2s ease;
}

.info-block:hover {
background-color: #d6d6d6;
transform: scale(1.05);
}

.tooltip-wrapper,
.info-tooltip-wrapper {
position: relative;
display: inline-block;
}

.tooltip-image,
.info-tooltip-content {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
color: #000;
}

.price-box .price-excluding-tax:after {
    font-weight: 700;
    display: none;
}

.dose_calculator_form fieldset.mixing-rates-fields {
    padding-right: 8px;
}

.dose_calculator_form fieldset.mixing-rates-fields input{
    width: 16%;
}

.header-menu-color:hover {
    color: #0a4976;
}

.sub-menu-color {
    color: #0a4976;
}

.sub-menu-color:hover {
    color: #B25756;
}

.font-15 {
    font-size: 15px;
}

.font-14 {
    font-size: 14px;
}

.dropdown-head-title a {
    font-size: 26px;
    text-transform: capitalize;
    padding-top: 25px;
    padding-bottom: 25px;
}

.width-450 {
    width: 450px;
}

.box-shadow-3-3 {
    box-shadow: rgb(38, 57, 77) 3px 3px 14px 1px;
}

.border-radius-10 {
    border-radius: 10px;
}

.odd\:bg-gray-100:nth-child(2n+1) {
	background-color:var(--color-gray-100);
}

.w-76 {
    width: calc(var(--spacing) * 76);
}

.w-83 {
    width: calc(var(--spacing) * 83);
}

.form-input.qty {
    max-inline-size: calc(8ch + var(--form-px));
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .max-w-mobile {
        max-width: 100%;
    }
    .dose_calculator_form input {
        width: 100%;
    }
    .dose_calculator_form label {
        text-align: left;
        width: 100%;
    }
    .dose_calculator_form button.calculate {
        margin-left: 0;
    }
    .dose_calculator_form fieldset.mixing-rates-fields input {
        width: 100%;
    }
    .qty-width-mobile {
        /* Wide enough for a 4-digit value (e.g. 9999) plus the reserved
           space for the custom spinner buttons - same width used for the
           qty field elsewhere (w-20 = 80px). */
        width: 80px;
    }

    .image-mobile {
        min-width: 80px;
    }
}

@media only screen and (min-width: 1024px) {
    .qty_mobile_block, .qty_mobile, .price_mobile, .favorites_container_mobile {
        display: none;
    }
    .uom_qty_mobile_title {
        display: none;
    }

    .sku_image_block {
        display: none;
    }

    .hide-desktop {
        display: none;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1323px) {

    .image-mobile {
        min-width: 80px;
    }
}

@media only screen and (max-width: 1023px) {
    .qty-desktop {
        display: none;
    }

    .price_mobile .price {
        font-size: 19px;
    }

    .product_name_mobile, .qty_mobile_block, .sku_mobile_block {
        padding-inline: .25rem;
    }
}

@media only screen and (max-width: 600px) {
    .product_name_mobile {
        display: block;
        /* width: 140px; */
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 601px) and (max-width: 768px) {
    .max-w-mobile {
        max-width: 75%;
    }

    .image-mobile {
        min-width: 80px;
    }
    
}

@media only screen and (min-width: 769px) and (max-width: 1200px) {
    .max-w-mobile {
        max-width: 75%;
    }
}

@media only screen and (min-width: 1201px) and (max-width: 1500px) {

    .image-mobile {
        min-width: 50px;
    }
    
}

/* Bootstrap grid clone */

.value::before,
.value::after,
.row::before,
.row::after {
    display: table;
    content: " ";
}

.value::after,
.row::after {
    clear: both;
}

.col-lg-6,
.col-md-6,
.col-sm-6,
.col-xs-12 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

/* Extra small devices */
.col-xs-12 {
    float: left;
    width: 100%;
}

/* Small devices (≥768px) */
@media (min-width: 768px) {
    .col-sm-6 {
        float: left;
        width: 50%;
    }
}

/* Medium devices (≥992px) */
@media (min-width: 992px) {
    .col-md-6 {
        float: left;
        width: 50%;
    }
}

/* Large devices (≥1200px) */
@media (min-width: 1200px) {
    .col-lg-6 {
        float: left;
        width: 50%;
    }
}

.item.box {
    margin-bottom: 20px;
}

.item.box h3, .product.attribute.description h3{
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
}

.item.box ul, .product.attribute.description ul {
    margin: 0;
    padding-left: 20px;
    list-style: circle;
}


.image_labels {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.image_labels .image_label {
    position: relative;
    width: 70px;
    height: 70px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.image_labels .image_label.shipping_apply {
    background-image: url("images/shipping_apply.png");
    float: left;
    background-position: 0px 3px;
}

.image_labels .image_label.shipping_fees {
    background-image: url("images/refrigerated.png");
    float: left;
}

.image_labels .image_label.rx {
    background-image: url("images/rx_logo.png");
    float: right;
    background-position: 12px -8px;
}

.image_labels .image_label.hazardous {
    background-image: url("images/hazardous_logo.png");
    float: right;
    background-position: center;
}

.image_labels .image_label a {
    display: block;
    width: 100%;
    height: 100%;
}

.checkout-cart-index .image_labels .image_label {
    position: relative;
    width: 45px;
    height: 45px;
}

.checkout-cart-index .image_labels .image_label.hazardous {
    width: 35px;
    height: 40px;
}

.favorites.edit .image_label.rx {
    background-image: url("images/rx_logo.png");
    float: right;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 5px;
    right: 1px;
    background-repeat: no-repeat;
    background-size: contain;
}

.favorites.edit .image_label.hazardous {
    background-image: url("images/hazardous_logo.png");
    float: right;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 5px;
    right: 28px;
    background-repeat: no-repeat;
    background-size: contain;
}

.product-img-box {
    position: relative;
}

.product-img-box .image_labels {
    padding: 0 25px;
}

.pip-grouped-product-view .table.grouped {
    border: 1px solid #dfdfdf;
    margin-top: 20px;
    width: 100%;
}

.pip-grouped-product-view .table.grouped thead {
    background-color: #f7f7f7;
}

.pip-grouped-product-view .table.grouped thead tr th {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-transform: capitalize;
    font-weight: normal;
    border-right: 1px solid #ddd;
    padding: 15px 8px;
    text-align: center;
    color: #333;
    white-space: nowrap;
    vertical-align: middle;
}

.pip-grouped-product-view .table.grouped tbody tr {
    background-color: #fff;
}

.pip-grouped-product-view .table.grouped tbody tr td {
    padding: 3px 8px;
    border-bottom: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    vertical-align: middle;
    text-align: left;
    font-weight: normal;
    position: relative;
}

.pip-grouped-product-view .table.grouped tbody tr td input.qty {
    width: 80px !important;
    background-color: #eeeeee;
    border-radius: 0;
    color: #fca53c;
    font-size: 14px;
    height: 32px;
    padding: 0;
}

.pip-grouped-product-view .table.grouped tbody tr td .btn-plus-list {
    position: absolute;
    width: 16px;
    height: 32px;
    z-index: 20;
    top: 50%;
    right: 9px;
    margin-top: -16px;
}

.pip-grouped-product-view .table.grouped tbody tr td .btn-plus-list .increase,
.pip-grouped-product-view .table.grouped tbody tr td .btn-plus-list .reduced {
    color: #ffffff;
    background-color: #666666;
    border: 0;
    font-size: 10px;
    top: 0;
    display: block;
    padding: 0;
    margin: 0;
    width: 16px;
    height: 15px;
    line-height: 15px;
    border-radius: 0;
}

.pip-grouped-product-view .table.grouped tbody tr td .btn-plus-list .increase {
    margin-bottom: 2px;
}

.custom-qty {
    position: relative;
    display: inline-block;
}

.custom-qty input {
    /*
     * When .custom-qty sits in a flex row (e.g. next to the add-to-cart
     * button), the flex parent stretches this wrapper to match its
     * siblings' height - fill that stretched height instead of sizing to
     * the input's own padding/line-height, or it renders visibly shorter.
     * Harmless elsewhere: percentage height is ignored (falls back to
     * auto) wherever .custom-qty isn't given an explicit height.
     */
    height: 100%;
}

.pip-grouped-product-view .table.grouped tbody tr td .image_labels {
    position: relative;
    top: initial;
    padding: 0;
    margin: 0;
}

.pip-grouped-product-view .table.grouped tbody tr td .image_labels .image_label {
    width: 50px;
}

.product-grouped-options .image_labels {
    position: relative;
    top: initial;
    padding: 0;
    margin: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.product-grouped-options .image_labels .image_label {
    width: 50px;
    float: none;
}

.product-grouped-options .image_labels .image_label.rx {
    background-position: center;
}

.pip-grouped-product-view .table.grouped .price-box {
    text-align: right;
}

.pip-grouped-product-view .table.grouped .price-box .price {
    color: #666;
    font-size: 13px;
    text-align: right;
}

.additional-attributes-set {
    border: 1px solid #dfdfdf;
}

.additional-attributes-set caption {
    display: none;
}

.additional-attributes-set tbody tr {
    border-top: 1px solid #dfdfdf;
}

.additional-attributes-set tbody tr td {
    border-right: 1px solid #dfdfdf;
    padding: 3px 8px;
    vertical-align: middle;
    width: 75%;
}

.additional-attributes-set tbody tr td:first-child {
    color: #666666;
    border-radius: 0;
    font-size: 100%;
    line-height: 30px;
    text-align: left;
    width: 25%;
}

.additional-attributes-set tbody tr td:last-child {
    border-right: 0;
}

.additional-attributes-set.labels tbody tr td:first-child {
    vertical-align: baseline;
}

.additional-attributes-set.labels a {
    display: block;
    line-height: 30px;
}

.product-view .product-shop .shop-content-right {
    position: relative;
}

.product-view .product-shop .shop-content-right .category_shopping {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
}

.product-options-wrapper .fieldset .field label span {
    position: relative;
}

.product-options-wrapper .fieldset .field label span:before {
    position: absolute;
    content: '*';
    color: #e02b27;
    left: -11px;
    top: 2px;
}

.products-grid .item:hover .per-product {
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-attribute-value-product-label a {
    display: block;
}

.product-attribute-value-product-label a:hover {
    color: #cea152;
}

#gallery div[role="dialog"][aria-modal="true"] .image_labels {
    display: none;
}

.favorite-image-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.favorite-image-default {
    display: block;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.favorite-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    transition: opacity 0.3s ease;
    opacity: 0;
}

@media (min-width: 64rem) {
    .lg\:table-row {
        display: table-row;
    }
}

.page-with-filter .message.notice, .catalogsearch-result-index .message.notice {
    display: block;
}

.category-menu-desktop {
    top: 40px;
}

.customer-group-code {
    background-color: var(--color-container-darker);
    padding: calc(var(--spacing) * 6);
}

/* Group-code searchable dropdown options (js/checkout-group-code-search.js) */
.gc-option {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    cursor: pointer;
}

.gc-option:hover {
    background-color: #f1f5f9;
}

.gc-option-active {
    background-color: #e2e8f0;
}

.gc-option-none {
    color: #64748b;
    font-style: italic;
}

.gc-option-add {
    color: #2563eb;
    font-weight: 500;
}

/* Placeholder-style label when no group code is selected (matches input placeholder grey) */
.gc-placeholder {
    color: #80828B;
}

.h-185 {
    height: 185px;
}

.footer-column-head {
    font-family: mundial-narrow-variable, sans-serif;
    letter-spacing: .8px;
    text-transform: uppercase;
}

/*
 * Horizontal-scroll hint for the site's table wrappers
 * (class="... overflow-x-auto ... rounded-base"), used across invoices,
 * sales orders, favorites, feedback, etc. On mobile the table is wider
 * than its container and scrolls sideways, but nothing signals that to
 * the shopper. This shows a shadow on whichever edge still has more
 * content to reveal, and fades it out once fully scrolled that way -
 * pure CSS, no JS, no shift in normal desktop layout.
 */
@media (max-width: 1023.98px) {
    .overflow-x-auto.rounded-base {
        background:
            linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0)) left,
            linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0)) right,
            linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0)) left,
            linear-gradient(to left, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0)) right;
        background-repeat: no-repeat;
        background-size: 32px 100%, 32px 100%, 14px 100%, 14px 100%;
        background-attachment: local, local, scroll, scroll;
    }
}

/*
 * Make the Magewire loading overlay actually block interaction (e.g. while
 * placing an order) instead of being click-through. The checkout-loader script
 * forces `pointer-events-none` on the overlay; this !important rule wins over it,
 * so while the overlay is visible (a request is in progress) it captures clicks
 * and prevents interacting with the rest of the page. When no request is running
 * the overlay is x-show="false" (display:none), so it never blocks then.
 *
 * The overlay ships without a z-index, so the header (#header is relative z-30,
 * its dropdowns z-40) painted above it and stayed clickable. A high z-index puts
 * the overlay above the header/menus so it blocks those too.
 */
.magewire-loader-overlay {
    pointer-events: auto !important;
    z-index: 1000 !important;
}

/*
 * Loader overlay / notification backgrounds. They used "bg-white bg-opacity-90/75",
 * but Tailwind v4 removed the bg-opacity-* utilities, so the overlay turned solid
 * white. The Tailwind build does not scan the child theme templates, so a utility
 * like bg-white/90 would not be generated either; plain CSS is used instead. The
 * overlay is fully transparent (it only blocks clicks); the toast keeps 75% white.
 */
.pip-loader-overlay-bg {
    background-color: rgb(255 255 255 / 0);
}

.pip-loader-toast-bg {
    background-color: rgb(255 255 255 / 0.75);
}

/*
 * Product page: the configurable option (super_attribute) and Unit Of Measure
 * dropdowns render full width (Tailwind .w-full). Cap their width so they don't
 * stretch across the whole column. Responsive: full width up to the cap on
 * small screens, capped on larger ones. Adjust max-width to taste.
 */
select[name^="super_attribute"],
#pip-uom-select {
    max-width: 12rem;
}

/*
 * Amasty ShopBy "no products found" empty-state message needs some top
 * spacing away from the filter/toolbar area above it.
 */
#amasty-shopby-product-list .message.info.empty {
    margin-top: 31px;
}

/*
 * Hyvä Checkout 1.3.15 restyled the order summary column as a ".card" (white
 * surface, border, rounded corners). Keep the previous look: a flat container
 * in the darker background colour with the same 1.5rem padding. The card
 * variables are the theme's own hooks for this; padding (6 * spacing) already
 * matches the old p-6, so it is not repeated here.
 */
.checkout-summary {
    --card-bg: var(--color-container-darker);
    --card-stroke: transparent;
    --card-radius: 0;
    /* Direct declaration: unlayered CSS beats the theme's layered .card / bg-surface rules. */
    background-color: var(--color-container-darker);
}

/*
 * Order summary total rows (price-summary.total-segments) use "py-3" in the vendor
 * template; they should be py-3.5. A py-3.5 class would not be generated because the
 * Tailwind build does not scan the child theme, and the vendor template is not
 * overridden here, so set the padding directly (unlayered CSS beats the py-3 utility).
 */
.total-segments > .divide-y > div {
    padding-block: calc(var(--spacing) * 3.5);
}

/* Previously part of the checkout's summary.css: nav buttons fill the summary column. */
.checkout-summary .checkout-nav .btn {
    width: 100%;
}

/*
 * The Ebizcharge payment template uses "text-red-500" for its error messages, but the
 * Tailwind build does not scan that module, so the class is not generated and the text
 * falls back to black. Define it here with the same theme color.
 */
.text-red-500 {
    color: var(--color-red-500);
}

/* Same for "text-green-500" (Pipestone checkout success messages, Ebizcharge). */
.text-green-500 {
    color: var(--color-green-500);
}
/*
 * Customer account pages: the sidebar column is a fixed 240px/320px in the Hyvä layout, too narrow for the
 * SSO sites menu (w-32 logo + site name on one line). 23rem fits the widest item. A "max-content" width was
 * tried first, but the "My Account" title row (title + customer select) then made the column far wider than
 * the menu and left a large empty space to the right of the items.
 */
@media (min-width: 48rem) {
    .account[class*="page-layout-2columns-"] {
        --sidebar-width: clamp(240px, 23rem, 40%);
    }
}

/* "object-left" (SSO menu logos) is not generated by the Tailwind build, which does not scan the Pipestone module. */
.object-left {
    object-position: left;
}

/*
 * Account sidebar: Hyvä styles ".account-nav li a" as "display:flex; justify-content:space-between", which pushes
 * the site name of the SSO sites menu to the far right, away from its logo. Keep logo and name together.
 */
.account-nav li.sso a {
    justify-content: flex-start;
    align-items: center;
    color: var(--color-fg-secondary);
    font-size: 1rem;
}
.account-nav li.sso > a {
    gap: 1rem;
}

/* Account sidebar: a little space between SSO sites menu items (not after the last one). */
.account-nav li.sso + li.sso {
    margin-top: 0.5rem;
}

/* Account sidebar: a long site name wraps beside its logo (even without spaces) instead of overflowing the card. */
.account-nav li.sso .sso-name {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.account-nav li.sso img {
    flex-shrink: 0;
}
