.hmp-native-row-hidden select,
.hmp-native-row-hidden .value > select,
.hmp-native-row-hidden .reset_variations,
.hmp-native-row-hidden .select2,
.hmp-native-row-hidden .select2-container,
.hmp-native-row-hidden .chosen-container,
.hmp-native-row-hidden .woocommerce-variation-add-to-cart-disabled,
form.variations_form .hmp-native-row-hidden .label,
form.variations_form .hmp-native-row-hidden > th.label{display:none !important}
.hmp-native-row-hidden td.value{padding:0 !important;border:0 !important}
.hmp-native-row-hidden{border:0 !important}
.hmp-native-row-hidden label{opacity:.92}

.hmp-option-switcher{margin:0 0 16px;padding:12px 14px;border:1px solid #f1d0df;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(255,47,146,.06)}
.hmp-option-switcher__label{font-weight:700;color:#ff2f92;margin:0 0 10px;text-transform:uppercase;letter-spacing:.06em;font-size:12px}
.hmp-option-switcher__buttons{display:flex;flex-wrap:wrap;gap:10px}

.hmp-option-button{appearance:none;position:relative;border:2px solid #efc7d9;background:#fff;color:#5a4350;border-radius:14px;padding:10px 14px;cursor:pointer;font:inherit;line-height:1.2;font-weight:700;letter-spacing:.01em;transition:all .18s ease;min-width:120px;text-align:left}
.hmp-option-button:hover{transform:translateY(-1px);border-color:#ff7ebd;box-shadow:0 8px 22px rgba(255,47,146,.10)}
.hmp-option-button.is-active{background:#fff;border-color:#ff2f92;color:#111;box-shadow:0 0 0 3px rgba(255,47,146,.10),0 10px 24px rgba(255,47,146,.14);transform:translateY(-1px)}
.hmp-option-button:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(255,47,146,.18),0 10px 24px rgba(255,47,146,.14)}
.hmp-option-button__content{display:flex;flex-direction:column;gap:6px}
.hmp-option-button__label{font-weight:700;color:#3b2130}
.hmp-option-button__price{font-size:12px;color:#7a214f}
.hmp-option-button__stock{font-size:11px;font-weight:700}
.hmp-option-button__stock.is-instock{color:#2d8f3c}
.hmp-option-button__stock.is-outstock{color:#b42318}

.hmp-option-switcher--color .hmp-option-button{min-width:96px;padding:8px 10px;border-radius:16px}
.hmp-option-switcher--color .hmp-option-button__content{align-items:center;text-align:center}
.hmp-option-button__texture{width:54px;height:54px;border-radius:14px;overflow:hidden;border:1px solid #f2d5e2;background:#fff}
.hmp-option-button__texture img{display:block;width:100%;height:100%;object-fit:cover}
.hmp-option-switcher--color .hmp-option-button__label{font-size:12px}
.hmp-option-switcher--color .hmp-option-button__price,
.hmp-option-switcher--color .hmp-option-button__stock{font-size:10px}

.hmp-option-button__preview{position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);width:110px;height:110px;background:#fff;border-radius:16px;overflow:hidden;border:1px solid #efc7d9;box-shadow:0 14px 32px rgba(0,0,0,.12);z-index:20;pointer-events:none}
.hmp-option-button__preview img{display:block;width:100%;height:100%;object-fit:cover}

.hmp-dynamic-panels{margin:0 0 16px}
.hmp-dynamic-title{margin:0 0 12px;font-size:14px;font-weight:600;color:#7a214f}
.hmp-attrs-card{margin:0 0 16px;padding:14px;border:1px solid #f1d0df;border-radius:16px;background:#fff}
.hmp-attrs-card__title{margin:0 0 10px;font-weight:700;color:#ff2f92}
.hmp-attrs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hmp-attr{padding:10px 12px;border:1px solid #f7d9e8;border-radius:14px;background:#fffafb}
.hmp-attr__label{font-size:12px;color:#9b5b7c;margin-bottom:4px;text-transform:none}
.hmp-attr__value{font-weight:600;color:#3b2130;word-break:break-word}

@media (max-width:768px){
  .hmp-attrs-grid{grid-template-columns:1fr}
  .hmp-option-button{min-width:auto;padding:11px 14px}
  .hmp-option-button__preview{display:none}
}

.hmp-dynamic-summary{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 12px}
.hmp-dynamic-summary .price{margin:0}
.hmp-dynamic-stock .stock{margin:0}

form.variations_form table.variations .hmp-native-row-hidden td.value > div:not(.hmp-option-switcher){display:none !important}


.hmp-option-switcher--color{padding:0;border:0;background:transparent;box-shadow:none}
.hmp-option-switcher--color .hmp-option-switcher__label{display:flex;align-items:center;gap:10px;margin-bottom:8px;color:#7a214f;font-size:13px}
.hmp-option-switcher--color .hmp-option-switcher__buttons{gap:12px;align-items:center}
.hmp-option-button--color{min-width:0;width:34px;height:34px;padding:0;border:0;background:transparent;border-radius:999px;box-shadow:none}
.hmp-option-button--color:hover,.hmp-option-button--color.is-active{transform:none;box-shadow:none;background:transparent}
.hmp-color-swatch{display:block;width:34px;height:34px;border-radius:999px;border:2px solid #ebd2dd;background:#f6f0f4;overflow:hidden;box-shadow:0 3px 10px rgba(0,0,0,.04);transition:border-color .18s ease, transform .18s ease, box-shadow .18s ease}
.hmp-option-button--color:hover .hmp-color-swatch{transform:scale(1.06);border-color:#ff8bc3;box-shadow:0 6px 16px rgba(255,47,146,.16)}
.hmp-option-button--color.is-active .hmp-color-swatch{border-color:#ff2f92;box-shadow:0 0 0 4px rgba(255,47,146,.14),0 8px 18px rgba(255,47,146,.16)}
.hmp-color-swatch__image,.hmp-color-swatch__image img{display:block;width:100%;height:100%}
.hmp-color-swatch__image img{object-fit:cover}
form.variations_form .reset_variations{display:inline-flex !important;align-items:center;color:#ff2f92 !important;font-size:12px;font-weight:600;text-decoration:none !important;margin-left:10px}
form.variations_form .reset_variations:hover{color:#d61d76 !important}

/* Catalog + homepage variant badges */
.products .product .hmp-loop-variants,
.woocommerce ul.products li.product .hmp-loop-variants{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:10px 0 8px;
}
.products .product .hmp-loop-variants__group,
.woocommerce ul.products li.product .hmp-loop-variants__group{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
.hmp-loop-color{
  display:inline-flex;
  width:14px;
  height:14px;
  border-radius:999px;
  border:1.5px solid #efc7d9;
  background:#f3edf1;
  overflow:hidden;
  box-shadow:0 2px 5px rgba(0,0,0,.05);
}
.hmp-loop-color__image,
.hmp-loop-color__image img{
  display:block;
  width:100%;
  height:100%;
}
.hmp-loop-color__image img{object-fit:cover}
.hmp-loop-size{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  border:1px solid #f2cadb;
  background:#fff;
  color:#7a214f;
  font-size:11px;
  font-weight:700;
  line-height:1;
}
@media (max-width: 768px){
  .hmp-loop-color{width:12px;height:12px}
  .hmp-loop-size{min-width:22px;height:20px;padding:0 6px;font-size:10px}
}
.hmp-loop-color{
  appearance:none;
  padding:0;
  cursor:pointer;
}
.hmp-loop-color.is-active{
  border-color:#ff2f92;
  box-shadow:0 0 0 3px rgba(255,47,146,.14),0 4px 10px rgba(255,47,146,.12);
}
.hmp-loop-color:focus-visible{
  outline:none;
  border-color:#ff2f92;
  box-shadow:0 0 0 3px rgba(255,47,146,.18),0 4px 10px rgba(255,47,146,.12);
}

form.variations_form .hmp-native-row-hidden select, form.variations_form select[data-hmp-native-hidden="1"]{position:absolute !important;left:-9999px !important;opacity:0 !important;pointer-events:none !important;width:1px !important;height:1px !important;min-width:1px !important;padding:0 !important;margin:0 !important;border:0 !important;}
form.variations_form .hmp-native-row-hidden .value{display:flex !important;align-items:center;gap:10px;flex-wrap:wrap;}


/* V6.5 hard overrides for Love Market */
.woocommerce ul.products li.product .hmp-loop-color,
.products .product .hmp-loop-color{
  background-image:none !important;
  background-color:transparent !important;
  padding:0 !important;
  min-width:0 !important;
  width:14px !important;
  height:14px !important;
  border-radius:999px !important;
  border:1.5px solid #efc7d9 !important;
  box-shadow:0 2px 5px rgba(0,0,0,.05) !important;
  overflow:hidden !important;
  line-height:1 !important;
}
.woocommerce ul.products li.product .hmp-loop-color.is-active,
.products .product .hmp-loop-color.is-active{
  border-color:#ff2f92 !important;
  box-shadow:0 0 0 3px rgba(255,47,146,.14),0 4px 10px rgba(255,47,146,.12) !important;
}
.single-product form.variations_form .hmp-option-switcher--color .hmp-option-switcher__label{font-size:0 !important;}
.single-product form.variations_form .hmp-option-switcher--color .hmp-option-switcher__label::before{content:'КОЛІР';font-size:13px;color:#7a214f;font-weight:700;}
.single-product form.variations_form .hmp-option-switcher--color .hmp-option-button--color{width:34px !important;height:34px !important;}
.single-product form.variations_form .hmp-color-swatch{width:34px !important;height:34px !important;border-radius:999px !important;}
.single-product form.variations_form select[name*="color"],
.single-product form.variations_form tr.hmp-native-row-hidden select[name*="color"]{position:absolute !important;left:-9999px !important;opacity:0 !important;pointer-events:none !important;width:1px !important;height:1px !important;}
.single-product .product_meta .sku_wrapper .sku, .single-product .product_meta .sku{font-weight:700;}

/* V6.9 single product switchers styled like category */
.single-product .hmp-option-switcher--size,
.single-product .hmp-option-switcher--color{
  margin:10px 0 8px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.single-product .hmp-option-switcher--size .hmp-option-switcher__label,
.single-product .hmp-option-switcher--color .hmp-option-switcher__label{
  font-size:13px;
  font-weight:700;
  color:#7a214f;
  margin:0 0 8px;
}
.single-product .hmp-option-switcher--size .hmp-option-switcher__buttons,
.single-product .hmp-option-switcher--color .hmp-option-switcher__buttons{
  gap:8px;
}
.single-product .hmp-option-button--size{
  min-width:24px;
  height:22px;
  padding:0 7px;
  border-radius:999px;
  border:1px solid #f2cadb;
  background:#fff;
  color:#7a214f;
  font-size:11px;
  font-weight:700;
  box-shadow:none;
}
.single-product .hmp-option-button--size .hmp-option-button__content{display:block}
.single-product .hmp-option-button--size .hmp-option-button__label{font-size:11px;color:#7a214f}
.single-product .hmp-option-button--size:hover,
.single-product .hmp-option-button--size.is-active{
  transform:none;
  border-color:#ff2f92;
  box-shadow:0 0 0 3px rgba(255,47,146,.14);
}
.single-product .hmp-option-button--color{
  width:16px !important;
  height:16px !important;
}
.single-product .hmp-color-swatch{
  width:16px !important;
  height:16px !important;
  border-width:1.5px !important;
}

/* V6.9.3 duplicate native rows kill */
.single-product form.variations_form table.variations tr.hmp-native-row-hidden{display:none !important;}
.products .product .hmp-loop-variants{position:relative;z-index:3;}
.products .product .hmp-loop-color,
.woocommerce ul.products li.product .hmp-loop-color{position:relative;z-index:4;}
