/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Master dressing room: consistent full-product thumbnails. */
body.postid-4752 .custom-grouped-products .grouped-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: #F0F0F0;
  object-fit: contain;
  object-position: center;
}
body.postid-4752 .arno-master-dressing-group-grid {
  align-items: stretch;
}
body.postid-4752 .custom-grouped-products .grouped-item {
  height: auto !important;
}

/* Pera dressing room: square full-product thumbnails. */
body.postid-1129 .custom-grouped-products .grouped-item img {width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;background:#F0F0F0;}
body.postid-1129 .custom-grouped-products .grouped-item {height:auto!important;}

/* Master bedroom: complete product images in square cards. */
body.postid-4717 .custom-grouped-products .grouped-item img {width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;background:#F0F0F0;}
body.postid-4717 .custom-grouped-products .grouped-item {height:auto!important;}

/* Porto bedroom: square cards show complete furniture. */
body.postid-5137 .custom-grouped-products .grouped-item img {width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;background:#F0F0F0;}
body.postid-5137 .custom-grouped-products .grouped-item {height:auto!important;}

/* Porto dressing room: catalogue groups and complete square thumbnails. */
body.postid-5173 .custom-grouped-products .grouped-item img {width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;background:#F0F0F0;}
body.postid-5173 .custom-grouped-products .grouped-item {height:auto!important;}
body.postid-5173 .arno-porto-dressing-group {flex:0 0 100%;width:100%;margin:34px 0 42px;padding:24px 20px 28px;border:1px solid #e4e2df;border-radius:8px;}
body.postid-5173 .arno-porto-dressing-group h4 {font-size:30px;margin:0 0 22px;padding:12px 16px;background:#f3f2f0;border-left:4px solid #b6a48e;}
body.postid-5173 .arno-porto-dressing-grid {display:flex;flex-wrap:wrap;gap:20px;justify-content:center;align-items:stretch;}
@media(max-width:600px) {body.postid-5173 .arno-porto-dressing-group {padding:16px 10px;}body.postid-5173 .arno-porto-dressing-group h4 {font-size:24px;}}

/* Porto catalogue option groups have no displayed prices. */
body.postid-5173 .arno-porto-dressing-wardrobe .price, body.postid-5173 .arno-porto-dressing-doors .price, body.postid-5173 .arno-porto-dressing-interior .price {display:none!important;}

/* Hide quantity controls in Porto catalogue option sections. */
body.postid-5173 .arno-porto-dressing-wardrobe .arno-qty-wrapper, body.postid-5173 .arno-porto-dressing-doors .arno-qty-wrapper, body.postid-5173 .arno-porto-dressing-interior .arno-qty-wrapper {display:none!important;}
