/* Rahil Fashion: compact single size and checked-size tick, 30 October 2026. */
.rf-compact-purchase .single_product_size_checkbox_list_group .title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.rf-compact-purchase .single_product_size_checkbox_list_group:not(.size_stock_out) input:checked + label .title::before {
  content: "";
  display: block;
  flex: 0 0 9px;
  width: 9px;
  height: 5px;
  margin-top: -3px;
  border: 0;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: transparent;
  transform: rotate(-45deg);
  box-sizing: content-box;
}
.rf-compact-purchase .rf-size-card--single {
  display: grid !important;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: 10px;
}
.rf-compact-purchase .rf-size-card--single .single_product_size_title {
  display: contents;
}
.rf-compact-purchase .rf-size-card--single .single_product_size_title h4 {
  grid-column: 1;
  grid-row: 1;
  white-space: nowrap;
}
.rf-compact-purchase .rf-size-card--single .single_product_size_chart,
.rf-compact-purchase .rf-size-card--single .single_product_size_title > .rf-size-guide {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.rf-compact-purchase .rf-size-card--single .rf-size-guide {
  white-space: nowrap;
}
.rf-compact-purchase .rf-size-card--single .single_product_size_checkbox_list {
  grid-column: 2;
  grid-row: 1;
  width: auto;
  min-width: 0;
}
.rf-compact-purchase .rf-size-card--single .single_product_size_checkbox_list > ul {
  width: auto;
  flex-wrap: nowrap;
}
.rf-compact-purchase .rf-size-card--single .single_product_size_checkbox_list > ul > li {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}
.rf-compact-purchase .rf-size-card--single .single_product_size_checkbox_list_group {
  width: auto;
  max-width: 100%;
}
.rf-compact-purchase .rf-size-card--single .single_product_size_checkbox_list_group label {
  width: max-content;
  max-width: 100%;
  min-height: 32px;
  padding: 5px 10px !important;
}
.rf-compact-purchase .rf-size-card--single .single_product_size_checkbox_list_group .title {
  min-width: 0;
  overflow-wrap: break-word;
}
@media (max-width: 380px) {
  .rf-compact-purchase .rf-size-card--single { column-gap: 8px; }
  .rf-compact-purchase .rf-size-card--single .single_product_size_title h4 { font-size: 15px !important; }
  .rf-compact-purchase .rf-size-card--single .rf-size-guide { font-size: 12px !important; }
  .rf-compact-purchase .rf-size-card--single .single_product_size_checkbox_list_group label { padding: 5px 8px !important; }
  .rf-compact-purchase .rf-size-card--single .single_product_size_checkbox_list_group .title { font-size: 14px; }
}
