/* Colour switching and compact stock/views. Existing size styles are untouched. */
.single_product_area .rf-choice-meta{display:flex;align-items:center;justify-content:space-between;gap:6px 12px;flex-wrap:wrap;min-width:0}
.single_product_area .rf-choice-meta .ast-stock-detail,.single_product_area .rf-choice-meta .ast-out-of-stock-detail{margin:0!important;font-size:14px!important;line-height:1.45!important;white-space:nowrap}
.single_product_area .rf-choice-meta .stock{font-weight:600!important}
.single_product_area .rf-colour-stock-icon{margin-right:4px;font-size:13px;color:#168249}
.single_product_area .ast-out-of-stock-detail .rf-colour-stock-icon{color:#b42318}
.single_product_area .rf-choice-meta .rf-product-views{margin:0!important;font-size:12px!important;line-height:1.45!important;color:#6b7280!important;white-space:nowrap;flex:0 0 auto;gap:4px}
.single_product_area .rf-choice-meta .rf-product-views strong{font-weight:400!important}
.single_product_area .rf-choice-meta .rf-product-views svg{width:16px!important;height:16px!important}
.single_product_area .product_color .label_img{position:relative}
.single_product_area .product_color input:checked+label .label_img::after{content:'✓';position:absolute;top:4px;right:4px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;border:1px solid #fff;border-radius:50%;background:#ad8735;color:#fff;font-size:11px;font-weight:600;line-height:1}
.single_product_area .product_color input[data-rf-colour-pending]+label .label_img{box-shadow:0 0 0 2px #b48b3680}
.single_product_area .rf-colour-loader{position:absolute;bottom:10px;left:12px;z-index:5;width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:#ffffffed;border-radius:50%;box-shadow:0 1px 6px #0002}
.single_product_area .rf-colour-loader[hidden]{display:none}
.single_product_area .rf-colour-loader>span:first-child{width:16px;height:16px;border:2px solid #e5d8b8;border-top-color:#9b772f;border-radius:50%;animation:rf-colour-spin .7s linear infinite}
.single_product_area.rf-colour-loading :is(.rf-purchase-actions,.rf-size-card){opacity:.6}
.single_product_area.rf-colour-loading :is(.rf-purchase-actions,.rf-size-card,.single_page_img_list,.rf-gallery-arrow){pointer-events:none}
.single_product_area .rf-colour-error{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;margin:8px 0 0;color:#9d2222;font-size:12px;line-height:1.5}
.single_product_area .rf-colour-error[hidden]{display:none}
.single_product_area .rf-colour-error button{border:0;background:transparent;text-decoration:underline;padding:7px 0;color:inherit;min-height:32px;font:inherit}
@keyframes rf-colour-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.single_product_area .rf-colour-loader>span:first-child{animation:none}}

/* CL01: pending feedback belongs only to the tapped colour thumbnail. */
.single_product_area .product_color input[data-rf-colour-pending]+label .label_img::before{content:'';position:absolute;inset:0;z-index:1;background:#ffffff73;border-radius:inherit;pointer-events:none}
.single_product_area .label_img>.rf-colour-thumbnail-loader{top:50%;left:50%;bottom:auto;transform:translate(-50%,-50%);z-index:2;width:30px;height:30px;background:#fff;pointer-events:none}
