/* Handheld lookbook and product controls */
@media (max-width: 700px) {
    .td26-shelf .td26-tile .tile-save {
        display: grid;
        place-items: center;
        top: 4px;
        right: 4px;
        width: 44px;
        height: 44px;
        padding: 0;
        background: radial-gradient(circle, #fff 0 15px, transparent 16px);
    }
    .td26-product {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 16px clamp(12px, 4vw, 24px) 32px;
    }
    .td26-product .td26-gallery-pick {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 6px;
    }
    .td26-gallery-pick a {
        box-sizing: border-box;
        min-height: 44px;
        justify-content: center;
        border-radius: 4px;
    }
    .td26-product .td26-zoom img {
        max-height: 58vh;
        max-height: 58svh;
        object-fit: contain;
    }
    .td26-product .td26-thumbs[data-photo-group]:not([hidden]) {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: clamp(62px, 20vw, 94px);
        overflow-x: auto;
        gap: 6px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        padding: 3px 3px 5px;
        margin: 4px -3px 0;
    }
    .td26-product .td26-thumbs a {
        min-width: 0;
        text-align: center;
        scroll-snap-align: start;
    }
    .td26-product .td26-thumbs img {
        aspect-ratio: 1.35;
        object-position: 50% 34%;
    }
    .td26-gallery .td26-collectible {
        min-height: 44px;
        font-weight: 650;
        text-underline-offset: 3px;
    }
    .td26-buy {
        min-width: 0;
        border-top: 1px solid #a4a797;
        padding-top: 14px;
    }
    .td26-buy h1 {
        font-size: clamp(30px, 8.5vw, 44px);
        margin: 4px 0;
    }
    .td26-buy .td26-price {margin: 5px 0}
    .td26-buy .td26-intro {margin: 8px 0}
    .td26-form fieldset {margin: 12px 0}
    .td26-form .td26-options {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 5px;
    }
    .td26-form .td26-options span {
        box-sizing: border-box;
        min-width: 0;
        min-height: 44px;
        padding: 5px 2px;
        border-radius: 3px;
    }
    .td26-form .td26-qty input {
        box-sizing: border-box;
        min-height: 44px;
    }
    .td26-buy .td26-size {padding: 10px; margin-top: 16px}
    .td26-size-heading h2 {font-size: clamp(18px, 5.4vw, 24px)}
    .td26-size table {font-size: .9375rem}
    .td26-size :is(th, td) {padding: 6px 1px}
    .td26-gallery .td26-gallery-pick a:focus-visible,
    .td26-gallery .td26-collectible:focus-visible,
    .td26-gallery .td26-zoom:focus-visible {
        outline: 3px solid #596d35;
        outline-offset: 2px;
    }
}

/* Keep the offer facts at reading width, with the action following the deadline. */
@media (max-width: 540px) {
    .hmof .hmof-list .hmof-row {
        grid-template-columns: clamp(76px, 23vw, 112px) minmax(0, 1fr);
        align-items: center;
        gap: 7px 12px;
        padding-block: 16px;
    }
    .hmof .hmof-row > .hmof-thumb {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
    }
    .hmof .hmof-row > .hmof-copy {display: contents}
    .hmof .hmof-row .hmof-copy > *,
    .hmof .hmof-row .hmof-row-action {
        grid-column: 1 / -1;
        min-width: 0;
    }
    .hmof .hmof-row:not(.hmof-row--plain) .hmof-copy > h3,
    .hmof .hmof-row:not(.hmof-row--plain) .hmof-copy > .hmof-reward {
        grid-column: 2;
        overflow-wrap: anywhere;
        margin: 0;
    }
    .hmof .hmof-row:not(.hmof-row--plain) .hmof-copy > h3 {align-self: end}
    .hmof .hmof-row:not(.hmof-row--plain) .hmof-copy > .hmof-reward {align-self: start}
    .hmof .hmof-row .hmof-row-action .ts-apply {
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        font-size: 1rem;
    }
    .hmof .hmof-row .tdv-clock-date {font-size: .8rem}
}
