/* Keep the furniture visible; progressively disclose the supporting detail. */
.mr-card-options{border:0;margin:4px 0 6px;padding:0;color:var(--muted,#655d55)}
.mr-card-options>summary{cursor:pointer;min-height:44px;align-content:center;font:11px/1.5 Arial,sans-serif;text-underline-offset:4px}
.mr-card-options[open]>summary{color:var(--ink,#292622)}
.mr-card-options .cv-card-spec{margin:0 0 12px;overflow-wrap:anywhere}
.mr-pricing-note{display:none}
.mr-card-options>summary:focus-visible,.mr-disclosure>summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}

@media(max-width:820px){
  /* Shortlists are browsed one piece at a time; the next card remains visible. */
  #retail-storefront[data-page="home"] .sc-pieces .sc-product-grid{
    display:grid;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:74%;
    gap:18px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;
    overscroll-behavior-x:contain;scroll-padding-inline:1px;scrollbar-width:thin;
    padding:2px 1px 18px;margin:0;align-items:start;
  }
  #retail-storefront[data-page="home"] .sc-pieces .sc-product-grid>.retail-card{scroll-snap-align:start;min-width:0}
  .retail-products-grid,.retail-collection-layout .retail-products-grid,.sc-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 14px;
  }
  .retail-products-grid[data-columns="1"]{grid-template-columns:minmax(0,1fr)}
  .retail-card,.related-piece{min-width:0}
  .retail-card-visual,.related-visual{position:relative;min-width:0}
  .retail-card-visual>a,.related-visual>a{display:block}
  .retail-card-image,.related-photo{aspect-ratio:4/3;min-height:0;background:#fff}
  /* Do not override bounded-image geometry: its calibrated subject box keeps
     the whole furniture piece inside the image instead of cropping it. */
  .retail-card-image>img:not(.bounded-image),.related-photo>img:not(.bounded-image){object-fit:contain}
  .retail-card-visual>.card-room-toggle,.related-visual>.related-room-toggle{
    position:static!important;inset:auto!important;display:inline-flex;align-items:center;
    justify-content:flex-start;width:auto!important;max-width:100%;min-width:0!important;
    min-height:44px;height:auto!important;padding:6px 0!important;margin:0;
    border:0!important;border-radius:0!important;box-shadow:none;background:transparent!important;
    font:11px/1.5 Arial,sans-serif!important;color:var(--ink,#292622)!important;text-align:left;
    text-decoration:underline;text-underline-offset:4px;
  }
  .retail-card-visual>button[data-retail-save]{top:6px;right:6px;width:40px;height:40px;min-width:44px;min-height:44px;font-size:23px}
  .retail-card .retail-card-category,.related-piece .related-category{font-size:9px;letter-spacing:.08em;line-height:1.5;margin:10px 0 7px;overflow-wrap:anywhere}
  .retail-card h3,.pe-home .retail-card h3,.related-piece h3{font-size:clamp(17px,4.5vw,23px);line-height:1.25;min-height:0;margin:0 0 8px;overflow-wrap:anywhere}
  .retail-card .retail-card-price{font-size:17px;line-height:1.4;min-height:0;margin:9px 0 5px!important;overflow-wrap:anywhere}
  .retail-card .membership-price-label{font-size:9px;line-height:1.5;margin-top:3px;letter-spacing:0}
  .retail-card .membership-card-alternative{font-size:11px;line-height:1.5;margin:3px 0 4px}
  .retail-card .membership-card-alternative>a{display:inline-flex;align-items:center;min-height:36px;overflow-wrap:anywhere}
  [data-mobile-pricing-context="true"] .retail-card .membership-card-fee{display:none}
  .mr-pricing-note{display:flex;gap:5px 16px;flex-wrap:wrap;align-items:baseline;margin:12px 0 26px;font:10px/1.65 Arial,sans-serif;color:var(--muted,#655d55)}
  .mr-pricing-note>a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-underline-offset:4px;white-space:nowrap}
  .mr-card-options{margin:0 0 4px}
  .mr-card-options>summary{font-size:10px;min-height:44px;overflow-wrap:anywhere}
  .mr-card-options .cv-card-spec{font-size:10px;line-height:1.65}
  .retail-card .retail-card-bottom{padding-top:8px;min-height:44px;gap:8px;align-items:center;font-size:10px;margin-top:0}
  .retail-card .retail-card-bottom>span{min-width:0;overflow-wrap:anywhere}
  .retail-card .retail-card-bottom>button{font-size:10px;min-height:44px;min-width:44px;padding:0;text-align:right;flex-shrink:0}
  #retail-storefront[data-page="home"] .sc-pieces .retail-card h3{font-size:23px}
  #retail-storefront[data-page="home"] .sc-pieces .retail-card-price{font-size:21px}
  #retail-storefront[data-page="home"] .sc-pieces .retail-card-category{font-size:10px}
  #retail-storefront[data-page="home"] .sc-pieces .card-room-toggle{font-size:12px!important}
  .sc-mobile-explore{font-size:11px;line-height:1.6}

  /* A phone PDP starts with the object, then one clear buying sequence. */
  .product-detail{min-width:0}
  .product-detail .product-grid.product-grid-personal{display:flex;flex-direction:column;gap:0}
  .product-grid-personal>.visual-column{order:0;position:static;width:100%;min-width:0;margin:0 0 24px}
  .product-grid-personal>.product-overview{order:1;width:100%;min-width:0;padding:0 0 20px}
  .product-grid-personal>.product-info{order:2;width:100%;min-width:0}
  .product-detail .hero-stage{min-height:0;aspect-ratio:4/3}
  .product-detail #pdp-gallery.view-switch{align-items:start;gap:8px;padding-block:3px 7px}
  .product-detail #pdp-gallery.view-switch button{height:auto;min-height:0;flex:0 0 86px;width:86px;padding:3px}
  .product-detail #pdp-gallery.view-switch .gallery-photo{height:auto;min-height:0;margin-top:0;aspect-ratio:4/3}
  .product-detail #pdp-gallery.view-switch .gallery-photo>img:not(.bounded-image){display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:contain}
  .product-detail #pdp-gallery.view-switch .gallery-photo>.bounded-image{height:auto!important;aspect-ratio:auto;max-width:none}
  .product-detail #pdp-gallery.view-switch .gallery-label{display:block;font-size:9px;line-height:1.4;min-height:26px;margin-top:3px}
  .product-detail .visual-column .image-caption{margin-block:10px 7px}
  .product-detail .visual-column .image-note{font-size:10px;line-height:1.5;margin-block:8px 0}
  .product-overview .title-row h1{font-size:clamp(29px,7.5vw,40px);line-height:1.12}
  .product-overview .intro{font-size:13px;line-height:1.7;margin:14px 0}
  .product-overview .price{font-size:27px;line-height:1.35;margin:7px 0}
  .product-overview .price-note,.product-overview .material-price-basis,.product-overview .pdp-pricing-context{font-size:11px;line-height:1.65}
  .product-detail .configuration{gap:14px;padding-block:16px}
  .product-detail .configuration>div{min-width:0}
  .product-detail .dimension-link{flex-shrink:0;font-size:11px;min-height:44px;max-width:100px}
  .product-detail #configuration-summary,.product-detail .dimension-summary{overflow-wrap:anywhere}
  .product-detail .pdp-field select{font-size:16px;min-height:48px}
  .product-detail .pdp-selection-summary{padding:17px;margin-top:22px}
  .product-detail .pdp-selection-summary dl>div{grid-template-columns:95px minmax(0,1fr);gap:12px}
  .product-detail .pdp-selection-summary dd{font-size:12px;line-height:1.65}
  .product-detail .pdp-selection-summary #pdp-summary-total{font-size:23px}
  .product-detail .actions{gap:10px;align-items:stretch}
  .product-detail .actions .primary{min-height:50px;min-width:0;padding-inline:14px;font-size:12px;flex:1}
  .product-detail .qty input{font-size:16px;min-width:0}
  .product-detail .selection-links{gap:8px 20px}
  .product-detail .selection-links button{min-height:44px}
  .product-detail .cv-pdp-promise{margin-top:18px;padding:17px;font-size:12px}
  .product-detail .cv-pdp-promise p{font-size:11px;line-height:1.65}
  .product-detail>.product-nav{justify-content:flex-start;gap:22px;white-space:nowrap;padding-block:15px;scrollbar-width:thin}
  .product-detail>.product-nav a{font-size:11px;min-height:44px;display:inline-flex;align-items:center}
  .product-detail #product-fit,.product-detail #product-dimensions{padding:0;margin:0 0 20px;border-bottom:1px solid var(--line,#d8d0c5);scroll-margin-top:100px}
  .mr-disclosure{margin:0;padding:0;border:0}
  .mr-disclosure>summary{font:16px/1.45 var(--al-sans,Arial,sans-serif);padding:18px 0;min-height:54px;box-sizing:border-box;cursor:pointer;color:var(--ink,#292622)}
  .mr-disclosure-body{min-width:0;padding-bottom:22px}
  .mr-disclosure-body>.section-heading{margin-top:8px}
  .mr-disclosure-body>.section-heading h2{font-size:27px;line-height:1.2}
  .mr-disclosure-body>.section-heading>p{font-size:11px}
  .mr-disclosure-body .pdp-fit-cards{grid-template-columns:minmax(0,1fr);gap:10px}
  .mr-disclosure-body .pdp-fit-cards article{padding-top:18px}
  .mr-disclosure-body .pdp-fit-cards h3{font-size:23px;margin:10px 0}
  .mr-disclosure-body .size-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
  .product-detail .paired-pieces{margin:45px 0;padding-top:28px}
  .product-detail .related-grid,.product-detail .related-grid:has(>.related-piece:nth-child(2):last-child){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}
  .related-piece{display:flex;flex-direction:column}
  .related-piece>.related-visual{order:0}
  .related-piece>.related-category{order:1}
  .related-piece>h3{order:2}
  .related-piece>.related-price{order:3;font-size:17px;line-height:1.45;margin:6px 0}
  .related-piece>.mr-disclosure{order:4}
  .related-piece>.mr-disclosure>summary{font-size:11px;min-height:44px;padding:12px 0}
  .related-piece .related-reason,.related-piece .related-option{font-size:11px;line-height:1.65;margin:0 0 12px;overflow-wrap:anywhere}
  .related-piece .mr-disclosure-body{padding-bottom:8px}
}
@media(min-width:601px) and (max-width:820px){
  #retail-storefront[data-page="home"] .sc-pieces .sc-product-grid{grid-auto-columns:64%;gap:24px!important}
  .product-grid-personal>.visual-column{max-width:720px;align-self:center}
  .retail-card h3,.pe-home .retail-card h3,.related-piece h3{font-size:23px}
  .retail-card .retail-card-price,.related-piece>.related-price{font-size:21px}
}
@media(prefers-reduced-motion:reduce){
  #retail-storefront[data-page="home"] .sc-pieces .sc-product-grid{scroll-behavior:auto}
}
