/* Pricing matrix: isolated from legacy row-card styles. */
.pd-tariff-scroll{display:block!important;max-width:100%}.pd-price-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;flex-wrap:wrap}.pd-price-toolbar>span{font-size:11px;color:#075B76}
body .pd-price-toolbar button.pd-price-switch{display:flex;align-items:center;gap:9px;border:1px solid #E8DEC9!important;border-radius:30px!important;background:#FFFFFF!important;padding:8px 12px!important;color:#20211F!important;font-family:inherit!important;font-size:12px!important;font-weight:500!important;line-height:1.2!important;cursor:pointer;min-height:40px}
.pd-price-switch i{position:relative;display:block;width:34px;height:20px;background:#E8DEC9;border-radius:20px;transition:background .2s}.pd-price-switch i:after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#FFFFFF;box-shadow:0 1px 4px #20211F22;transition:transform .2s}.pd-price-switch[aria-checked=true] i{background:#DF2935}.pd-price-switch[aria-checked=true] i:after{transform:translateX(14px)}.pd-price-switch[aria-checked=false] span:first-child,.pd-price-switch[aria-checked=true] span:last-child{font-weight:750;color:#DF2935}
body .pd-tariff-matrix,body #rea-prices{width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:separate;border-spacing:6px 7px;font-variant-numeric:tabular-nums}
body .pd-tariff-matrix tr,body #rea-prices tr{height:auto!important;cursor:default;background:transparent!important}
body .pd-tariff-matrix th,body #rea-prices th{border:0!important;border-radius:10px;background:#F6F1E7!important;text-align:center;padding:10px 4px!important;color:#20211F!important;font-size:13px;font-weight:650;letter-spacing:0;text-transform:none}
body .pd-tariff-matrix th:first-child,body #rea-prices th:first-child{width:48px;font-size:11px}
body .pd-tariff-matrix tbody th,body #rea-prices tbody th{background:transparent!important;font-size:14px!important;font-weight:650}
body .pd-tariff-matrix td,body #rea-prices td{border:0!important;border-radius:0!important;padding:0!important;min-width:0!important;background:transparent!important;text-align:center;vertical-align:middle;color:#087FA4!important}
body #rea-prices tr.is-selected td,body #rea-prices tr.is-selected th{border:0!important;color:#20211F!important}
body .pd-tariff-matrix .pd-tariff-choice,body #rea-prices td button.pd-tariff-choice{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:100%;height:58px;min-height:58px;border:1px solid #E8DEC9!important;border-radius:11px!important;padding:10px 4px!important;background:#FFFFFF!important;color:#20211F!important;font:inherit;cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s}
body .pd-tariff-choice strong,body #rea-prices .pd-tariff-choice strong{font-size:17px!important;line-height:1.1;font-weight:700!important;color:inherit!important;white-space:nowrap;letter-spacing:-.4px}
body .pd-tariff-choice>span,body #rea-prices .pd-tariff-choice>span{font-size:12px!important;line-height:1.2;font-weight:400!important;color:#087FA4!important}
body .pd-tariff-matrix .pd-tariff-choice:hover,body #rea-prices td .pd-tariff-choice:hover{background:#FFFFFF!important;border-color:#DF2935!important}
body .pd-tariff-matrix .pd-tariff-choice[aria-pressed=true],body #rea-prices td button.pd-tariff-choice[aria-pressed=true]{background:#DF2935!important;border-color:#DF2935!important;color:#FFFFFF!important;box-shadow:0 4px 12px #DF293525}
body .pd-tariff-choice[aria-pressed=true]>span,body #rea-prices .pd-tariff-choice[aria-pressed=true]>span{color:#F2EBDD!important}
body #rea-prices th button{border:0!important;background:transparent!important;color:#20211F!important;padding:3px!important;font-size:14px!important}
body .pd-price-switch:focus-visible,body .pd-tariff-choice:focus-visible{outline:3px solid #087FA4!important;outline-offset:2px}
body .rea-table-scroll{overflow:visible}.pd-tariff-choice:disabled{opacity:.4;cursor:wait}.rea-loading-note:empty{display:none}
@media(max-width:650px){body .pd-tariff-matrix,body #rea-prices{border-spacing:4px 6px}body .pd-tariff-matrix th:first-child,body #rea-prices th:first-child{width:32px;font-size:10px}body .pd-tariff-matrix th,body #rea-prices th{font-size:11px;padding:12px 2px!important;border-radius:8px}body .pd-tariff-matrix .pd-tariff-choice,body #rea-prices td button.pd-tariff-choice{height:56px;min-height:56px;gap:4px;border-radius:9px!important;padding:8px 2px!important}body .pd-tariff-choice strong,body #rea-prices .pd-tariff-choice strong{font-size:clamp(11px,3.25vw,15px)!important;letter-spacing:-.45px}body .pd-tariff-choice>span,body #rea-prices .pd-tariff-choice>span{font-size:11px!important}.pd-price-toolbar{gap:8px}.pd-price-toolbar>span{font-size:10px}body .pd-price-toolbar button.pd-price-switch{font-size:11px!important;padding:8px 10px!important}.pd-tariff-scroll{overflow:visible}}
@media(prefers-reduced-motion:reduce){.pd-tariff-choice,.pd-price-switch i,.pd-price-switch i:after{transition:none!important}}

body button.pd-more-quantities{display:block;width:100%;margin:10px 0 16px;padding:10px 14px;border:1px solid #E8DEC9;border-radius:10px;background:#F6F1E7;color:#20211F;font-family:inherit;font-size:13px;font-weight:600;cursor:pointer}
body button.pd-more-quantities[hidden]{display:none!important}
.rea-format-row{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}.rea-format-row label{display:grid;gap:6px;font-size:12px}.rea-format-row select{width:100%;min-width:0;padding:10px;border:1px solid #E8DEC9;border-radius:10px;background:#FFFFFF;color:#20211F;font:inherit;font-size:16px}
.rea-format-row label[hidden]{display:none}

/* Common product tariff cells: stable size with pickup labels and admin costs. */
html body .shop-product .pd-tariff-matrix .pd-tariff-choice,html body .shop-product #rea-prices .pd-tariff-choice{height:76px!important;min-height:76px!important;box-sizing:border-box!important;justify-content:center!important;align-items:center!important;gap:4px!important}
html body .shop-product .pd-tariff-choice>strong,html body .shop-product .pd-tariff-choice>span{display:block!important;margin:0!important;padding:0!important;text-align:center!important}
html body .shop-product[data-show-purchase=true] .pd-tariff-matrix .pd-tariff-choice,html body .shop-product[data-show-purchase=true] #rea-prices .pd-tariff-choice{height:152px!important;min-height:152px!important}
@media(max-width:650px){html body .shop-product .pd-tariff-matrix .pd-tariff-choice,html body .shop-product #rea-prices .pd-tariff-choice{height:72px!important;min-height:72px!important}html body .shop-product[data-show-purchase=true] .pd-tariff-matrix .pd-tariff-choice,html body .shop-product[data-show-purchase=true] #rea-prices .pd-tariff-choice{height:170px!important;min-height:170px!important}}

/* Textile prices preserve discounts and delivery notes in uniformly sized cards. */
html body .shop-product .pc-price-table .pc-lot-button{height:100px!important;min-height:100px!important;box-sizing:border-box!important;display:flex;align-items:center!important;justify-content:center!important;padding:8px 4px!important;gap:3px!important;border-radius:11px!important;border:1px solid #E8DEC9;box-shadow:none!important}
html body .shop-product .pc-price-table .pc-lot-button strong{font-size:17px!important;line-height:1.1!important;margin:0!important;padding:0!important}html body .shop-product .pc-price-table .pc-lot-button del{font-size:10px!important;line-height:1.1;margin:0}
html body .shop-product .pc-price-table .pc-lot-date{font-size:12px!important;line-height:1.2!important;margin:0!important;padding:0!important;text-align:center}html body .shop-product .pc-price-table .pc-lot-estimate-note{font-size:10px!important;line-height:1.2!important;margin:0!important}
html body .shop-product .pc-price-table .pc-lot-button[aria-pressed=true]{background:#DF2935!important;border-color:#DF2935!important;color:white!important}html body .shop-product .pc-price-table .pc-lot-button[aria-pressed=true] .pc-lot-date{color:white!important}
html body .shop-product .pc-price-table thead th{font-size:13px!important;padding:10px 4px!important;border:0!important;border-radius:10px!important}html body .shop-product .pc-price-table tbody th{font-size:14px!important}
html body .shop-product[data-show-purchase=true] .pc-price-table .pc-lot-button{height:172px!important;min-height:172px!important}
@media(max-width:650px){html body .shop-product .pc-price-table .pc-lot-button strong{font-size:14px!important}html body .shop-product .pc-price-table .pc-lot-date{font-size:11px!important}html body .shop-product .pc-price-table thead th{font-size:11px!important}html body .shop-product[data-show-purchase=true] .pc-price-table .pc-lot-button{height:180px!important;min-height:180px!important}}

/* Panel quantity editor: stacked controls, including single-panel orders. */
[data-print-quantities].panel-quantity-editor{display:flex!important;flex-direction:column!important;gap:10px!important}
.panel-quantity-editor .panel-quantity-row,.panel-quantity-editor .panel-quantity-row label{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px;width:100%}
.panel-quantity-editor .panel-quantity-row input{width:100%!important;max-width:none!important;min-height:48px;box-sizing:border-box}
.panel-quantity-editor .panel-quantity-hint{color:#6b6860;font-size:14px}
.panel-quantity-editor h4{margin:14px 0 0;font-size:16px;font-weight:500}
.panel-quantity-editor .panel-artwork-controls{display:flex!important;align-items:center;gap:10px}
.panel-quantity-editor .panel-artwork-controls button{width:48px;min-height:48px;padding:0;flex:0 0 48px}
.panel-quantity-editor .panel-artwork-controls input{width:110px!important;max-width:110px!important;text-align:center;min-height:48px}
.panel-quantity-editor [role=status]{margin:0;font-size:15px}

/* Compact supplier tariffs; preserve space for optional admin purchase costs. */
html body .shop-product .pd-tariff-matrix .pd-tariff-choice,html body .shop-product #rea-prices .pd-tariff-choice{height:auto!important;min-height:48px!important;padding:7px 8px!important;gap:3px!important}
html body .shop-product[data-show-purchase=true] .pd-tariff-matrix .pd-tariff-choice,html body .shop-product[data-show-purchase=true] #rea-prices .pd-tariff-choice{height:auto!important;min-height:82px!important}
html body .shop-product .pd-tariff-choice del{font-size:11px!important;line-height:1.1!important;margin:0!important}
html body .shop-product .pd-tariff-matrix,html body .shop-product #rea-prices{border-spacing:4px 4px!important}
.pd-quantity-search{display:grid;gap:6px;margin:0 0 14px;text-align:left}.pd-quantity-search>span{font-weight:600}.pd-quantity-search input{width:100%;min-height:46px;padding:10px 14px;border:1px solid #E8DEC9;border-radius:10px;font:inherit;box-sizing:border-box}.pd-quantity-search small{font-size:12px;color:#6B665C}

/* Dense print/goodies tariffs: nine quantities in roughly 360px. */
html body .shop-product .pd-tariff-matrix .pd-tariff-choice,html body .shop-product #rea-prices .pd-tariff-choice{flex-direction:row!important;flex-wrap:wrap!important;height:auto!important;min-height:34px!important;padding:5px 8px!important;gap:3px 9px!important;border-radius:7px!important;line-height:1.15!important}
html body .shop-product .pd-tariff-matrix .pd-tariff-choice>strong,html body .shop-product #rea-prices .pd-tariff-choice>strong{font-size:15px!important;line-height:1.15!important;letter-spacing:0!important}
html body .shop-product .pd-tariff-matrix .pd-tariff-choice>span,html body .shop-product #rea-prices .pd-tariff-choice>span{font-size:11px!important;line-height:1.15!important}
html body .shop-product .pd-tariff-matrix th,html body .shop-product #rea-prices th{padding:5px 3px!important}
html body .shop-product .pd-tariff-matrix,html body .shop-product #rea-prices{border-spacing:3px 3px!important}
html body .shop-product[data-show-purchase=true] .pd-tariff-matrix .pd-tariff-choice,html body .shop-product[data-show-purchase=true] #rea-prices .pd-tariff-choice{min-height:60px!important}
@media(max-width:650px){html body .shop-product .pd-tariff-matrix .pd-tariff-choice,html body .shop-product #rea-prices .pd-tariff-choice{padding:5px 3px!important;gap:3px 5px!important}html body .shop-product .pd-tariff-matrix .pd-tariff-choice>strong,html body .shop-product #rea-prices .pd-tariff-choice>strong{font-size:13px!important}}
