/* BanglaPets product proportions with Onno Ponno's existing identity. */
body.single-product:has(.onno-picker){--onno-photo-line:#e1e3de;--onno-photo-accent:#DC6034}
body.single-product .wp-block-columns:has(> .wp-block-column > .onno-picker){box-sizing:border-box;max-width:1220px!important;padding:28px;margin:28px auto!important;border:1px solid #e1e3de;border-radius:24px;background:#fff;gap:44px!important;align-items:flex-start!important}
body.single-product .wp-block-columns:has(> .wp-block-column > .onno-picker)>.wp-block-column{flex-basis:calc(50% - 22px)!important;flex-grow:1!important;min-width:0;position:static!important}
body.single-product .wp-block-column:has(>.onno-picker)>.wp-block-post-title{font-size:32px!important;font-weight:650;line-height:1.25;margin:0 0 24px}
body.single-product .wp-block-column:has(>.onno-picker)>.wp-block-woocommerce-product-price{font-size:20px!important;font-weight:700;margin:0 0 24px}
body.single-product .wp-block-column:has(>.onno-picker)>.wp-block-woocommerce-product-price .wc-block-components-product-price{font-size:20px!important}
body.single-product .wp-block-column:has(>.onno-picker)>.wp-block-post-excerpt{font-size:14px;line-height:1.75;margin:0 0 24px}
body.single-product:has(.onno-picker) .wp-block-woocommerce-product-image-gallery{width:100%;max-width:none!important;margin:0!important}
body.single-product:has(.onno-picker) .woocommerce-product-gallery{box-sizing:border-box;width:100%!important;max-width:100%;float:none!important;position:relative;margin:0!important;opacity:1!important}
body.single-product:has(.onno-picker) .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper{overflow:hidden;border:1px solid var(--onno-photo-line);border-radius:20px}
body.single-product:has(.onno-picker) .woocommerce-product-gallery>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:not(:first-child){display:none}
body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-viewport{aspect-ratio:1;height:auto!important;overflow:hidden;border:1px solid var(--onno-photo-line);border-radius:20px;background:#fff}
body.single-product:has(.onno-picker) .woocommerce-product-gallery__image{aspect-ratio:1}
body.single-product:has(.onno-picker) .woocommerce-product-gallery__image>a{display:block;width:100%;height:100%}
body.single-product:has(.onno-picker) .woocommerce-product-gallery__image img:not(.zoomImg){width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border-radius:0!important}
body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-control-thumbs{box-sizing:border-box;display:flex!important;list-style:none!important;gap:9px;padding:0!important;margin:0!important;overflow:auto;scrollbar-width:thin}
body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-control-thumbs li{box-sizing:border-box;list-style:none!important;float:none!important;width:68px!important;flex:0 0 68px;margin:0!important;padding:0!important}
body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-control-thumbs img{display:block;box-sizing:border-box;width:68px!important;height:68px!important;object-fit:cover;border:1px solid #e1e3de;border-radius:12px;opacity:.8;cursor:pointer}
body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1;border-color:var(--onno-photo-accent)}
body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-control-thumbs img:focus-visible{outline:2px solid var(--onno-photo-accent);outline-offset:-3px}
@media(min-width:782px){
 body.single-product:has(.onno-picker) .woocommerce-product-gallery:has(.flex-control-thumbs){padding-left:92px!important}
 body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-control-thumbs{position:absolute;top:0;left:0;bottom:0;width:72px;max-height:100%;flex-direction:column;padding-right:2px!important}
}
@media(max-width:781px){
 body.single-product .wp-block-columns:has(> .wp-block-column > .onno-picker){padding:16px;border-radius:18px;margin:16px auto!important;gap:24px!important}
 body.single-product .wp-block-columns:has(> .wp-block-column > .onno-picker)>.wp-block-column{flex-basis:100%!important;width:100%}
 body.single-product .wp-block-column:has(>.onno-picker)>.wp-block-post-title{font-size:25px!important;margin-bottom:14px}
 body.single-product:has(.onno-picker) .woocommerce-product-gallery{padding-left:0!important}
 body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-viewport{border-radius:17px}
 body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-control-thumbs{position:static;width:100%;height:66px;margin-top:10px!important;flex-direction:row;align-items:flex-start}
 body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-control-thumbs li{width:60px!important;flex-basis:60px}
 body.single-product:has(.onno-picker) .woocommerce-product-gallery .flex-control-thumbs img{width:60px!important;height:60px!important;border-radius:10px}
}
/* Match the reference's compact option rows and purchase controls. */
body.single-product form.onno-picker{margin:0 0 20px}
body.single-product form.onno-picker h3{font-size:19px;line-height:1.35;margin:0 0 4px;font-weight:700}
body.single-product form.onno-picker>p{font-size:13px;line-height:1.5;margin:0 0 16px}
body.single-product .onno-picker .onno-choice,body.single-product .onno-picker .onno-choice-heading{grid-template-columns:minmax(0,1fr) 78px 120px;gap:10px}
body.single-product .onno-picker .onno-choice-heading{padding:0 12px 8px;font-size:11px;letter-spacing:.06em}
body.single-product .onno-picker .onno-choice{padding:10px 12px;min-height:66px;border-radius:12px;margin-bottom:8px;border-color:#e1e3de}
body.single-product .onno-picker .onno-choice.selected{border-color:#DC6034}
body.single-product .onno-picker .onno-choice-name{gap:10px}
body.single-product .onno-picker .onno-choice-name img{width:44px!important;height:44px!important;flex-basis:44px;border-radius:7px}
body.single-product .onno-picker .onno-choice-name strong{font-size:13px;font-weight:600}
body.single-product .onno-picker .onno-choice>span{font-size:14px}
body.single-product .onno-picker .onno-stepper{height:44px;border-radius:9px}
body.single-product .onno-picker .onno-stepper button{width:40px;font-size:21px}
body.single-product .onno-picker .onno-stepper input{width:38px!important;font-size:14px}
body.single-product form.onno-picker .onno-selection-note{font-size:13px;margin:14px 0 20px}
body.single-product form.onno-picker .onno-extras-title{font-size:15px;margin:22px 0 16px}
body.single-product form.onno-picker .onno-picker-total{font-size:19px;margin:16px 0 4px}
body.single-product .onno-picker .onno-picker-actions{gap:10px;margin-top:14px}
body.single-product .onno-picker .onno-picker-actions button{min-height:50px;border-radius:11px!important;font-size:15px;font-weight:700;padding:12px 10px!important}
@media(max-width:420px){
 body.single-product .onno-picker .onno-choice,body.single-product .onno-picker .onno-choice-heading{grid-template-columns:minmax(0,1fr) 59px 104px;gap:7px}
 body.single-product .onno-picker .onno-choice{padding:10px 8px}
 body.single-product .onno-picker .onno-choice-heading{padding-inline:8px}
 body.single-product .onno-picker .onno-choice-name{gap:7px;flex-wrap:nowrap}
 body.single-product .onno-picker .onno-choice-name img{width:34px!important;height:40px!important;flex-basis:34px}
 body.single-product .onno-picker .onno-choice-name strong{font-size:12px}
 body.single-product .onno-picker .onno-stepper button{width:34px}
 body.single-product .onno-picker .onno-stepper input{width:32px!important}
}

/* Equal photo and details columns, overriding the earlier compact gallery rule. */
@media(min-width:782px){
 body.single-product .wp-block-columns:has(> .wp-block-column > .onno-picker) > .wp-block-column:has(.wp-block-woocommerce-product-image-gallery),
 body.single-product .wp-block-columns:has(> .wp-block-column > .onno-picker) > .wp-block-column:has(> .onno-picker){flex-basis:calc(50% - 22px)!important;flex-grow:1!important;position:static!important}
}
