/* RC10: visual-only state for paused products and options.
   Server-side validation remains authoritative for checkout. */
.bocado-paused-product { background: #f2f2f2; }
.bocado-paused-product .product-photo-frame img { filter: grayscale(100%); opacity: .62; }
.bocado-paused-product .cardbody h3,
.bocado-paused-product .cardbody p,
.bocado-paused-product .cardfoot .price { color: #777 !important; }
.bocado-paused-product [data-product] { background: #dedede !important; color: #555 !important; border-color: #ccc !important; cursor: not-allowed !important; opacity: 1 !important; }
.bocado-paused-product[data-open-product] { cursor: default !important; }
.bocado-paused-option { background: #f5f5f5 !important; color: #777 !important; }
.bocado-paused-option input { cursor: not-allowed; }
.bocado-unavailable-label { display: block; margin-top: 3px; color: #666; font-size: 12px; font-style: normal; font-weight: 600; }
/* Compact controls on desktop; accessible touch targets on narrow screens. */
@media (min-width: 769px) {
  #cartitems .quantity button { width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0; }
}
@media (max-width: 768px) {
  #cartitems .quantity button { min-width: 44px; min-height: 44px; }
}

#products .bocado-paused-product .product-photo-frame img {filter:grayscale(100%) !important;opacity:.65 !important;}
#catalog-visibility-setting {
  padding: 12px 14px;
  margin: 14px 0;
  border: 1px solid #e0e4ea;
  border-radius: 10px;
  background: #f8f9fb;
}
#catalog-visibility-setting label{margin:0;display:flex;align-items:center;gap:10px;cursor:pointer;}
#catalog-visibility-setting input{width:18px;height:18px;margin:0;}
#catalog-visibility-setting p{margin:5px 0 0 28px;font-size:12px;color:#657184;}
#catalog-visibility-feedback{font-size:12px;min-height:18px;display:block;margin:4px 0 0 28px;}

/* RC14: Single layout for paused product cards, on desktop and mobile.
   The unavailable label is informational, never a purchase button.
   Preserve the existing card grid and do not change available products. */
#products .card.bocado-paused-product .cardbody {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: 14px;
}
#products .card.bocado-paused-product .bocado-paused-status {
  display: block;
  flex: 0 0 auto;
  position: static;
  width: 100%;
  max-width: 100%;
  margin: 3px 0 4px;
  padding: 0;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: normal;
}
#products .card.bocado-paused-product .cardfoot {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: auto;
  padding-top: 8px;
  padding-bottom: 0;
  position: static;
}
#products .card.bocado-paused-product .cardfoot .price {
  position: static;
  display: block;
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  line-height: 1.35;
  overflow: visible;
  white-space: normal;
  text-align: left;
}
#products .card.bocado-paused-product .cardfoot .price small {
  display: block;
  line-height: 1.25;
  margin-bottom: 3px;
}
/* On compact phones, give the details column the space its price needs. */
@media (max-width: 480px) {
  #products .card.bocado-paused-product .cardbody {
    min-width: 0;
    min-height: 150px;
    padding-bottom: 12px;
  }
  #products .card.bocado-paused-product .cardfoot {
    min-height: 38px;
  }
}
