/*
 * Tings Market Platform v7.7.0 — final storefront repair layer.
 * Loaded after the legacy customer-experience and unified UI styles.
 */

/* Header search: icon-only action with color-only interaction. */
html body .tm-site-header .tm-product-search button {
    width: 60px !important;
    min-width: 60px !important;
    padding: 0 !important;
    color: #fff !important;
    background: var(--tm-brand,#12b8ca) !important;
    border-color: var(--tm-brand,#12b8ca) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease !important;
}
html body .tm-site-header .tm-product-search button .tm-icon {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
}
html body .tm-site-header .tm-product-search button:hover,
html body .tm-site-header .tm-product-search button:focus-visible,
html body .tm-site-header .tm-product-search button:active {
    color: #fff !important;
    background: var(--tm-brand-deep,#078fa6) !important;
    border-color: var(--tm-brand-deep,#078fa6) !important;
    box-shadow: none !important;
    transform: none !important;
}
html body .tm-site-header .tm-product-search button:focus-visible {
    outline: 3px solid rgba(18,184,202,.28) !important;
    outline-offset: 3px !important;
}

/* Track Order, My Account and My Cart: visual feedback without movement. */
html body .tm-site-header .tm-header-action,
html body .tm-site-header .tm-header-action__icon {
    transform: none !important;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease !important;
}
html body .tm-site-header .tm-header-action:hover,
html body .tm-site-header .tm-header-action:focus-visible,
html body .tm-site-header .tm-header-action:active {
    transform: none !important;
}
html body .tm-site-header .tm-header-action:hover .tm-header-action__icon,
html body .tm-site-header .tm-header-action:focus-visible .tm-header-action__icon {
    color: #fff !important;
    background: var(--tm-brand-deep,#078fa6) !important;
}
html body .tm-site-header .tm-cart-link:hover .tm-header-action__icon,
html body .tm-site-header .tm-cart-link:focus-visible .tm-header-action__icon {
    color: var(--tm-ink,#071327) !important;
    background: #ffd000 !important;
}
html body .tm-site-header .tm-header-action:focus-visible {
    border-radius: 15px !important;
    outline: 3px solid rgba(18,184,202,.25) !important;
    outline-offset: 4px !important;
}

/* Category cards now stand on their own, with no introductory block. */
.tm-home-departments .tm-shell { padding-top: 0 !important; }
.tm-home-departments .tm-home-department-grid { margin-top: 0 !important; }
.tm-home-product-grid li.tm-card-hidden-incomplete-row,
.tm-home-product-grid li[hidden] { display: none !important; }
.tm-product-badge--out { display: inline-flex !important; align-items: center !important; gap: 4px !important; }
.tm-product-badge--out .tm-icon { width: 12px !important; height: 12px !important; stroke-width: 2.7 !important; }

/* Shop filters. */
body.tmds-platform-archive .tm-native-archive-toolbar {
    min-height: 48px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}
body.tmds-platform-archive .tm-native-archive-toolbar > div:nth-of-type(2) { margin-left: auto !important; }
.tm-shop-filter-toggle {
    display: none;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid #cbdbe1;
    border-radius: 10px;
    background: #fff;
    color: var(--tm-ink,#071327);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}
.tm-shop-filter-toggle .tm-icon { width: 18px; height: 18px; color: var(--tm-brand-deep,#078fa6); }
.tm-shop-filter-toggle b { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: var(--tm-brand,#12b8ca); color: #fff; font-size: 11px; }
body.tmds-platform-archive .tm-shop-filters { overflow: hidden !important; }
.tm-shop-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 18px 16px;
    border-bottom: 1px solid #e5edef;
}
.tm-shop-filters__head > div { display: flex; align-items: center; gap: 10px; }
.tm-shop-filters__head > div > .tm-icon { width: 20px; height: 20px; color: var(--tm-brand-deep,#078fa6); }
.tm-shop-filters__head span { display: grid; }
.tm-shop-filters__head small { color: #718092; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tm-shop-filters__head strong { color: var(--tm-ink,#071327); font-size: 19px; line-height: 1.15; }
.tm-shop-filters__head button { display: none; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid #d6e3e7; border-radius: 10px; background: #fff; color: var(--tm-ink,#071327); }
.tm-shop-filters__head button .tm-icon { width: 19px; height: 19px; }
.tm-shop-filter-form { display: grid; gap: 20px; padding: 18px; }
.tm-shop-filter-field { display: grid; gap: 7px; }
.tm-shop-filter-field > span,
.tm-shop-filter-group legend { color: var(--tm-ink,#071327); font-size: 12px; font-weight: 900; }
.tm-shop-filter-field select,
.tm-shop-filter-price input {
    width: 100%;
    min-height: 44px;
    padding: 0 11px;
    border: 1px solid #c8d7dc;
    border-radius: 9px;
    background: #fff;
    color: var(--tm-ink,#071327);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.tm-shop-filter-group { display: grid; gap: 9px; margin: 0; padding: 0; border: 0; }
.tm-shop-filter-group label { display: flex; align-items: center; gap: 9px; min-height: 28px; color: #405168; font-size: 12px; font-weight: 650; }
.tm-shop-filter-group input[type="radio"] { width: 17px; height: 17px; accent-color: var(--tm-brand-deep,#078fa6); }
.tm-shop-filter-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tm-shop-filter-price label { display: grid; gap: 5px; min-width: 0; }
.tm-shop-filter-price label span { color: #718092; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.tm-shop-filter-check { position: relative; }
.tm-shop-filter-check > input { position: absolute; opacity: 0; }
.tm-shop-filter-check > span { min-height: 46px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid #d5e2e6; border-radius: 10px; background: #f7fbfc; color: var(--tm-ink,#071327); cursor: pointer; }
.tm-shop-filter-check .tm-icon { width: 18px; height: 18px; color: var(--tm-brand-deep,#078fa6); }
.tm-shop-filter-check > input:checked + span { border-color: var(--tm-brand,#12b8ca); background: #eafafd; }
.tm-shop-filter-check > input:focus-visible + span { outline: 3px solid rgba(18,184,202,.22); outline-offset: 2px; }
.tm-shop-filter-actions { display: grid; gap: 9px; }
.tm-shop-filter-actions button { min-height: 46px; border: 0; border-radius: 999px; background: var(--tm-brand,#12b8ca); color: #fff; font-family: inherit; font-size: 12px; font-weight: 900; line-height: 1; cursor: pointer; }
.tm-shop-filter-actions button:hover { background: var(--tm-brand-deep,#078fa6); }
.tm-shop-filter-actions a { color: #526276; font-size: 11px; font-weight: 800; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.tm-archive-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.tm-archive-active-filters a { min-height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #c9e9ee; border-radius: 999px; background: #edfafd; color: #096f80; font-size: 11px; font-weight: 800; text-decoration: none; }
.tm-archive-active-filters .tm-icon { width: 14px; height: 14px; }
.tm-shop-filters__backdrop { display: none; }

/* Product option column always begins at the left edge. */
body.tings-market-single-product .tings-product-options {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: stretch !important;
    text-align: left !important;
}
body.tings-market-single-product .tings-product-options table.variations,
body.tings-market-single-product .tings-product-options table.variations tbody,
body.tings-market-single-product .tings-product-options table.variations tr,
body.tings-market-single-product .tings-product-options table.variations th,
body.tings-market-single-product .tings-product-options table.variations td,
body.tings-market-single-product .tings-attribute-swatches {
    margin-left: 0 !important;
    text-align: left !important;
    justify-content: flex-start !important;
}
body.tings-market-single-product .tings-swatch { transform: none !important; }
body.tings-market-single-product .tings-swatch:hover:not(:disabled),
body.tings-market-single-product .tings-swatch:focus-visible:not(:disabled) { transform: none !important; }
.tings-swatch__status {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #a72b25;
    color: #fff;
    box-shadow: 0 2px 6px rgba(7,19,39,.18);
}
.tings-swatch__status[hidden] { display: none !important; }
.tings-swatch__status .tm-icon { width: 11px; height: 11px; stroke-width: 2.8; }
.tings-swatch.is-unavailable,
.tings-swatch:disabled { opacity: .62 !important; }
.tings-swatch.is-unavailable::after,
.tings-swatch:disabled::after { display: none !important; }
.tings-swatch--text.is-unavailable,
.tings-swatch--text:disabled { border-style: dashed !important; background: #f2f4f5 !important; color: #737b85 !important; }

/* Informational delivery panel: no fake selector controls. */
.tings-product-delivery-summary { display: grid; gap: 9px; margin: 13px 0 10px; }
.tings-product-delivery-summary > div { display: grid; grid-template-columns: 36px minmax(0,1fr); align-items: center; gap: 10px; padding: 10px 11px; border: 1px solid #d7e6ea; border-radius: 11px; background: #fff; }
.tings-product-delivery-summary .tings-delivery-icon { width: 36px; height: 36px; margin: 0; }
.tings-product-delivery-summary strong,
.tings-product-delivery-summary small { display: block; }
.tings-product-delivery-summary strong { color: var(--tings-navy,#071327); font-size: 12px; font-weight: 850; }
.tings-product-delivery-summary small { margin-top: 2px; color: var(--tings-muted,#66758a); font-size: 10px; line-height: 1.35; }

/* Digital Orders: compact retail cards with predictable media sizing. */
.tm-digital-library { width: 100%; display: grid; gap: 20px; }
.tm-digital-library__head { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 14px; margin: 0; padding: 18px 20px; border: 1px solid #d6e7eb; border-radius: 18px; background: #f4fbfc; color: var(--tm-ink,#071327); }
.tm-digital-library__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--tm-brand,#12b8ca); color: #fff; }
.tm-digital-library__icon .tm-icon { width: 23px; height: 23px; }
.tm-digital-library__head p { margin: 0 0 3px; color: var(--tm-brand-deep,#078fa6); font-size: 9px; font-weight: 900; letter-spacing: .09em; }
.tm-digital-library__head h2 { margin: 0 !important; color: var(--tm-ink,#071327) !important; font-size: clamp(25px,3vw,34px) !important; font-weight: 900 !important; line-height: 1.05 !important; }
.tm-digital-library__head div > span { display: block; margin-top: 5px; color: #637286; font-size: 12px; line-height: 1.45; }
.tm-digital-library__list { display: grid; gap: 18px; }
.tm-digital-order { overflow: hidden; border: 1px solid #d9e4e8; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(7,19,39,.045); }
.tm-digital-order__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; border-bottom: 1px solid #e6edef; background: #fbfdfe; }
.tm-digital-order__identity { display: grid; gap: 2px; }
.tm-digital-order__identity small,
.tm-digital-order__summary small { color: #6a788a; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tm-digital-order__identity strong { color: var(--tm-ink,#071327); font-size: 13px; }
.tm-digital-order__summary { display: flex; align-items: center; justify-content: flex-end; gap: 13px; }
.tm-digital-order__summary > span:first-child { display: grid; }
.tm-digital-order__summary > span:first-child strong { color: var(--tm-ink,#071327); font-size: 13px; }
.tm-digital-order__status { min-height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: #e9f8ef; color: #137043; font-size: 10px; font-weight: 900; }
.tm-digital-order__status--problem { background: #fdeceb; color: #a72b25; }
.tm-digital-order__status--preparing,
.tm-digital-order__status--ordered { background: #fff5c7; color: #745b00; }
.tm-digital-order__head .button { min-height: 35px !important; display: inline-flex !important; align-items: center !important; margin: 0 !important; padding: 0 12px !important; border: 1px solid #b9dfe5 !important; border-radius: 9px !important; background: #fff !important; color: var(--tm-brand-deep,#078fa6) !important; font-size: 10px !important; font-weight: 900 !important; text-decoration: none !important; }
.tm-digital-progress { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; padding: 12px 18px; border-bottom: 1px solid #edf1f3; list-style: none; }
.tm-digital-progress li { position: relative; display: flex; align-items: center; gap: 7px; color: #8a95a2; font-size: 9px; }
.tm-digital-progress li:not(:last-child)::after { position: absolute; top: 50%; right: 8px; left: 38px; height: 2px; content: ""; background: #dfe7ea; }
.tm-digital-progress li > span { position: relative; z-index: 1; width: 23px; height: 23px; display: grid; place-items: center; border: 2px solid #d2dde1; border-radius: 999px; background: #fff; font-size: 9px; font-weight: 900; }
.tm-digital-progress li.is-complete,
.tm-digital-progress li.is-current { color: var(--tm-brand-deep,#078fa6); }
.tm-digital-progress li.is-complete > span,
.tm-digital-progress li.is-current > span { border-color: var(--tm-brand,#12b8ca); background: var(--tm-brand,#12b8ca); color: #fff; }
.tm-digital-progress li.is-complete::after { background: var(--tm-brand,#12b8ca); }
.tm-digital-order__items { display: grid; }
.tm-digital-item { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 16px; min-height: 122px; padding: 16px 18px; }
.tm-digital-item + .tm-digital-item { border-top: 1px solid #edf1f3; }
.tm-digital-item__image { width: 92px; height: 92px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e2e9ec; border-radius: 13px; background: #f8fafb; }
.tm-digital-item__image img { width: 100% !important; height: 100% !important; display: block !important; margin: 0 !important; object-fit: contain !important; }
.tm-digital-item__copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.tm-digital-item__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.tm-digital-item__title strong { min-width: 0; color: var(--tm-ink,#071327); font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.tm-digital-item__title span { flex: 0 0 auto; color: var(--tm-ink,#071327); font-size: 14px; font-weight: 900; white-space: nowrap; }
.tm-digital-item__copy > small { margin-top: 3px; color: #758294; font-size: 10px; }
.tm-digital-item__note { margin: 7px 0 0; color: #607084; font-size: 10px; line-height: 1.4; }
.tm-digital-item__actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.tm-digital-item__actions .button { min-height: 34px !important; display: inline-flex !important; align-items: center !important; margin: 0 !important; padding: 0 11px !important; border: 1px solid #d2dfe4 !important; border-radius: 8px !important; background: #fff !important; color: var(--tm-ink,#071327) !important; font-size: 9.5px !important; font-weight: 850 !important; text-decoration: none !important; }
.tm-digital-item__actions .button:last-child { border-color: var(--tm-brand,#12b8ca) !important; background: var(--tm-brand,#12b8ca) !important; color: #fff !important; }
.tm-digital-empty { display: grid; justify-items: start; gap: 6px; padding: 26px; border: 1px dashed #c8d9de; border-radius: 16px; background: #fff; }
.tm-digital-empty strong { color: var(--tm-ink,#071327); font-size: 18px; }
.tm-digital-empty span { color: #657487; font-size: 12px; }
.tm-digital-empty .button { margin-top: 7px !important; }

/* Classic mobile cart: give every value its own row and remove Woo labels. */
.tm-cart-mobile-subtotal-label { display: none; }

@media (max-width: 900px) {
    .tm-shop-filter-toggle { display: inline-flex; }
    body.tmds-platform-archive .tm-archive-layout { grid-template-columns: minmax(0,1fr) !important; }
    body.tmds-platform-archive .tm-shop-filters {
        position: fixed !important;
        z-index: 100002 !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: min(88vw,360px) !important;
        max-width: 360px !important;
        overflow-y: auto !important;
        border: 0 !important;
        border-radius: 0 18px 18px 0 !important;
        box-shadow: 18px 0 50px rgba(7,19,39,.24) !important;
        transform: translateX(-105%) !important;
        visibility: hidden !important;
        transition: transform .2s ease, visibility .2s ease !important;
    }
    body.tmds-platform-archive .tm-shop-filters.is-open { transform: translateX(0) !important; visibility: visible !important; }
    .tm-shop-filters__head button { display: grid; }
    .tm-shop-filters__backdrop { position: fixed; z-index: 100001; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(7,19,39,.52); }
    .tm-shop-filters__backdrop:not([hidden]) { display: block; }
    body.tm-filter-open { overflow: hidden; }
}

@media (max-width: 640px) {
    html body .tm-site-header .tm-product-search button { width: 50px !important; min-width: 50px !important; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
        grid-template-columns: 78px minmax(0,1fr) !important;
        grid-template-areas:
            "image name"
            "image subtotal"
            "image qty" !important;
        align-items: start !important;
        gap: 8px 12px !important;
        min-height: 0 !important;
        padding: 13px !important;
        overflow: hidden !important;
    }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td,
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td::before,
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td::after {
        min-width: 0 !important;
    }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td::before,
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td::after {
        display: none !important;
        content: none !important;
    }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail { grid-area: image !important; align-self: start !important; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-name { grid-area: name !important; align-self: start !important; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-subtotal { grid-area: subtotal !important; justify-content: flex-start !important; gap: 7px !important; white-space: normal !important; }
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td.product-quantity { grid-area: qty !important; justify-content: flex-start !important; }
    body.woocommerce-cart .woocommerce-cart-form .product-name > a { display: block !important; margin: 0 0 5px !important; font-size: 13px !important; line-height: 1.25 !important; overflow-wrap: anywhere !important; word-break: normal !important; }
    body.woocommerce-cart .woocommerce-cart-form .product-name dl.variation { display: grid !important; grid-template-columns: auto minmax(0,1fr) !important; gap: 2px 5px !important; margin: 4px 0 0 !important; font-size: 10px !important; line-height: 1.3 !important; }
    body.woocommerce-cart .woocommerce-cart-form .product-name dl.variation dt,
    body.woocommerce-cart .woocommerce-cart-form .product-name dl.variation dd { float: none !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; overflow-wrap: anywhere !important; }
    body.woocommerce-cart .woocommerce-cart-form .product-name dl.variation p { margin: 0 !important; }
    body.woocommerce-cart .tm-cart-row-actions { margin-top: 6px !important; }
    body.woocommerce-cart .woocommerce-cart-form .product-thumbnail img { width: 76px !important; height: 76px !important; }
    body.woocommerce-cart .product-quantity .quantity.tm-cart-qty-enhanced { width: 116px !important; max-width: 116px !important; }
    body.woocommerce-cart .tm-cart-mobile-subtotal-label { display: inline !important; color: #718092 !important; font-size: 9px !important; font-weight: 850 !important; letter-spacing: .04em !important; text-transform: uppercase !important; }

    .tm-digital-library__head { grid-template-columns: 40px minmax(0,1fr); padding: 15px; }
    .tm-digital-library__icon { width: 40px; height: 40px; }
    .tm-digital-order__head { align-items: flex-start; flex-direction: column; gap: 11px; }
    .tm-digital-order__summary { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
    .tm-digital-order__summary .button { margin-left: auto !important; }
    .tm-digital-progress { padding: 12px; }
    .tm-digital-progress li { justify-content: center; }
    .tm-digital-progress li strong { position: absolute; top: 27px; font-size: 7px; }
    .tm-digital-progress li:not(:last-child)::after { right: 0; left: calc(50% + 14px); }
    .tm-digital-order__items { padding-top: 8px; }
    .tm-digital-item { grid-template-columns: 72px minmax(0,1fr); gap: 11px; min-height: 0; padding: 13px; }
    .tm-digital-item__image { width: 72px; height: 72px; }
    .tm-digital-item__title { display: grid; gap: 3px; }
    .tm-digital-item__title strong { font-size: 13px; }
    .tm-digital-item__title span { font-size: 12px; }
    .tm-digital-item__actions { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    body.tmds-platform-archive .tm-shop-filters { transition: none !important; }
}

/* Digital Orders repair: dense cards, fixed-size actions and progress labels
   that sit below (never through) the connecting line. */
body.tmds-digital-orders-page .tm-account-native-content,
body.tmds-digital-orders-page .tm-account-woocommerce .woocommerce-MyAccount-content {
    min-height: 0 !important;
    padding: clamp(15px,2vw,22px) !important;
}
body.tmds-digital-orders-page .tm-digital-library { gap: 13px; }
body.tmds-digital-orders-page .tm-digital-library__head {
    grid-template-columns: 38px minmax(0,1fr);
    gap: 11px;
    padding: 12px 14px;
    border-radius: 13px;
}
body.tmds-digital-orders-page .tm-digital-library__icon { width: 38px; height: 38px; border-radius: 10px; }
body.tmds-digital-orders-page .tm-digital-library__icon .tm-icon { width: 18px; height: 18px; }
body.tmds-digital-orders-page .tm-digital-library__head p { margin-bottom: 1px; font-size: 8px; }
body.tmds-digital-orders-page .tm-digital-library__head h2 { font-size: clamp(20px,2.2vw,25px) !important; }
body.tmds-digital-orders-page .tm-digital-library__head div > span { margin-top: 3px; font-size: 10px; line-height: 1.35; }
body.tmds-digital-orders-page .tm-digital-library__list { gap: 13px; }
body.tmds-digital-orders-page .tm-digital-order { border-radius: 14px; box-shadow: 0 5px 18px rgba(7,19,39,.04); }
body.tmds-digital-orders-page .tm-digital-order__head {
    min-height: 0 !important;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
    padding: 11px 13px;
}
body.tmds-digital-orders-page .tm-digital-order__summary { gap: 9px; }
body.tmds-digital-orders-page .tm-digital-order__status { min-height: 24px; padding: 0 8px; font-size: 8px; }
body.tmds-digital-orders-page .tm-account-native-content .tm-digital-order__head a.button,
body.tmds-digital-orders-page .tm-account-woocommerce .tm-digital-order__head a.button {
    width: auto !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 10px !important;
    border: 1px solid #b9dfe5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--tm-brand-deep,#078fa6) !important;
    font-size: 9px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transform: none !important;
}
body.tmds-digital-orders-page .tm-account-native-content .tm-digital-order__head a.button:hover,
body.tmds-digital-orders-page .tm-account-woocommerce .tm-digital-order__head a.button:hover { background: #eaf8fa !important; color: #057f95 !important; transform: none !important; }
body.tmds-digital-orders-page .tm-digital-progress {
    grid-template-columns: repeat(4,minmax(0,1fr));
    padding: 10px 15px 9px;
}
body.tmds-digital-orders-page .tm-digital-progress li {
    position: relative;
    display: grid;
    grid-template-rows: 22px auto;
    justify-items: center;
    gap: 4px;
    min-width: 0;
    padding: 0 3px;
    text-align: center;
}
body.tmds-digital-orders-page .tm-digital-progress li:not(:last-child)::after {
    z-index: 0;
    top: 10px;
    right: calc(-50% + 13px);
    left: calc(50% + 13px);
    height: 2px;
}
body.tmds-digital-orders-page .tm-digital-progress li > span {
    z-index: 1;
    width: 22px;
    height: 22px;
    grid-row: 1;
    box-sizing: border-box;
}
body.tmds-digital-orders-page .tm-digital-progress li > strong {
    position: static !important;
    z-index: 1;
    grid-row: 2;
    padding: 0 3px;
    background: #fff;
    font-size: 8px !important;
    line-height: 1.2;
    white-space: nowrap;
}
body.tmds-digital-orders-page .tm-digital-item { grid-template-columns: 76px minmax(0,1fr); gap: 13px; min-height: 0; padding: 13px; }
body.tmds-digital-orders-page .tm-digital-item__image { width: 76px; height: 76px; border-radius: 10px; }
body.tmds-digital-orders-page .tm-digital-item__title strong { font-size: 13px; }
body.tmds-digital-orders-page .tm-digital-item__title span { font-size: 12px; }
body.tmds-digital-orders-page .tm-digital-item__note { margin-top: 5px; font-size: 9px; }
body.tmds-digital-orders-page .tm-digital-item__actions { margin-top: 7px; }
body.tmds-digital-orders-page .tm-account-native-content .tm-digital-item__actions a.button,
body.tmds-digital-orders-page .tm-account-woocommerce .tm-digital-item__actions a.button {
    width: auto !important;
    height: 31px !important;
    min-height: 31px !important;
    max-height: 31px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    font-size: 8.5px !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transform: none !important;
}
body.tmds-digital-orders-page .tm-account-native-content .tm-digital-item__actions a.button:hover,
body.tmds-digital-orders-page .tm-account-woocommerce .tm-digital-item__actions a.button:hover { filter: brightness(.96); transform: none !important; }

@media (max-width: 640px) {
    body.tmds-digital-orders-page .tm-digital-order__head { grid-template-columns: 1fr; gap: 8px; }
    body.tmds-digital-orders-page .tm-digital-order__summary { width: 100%; justify-content: space-between; }
    body.tmds-digital-orders-page .tm-digital-order__summary .button { margin-left: 0 !important; }
    body.tmds-digital-orders-page .tm-digital-progress { padding-inline: 8px; }
    body.tmds-digital-orders-page .tm-digital-progress li > strong { font-size: 7px !important; }
    body.tmds-digital-orders-page .tm-digital-item { grid-template-columns: 64px minmax(0,1fr); gap: 10px; padding: 11px; }
    body.tmds-digital-orders-page .tm-digital-item__image { width: 64px; height: 64px; }
    body.tmds-digital-orders-page .tm-digital-item__actions { grid-column: auto; }
}
