/* Reuse TT cart and purchase metrics for the shared quantity control. */
.tt-copy-quantity{display:flex;align-items:stretch;flex:0 0 100px;min-width:100px;min-height:var(--tt-button-height);height:auto;background:var(--tt-color-secondary-surface);border-radius:var(--tt-button-radius);font-family:var(--tt-font-sans);font-size:var(--tt-interface-size);line-height:1;color:var(--tt-color-text)}
.tt-copy-quantity button{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;margin:0;padding:0;border:0;background:transparent;color:inherit;border-radius:var(--tt-button-radius);font:inherit;cursor:pointer}
.tt-copy-quantity button:disabled{color:var(--tt-color-meta);cursor:default}
.tt-copy-quantity .tt-copy-quantity-input{box-sizing:border-box;width:0;min-width:0;flex:1 1 0;margin:0;padding:0 2px;border:0;border-radius:0;background:transparent;color:inherit;text-align:center;font:inherit;appearance:textfield;box-shadow:none}
.tt-copy-quantity-input::-webkit-inner-spin-button,.tt-copy-quantity-input::-webkit-outer-spin-button{appearance:none;margin:0}
.tt-copy-quantity :focus{outline:0;box-shadow:none}
.tt-copy-quantity:has(:focus-visible){outline:2px solid var(--tt-color-meta);outline-offset:2px}
.tt-copy-ready:not(.tt-campaign-ready){margin:0;padding:0}
.tt-product-purchase-actions:has(.tt-copy-ready):not(:has(.tt-campaign-ready)){display:flex;flex-wrap:wrap;align-items:center;gap:var(--tt-product-purchase-inline-gap);max-width:100%}
.tt-product-buy-button:has(.tt-copy-ready){min-width:0;max-width:100%;width:auto}
.tt-copy-purchase-row{display:flex;align-items:stretch;flex:0 1 auto;width:max-content;max-width:100%;min-width:0;gap:var(--tt-product-purchase-inline-gap)}
.tt-copy-purchase-row .single_add_to_cart_button{flex:1 1 auto;max-width:100%;white-space:normal}
.tt-product-unit-price{display:block}
.tt-copy-shipping{margin-top:var(--tt-space-xs);font:inherit}
.tt-copy-shipping[hidden]{display:none}
.tt-floating-product-panel[data-quantity] .tt-product-panel-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:var(--tt-product-purchase-inline-gap,var(--tt-space-xs))}
.tt-floating-product-panel[data-quantity] .tt-product-panel-buy{flex:0 1 auto;min-width:0}
.tt-floating-product-panel[data-quantity] .tt-product-panel-buy-control{max-width:100%;width:auto;height:100%;min-height:var(--tt-button-height);padding-inline:var(--tt-button-padding-x);text-align:center;white-space:normal;overflow-wrap:anywhere}
.tt-floating-product-panel[data-quantity] .tt-product-panel-more{display:none}
.tt-floating-product-panel[data-quantity] .tt-copy-quantity{background:var(--tt-behind-panel-more-background,var(--tt-color-secondary-surface))}
.tt-campaign-ready.tt-copies-only .tt-campaign-picker{display:none}
.tt-copies-only .tt-campaign-shipping-slot:empty{display:none}
.tt-copies-only .tt-campaign-purchase-header{margin-bottom:0}
.tt-copies-only .tt-campaign-progress{margin-block-start:var(--tt-product-content-gap);margin-block-end:0}
@media(min-width:768px){.tt-floating-product-panel[data-quantity][data-floating]{width:max-content;max-width:calc(50vw - 2 * var(--tt-space-m))}}
@media(max-width:767px){.tt-copies-only .tt-campaign-purchase-header{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;row-gap:var(--tt-product-purchase-inline-gap)}.tt-copy-purchase-row,.tt-floating-product-panel[data-quantity] .tt-product-panel-actions{display:grid;grid-template-columns:minmax(0,max-content) max-content;align-items:stretch;width:max-content;max-width:100%;min-width:0;gap:var(--tt-product-purchase-inline-gap,5px)}.tt-floating-product-panel[data-quantity] .tt-product-panel-buy-control{width:100%}}
