/*
|---------------------------------------------------------------
| product/default.css
|---------------------------------------------------------------
*/
/*
 * Variation
------------------------------------------------*/
.lylw-product_detail .fs-c-variationLabel {
  display: flex;
  font-weight: normal;
  border-bottom: 1px solid #d8c2a9;
  margin: 0 0 0.5em;
  padding: 0.25em 0;
  font-size: clamp(16px, 4.27vw, 18px);
}
.lylw-product_detail .fs-c-variationLabel .lylw-pd-spec_link {
  display: block;
  margin-left: auto;
}
.lylw-product_detail .fs-c-variationPanelList {
  font-size: clamp(16px, 4.27vw, 18px);
}
.lylw-product_detail .fs-c-variationPanelList__list {
  display: flex;
  flex-wrap: wrap;
}
.lylw-product_detail .fs-c-variationPanelList__list__item {
  min-width: 0;
  flex: 0 0 auto;
}
.lylw-product_detail .fs-c-variationPanelList__panel {
  color: #231815;
  background: #ffffff;
  border: 1px solid #d8c2a9;
  border-radius: 10px;
}
.lylw-product_detail .fs-c-variationPanelList__panel > *:not(.fs-c-variationPanelList__panel__content) {
  display: none;
}
.lylw-product_detail .fs-c-variationPanelList__panel__label {
  font-weight: inherit;
}
.lylw-product_detail .fs-c-variationPanelList__panel__content {
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.25em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
}
.lylw-product_detail .fs-c-variationPanelList__radio:checked + .fs-c-variationPanelList__panel:where(:not(.fs-c-variationPanelList__panel--outOfStock)) {
  border-color: #d8c2a9;
  border-width: 2px;
  font-weight: bold;
}
.lylw-product_detail .fs-c-variationPanelList__radio:checked + .fs-c-variationPanelList__panel .fs-c-variationPanelList__panel__content {
  background: none;
  color: #231815;
}

/*--------------- Color ---------------*/
.lylw-variationColorTip {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}
.lylw-variationColorTip img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.lylw-pd-variation_panel--color {
  height: auto;
}
.lylw-pd-variation_panel--color.js--has_colortip {
  display: block;
  padding: 0;
  border-radius: 50%;
}
.lylw-pd-variation_panel--color.js--has_colortip > * {
  display: none;
}
.lylw-pd-variation_panel--color.js--has_colortip .lylw-variationColorTip {
  display: block;
}

.lylw-product_detail .fs-c-variationPanelList__radio:checked + .fs-c-variationPanelList__panel:where(:not(.fs-c-variationPanelList__panel--outOfStock)) .lylw-variationColorTip {
  width: 36px;
  height: 36px;
}
