/* Kleyl: make product options visible (2026-11-29)
   1. Product page: show each image swatch's name under it.
   2. Product page: make the chosen option name readable.
   3. Checkout summary + mini cart: show options without "View Details".
   4. Cart: readable option text. */

/* 1. swatch names (product page only, not category grids) */
.product-info-main .swatch-attribute-options,
.product-options-wrapper .swatch-attribute-options {
  overflow: visible;
}
.product-info-main .swatch-option.image,
.product-options-wrapper .swatch-option.image {
  position: relative;
  overflow: visible !important;
  margin-bottom: 26px !important;
}
.product-info-main .swatch-option.image::after,
.product-options-wrapper .swatch-option.image::after {
  content: attr(data-option-label);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.2;
  color: #333;
  white-space: nowrap;
  pointer-events: none;
}
.product-info-main .swatch-option.image.selected::after,
.product-options-wrapper .swatch-option.image.selected::after {
  font-weight: 600;
  color: #000;
}

/* 2. chosen option next to the attribute name */
.product-info-main .swatch-attribute-selected-option {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  padding-left: 6px;
}

/* 3. checkout order summary and mini cart: options always open */
.opc-block-summary .product-item .product.options .content,
.minicart-items .product-item .product.options .content {
  display: block !important;
}
.opc-block-summary .product-item .product.options > .toggle,
.minicart-items .product-item .product.options > .toggle {
  display: none !important;
}
.opc-block-summary .product-item .product.options .subtitle {
  display: none;
}
.opc-block-summary .product-item .item-options,
.minicart-items .product-item .product.options .list {
  margin: 4px 0 0;
  font-size: 13px;
  color: #333;
}
.opc-block-summary .product-item .item-options dt,
.opc-block-summary .product-item .item-options dd {
  display: inline;
  margin: 0;
}
.opc-block-summary .product-item .item-options dt::after {
  content: ": ";
}
.opc-block-summary .product-item .item-options dd::after {
  content: "";
  display: block;
}

/* 4. cart page */
.cart.item .item-options {
  font-size: 13px;
  color: #333;
}
.cart.item .item-options dt {
  font-weight: 600;
}
