/** Phase 9 conversion and merchandising components. */
.tm-complete-gift,.tm-gift-builder{background:var(--tm-color-surface-alt,#f4f1eb)}
.tm-bundle-form,.tm-gift-builder form,.tm-merch-block{padding:clamp(1rem,3vw,2rem);border:1px solid var(--tm-color-border,#d8d2c7);border-radius:var(--tm-radius-lg,1rem);background:var(--tm-color-surface,#fff)}
.tm-bundle-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem;margin:1.25rem 0;padding:0;list-style:none}
.tm-bundle-product{display:grid;grid-template-columns:auto 4rem 1fr;align-items:center;gap:.75rem;padding:1rem;border:1px solid var(--tm-color-border,#d8d2c7);border-radius:.75rem}
.tm-bundle-product img{width:4rem;height:4rem;object-fit:cover;border-radius:.5rem}
.tm-bundle-product input{width:1.25rem;height:1.25rem}
.tm-bundle-message textarea{width:100%;min-height:6rem}
.tm-bundle-total{font-weight:700;font-size:1.125rem}
.tm-gift-progress,.tm-personalization-progress{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.5rem;padding:0;list-style:none;counter-reset:step}
.tm-gift-progress li,.tm-personalization-progress li{display:flex;align-items:center;gap:.45rem;color:var(--tm-color-text-muted,#5b5b5b)}
.tm-gift-progress li::before,.tm-personalization-progress li::before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:1.75rem;height:1.75rem;border:1px solid currentColor;border-radius:50%}
.tm-gift-builder fieldset{min-width:0;margin:0 0 1.25rem;padding:1rem;border:1px solid var(--tm-color-border,#d8d2c7);border-radius:.75rem}
.tm-gift-builder fieldset label{display:flex;align-items:center;gap:.65rem;min-height:2.75rem}
.tm-gift-builder__actions,.tm-personalization-actions,.tm-comparison-tray__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.tm-personalization-panel [data-personalization-step][hidden],.tm-gift-builder [data-gift-step][hidden]{display:none}
.tm-compare-control{min-height:2.75rem;border:1px solid currentColor;background:transparent;color:inherit;border-radius:.45rem;padding:.55rem .75rem;cursor:pointer}
.tm-compare-control[aria-pressed="true"]{background:var(--tm-color-accent,#e65c23);color:#fff}
.tm-comparison-tray{position:fixed;z-index:90;right:1rem;bottom:1rem;left:1rem;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;max-width:72rem;margin:auto;padding:.85rem 1rem;border:1px solid var(--tm-color-border,#d8d2c7);border-radius:1rem;background:var(--tm-color-surface,#fff);box-shadow:0 1rem 3rem rgb(0 0 0/.18)}
.tm-comparison-tray[hidden]{display:none}
.tm-comparison-tray ul{display:flex;gap:.65rem;overflow-x:auto;margin:0;padding:.25rem;list-style:none}
.tm-comparison-tray li{display:flex;flex:0 0 auto;align-items:center;gap:.4rem;max-width:13rem}
.tm-comparison-tray img{width:2.5rem;height:2.5rem;object-fit:cover;border-radius:.35rem}
.tm-comparison-tray li button{min-width:2.75rem;min-height:2.75rem}
.tm-predictive-search{position:absolute;z-index:80;inset:calc(100% + .35rem) 0 auto;max-height:min(70vh,34rem);overflow:auto;border:1px solid var(--tm-color-border,#d8d2c7);border-radius:.75rem;background:var(--tm-color-surface,#fff);box-shadow:0 1rem 2rem rgb(0 0 0/.16)}
.tm-predictive-search[hidden]{display:none}
.tm-predictive-search [role="option"]{display:flex;align-items:center;gap:.75rem;min-height:2.75rem;padding:.65rem .85rem;color:inherit;text-decoration:none}
.tm-predictive-search [role="option"][aria-selected="true"],.tm-predictive-search [role="option"]:focus-visible{background:var(--tm-color-surface-alt,#f4f1eb);outline:2px solid var(--tm-color-accent,#e65c23);outline-offset:-2px}
.tm-predictive-search img{width:3rem;height:3rem;object-fit:cover;border-radius:.4rem}
.tm-merch-block{margin-block:clamp(1.5rem,4vw,3rem)}
.tm-merch-block--cta{text-align:center}
.tm-merch-block--comparison{overflow-x:auto}
.wc-product-bundle,.composite_form,.mnm_form,.wc-pao-addon-container{max-width:100%}
@media(max-width:47.99rem){.tm-comparison-tray{grid-template-columns:1fr}.tm-comparison-tray__actions{justify-content:space-between}.tm-bundle-product{grid-template-columns:auto 3.5rem 1fr}.tm-gift-progress,.tm-personalization-progress{font-size:.875rem}}
@media(prefers-reduced-motion:reduce){.tm-comparison-tray,.tm-predictive-search{scroll-behavior:auto;transition:none}}
