/* Shared quotation selection: item count only, without order quantities. */
body.rr-redesign .rr-quote-list-trigger { position:fixed; z-index:90; right:28px; bottom:28px; display:flex; align-items:center; gap:10px; min-height:56px; padding:12px 20px 12px 14px; border:1px solid var(--rr-border); border-radius:999px; background:var(--rr-white); color:var(--rr-green-900); box-shadow:var(--rr-shadow-sm); font:600 18px/1.5 var(--rr-font); cursor:pointer; }
.rr-quote-list-trigger svg { width:24px; height:24px; flex:none; fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.rr-quote-list-count { display:grid; place-items:center; min-width:26px; height:26px; padding:0 5px; border-radius:999px; background:var(--rr-brand-red); color:var(--rr-white); font-size:16px; line-height:1; }
.rr-quote-list-trigger:hover { border-color:var(--rr-green-900); }
body.rr-redesign :is(.rr-quote-list-trigger,.rr-quote-add,.rr-quote-list button,.rr-quote-list a):focus-visible { outline:2px solid var(--rr-green-700); outline-offset:3px; }
.rr-quote-list-status { position:fixed; z-index:95; right:28px; bottom:96px; max-width:min(380px,calc(100vw - 32px)); padding:12px 16px; border:1px solid var(--rr-border); border-radius:12px; background:var(--rr-white); color:var(--rr-green-900); box-shadow:var(--rr-shadow-sm); font:400 16px/1.5 var(--rr-font); }
.rr-quote-list-status:empty { display:none; }
body.rr-redesign #rr-main .rr-quote-add { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:50px; max-width:100%; padding:12px 20px; border:1px solid var(--rr-green-900); border-radius:999px; background:var(--rr-green-900); color:var(--rr-white); box-shadow:var(--rr-shadow-sm); font:600 16px/1.5 var(--rr-font); cursor:pointer; white-space:normal; vertical-align:middle; transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease; }
.rr-quote-add span { min-width:0; }
body.rr-redesign #rr-main .rr-quote-add > span { font:inherit; line-height:inherit; white-space:nowrap; }
.rr-quote-add svg { width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
body.rr-redesign #rr-main .rr-quote-add[aria-pressed="true"] { background:transparent; color:var(--rr-green-900); box-shadow:none; }
.rr-quote-add[aria-pressed="true"] svg { order:-1; transform:rotate(180deg); }
@media (hover:hover) {
  body.rr-redesign #rr-main .rr-quote-add:hover { background:var(--rr-brand-red); border-color:var(--rr-brand-red); }
  body.rr-redesign #rr-main .rr-quote-add[aria-pressed="true"]:hover { background:transparent; color:var(--rr-brand-red); }
}
body.rr-redesign #rr-main .rr-quote-add:focus-visible { border-color:var(--rr-brand-red); outline:2px solid var(--rr-brand-red); outline-offset:-2px; box-shadow:none; }
body.rr-redesign #rr-main .rr-quote-add[aria-pressed="true"]:focus-visible { color:var(--rr-brand-red); }
body.rr-redesign #rr-main .rr-quote-add-page { margin:24px 0 0; }
body.rr-redesign #rr-main .rr-tap-actions .rr-quote-add-page { margin:0; }
body.rr-redesign #rr-main .rr-quote-product-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:48px; }
.rr-quote-product-intro > div { min-width:0; }
.rr-quote-product-image { margin:0; }
.rr-quote-product-image img { display:block; width:100%; height:300px; object-fit:contain; }
.rr-quote-flight { position:fixed; z-index:101; left:0; top:0; width:28px; height:28px; border:2px solid var(--rr-white); border-radius:50%; background:var(--rr-green-900); box-shadow:var(--rr-shadow-sm); pointer-events:none; will-change:transform,opacity; }
body.rr-redesign #rr-main .rr-pipe-fitting-card-copy > .rr-quote-add { margin-top:12px; }
body.rr-redesign #rr-main .rr-quote-select-column { width:200px; min-width:200px; text-align:center; }
.rr-quote-select-column .rr-quote-add span { white-space:nowrap; }
/* Separate the card's navigation link from its quotation action. */
body.rr-redesign.rr-home #rr-main a.rr-product-card-link { position:absolute; inset:0; z-index:5; display:block; min-height:0; margin:0; padding:0; border:0; border-radius:inherit; background:transparent; box-shadow:none; color:inherit; transform:none; }
body.rr-redesign.rr-home #rr-main a.rr-product-card-link:focus-visible { outline:2px solid var(--rr-green-500); outline-offset:-3px; }
body.rr-redesign.rr-home #rr-main #pipe-system .rr-material-panel .rr-home-quote-slot { position:relative; z-index:6; min-width:0; min-height:0; padding:0; border:0; background:transparent; box-shadow:none; }
body.rr-redesign.rr-home #rr-main #pipe-system .rr-home-quote-add { min-width:180px; }
body.rr-redesign.rr-home #rr-main .rr-fitting-quote-slot { position:absolute; z-index:6; left:50%; bottom:14px; display:flex; justify-content:center; width:max-content; max-width:calc(100% - 40px); transform:translateX(-50%); }
body.rr-redesign.rr-home #rr-main #home-fittings .rr-home-quote-add { border-color:var(--rr-white); }
body.rr-redesign.rr-home #rr-main #home-fittings .rr-home-quote-selected { background:var(--rr-white); color:var(--rr-green-900); }
body.rr-redesign.rr-home #rr-main #home-fittings .rr-home-quote-selected .rr-fitting-showcase-copy :is(strong,span) { color:var(--rr-green-900); }
body.rr-redesign.rr-home #rr-main #home-fittings .rr-home-quote-selected .rr-home-quote-add { border-color:var(--rr-green-900); }
@media (hover:hover) {
  body.rr-redesign.rr-home #rr-main #home-fittings .rr-home-quote-add:hover { border-color:var(--rr-brand-red); }
}
@media (max-width:767px), (max-width:900px) and (max-height:500px) and (any-pointer:coarse) {
  body.rr-redesign.rr-home #rr-main .rr-fitting-quote-slot { position:relative; inset:auto; justify-self:center; align-self:end; width:calc(100% - 24px); max-width:none; margin:0 12px 12px; transform:none; }
  body.rr-redesign.rr-home #rr-main #home-fittings .rr-home-quote-add { width:100%; padding:8px; gap:6px; min-height:48px; }
}
html.rr-quote-list-open { overflow:hidden; }
body.rr-redesign .rr-quote-list { display:none; position:fixed; inset:0 0 0 auto; width:min(520px,100%); max-width:100%; height:100dvh; max-height:100dvh; margin:0; padding:0; border:0; border-left:1px solid var(--rr-border); border-radius:0; background:var(--rr-white); color:var(--rr-green-900); box-shadow:var(--rr-shadow-lg); font:400 16px/1.5 var(--rr-font); }
body.rr-redesign .rr-quote-list[open] { display:flex; flex-direction:column; }
body.rr-redesign .rr-quote-list[open] { animation:rrQuoteListIn 360ms cubic-bezier(.22,1,.36,1) both; }
.rr-quote-list::backdrop { background:rgba(16,55,37,.16); animation:rrQuoteBackdropIn 300ms ease both; }
body.rr-redesign .rr-quote-list[open].is-closing { animation:rrQuoteListOut 240ms cubic-bezier(.4,0,1,1) both; pointer-events:none; }
.rr-quote-list.is-closing::backdrop { animation:rrQuoteBackdropOut 240ms ease both; }
@keyframes rrQuoteListIn { from { transform:translateX(100%); } to { transform:translateX(0); } }
@keyframes rrQuoteListOut { from { transform:translateX(0); } to { transform:translateX(100%); } }
@keyframes rrQuoteBackdropIn { from { opacity:0; } to { opacity:1; } }
@keyframes rrQuoteBackdropOut { from { opacity:1; } to { opacity:0; } }
@media(prefers-reduced-motion:reduce) {
  body.rr-redesign .rr-quote-list[open],.rr-quote-list::backdrop { animation:none!important; }
}
.rr-quote-list-header { display:flex; align-items:center; justify-content:space-between; gap:16px; flex:none; padding:20px 24px; border-bottom:1px solid var(--rr-border); }
body.rr-redesign .rr-quote-list h2 { margin:0; font-family:var(--rr-heading-font); font-size:24px; line-height:1.4; }
.rr-quote-list-close,.rr-quote-list-remove { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:8px; border:1px solid var(--rr-border); border-radius:8px; background:var(--rr-white); color:var(--rr-green-900); cursor:pointer; }
.rr-quote-list-close svg,.rr-quote-list-remove svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.rr-quote-list-remove { padding:6px; }
.rr-quote-list-remove svg { width:32px; height:32px; stroke-width:2.25; }
body.rr-redesign .rr-quote-list .rr-quote-list-remove { border:0; border-radius:0; background:transparent; box-shadow:none; transition:color 150ms ease; }
body.rr-redesign .rr-quote-list .rr-quote-list-remove:is(:hover,:focus-visible) { color:#e92243; background:transparent; }
.rr-quote-list-body { --rr-list-inset:24px; flex:1; min-height:0; overflow-y:auto; padding:20px 0; overscroll-behavior:contain; }
.rr-quote-list-body > p { margin:0 0 16px; padding-inline:var(--rr-list-inset); font-size:16px; }
.rr-quote-list-body > .rr-quote-list-empty-link { margin-inline:var(--rr-list-inset); }
.rr-quote-list-items { display:grid; gap:0; margin:0; padding:0; list-style:none; }
.rr-quote-list-item { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr) 44px; align-items:center; gap:12px; margin:0; padding:4px var(--rr-list-inset); border-bottom:1px solid var(--rr-border); transition:background-color 150ms ease; }
.rr-quote-list-item:is(:hover,:focus-within) { background:var(--rr-green-50); }
.rr-quote-list-item-link { display:grid; grid-template-columns:52px minmax(0,1fr); align-items:center; gap:12px; min-width:0; color:var(--rr-green-900); text-decoration:none; }
.rr-quote-list-item-link::after { content:""; position:absolute; inset:0; z-index:1; cursor:pointer; }
body.rr-redesign .rr-quote-list a.rr-quote-list-item-link:focus-visible { outline:none; }
.rr-quote-list-item-link:focus-visible::after { outline:2px solid var(--rr-green-700); outline-offset:-2px; }
.rr-quote-list-thumb { position:relative; display:block; width:100%; aspect-ratio:1; overflow:hidden; }
.rr-quote-list-item .rr-quote-list-thumb img { position:absolute; display:block; left:0; top:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:0; object-fit:contain; border:0; border-radius:0; background:transparent; visibility:hidden; }
.rr-quote-list-item .rr-quote-list-thumb.is-ready img { visibility:visible; }
.rr-quote-list-item-copy { min-width:0; }
.rr-quote-list-item-copy strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--rr-green-900); font-size:16px; font-family:var(--rr-font); font-weight:400; line-height:1.4; }
.rr-quote-list-item-copy:not(:has(p)) strong { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; white-space:normal; }
.rr-quote-list-item-copy p { margin:4px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:16px; line-height:1.5; color:var(--rr-text-muted); }
.rr-quote-list-item-actions { position:relative; z-index:2; display:flex; align-items:center; align-self:center; }
.rr-quote-list-empty-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; color:var(--rr-green-900); font-size:16px; }
.rr-quote-list-footer { display:grid; gap:12px; flex:none; padding:20px 24px max(20px,env(safe-area-inset-bottom)); border-top:1px solid var(--rr-border); }
.rr-quote-list-footer p { margin:0; font-size:16px; }
.rr-quote-list-checkout { display:flex; justify-content:center; align-items:center; min-height:48px; padding:12px 16px; border:1px solid var(--rr-green-900); border-radius:999px; background:var(--rr-green-900); color:var(--rr-white); text-decoration:none; font-size:18px; font-weight:600; }
.rr-quote-list-checkout[hidden] { display:none; }
body.rr-redesign .rr-quote-list a.rr-quote-list-checkout:is(:link,:visited,:hover,:focus,:focus-visible,:active) { color:#fff; }
@media (max-width:1100px), (max-width:1366px) and (any-pointer:coarse) {
  body.rr-redesign .rr-quote-list-trigger { right:20px; bottom:20px; }
  .rr-quote-list-status { right:20px; bottom:88px; }
}
@media (max-width:680px) {
  body.rr-redesign #rr-main .rr-quote-product-intro { grid-template-columns:minmax(0,1fr); gap:24px; }
  .rr-quote-product-image img { height:200px; }
  .rr-quote-list-item { gap:10px; }
  .rr-quote-list-item-link { grid-template-columns:52px minmax(0,1fr); gap:10px; }
  .rr-quote-list-item-copy p { font-size:14px; }
  body.rr-redesign .rr-quote-list-trigger { right:max(16px,env(safe-area-inset-right)); bottom:calc(var(--rr-dock-clearance,88px) + 12px); min-height:48px; padding:10px 14px; font-size:16px; }
  .rr-quote-list-status { right:16px; bottom:calc(var(--rr-dock-clearance,88px) + 72px); }
  body.rr-redesign.rr-keyboard-open .rr-quote-list-trigger { visibility:hidden; pointer-events:none; }
  .rr-quote-list-header,.rr-quote-list-body,.rr-quote-list-footer { padding-inline:16px; }
  .rr-quote-list-body { --rr-list-inset:16px; padding-inline:0; }
}
@media (prefers-reduced-motion:reduce) {
  body.rr-redesign #rr-main .rr-quote-add { transition:none; }
}

.rr-quote-list-group { background:transparent; }
body.rr-redesign :is(.rr-quote-list,#rr-quote-form-selection) .rr-quote-group-end { border-bottom:2px solid var(--rr-green-700); }
.rr-quote-list-child { padding-block:0; }
.rr-quote-list-child .rr-quote-list-item-link { grid-template-columns:32px minmax(0,1fr); padding-left:16px; gap:10px; min-height:40px; }
.rr-quote-list-child .rr-quote-list-item-copy strong { font-size:16px; line-height:1.4; }
.rr-quote-list-item .rr-quote-list-item-copy strong:lang(th) { font-size:18px; line-height:1.25; }
.rr-quote-list-child .rr-quote-list-item-copy p { margin-top:2px; font-size:14px; line-height:1.4; }
.rr-quote-list-child .rr-quote-list-item-copy { border-left:2px solid var(--rr-border); padding-left:12px; }
body.rr-redesign :is(.rr-quote-list,#rr-quote-form-selection) .rr-quote-list-remove svg { width:24px; height:24px; stroke-width:1.8; }
