/* Warranty selector: compact, theme-friendly styles scoped to this plugin. */
.wwm-selector {
  display: block;
  clear: both;
  float: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 12px 0 14px;
  padding: 8px 10px 9px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: transparent;
}
.wwm-selector legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wwm-selector .wwm-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 7px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  line-height: 1.35;
}
.wwm-selector .wwm-option + .wwm-option {
  border-top: 1px solid #eeeeee;
}
.wwm-selector .wwm-option input[type="radio"] {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: currentColor;
}
.wwm-selector .wwm-option-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.wwm-selector .wwm-option-copy strong {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.wwm-selector .wwm-option-price {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}
.wwm-selector .wwm-option-price small,
.wwm-selector .wwm-option-price .wwm-per-unit {
  display: inline;
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: inherit;
  opacity: .75;
}
.wwm-selector .wwm-option-price .woocommerce-Price-amount,
.wwm-selector .wwm-option-price .woocommerce-Price-currencySymbol {
  white-space: nowrap;
}
.wwm-selector .wwm-option.is-selected {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
.wwm-selector .wwm-summary {
  display: none;
}
.wwm-selector .wwm-terms-link {
  display: inline-block;
  margin: 5px 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #777777;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
.wwm-selector .wwm-terms-link:hover,
.wwm-selector .wwm-terms-link:focus-visible {
  color: inherit;
  text-decoration: underline;
}
.wwm-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
}
.wwm-modal.is-open { display: block; }
.wwm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 28, .5);
}
.wwm-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 720px);
  max-height: min(75vh, 680px);
  margin: 0 auto;
  padding: 24px 24px max(24px, env(safe-area-inset-bottom));
  overflow: auto;
  box-sizing: border-box;
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  color: #202124;
  box-shadow: 0 -8px 36px rgba(0, 0, 0, .16);
}
.wwm-sheet h3 { margin: 0 42px 16px 0; font-size: 20px; }
.wwm-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.wwm-terms-content { font-size: 14px; line-height: 1.65; }
.wwm-order-warranty { margin-top: 5px; font-size: 12px; line-height: 1.55; }
.wwm-order-warranty br { display: block; }
@media (min-width: 768px) {
  .wwm-sheet { bottom: 24px; border-radius: 16px; }
  .wwm-overlay { backdrop-filter: blur(2px); }
}
@media (max-width: 480px) {
  .wwm-selector { padding: 7px 8px 8px; }
  .wwm-selector .wwm-option { gap: 7px; padding: 7px 0; }
  .wwm-selector .wwm-option-copy strong { font-size: 12px; }
  .wwm-selector .wwm-option-price { gap: 3px; font-size: 12px; }
  .wwm-selector .wwm-option-price small,
  .wwm-selector .wwm-option-price .wwm-per-unit { font-size: 10px; }
  .wwm-selector .wwm-terms-link { margin-left: 22px; font-size: 12px; }
  .wwm-sheet { padding: 22px 18px max(22px, env(safe-area-inset-bottom)); }
}
@media (max-width: 350px) {
  .wwm-selector .wwm-option { gap: 6px; }
  .wwm-selector .wwm-option-copy strong { font-size: 11px; }
  .wwm-selector .wwm-option-price { font-size: 11px; }
}
