/* A filtered catalog shelf within the approved home layout. */

html.ruclima-redesign .rc-reconciled-home .rc-home-pick-results[hidden],
html.ruclima-redesign .rc-reconciled-home .rc-native-product-shell[hidden],
html.ruclima-redesign .rc-reconciled-home .rc-home-pick-results [hidden] { display:none!important; }
html.ruclima-redesign .rc-reconciled-home .rc-home-pick-status { margin:8px 0 14px; font-size:14px; line-height:1.5; color:#4b616b; }
html.ruclima-redesign .rc-reconciled-home .rc-home-pick-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:14px; }
html.ruclima-redesign .rc-reconciled-home .rc-home-pick-grid .rc-catalog-product { display:flex; flex-direction:column; min-width:0; padding:14px; border:1px solid #d1dfe4; border-radius:14px; background:#fff; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-photo { display:flex; align-items:center; justify-content:center; height:150px; margin-bottom:12px; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-photo img { display:block; width:100%; height:100%; object-fit:contain; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product h3 { margin:0; font:700 16px/1.4 Arial,sans-serif; overflow-wrap:anywhere; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product h3 a { color:#17242b; text-decoration:none; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-facts { display:flex; flex-wrap:wrap; gap:4px 10px; margin:10px 0 0; font:400 13px/1.5 Arial,sans-serif; color:#4b616b; }
html.ruclima-redesign .rc-home-pick-grid .rc-pick-wifi { color:#096740; font-weight:700; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-price { display:flex; flex-direction:column; justify-content:flex-end; min-height:70px; margin-top:auto; padding:12px 0; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-price del { color:#667983; font-size:12px; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-price strong { color:#17242b; font-size:26px; line-height:1.2; white-space:nowrap; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-buy { margin:0; padding:0; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-button,
html.ruclima-redesign .rc-home-pick-actions > :is(a,button) { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 14px; border:1px solid #c4d4db; border-radius:10px; background:#fff; color:#0c5871; font:700 14px/1.4 Arial,sans-serif; text-decoration:none; cursor:pointer; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-button { width:100%; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-button-primary { min-height:48px; border-color:#ffcf23; background:#ffcf23; color:#17242b; }
html.ruclima-redesign .rc-reconciled-home .rc-home-pick-grid .rc-catalog-product .rc-catalog-compare { min-height:44px; }
html.ruclima-redesign .rc-home-pick-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:16px; }
html.ruclima-redesign .rc-home-pick-actions button:disabled { cursor:wait; opacity:.65; }
html.ruclima-redesign .rc-home-pick-results :is(a,button):focus-visible { outline:3px solid #0c6d8d; outline-offset:3px; }
html.ruclima-redesign .rc-home-pick-grid .rc-home-pick-skeleton { display:grid; gap:12px; padding:14px; min-height:285px; border:1px solid #d1dfe4; border-radius:14px; background:#fff; }
html.ruclima-redesign .rc-home-pick-skeleton span { display:block; border-radius:8px; background:#edf2f4; }
html.ruclima-redesign .rc-home-pick-skeleton .rc-pick-placeholder-photo { height:130px; }
html.ruclima-redesign .rc-home-pick-skeleton .rc-pick-placeholder-line { height:16px; }
html.ruclima-redesign .rc-home-pick-skeleton .rc-pick-placeholder-line:nth-child(3) { width:65%; }
html.ruclima-redesign .rc-home-pick-skeleton .rc-pick-placeholder-button { height:48px; margin-top:auto; }
@media (min-width:1100px) { html.ruclima-redesign .rc-reconciled-home .rc-home-pick-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:900px) { html.ruclima-redesign .rc-reconciled-home .rc-home-pick-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) {
  html.ruclima-redesign .rc-home-pick-grid .rc-home-pick-skeleton { grid-template-columns:90px minmax(0,1fr); min-height:145px; padding:12px; }
  html.ruclima-redesign .rc-home-pick-skeleton .rc-pick-placeholder-photo { grid-row:1/3; height:75px; }
  html.ruclima-redesign .rc-home-pick-skeleton .rc-pick-placeholder-button { grid-column:1/-1; }
  html.ruclima-redesign .rc-reconciled-home .rc-home-pick-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
  html.ruclima-redesign .rc-reconciled-home .rc-home-pick-grid .rc-catalog-product { display:grid; grid-template-columns:90px minmax(0,1fr); gap:6px 12px; padding:12px; }
  html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-photo { grid-row:1/4; height:110px; margin:0; }
  html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product h3 { font-size:14px; }
  html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-facts { margin:0; font-size:12px; }
  html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-price { min-height:0; margin:0; padding:3px 0; }
  html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-price strong { font-size:22px; }
  html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-buy,
  html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product > .rc-catalog-button { grid-column:1/-1; }
  html.ruclima-redesign .rc-home-pick-grid .rc-catalog-compare { grid-column:1/-1; margin-top:0; }
}

/* UX30: the chooser and its results form one continuous section. */
html.ruclima-redesign .rc-reconciled-home .calm-selector-section .quick-selection-grid { display:grid; grid-template-columns:minmax(230px,.75fr) minmax(0,2fr); align-items:start; gap:14px 24px; padding:18px; }
html.ruclima-redesign .rc-reconciled-home .quick-selection-copy h2 { margin:0; font-size:24px; line-height:1.2; letter-spacing:-.02em; }
html.ruclima-redesign .rc-reconciled-home .quick-selection-copy p { display:block; margin:8px 0; color:#52666f; font-size:14px; line-height:1.45; }
html.ruclima-redesign .rc-reconciled-home .rc-selector-multi { display:inline-flex; align-items:center; min-height:44px; color:#0c5871; font-size:14px; }
html.ruclima-redesign .rc-reconciled-home .quick-selection-form { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; min-width:0; }
html.ruclima-redesign .rc-reconciled-home .rc-selector-area-label { font-size:14px; font-weight:700; }
html.ruclima-redesign .rc-reconciled-home .quick-selection-form .area-chips { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; margin:0; }
html.ruclima-redesign .rc-reconciled-home .quick-selection-form .area-chip { min-width:0; min-height:44px; padding:6px; }
html.ruclima-redesign .rc-reconciled-home .selector-secondary-actions { display:flex; flex-wrap:wrap; gap:8px 18px; margin:0; }
html.ruclima-redesign .rc-reconciled-home .custom-area-entry[open] { flex:1 1 100%; min-width:0; }
html.ruclima-redesign .rc-reconciled-home .custom-area-entry .area-input-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; margin-top:8px; }
html.ruclima-redesign .rc-reconciled-home .custom-area-entry :is(.area-field,input) { min-width:0; width:100%; box-sizing:border-box; }
html.ruclima-redesign .rc-reconciled-home .quick-selection-result,
html.ruclima-redesign .rc-reconciled-home .quick-preferences { grid-column:1/-1; margin:0; }
html.ruclima-redesign .rc-reconciled-home .early-trust { display:none; }
html.ruclima-redesign .rc-reconciled-home .rc-install-offer { color:inherit; text-decoration:none; border-radius:8px; }
html.ruclima-redesign .rc-reconciled-home .rc-install-offer .rc-install-offer-link { color:#0c5871; text-decoration:underline; text-underline-offset:3px; }
html.ruclima-redesign .rc-reconciled-home .rc-install-offer:focus-visible { outline:3px solid #0c5871; outline-offset:4px; }
html.ruclima-redesign .rc-home-pick-grid .rc-pick-purchase-actions { grid-column:1/-1; display:flex; gap:8px; align-items:stretch; min-width:0; }
html.ruclima-redesign .rc-home-pick-grid .rc-pick-purchase-actions > :not(.rc-catalog-compare) { flex:1 1 0; width:auto; min-width:0; }
html.ruclima-redesign .rc-reconciled-home .rc-home-pick-grid .rc-pick-purchase-actions .rc-catalog-compare { flex:0 0 46px; width:46px; height:48px; min-height:44px; margin:0; padding:10px; border:1px solid #c4d4db; border-radius:10px; background:#fff; color:#0c5871; }
html.ruclima-redesign .rc-home-pick-grid .rc-pick-purchase-actions .rc-catalog-compare { position:relative; }
html.ruclima-redesign .rc-home-pick-grid .rc-pick-purchase-actions .rc-catalog-compare span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
html.ruclima-redesign .rc-home-pick-grid .rc-pick-purchase-actions .rc-catalog-compare svg { width:22px; height:22px; }
html.ruclima-redesign .rc-reconciled-home .rc-home-pick-grid .rc-pick-purchase-actions .rc-catalog-compare.compare-added { background:#e5f1f5; border-color:#0c5871; }
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product { scroll-margin-top:100px; }
@media(max-width:700px) {
  html.ruclima-redesign .rc-reconciled-home .calm-selector-section .quick-selection-grid { grid-template-columns:minmax(0,1fr); padding:14px; gap:10px; }
  html.ruclima-redesign .rc-reconciled-home .quick-selection-copy h2 { font-size:21px; }
  html.ruclima-redesign .rc-reconciled-home .quick-selection-copy p { font-size:13px; margin:6px 0 0; }
  html.ruclima-redesign .rc-reconciled-home .quick-selection-form .area-chips { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

/* UX31: loading stays the main action; the catalog is a quiet exit. */
html.ruclima-redesign .rc-reconciled-home .product-shelf-footer { margin-top:12px; }
html.ruclima-redesign .rc-reconciled-home .product-shelf-footer .rc-all-products { display:inline-flex; align-items:center; min-height:44px; padding:4px 0; background:none; border:0; color:#0c5871; font:700 15px/1.4 Arial,sans-serif; text-decoration:underline; text-underline-offset:4px; }
html.ruclima-redesign .rc-reconciled-home .product-shelf-footer .rc-all-products:focus-visible { outline:3px solid #0c6d8d; outline-offset:4px; }

/* UX68: explicitly open lower-priced alternatives; retain compact touch targets. */
.rc-pick-cheaper { margin:12px 0; padding:10px 14px; min-height:44px; border:1px solid #bfd0d8; border-radius:9px; background:#fff; color:#0b5a78; font:inherit; cursor:pointer; }
.rc-pick-cheaper:focus-visible { outline:3px solid #0b5a78; outline-offset:2px; }
.rc-pick-cheaper[hidden],.rc-pick-alternatives[hidden] { display:none!important; }

/* UX73: results occupy the first row; loading never reserves empty product rows. */
html.ruclima-redesign .rc-home-pick-results .rc-home-pick-grid:empty{display:none}
html.ruclima-redesign .rc-home-pick-results .rc-catalog-product-photo{height:110px;margin-bottom:6px}
html.ruclima-redesign .rc-home-pick-results .rc-catalog-product-price{min-height:0;padding:8px 0}
html.ruclima-redesign .rc-home-pick-results .rc-catalog-product h3{font-size:15px;line-height:1.3}
html.ruclima-redesign .rc-home-pick-results .rc-home-pick-actions{margin-top:8px}
html.ruclima-redesign .rc-pick-provisional>.rc-home-pick-status{padding:8px 10px;border-left:3px solid #08738d;background:#eef7fa;border-radius:5px;color:#164d60}
@media(min-width:768px){
 html.ruclima-redesign .rc-pick-provisional [data-rc-pick-grid]:has(>article:only-child){grid-template-columns:minmax(0,1fr);width:100%;max-width:580px}
 html.ruclima-redesign .rc-pick-provisional [data-rc-pick-grid]>article:only-child{display:grid;grid-template-columns:180px minmax(0,1fr);gap:6px 16px}
 html.ruclima-redesign .rc-pick-provisional [data-rc-pick-grid]>article:only-child>.rc-catalog-product-photo{grid-column:1;grid-row:1/5;height:150px;margin:0}
 html.ruclima-redesign .rc-pick-provisional [data-rc-pick-grid]>article:only-child>:not(.rc-catalog-product-photo){grid-column:2;margin:0}
}
@media(max-width:767px){
 html.ruclima-redesign .rc-reconciled-home .rc-home-pick-results [data-rc-pick-grid]{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;align-items:start;padding-bottom:5px}
 html.ruclima-redesign .rc-home-pick-results [data-rc-pick-grid]>article{scroll-snap-align:start;min-width:0}
 html.ruclima-redesign .rc-home-pick-results .rc-catalog-product-photo{height:80px}
}

/* UX78: compact purchase controls in the single preliminary desktop card.
   Shared by the homepage and /collection/all. */
@media (min-width:768px) {
 html.ruclima-redesign .rc-pick-provisional [data-rc-pick-grid]>article:only-child>.rc-pick-purchase-actions {
  display:flex; flex-direction:row; align-items:stretch; gap:8px;
  width:234px; max-width:100%; min-width:0; justify-self:start;
 }
 html.ruclima-redesign .rc-pick-provisional [data-rc-pick-grid]>article:only-child>.rc-pick-purchase-actions>:not(.rc-catalog-compare) {
  flex:1 1 0; width:auto; min-width:0; margin:0;
 }
 html.ruclima-redesign .rc-pick-provisional [data-rc-pick-grid]>article:only-child>.rc-pick-purchase-actions .rc-catalog-button-primary {
  width:100%; min-height:48px;
 }
 html.ruclima-redesign .rc-pick-provisional [data-rc-pick-grid]>article:only-child>.rc-pick-purchase-actions>.rc-catalog-compare {
  box-sizing:border-box; flex:0 0 46px; width:46px; height:48px;
  min-height:44px; margin:0; padding:10px;
 }
}
/* UX94: server-rendered initial shelf uses the same compact card grid. */
html.ruclima-redesign .rc-home-initial-grid .rc-catalog-compare { display:inline-flex; align-items:center; justify-content:center; gap:8px; margin-top:8px; padding:8px; border:1px solid #c4d4db; border-radius:10px; background:#fff; color:#0c5871; cursor:pointer; }
html.ruclima-redesign .rc-home-initial-grid .rc-catalog-compare svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; }
html.ruclima-redesign .rc-home-initial-grid .rc-catalog-compare.compare-added { background:#e5f1f5; }
@media(min-width:1100px){html.ruclima-redesign .rc-reconciled-home .rc-native-product-shell .rc-home-initial-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* UX98: a two-line title slot keeps facts aligned in product rows. */
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product h3{min-height:2.8em}
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-facts>span{display:inline-flex;align-items:center;gap:5px}
html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product-facts svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:767px){html.ruclima-redesign .rc-home-pick-grid .rc-catalog-product h3{min-height:0}}

/* UX119.41: a visible next card plus real controls, not a scrollbar alone. */
.rc-picker-rail{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:8px 0 10px;color:#0c5871;font:600 13px/1.4 Arial,sans-serif}
.rc-picker-rail[hidden]{display:none!important}
.rc-picker-rail>span:first-child{margin-right:auto}
.rc-picker-rail button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #bfd2db;border-radius:50%;background:#fff;color:#0c5871;font:700 22px/1 Arial,sans-serif;cursor:pointer}
.rc-picker-rail button:disabled{opacity:.35;cursor:default}
.rc-picker-rail button:focus-visible{outline:3px solid #0c5871;outline-offset:2px}
.rc-picker-rail-count{min-width:42px;text-align:center;font-variant-numeric:tabular-nums}
.rc-home-pick-actions [aria-busy="true"]{cursor:progress;opacity:.75}
@media(max-width:767px){
 html.ruclima-redesign .rc-reconciled-home .rc-home-pick-results [data-rc-pick-grid],
 html.ruclima-redesign body.ruclima-catalog-hub .rc-home-pick-results [data-rc-pick-grid]{grid-auto-columns:calc(100% - 32px);scroll-padding-inline:0;align-items:stretch;padding-bottom:8px}
 html.ruclima-redesign .rc-home-pick-results [data-rc-pick-grid]>article:only-child{width:100%;grid-column:1 / -1}
}

@media(max-width:767px){html.ruclima-redesign .rc-reconciled-home .rc-home-pick-results [data-rc-pick-grid]:has(>article:only-child),html.ruclima-redesign body.ruclima-catalog-hub .rc-home-pick-results [data-rc-pick-grid]:has(>article:only-child){grid-auto-columns:100%}}
