/* V15 typography normalization. No external fonts, no layout replacement. */
:root {
  --tsk-font: "Segoe UI", Arial, sans-serif;
  --tsk-copy: calc(16px * var(--v15-text-scale, 1));
  --tsk-small: calc(14px * var(--v15-text-scale, 1));
  --tsk-label: calc(15px * var(--v15-text-scale, 1));
}
body.v15 { font-family: var(--tsk-font); --bs-body-font-family: var(--tsk-font); font-size: var(--tsk-copy); font-weight: 400; line-height: 1.55; letter-spacing: normal; }
body.v15 :is(button, input, select, textarea) { font-family: inherit; }
/* Legacy V3–V15 uses 850–950 in highly specific rules. Limit only typographic weight, not layout. */
body.v15 :is(h1,h2,h3,h4,h5,h6,.product-name,.v6-cart-product-title,.v6-payment-total h2) { font-weight: 650 !important; letter-spacing: -.018em; }
body.v15 :is(strong,b,.btn,.cat-link,.all-cats,.product-cta,.header-action .action-label strong,.v6-pay-method,.v6-choice,.badge,.small-label,.v6-step) { font-weight: 600 !important; }
body.v15 :is(.cat-link,.all-cats,.btn,.header-action .action-label strong) { letter-spacing: normal; }
body.v15 :is(.cat-link,.all-cats) { font-size: var(--tsk-small); }
body.v15 :is(.section-head p,.page-head p,.account-main p,.v6-account-shell p,.v6-cart-head p) { font-size: var(--tsk-label); line-height: 1.5; }
body.v15 :is(.product-meta,.rating,.stock-line,.v6-cart-meta,.v6-cart-paysecure,.v6-cart-support,.v6-line-price small,.v6-cart-actions a,.v6-cart-actions button,.header-action .action-label small) { font-size: calc(13px * var(--v15-text-scale, 1)); line-height: 1.45; }
body.v15 :is(.form-control,.form-select,.form-label) { font-size: var(--tsk-copy); line-height: 1.5; }
body.v15 :is(.form-label,.btn) { font-weight: 600 !important; }
body.v15 .state-card { max-width: 760px; padding: clamp(22px, 4vw, 42px); }
body.v15 .state-card :is(h1,h2) { font-size: calc(27px * var(--v15-text-scale, 1)); line-height: 1.3; }
body.v15 .state-card p { max-width: 62ch; font-size: var(--tsk-copy); line-height: 1.6; }
body.v15 .state-card .btn { font-size: var(--tsk-label); min-height: 44px; white-space: normal; }
body.v15 .v6-checkout-wrap .v6-checkout-card h2 { font-size: calc(20px * var(--v15-text-scale, 1)); line-height: 1.35; }
body.v15 .v6-checkout-wrap :is(.v6-checkout-card .sub,.v6-choice small,.v6-pay-method small,.v6-address-row p,.v6-checkout-product small,.v6-secure-note,.v6-checkout-title p,.v6-step,.small.text-muted) { font-size: var(--tsk-small); line-height: 1.55; }
body.v15 .v6-checkout-wrap :is(.v6-address-row strong,.v6-choice strong,.v6-pay-method strong,.v6-checkout-product strong,.v6-checkout-product b,.v6-summary-line,.v6-summary-total span,.v6-checkout-actions .btn) { font-size: var(--tsk-copy); line-height: 1.45; }
body.v15 .v6-checkout-wrap .v6-pay-method { position: relative; padding: 16px 42px 16px 16px; min-height: 116px; cursor: pointer; }
body.v15 .v6-checkout-wrap .v6-pay-method::after { content: ""; position: absolute; right: 16px; top: 17px; width: 19px; height: 19px; border: 1px solid #a9b9ad; border-radius: 50%; pointer-events: none; }
body.v15 .v6-checkout-wrap .v6-pay-method.active::after { border: 5px solid var(--v6-brand, #438851); }
body.v15 .v6-checkout-wrap .v6-pay-method:has(input:disabled) { cursor: not-allowed; }
body.v15 .v6-checkout-wrap .v6-pay-method i svg { width: 25px; height: 25px; display: block; color: var(--v6-brand-deep, #245b38); }
body.v15 .v6-payment-card h1 { font-size: calc(26px * var(--v15-text-scale, 1)); line-height: 1.3; }
body.v15 :is(.v6-payment-card,.v6-payment-side) :is(p,.small,.campaign-info,.v6-payment-total .line,.v6-payment-total small) { font-size: var(--tsk-label); line-height: 1.55; }
body.v15 .v6-payment-card :is(.form-control,.form-label,.form-check,.btn) { font-size: var(--tsk-copy); line-height: 1.5; }
@media (max-width: 767px) {
  body.v15 .state-card { margin: 24px auto; }
  body.v15 .state-card :is(h1,h2) { font-size: calc(23px * var(--v15-text-scale, 1)); }
  body.v15 .v6-checkout-wrap .v6-pay-method { min-height: 100px; }
}

body.v15.v12-account-page {
  --tsk-account-text: calc(15px * var(--v15-text-scale, 1));
  --tsk-account-detail: calc(13px * var(--v15-text-scale, 1));
}

body.v15.v12-account-page .v15-font-panel h2 { margin: 0 0 .3rem; }
body.v15.v12-account-page .v15-font-panel p { font-size: var(--tsk-account-detail); }
body.v15.v12-account-page .v15-font-options button {
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  font-size: var(--tsk-account-text);
  white-space: normal;
}

body.v15.v12-account-page .v15-font-options button:focus-visible {
  outline: 2px solid #174c2a;
  outline-offset: 2px;
}

body.v15.v12-account-page :is(.v12-account-mobile-menu summary,
  .v12-account-mobile-menu-grid a,.v12-account-profile strong,.v12-account-list a > span,
  .v12-account-action b,.v12-account-section h2) {
  font-size: var(--tsk-account-text);
  overflow-wrap: anywhere;
}

body.v15.v12-account-page :is(.v12-account-profile small,.v12-account-point,.v12-account-shortcut span,
  .v12-account-action small,.v6-account-recent small) {
  font-size: var(--tsk-account-detail);
  overflow-wrap: anywhere;
}

body.v15.v12-account-page :is(.page-head h1,.v6-account-hero h1) {
  font-size: calc(clamp(22px, 3vw, 31px) * var(--v15-text-scale, 1));
}

body.v15.v12-account-page .v6-rebuy h2 {
  font-size: calc(19px * var(--v15-text-scale, 1));
}

@media (max-width: 767.98px) {
  body.v15.v12-account-page .v15-font-options button { flex: 1 1 auto; padding-inline: .65rem; }
}

body.v15 .pdp-v3-info .pdp-v3-title {
  font-size: calc(clamp(20px, 2.1vw, 30px) * var(--v15-text-scale, 1));
  line-height: 1.24;
  letter-spacing: -.022em;
  overflow-wrap: anywhere;
}

body.v15 .product-card .product-name {
  font-size: calc(15px * var(--v15-text-scale, 1));
  line-height: 1.36;
}

body.v15 :is(.pdp-v3-info .v15-features-label, .pdp-detail-tabs .pdp-detail-panel > h2) {
  color: #245b38;
  font-size: calc(clamp(16px, 1.35vw, 19px) * var(--v15-text-scale, 1));
  line-height: 1.3;
  border-inline-start: 3px solid #438851;
  padding-inline-start: .55rem;
}

body.v15 .pdp-v3-info .v15-features-label {
  font-size: calc(15px * var(--v15-text-scale, 1));
  margin: .8rem 0 .45rem;
}

@media (max-width: 767.98px) {
  body.v15 .product-card .product-name { font-size: calc(14px * var(--v15-text-scale, 1)); }
}
