/*
Theme Name: Perpetual Peptide Child
Theme URI: https://perpetualpeptide.co
Description: Stripped-down child theme baseline for Twenty Twenty-Five.
Author: Perpetual Peptide
Template: twentytwentyfive
Version: 1.0.0
Text Domain: perpetual-peptide-child
*/

/* Portal-layer vars are aliased to the canonical --pm-* tokens emitted from
   wp_head. Hex values here are fallbacks for when --pm-* is unset. */
:root {
  --pp-bg: var(--pm-bg, #eef0f3);
  --pp-surface: var(--pm-paper, var(--pm-paper));
  --pp-surface-soft: var(--pm-bg, #f4f5f7);
  --pp-text: var(--pm-ink, #15171b);
  --pp-text-soft: var(--pm-ink, #2a2f38);
  --pp-muted: var(--pm-muted, #6b7280);
  --pp-border: rgba(21, 23, 27, 0.14);
  --pp-ink: var(--pm-ink, #1a1b20);
  --pp-ink-strong: var(--pm-dark, #101115);
  --pp-accent: var(--pm-accent, var(--pm-accent));
  --pp-accent-strong: var(--pm-accent-dark, var(--pm-accent-dark));
  --pp-button-gradient: var(--pm-accent-gradient, linear-gradient(90deg, var(--pm-accent) 0%, #de395b 30%, #e65553 68%, #f38145 100%));
  --pp-button-gradient-hover: var(--pm-accent-gradient-hover, linear-gradient(90deg, var(--pm-accent-dark) 0%, #d63356 30%, #e04e51 68%, #ea7741 100%));
  --pp-shadow-soft: 0 16px 34px rgba(16, 17, 21, 0.08);
  --pp-font-base: "Google Sans", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --pp-font-accent: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --pp-font-button: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --ihl-font-primary: "Google Sans", "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
  --ihl-font-secondary: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif !important;
  --wp--preset--font-family--display: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif !important;
  --wp--preset--font-family--mono: "Noto Sans", "Helvetica Neue", Arial, sans-serif !important;
}

html body,
html body p,
html body li,
html body dd,
html body dt,
html body label,
html body input,
html body select,
html body textarea,
html body button,
html body td,
html body th,
html body .wp-block-paragraph {
  font-family: var(--ihl-font-primary, var(--pp-font-base)) !important;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .wp-block-heading,
html body .elementor-widget-heading .elementor-heading-title {
  font-family: var(--ihl-font-secondary, var(--pp-font-accent)) !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--pp-bg);
  color: var(--pp-text);
  font-family: var(--pp-font-base);
  letter-spacing: 0.01em;
  line-height: 1.55;
}

.wp-site-blocks {
  min-height: 100vh;
  background: var(--pp-bg);
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pp-ink-strong);
}

h1,
h2,
h3,
.wp-block-heading,
.elementor-widget-heading .elementor-heading-title,
.ihl-shop-banner-title,
.ihl-home-link-label {
  font-family: var(--pp-font-accent);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
}

h2,
.wp-block-heading {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

h3,
.elementor-widget-heading .elementor-heading-title,
.ihl-shop-banner-title,
.ihl-home-story-title,
.ihl-home-featured-title,
.ihl-home-coa-title,
.ihl-home-insta-title {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  line-height: 1.14;
}

.ihl-shop-banner-subtitle,
.ihl-home-story-text,
.ihl-home-coa-subtitle,
.ihl-home-insta-subtitle {
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  line-height: 1.45;
}

h4,
h5,
h6,
p,
li,
label,
input,
select,
textarea {
  font-family: var(--pp-font-base);
}

.wp-site-blocks > header,
header.wp-block-template-part {
  background: var(--pp-surface);
  border-bottom: 1px solid var(--pp-border);
}

.wp-site-blocks > header .wp-site-title,
.wp-site-blocks > header .wp-block-navigation-item__content {
  color: var(--pp-text);
}

.wp-site-title a {
  text-decoration: none;
}

.wp-site-blocks > header .wp-block-navigation-item__content {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

button:not(.cl-mobile-menu-toggle):not(.cl-mobile-flyout-close),
input[type="submit"],
input[type="button"],
input[type="reset"],
.button,
.wp-element-button,
.wp-block-button__link,
.elementor-button,
.woocommerce a.button,
/* Portal default button = primary CTA. Driven by Theme Options → Colors →
   Primary Button (btn_primary_*). Hover uses btn_primary_hover_bg. */
.woocommerce button.button,
.woocommerce input.button,
.ihl-portal-button,
.ihl-shop-banner-button {
  padding: 10px 16px !important;
  border: 1px solid var(--pm-btn-primary-bg, var(--pp-ink)) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: var(--pm-btn-primary-text, var(--pm-paper)) !important;
  font-family: var(--pp-font-button) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

button:not(.cl-mobile-menu-toggle):not(.cl-mobile-flyout-close):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.elementor-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.ihl-portal-button:hover,
.ihl-shop-banner-button:hover {
  background: var(--pm-btn-primary-hover-bg, var(--pp-ink-strong)) !important;
  border-color: var(--pm-btn-primary-hover-bg, var(--pp-ink-strong)) !important;
  color: var(--pm-btn-primary-text, var(--pm-paper)) !important;
  transform: translateY(-1px);
}

/* Pointer-focus suppression only — keyboard :focus-visible inherits the
   global 2px outline from style.css:72. */
.cl-mobile-menu-toggle,
.cl-mobile-menu-toggle:hover,
.cl-mobile-menu-toggle:focus:not(:focus-visible),
.cl-mobile-menu-toggle:active {
  background: var(--pm-paper) !important;
  border-color: #cfd3dd !important;
  color: #111822 !important;
  box-shadow: none !important;
  transform: none !important;
}

.cl-mobile-flyout-close,
.cl-mobile-flyout-close:hover,
.cl-mobile-flyout-close:focus:not(:focus-visible),
.cl-mobile-flyout-close:active {
  background: var(--pm-paper) !important;
  border-color: #cfd6e2 !important;
  color: #111822 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Portal secondary button variant. Driven by btn_secondary_*. */
.ihl-portal-button.secondary {
  background: var(--pm-btn-secondary-bg, var(--pp-surface));
  color: var(--pm-btn-secondary-text, var(--pp-ink));
  border-color: var(--pm-btn-secondary-bg, var(--pp-ink));
}
.ihl-portal-button.secondary:hover,
.ihl-portal-button.secondary:focus-visible {
  background: var(--pm-btn-secondary-hover-bg, var(--pp-surface-soft));
  border-color: var(--pm-btn-secondary-hover-bg, var(--pp-ink-strong));
  color: var(--pm-btn-secondary-text, var(--pp-ink));
}

/* Portal tertiary (outlined) variant — keyed via .ihl-portal-button.tertiary
   or .ihl-portal-button.outline so any render site can opt into it. */
.ihl-portal-button.tertiary,
.ihl-portal-button.outline {
  background: var(--pm-btn-tertiary-bg, transparent);
  color: var(--pm-btn-tertiary-text, var(--pp-ink));
  border-color: var(--pm-btn-tertiary-border, var(--pp-border));
}
.ihl-portal-button.tertiary:hover,
.ihl-portal-button.outline:hover,
.ihl-portal-button.tertiary:focus-visible,
.ihl-portal-button.outline:focus-visible {
  background: var(--pm-btn-tertiary-hover-bg, var(--pp-surface-soft));
  color: var(--pm-btn-tertiary-text, var(--pp-ink));
}

/* Portal danger button — destructive actions (remove item, cancel order). */
.ihl-portal-button.danger {
  background: var(--pm-btn-danger-bg, var(--pm-btn-danger-bg));
  color: var(--pm-btn-danger-text, var(--pm-paper));
  border-color: var(--pm-btn-danger-bg, var(--pm-btn-danger-bg));
}
.ihl-portal-button.danger:hover,
.ihl-portal-button.danger:focus-visible {
  background: var(--pm-btn-danger-bg, var(--pm-btn-danger-bg));
  filter: brightness(0.94);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
select,
textarea,
.elementor-field,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
  border: 1px solid rgba(18, 20, 24, 0.2) !important;
  border-radius: 6px !important;
  background: var(--pp-surface) !important;
  color: var(--pp-text) !important;
}

/* Pointer-focus only — keyboard :focus-visible inherits the global accent
   outline+halo from style.css. */
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  border-color: var(--pp-ink) !important;
  box-shadow: 0 0 0 2px rgba(77, 190, 214, 0.25) !important;
  outline: none;
}

.wp-block-group,
.elementor-widget-container,
.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  border-color: var(--pp-border);
}

.woocommerce ul.products li.product,
.ihl-shop-card,
.ihl-coa-card,
.ihl-portal-card,
.ihl-portal-order-card,
.ihl-checkout-card,
.ihl-checkout-summary-card {
  border: 1px solid #d5d9df;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8f9fb 0%, #f0f2f5 100%);
  box-shadow: var(--pp-shadow-soft);
}

.ihl-shop-card-media,
.ihl-coa-card-media {
  border-radius: 10px;
  background-color: var(--pm-paper);
}

.ihl-shop-card-vendor,
.ihl-shop-card-price-label,
.ihl-home-disclaimer-line,
.ihl-portal-subheading {
  color: var(--pp-muted);
}

.pm-portal .ihl-portal .ihl-shop-card-vendor-link,
.pm-portal .ihl-portal .ihl-account-product-vendor-link,
.ihl-portal.ihl-portal--home .ihl-home-featured .ihl-shop-card-vendor-link {
  text-decoration: none;
  color: inherit;
}

.ihl-shop-card-name,
.ihl-coa-card-name,
.ihl-home-disclaimer-title,
.ihl-portal-header h2 {
  color: var(--pp-text);
}

.ihl-portal-logo {
  display: inline-flex;
  align-items: center;
  max-width: min(840px, 82vw);
}

.ihl-portal-logo img {
  display: block;
  max-height: 180px;
  width: auto;
  max-width: 100%;
}

.ihl-portal-header-actions .ihl-portal-icon-link img {
  width: 22px;
  height: 22px;
  display: block;
}

.ihl-shop-grid,
.ihl-home-product-grid,
.ihl-coa-grid {
  gap: 16px;
}

.ihl-shop-banner-slider {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--pp-shadow-soft);
}

.ihl-shop-banner {
  background-color: #dfe2e7;
}

.ihl-shop-banner::after {
  background: linear-gradient(
    120deg,
    rgba(15, 16, 20, 0.8) 0%,
    rgba(15, 16, 20, 0.28) 58%,
    rgba(15, 16, 20, 0) 100%
  );
}

.ihl-shop-banner .ihl-shop-banner-kicker {
  color: var(--pm-paper);
  font-family: var(--pp-font-base);
  letter-spacing: 0.08em;
}

.ihl-shop-banner .ihl-shop-banner-title,
.ihl-shop-banner .ihl-shop-banner-subtitle {
  color: var(--pm-paper);
}

.ihl-home-links {
  gap: 14px;
}

@media (max-width: 768px) {
  .ihl-portal--pricing .ihl-shop-banner-slider {
    width: auto;
    margin: 0;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .ihl-portal--pricing .ihl-shop-banner-slider {
    width: auto;
    margin: 0;
  }

  .ihl-portal--pricing .ihl-shop-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .ihl-portal--pricing .ihl-shop-sidebar {
    position: static;
    display: none;
    padding: 16px;
    border: 1px solid var(--rr-line, #e5e7eb);
    background: var(--pm-paper);
  }

  .ihl-portal--pricing.ihl-shop-filters-open .ihl-shop-sidebar {
    display: block;
  }

  .ihl-portal--pricing .ihl-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .ihl-portal--pricing .ihl-shop-card,
  .ihl-portal--pricing .ihl-shop-card-body {
    min-width: 0;
  }

  .ihl-portal--pricing .ihl-shop-card-add {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .ihl-portal--pricing .ihl-shop-add-button {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    font-size: 11px;
    height: 34px;
    gap: 8px;
    justify-content: center;
  }

  .ihl-portal--pricing .ihl-shop-qty-input {
    width: 50px;
    min-width: 0;
    height: 34px;
    font-size: 13px;
  }
}

.ihl-home-link {
  border-radius: 0;
  background: linear-gradient(160deg, #2a2b31 0%, #17181c 100%);
  box-shadow: none;
}

.ihl-home-link-label,
.ihl-home-link-note {
  color: var(--pm-paper);
}

.ihl-home-disclaimer-card,
.ihl-home-trust,
.ihl-home-featured,
.ihl-portal-table,
.ihl-portal-payment {
  border: 1px solid #d8dde4;
  border-radius: 12px;
  background: var(--pp-surface);
  box-shadow: var(--pp-shadow-soft);
}

.ihl-home-trust-logo {
  filter: grayscale(1) contrast(1.05);
}

.ihl-portal-notice.info {
  border-color: rgba(77, 190, 214, 0.55);
  background: rgba(120, 212, 231, 0.18);
}

.ihl-portal-table th {
  background: #eaedf1;
  color: var(--pp-text-soft);
}

.ihl-portal-table td {
  background: var(--pm-paper);
}

hr {
  border: 0;
  border-top: 1px solid var(--pp-border);
}

footer,
.site-footer,
.wp-site-blocks > footer,
footer.wp-block-template-part,
.wp-block-template-part.wp-block-template-part-footer {
  border-top: none;
  background: linear-gradient(90deg, #17181d 0%, #20222a 100%);
  color: var(--pm-paper);
}

footer a,
footer .wp-block-site-title a,
footer .wp-block-navigation a,
.site-footer a {
  color: var(--pm-paper);
}

footer .wp-block-navigation-item__content {
  font-family: var(--pp-font-accent);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

footer .rr-footer-logo,
footer .custom-logo,
.site-footer .rr-footer-logo,
.site-footer .custom-logo,
footer .wp-block-site-logo img,
.site-footer .wp-block-site-logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(260px, 72vw) !important;
  max-height: 74px !important;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .ihl-shop-grid,
  .ihl-home-product-grid,
  .ihl-coa-grid {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .wp-site-blocks > header .wp-block-navigation-item__content {
    font-size: 11px;
  }

  h1,
  h2,
  h3,
  .wp-block-heading,
  .elementor-widget-heading .elementor-heading-title,
  .ihl-shop-banner-title {
    letter-spacing: 0.05em;
  }

  .ihl-shop-banner-slider {
    border-radius: 10px;
  }
}

@media (min-width: 501px) and (max-width: 768px) {
  .pm-portal .wp-block-navigation__responsive-container:not(.is-menu-open),
  .pm-portal .wp-block-navigation:not(.is-menu-open) .wp-block-navigation__responsive-container {
    display: none;
    position: fixed;
    width: 0;
    height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: -1;
  }

  .pm-portal .wp-block-navigation__responsive-container-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .pm-portal .ihl-portal .ihl-portal-header {
    display: flex;
  }

  .pm-portal .ihl-portal .ihl-portal-header-actions {
    display: inline-flex;
    align-items: center;
  }

  .pm-portal .ihl-portal-menu-toggle {
    display: none;
  }

  .pm-portal .ihl-portal .ihl-portal-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 16px;
  }
}

/* Papaya portal auth overrides */
body.rr-portal-page .ihl-portal,
body.rr-portal-page .ihl-portal p,
body.rr-portal-page .ihl-portal li,
body.rr-portal-page .ihl-portal span,
body.rr-portal-page .ihl-portal label,
body.rr-portal-page .ihl-portal input,
body.rr-portal-page .ihl-portal select,
body.rr-portal-page .ihl-portal textarea,
body.rr-portal-page .ihl-portal td,
body.rr-portal-page .ihl-portal th,
body.rr-portal-page .ihl-portal a {
  font-family: "Google Sans", "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

body.rr-portal-page .ihl-portal h1,
body.rr-portal-page .ihl-portal h2,
body.rr-portal-page .ihl-portal h3,
body.rr-portal-page .ihl-portal h4,
body.rr-portal-page .ihl-portal h5,
body.rr-portal-page .ihl-portal h6,
body.rr-portal-page .ihl-portal .wp-block-heading,
body.rr-portal-page .ihl-portal .ihl-auth-card-head h2,
body.rr-portal-page .ihl-portal .ihl-verify-title {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif !important;
}

body.rr-portal-page .ihl-portal button,
body.rr-portal-page .ihl-portal .rr-auth-btn,
body.rr-portal-page .ihl-portal .ihl-portal-button,
body.rr-portal-page .ihl-portal .ihl-portal-submit,
body.rr-portal-page .ihl-portal input[type="submit"],
body.rr-portal-page .ihl-portal input[type="button"],
body.rr-portal-page .ihl-portal input[type="reset"] {
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

body.rr-login-page .wp-block-post-title,
body.rr-login-page h1.wp-block-post-title,
body.rr-login-page .entry-title,
body.rr-login-page .entry-header {
  display: none !important;
}

.pm-portal .wp-block-post-title,
.pm-portal h1.wp-block-post-title,
.pm-portal .entry-title,
.pm-portal .entry-header {
  display: none;
}

body.rr-login-page .rr-auth-input-wrap--password {
  position: relative !important;
  display: block !important;
}

body.rr-login-page .rr-auth-input-wrap--password .rr-auth-input {
  padding-right: 2.8rem !important;
}

body.rr-login-page .rr-auth-password-toggle,
body.rr-login-page #ihl-loginform .rr-auth-password-toggle {
  position: absolute !important;
  right: 0.7rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 1.4rem !important;
  height: 1.4rem !important;
  min-width: 1.4rem !important;
  min-height: 1.4rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6b7280 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

body.rr-login-page .rr-auth-password-toggle:hover,
body.rr-login-page #ihl-loginform .rr-auth-password-toggle:hover {
  transform: translateY(-50%) !important;
  background: transparent !important;
  border-color: transparent !important;
  color: #111827 !important;
}

body.rr-login-page .rr-auth-password-toggle svg,
body.rr-login-page #ihl-loginform .rr-auth-password-toggle svg {
  width: 1.1rem !important;
  height: 1.1rem !important;
  display: block;
  stroke: currentColor !important;
}

/* Suppress focus treatment ONLY for pointer clicks; keyboard focus-visible
   inherits the global 2px outline from style.css :focus-visible rule. */
body.rr-login-page .rr-auth-password-toggle:focus:not(:focus-visible),
body.rr-login-page #ihl-loginform .rr-auth-password-toggle:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* Redacted-style login shell layout */
body.rr-login-page header,
body.rr-login-page .site-header,
body.rr-login-page #masthead,
body.rr-login-page .wp-site-blocks > header,
body.rr-login-page header.wp-block-template-part,
body.rr-login-page .ihl-portal-header,
body.rr-login-page .ihl-portal.ihl-portal--login .ihl-portal-header {
  display: none !important;
}

body.rr-login-page footer.cl-footer,
body.rr-login-page .cl-footer {
  display: block !important;
}

body footer.cl-footer,
body .cl-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.rr-login-page .wp-block-navigation,
body.rr-login-page .wp-block-navigation__responsive-container,
body.rr-login-page .wp-block-navigation__responsive-container-open,
body.rr-login-page .ihl-portal-mobile-cart {
  display: none !important;
}

body.rr-login-page .wp-site-blocks {
  padding-top: 0 !important;
}

body.rr-login-page :where(.wp-site-blocks) > :first-child {
  margin-top: 0 !important;
}

body.rr-login-page {
  overflow: auto;
  min-height: 100vh;
}

body.rr-login-page.rr-login-scroll {
  overflow: auto;
  height: auto;
}

@media (max-width: 768px) {
  .has-global-padding {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  body.rr-login-page .wp-site-blocks,
  body.rr-login-page .wp-block-post-content,
  body.rr-login-page .entry-content {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .has-global-padding > .alignfull {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body.rr-login-page .ihl-portal-header,
  body.rr-login-page .ihl-portal.ihl-portal--login .ihl-portal-header {
    display: none;
  }

  body.rr-login-page .ihl-portal--login .ihl-portal-login-wrap {
    padding: 28px 10px 36px;
    min-height: auto;
    align-items: flex-start;
  }

  body.rr-login-page .ihl-portal--login .ihl-portal-login,
  body.rr-login-page .rr-auth-shell {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }

  body.rr-login-page .rr-auth-card,
  body.rr-login-page .ihl-portal-login-card {
    padding: 18px 14px;
    border-radius: 0.3rem;
  }

  body.rr-login-page .rr-auth-form {
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  body.rr-login-page .ihl-portal--login .ihl-portal-login-wrap {
    padding: 24px 6px 32px;
  }

  body.rr-login-page .ihl-portal-login-card,
  body.rr-login-page .rr-auth-card {
    padding: 16px 12px;
  }
}

/* Papaya portal visual system (Shop/COAs/Orders/Account) */
.pm-portal {
  background: var(--pm-bg);
}

.pm-portal .wp-site-blocks {
  background: var(--pm-bg);
  padding-top: 0;
  padding-bottom: 0;
  --wp--style--block-gap: 0;
}

.pm-portal .wp-site-blocks > * + * {
  margin-block-start: 0;
}

.pm-portal .wp-site-blocks .wp-block-shortcode {
  margin: 0;
}

.pm-portal .has-global-padding {
  padding-top: 0;
  padding-bottom: 0;
}

.pm-portal .wp-block-group.alignfull.has-global-padding {
  padding-top: 0;
  padding-bottom: 0;
}

.pm-portal .wp-site-blocks > header,
.pm-portal header.wp-block-template-part,
.pm-portal .wp-site-blocks > .wp-block-template-part,
.pm-portal .site-header,
.pm-portal #masthead {
  display: none;
}

.pm-portal .wp-site-blocks > header,
.pm-portal header.wp-block-template-part,
.pm-portal .wp-site-blocks > header.wp-block-template-part {
  display: block;
}

/* Keep portal header replacement, but allow footer/non-header template parts to render. */
.pm-portal .wp-site-blocks > .wp-block-template-part:not(header.wp-block-template-part),
.pm-portal .wp-site-blocks > footer,
.pm-portal footer.wp-block-template-part,
.pm-portal .site-footer {
  display: block;
}

.pm-portal .wp-block-post-content,
.pm-portal .entry-content {
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
}

/* Prevent duplicate theme footers on portal routes. */
.pm-portal .wp-site-blocks > footer:not(.cl-footer),
.pm-portal footer.wp-block-template-part:not(.cl-footer),
.pm-portal .site-footer:not(.cl-footer) {
  display: none;
}

/* Portal shortcodes render inside constrained content; force footer to full-bleed. */
.pm-portal footer.cl-footer,
.pm-portal .cl-footer {
  display: block;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.pm-portal .cl-footer .cl-wrap {
  width: min(1240px, calc(100vw - 64px));
}

.pm-portal .cl-footer {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .pm-portal .cl-footer .cl-wrap {
    width: calc(100vw - 28px);
  }
}

.pm-portal :where(.wp-site-blocks) > :first-child,
.pm-portal .wp-block-post-content > :first-child {
  margin-top: 0;
}

.pm-portal .ihl-portal {
  max-width: min(1320px, calc(100vw - 52px));
  padding: 10px 0 0;
  background: transparent;
}

.pm-portal .ihl-portal-main {
  display: grid;
  gap: 22px;
}

.pm-portal .ihl-portal .ihl-portal-header {
  margin: 0 auto 24px;
  padding: 10px 0 8px;
  border-bottom: 1px solid #d8dee8;
  background: transparent;
  display: grid;
  grid-template-areas:
    "brand nav actions"
    "preview preview preview";
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
  row-gap: 10px;
  min-height: 78px;
}

.pm-portal .ihl-portal .ihl-portal-header-main {
  display: contents;
}

.pm-portal .ihl-portal .ihl-portal-logo {
  grid-area: brand;
  max-width: none;
}

.pm-portal .ihl-portal .ihl-portal-logo img {
  max-height: 56px;
  width: auto;
}

.pm-portal .ihl-portal .ihl-portal-header h2 {
  display: none;
}

.pm-portal .ihl-portal .ihl-portal-nav {
  grid-area: nav;
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px;
  justify-self: center;
}

.pm-portal .ihl-portal .ihl-portal-nav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2a3038;
  padding: 6px 0;
  text-decoration: none;
}

.pm-portal .ihl-portal .ihl-portal-nav a:hover {
  color: var(--pm-accent, var(--pm-accent));
}

.pm-portal .ihl-portal .ihl-portal-nav a.is-active {
  color: #111111;
}

.pm-portal .ihl-portal .ihl-portal-nav a.is-active::after {
  height: 2px;
  bottom: -5px;
  background: #111111;
}

.pm-portal .ihl-portal .ihl-portal-header-actions {
  grid-area: actions;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  margin: 0;
}

.pm-portal .ihl-portal .ihl-portal-menu-toggle {
  display: none;
}

.pm-portal .ihl-portal .ihl-portal-icon-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #cfd3dd;
  background: var(--pm-paper);
  padding: 0;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  align-self: center;
}

.pm-portal .ihl-portal .ihl-portal-icon-link .ihl-portal-icon-image,
.pm-portal .ihl-portal .ihl-portal-icon-link img {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  position: static;
  inset: auto;
  vertical-align: middle;
  object-fit: contain;
  object-position: center center;
  transform: none;
  translate: none;
}

.pm-portal .ihl-portal .ihl-portal-icon-link.has-avatar {
  overflow: hidden;
  padding: 0;
}

.pm-portal .ihl-portal .ihl-portal-icon-link.has-avatar .ihl-portal-icon-avatar {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 999px;
  display: block;
  transform: none;
  translate: none;
}

.pm-portal .ihl-portal-icon-link.cl-icon-btn,
.pm-portal .ihl-portal-mobile-cart {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #cfd3dd;
  background: var(--pm-paper);
  padding: 0;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  align-self: center;
}

.pm-portal .ihl-portal-icon-link[data-portal-icon="cart"],
.pm-portal .ihl-portal-mobile-cart {
  overflow: visible;
}

.pm-portal .ihl-portal-icon-link.cl-icon-btn .ihl-portal-icon-image,
.pm-portal .ihl-portal-icon-link.cl-icon-btn img,
.pm-portal .ihl-portal-mobile-cart .ihl-portal-icon-image,
.pm-portal .ihl-portal-mobile-cart img {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  position: static;
  inset: auto;
  vertical-align: middle;
  object-fit: contain;
  object-position: center center;
  transform: none;
  translate: none;
}

.pm-portal .ihl-portal-icon-link.cl-icon-btn.has-avatar .ihl-portal-icon-avatar,
.pm-portal .ihl-portal-mobile-cart.has-avatar .ihl-portal-icon-avatar {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 999px;
  display: block;
  transform: none;
  translate: none;
}

.pm-portal .ihl-portal .ihl-portal-icon-badge {
  top: -6px;
  right: -8px;
  background: #111111;
  color: var(--pm-paper);
  z-index: 3;
}

.pm-portal .ihl-portal .ihl-portal-preview-row {
  grid-area: preview;
  justify-self: start;
}

.pm-portal .ihl-portal .ihl-portal-preview-row .ihl-portal-preview {
  grid-column: auto;
  justify-self: start;
  margin-top: 0;
  border-radius: 10px;
  border: 1px solid #d7dce5;
  background: var(--pm-paper);
}

.pm-portal .ihl-portal .ihl-portal-notice {
  border-radius: 10px;
}

.pm-portal .ihl-portal .ihl-shop-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 20px;
}

.pm-portal .ihl-portal .ihl-shop-sidebar {
  position: sticky;
  top: 22px;
  border: 1px solid #dde2eb;
  border-radius: 14px;
  background: var(--pm-paper);
  box-shadow: 0 12px 30px rgba(15, 18, 22, 0.06);
  padding: 16px;
}

.pm-portal .ihl-portal .ihl-shop-sidebar-inner {
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal .ihl-shop-filter-group {
  border: 1px solid #e5e8ef;
  border-radius: 10px;
  background: #fbfcfe;
  padding: 8px 10px;
}

.pm-portal .ihl-portal .ihl-shop-filter-group > summary {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}

.pm-portal .ihl-portal .ihl-shop-filter-options {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.pm-portal .ihl-portal .ihl-shop-filter-option {
  font-size: 13px;
  color: #303846;
}

.pm-portal .ihl-portal .ihl-shop-content {
  min-width: 0;
}

.pm-portal .ihl-portal .ihl-shop-banner-slider {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dbe1ea;
  box-shadow: 0 16px 34px rgba(16, 19, 25, 0.1);
}

.pm-portal .ihl-portal .ihl-shop-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 2px 0 0;
}

.pm-portal .ihl-portal .ihl-shop-filter-toggle {
  border: 1px solid #d6dce6;
  border-radius: 10px;
  background: var(--pm-paper);
  color: #1f2632;
  padding: 10px 12px;
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-portal .ihl-portal .ihl-shop-search {
  position: relative;
  display: block;
  max-width: none;
}

.pm-portal .ihl-portal .ihl-shop-search input {
  width: 100%;
  border: 1px solid #d6dce6;
  border-radius: 10px;
  background: var(--pm-paper);
  font-size: 14px;
  padding: 11px 42px 11px 12px;
}

.pm-portal .ihl-portal .ihl-shop-search .ihl-shop-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pm-portal .ihl-portal .ihl-shop-search .ihl-shop-icon svg,
.pm-portal .ihl-portal .ihl-shop-search .ihl-shop-icon img {
  width: 16px;
  height: 16px;
  display: block;
}

.pm-portal .ihl-portal .ihl-shop-filter-toggle .ihl-shop-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 14px;
}

.pm-portal .ihl-portal .ihl-shop-filter-toggle .ihl-shop-icon svg,
.pm-portal .ihl-portal .ihl-shop-filter-toggle .ihl-shop-icon img {
  width: 14px;
  height: 14px;
  display: block;
}

.pm-portal .ihl-portal .ihl-shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pm-portal .ihl-portal .ihl-shop-card,
.pm-portal .ihl-portal .ihl-coa-card {
  border: 1px solid #dde2eb;
  border-radius: 16px;
  background: var(--pm-paper);
  box-shadow: 0 12px 28px rgba(15, 18, 22, 0.08);
}

.pm-portal .ihl-portal .ihl-shop-card {
  padding: 14px;
  display: grid;
  align-content: start;
  min-width: 0;
}

.pm-portal .ihl-portal .ihl-shop-card-media {
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  background-color: #f5f7fb;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.pm-portal .ihl-portal .ihl-shop-card-media.has-image {
  min-height: 0;
  background: transparent;
}

.pm-portal .ihl-portal .ihl-shop-card-media.has-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.pm-portal .ihl-portal .ihl-shop-card-media,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-media,
.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-media,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-media,
.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-thumb,
.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card-media,
.ihl-portal.ihl-portal--home .ihl-home-featured .ihl-shop-card-media {
  position: relative;
  overflow: hidden;
}

.pm-portal .ihl-portal .ihl-shop-card-media::after,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-media::after,
.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-media::after,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-media::after,
.ihl-portal.ihl-portal--home .ihl-home-featured .ihl-shop-card-media::after {
  content: "Image for representation only";
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 16px);
  min-height: 16px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: rgba(17, 24, 39, 0.68);
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-thumb::after {
  content: "Rep.";
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 10px;
  padding: 1px 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(17, 24, 39, 0.62);
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.pm-portal .ihl-portal .ihl-shop-card-body {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}

.pm-portal .ihl-portal .ihl-shop-card-vendor {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #667085;
}

.pm-portal .ihl-portal .ihl-shop-card-name {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1.04;
  text-transform: uppercase;
  color: #111622;
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.pm-portal .ihl-portal .ihl-shop-card-price,
.pm-portal .ihl-portal .ihl-shop-card-price-value {
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #121823;
}

.pm-portal .ihl-portal .ihl-shop-card-price-label {
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pm-portal .ihl-portal .ihl-shop-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid #d3dae7;
  border-radius: 999px;
  background: #f8faff;
  padding: 0 10px;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #3b4352;
}

.pm-portal .ihl-portal .ihl-shop-card-add {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.pm-portal .ihl-portal .ihl-shop-add-button,
.pm-portal .ihl-portal .ihl-portal-button.ihl-shop-add-button {
  width: 100%;
  border: 0;
  border-radius: 10px;
  min-height: 38px;
  background: #111622;
  color: var(--pm-paper);
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
  padding: 10px 12px;
}

.pm-portal .ihl-portal .ihl-shop-add-button:hover {
  background: #111622;
  color: var(--pm-paper);
}

.pm-portal .ihl-portal .ihl-shop-qty-input {
  width: 58px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #d0d8e6;
  text-align: center;
  font-size: 13px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.pm-portal .ihl-portal .ihl-shop-qty-input::-webkit-outer-spin-button,
.pm-portal .ihl-portal .ihl-shop-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pm-portal .ihl-portal .ihl-shop-card--mini .ihl-shop-card-media {
  min-height: 132px;
}

.pm-portal .ihl-portal .ihl-shop-card--mini .ihl-shop-card-name {
  font-size: 20px;
}

.pm-portal .ihl-portal .ihl-portal-button,
.pm-portal .ihl-portal .ihl-portal-submit {
  border-radius: 10px;
}

.pm-portal .ihl-portal .ihl-cart-summary-card,
.pm-portal .ihl-portal .ihl-checkout-card,
.pm-portal .ihl-portal .ihl-account-card,
.pm-portal .ihl-portal .ihl-account-panel,
.pm-portal .ihl-portal .ihl-portal-order-card,
.pm-portal .ihl-portal .ihl-portal-table {
  border: 1px solid #dbe1eb;
  border-radius: 14px;
  background: var(--pm-paper);
  box-shadow: 0 12px 28px rgba(15, 18, 22, 0.06);
}

@media (max-width: 1150px) {
  .pm-portal .ihl-portal .ihl-shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pm-portal .ihl-portal .ihl-shop-sidebar {
    position: static;
    top: auto;
  }

  .pm-portal .ihl-portal .ihl-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1151px) and (max-width: 1380px) {
  .pm-portal .ihl-portal .ihl-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .pm-portal .ihl-portal {
    max-width: min(1320px, calc(100vw - 24px));
  }

  .pm-portal .ihl-portal .ihl-portal-header {
    grid-template-areas:
      "brand actions"
      "nav nav"
      "preview preview";
    grid-template-columns: 1fr auto;
    row-gap: 12px;
    min-height: 72px;
    padding: 10px 0;
  }

  .pm-portal .ihl-portal .ihl-portal-header-main {
    display: contents;
  }

  .pm-portal .ihl-portal .ihl-portal-nav {
    grid-area: nav;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    gap: 18px;
    padding-bottom: 4px;
    justify-self: start;
  }

  .pm-portal .ihl-portal .ihl-portal-preview-row {
    grid-area: preview;
    width: 100%;
  }

  .pm-portal .ihl-portal .ihl-portal-preview-row .ihl-portal-preview {
    max-width: 100%;
  }

  .pm-portal .ihl-portal .ihl-shop-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .pm-portal .ihl-portal .ihl-shop-grid {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal .ihl-shop-card-media {
    min-height: 190px;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-card {
    padding: 16px;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-card .ihl-account-form-heading h3 {
    font-size: clamp(20px, 8vw, 28px);
  }
}

/* Shop page parity with homepage nav + layout */

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-breadcrumb {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-toolbar {
  grid-template-columns: minmax(0, 1fr);
  justify-items: end;
  margin: 0 0 18px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-filter-toggle {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-search {
  width: min(460px, 100%);
  max-width: 460px;
  justify-self: end;
  margin-left: auto;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-search input {
  min-height: 42px;
  padding: 8px 38px 8px 12px;
  font-size: 13px;
}

.pm-portal .ihl-portal .ihl-shop-card-media-link,
.pm-portal .ihl-portal .ihl-account-product-media-link,
.ihl-portal.ihl-portal--home .ihl-home-featured .ihl-shop-card-media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pm-portal .ihl-portal .ihl-shop-card-name-link,
.pm-portal .ihl-portal .ihl-account-product-name-link,
.ihl-portal.ihl-portal--home .ihl-home-featured .ihl-shop-card-name-link {
  text-decoration: none;
  color: inherit;
}

.pm-portal .ihl-portal .ihl-shop-card-name-link:hover,
.pm-portal .ihl-portal .ihl-account-product-name-link:hover {
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-view {
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-back {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 0;
  background: var(--pp-button-gradient);
  box-shadow: 0 10px 20px rgba(219, 48, 94, 0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-back:hover {
  background: var(--pp-button-gradient-hover);
  color: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 16px;
  align-items: start;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-media {
  border: 1px solid #dde3ec;
  border-radius: 16px;
  background: var(--pm-paper);
  box-shadow: 0 12px 28px rgba(15, 18, 22, 0.08);
  min-height: clamp(380px, 48vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-media img {
  width: auto;
  height: auto;
  max-width: min(100%, 440px);
  max-height: min(72vh, 560px);
  border-radius: 12px;
  background: var(--pm-paper);
  object-fit: contain;
  object-position: center center;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-media-fallback {
  min-height: clamp(320px, 36vw, 520px);
  border-radius: 12px;
  background-size: cover;
  background-position: center center;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-content {
  border: 1px solid #dde3ec;
  border-radius: 16px;
  background: var(--pm-paper);
  box-shadow: 0 12px 28px rgba(15, 18, 22, 0.08);
  padding: 20px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-vendor {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-title {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(30px, 3.5vw, 46px);
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-sku {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-price .ihl-shop-card-price,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-price .ihl-shop-card-price-value {
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.05;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-tag,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-stock {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-tag {
  border: 1px solid #d3dae7;
  background: #f8faff;
  color: #3b4352;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-stock {
  border: 1px solid #cad3e4;
  background: #f4f7fd;
  color: #2a3345;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-short,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-details {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-short p,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-details p {
  margin: 0 0 12px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-short p:last-child,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-details p:last-child {
  margin-bottom: 0;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-short h1,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-short h2,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-short h3,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-details h1,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-details h2,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-details h3 {
  margin: 14px 0 8px;
  color: #0f172a;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.08;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-short ul,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-short ol,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-details ul,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-details ol {
  margin: 0 0 12px 20px;
  padding: 0;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-short li,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-details li {
  margin-bottom: 6px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-add {
  margin-top: 4px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 10px;
  align-items: center;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-related {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-related-title {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-related-grid {
  margin-top: 0;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-related-grid .ihl-shop-card--related .ihl-shop-card-media,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-related-grid .ihl-shop-card--related .ihl-shop-card-media.has-image {
  min-height: clamp(190px, 18vw, 250px);
  height: clamp(190px, 18vw, 250px);
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-add-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--pp-button-gradient);
  color: var(--pm-paper);
  letter-spacing: 0.12em;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-qty-input {
  width: 72px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #d0d8e6;
  text-align: center;
  font-size: 14px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-qty-input::-webkit-outer-spin-button,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-cross-link {
  margin-top: 18px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-cross-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 220px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--pp-button-gradient);
  color: var(--pm-paper);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-cross-link-button:hover {
  background: var(--pp-button-gradient-hover);
  color: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-card:not(.ihl-shop-card--mini) .ihl-shop-card-media,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-card:not(.ihl-shop-card--mini) .ihl-shop-card-media.has-image {
  min-height: clamp(220px, 22vw, 320px);
  height: clamp(220px, 22vw, 320px);
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-card:not(.ihl-shop-card--mini) .ihl-shop-card-media.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-card:not(.ihl-shop-card--mini) .ihl-shop-card-media.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-card-vendor {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-sidebar .ihl-shop-filter-group:has(input[data-filter-group="brand"]) {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-price-range.cl-price-range-hidden {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--pricing .cl-price-checkboxes {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .cl-price-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #303846;
  cursor: pointer;
}

.pm-portal .ihl-portal.ihl-portal--pricing .cl-price-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-featured {
  margin-top: 14px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-featured-list {
  display: grid;
  gap: 14px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-featured-list .ihl-shop-card--mini {
  margin: 0;
}

.pm-portal .ihl-portal .ihl-portal-header-actions .ihl-portal-icon-link[data-portal-icon="logout"] {
  display: none;
}

.pm-portal .ihl-portal .ihl-portal-header {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-banner-slider {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 18px;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-banner,
.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-banner-slide {
  min-height: 440px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-banner-cta {
  max-width: 620px;
  padding: 34px 34px;
}

/* COA banner full bleed under nav */
.pm-portal .ihl-portal.ihl-portal--coas {
  padding-top: 0;
  margin-top: 0;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-portal-main {
  gap: 0;
  overflow: visible;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-toolbar {
  display: grid;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-search {
  width: min(460px, 100%);
  max-width: 460px;
  justify-self: end;
  margin: 20px 0;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner-slider {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 26px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  height: 800px;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner,
.pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner-slide {
  min-height: 800px;
  height: 800px;
  border-radius: 0;
  background-size: cover;
  background-position: center center;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner-cta {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card {
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card-body {
  display: grid;
  gap: 6px;
  align-content: start;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card-vendor {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card-name {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.02em;
  line-height: 1.04;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card-size {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  border: 1px solid #d3dae7;
  border-radius: 999px;
  background: #f8faff;
  padding: 0 10px;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #3b4352;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card-link {
  width: 100%;
  border: 0;
  border-radius: 10px;
  min-height: 38px;
  background: #111622;
  color: var(--pm-paper);
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 4px 0 0;
  padding: 10px 12px;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-card-link:hover {
  background: #0b1020;
  color: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.72fr);
  gap: 20px 22px;
  align-items: start;
  margin: 22px 0 28px;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail-header {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail-title {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.02em;
  line-height: 1.02;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail-subtitle {
  margin: 0;
  font-size: 15px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail-media {
  background: var(--pm-paper);
  border: 1px solid #dde3ec;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 18, 22, 0.08);
  overflow: hidden;
  padding: 14px;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 820px;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  border: 1px solid #e3e8f1;
  background: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-product {
  position: static;
  top: auto;
  align-self: start;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-product .ihl-coa-product-card {
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-product .ihl-coa-product-card .ihl-shop-card-media,
.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-product .ihl-coa-product-card .ihl-shop-card-media.has-image {
  min-height: clamp(320px, 32vw, 460px);
  height: clamp(320px, 32vw, 460px);
  border-radius: 12px;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-product .ihl-coa-product-card .ihl-shop-card-media.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-product .ihl-coa-product-card .ihl-shop-card-media.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-related {
  grid-column: 1 / -1;
  margin-top: 34px;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-related-title {
  margin: 0 0 12px;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-view-all {
  grid-column: 1 / -1;
  margin: 26px 0 8px;
  text-align: center;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-view-all .ihl-coa-view-all-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #111622;
  color: var(--pm-paper);
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-view-all .ihl-coa-view-all-button:hover {
  background: #111622;
  color: var(--pm-paper);
}

@media (max-width: 1200px) {
  .pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-product {
    position: static;
  }
}

@media (max-width: 768px) {
  .pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail {
    margin: 16px 0 22px;
    gap: 14px;
  }

  .pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail-media {
    padding: 10px;
    border-radius: 12px;
  }

  .pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail-subtitle {
    font-size: 13px;
  }

  .pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-product .ihl-coa-product-card .ihl-shop-card-media,
  .pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-product .ihl-coa-product-card .ihl-shop-card-media.has-image {
    min-height: 280px;
    height: 280px;
  }
}

.pm-portal .ihl-portal.ihl-portal--coas .ihl-coa-detail-media img.cl-coa-zoomable {
  cursor: zoom-in;
}

.cl-coa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 10, 18, 0.88);
}

.cl-coa-lightbox.is-open {
  display: flex;
}

.cl-coa-lightbox-dialog {
  position: relative;
  width: min(96vw, 1440px);
  max-height: 92vh;
  border-radius: 14px;
  background: #0a0f1a;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.cl-coa-lightbox-content {
  max-height: 92vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px;
}

.cl-coa-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: var(--pm-paper);
}

.cl-coa-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 999px !important;
  border: 1px solid rgba(216, 226, 241, 0.55) !important;
  background: rgba(12, 17, 28, 0.82) !important;
  color: var(--pm-paper) !important;
  font-size: 24px !important;
  line-height: 1 !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  .cl-coa-lightbox {
    padding: 8px;
  }

  .cl-coa-lightbox-dialog {
    width: 100%;
    max-height: 100%;
    border-radius: 10px;
  }

  .cl-coa-lightbox-close {
    top: 10px;
    right: 10px;
  }
}

/* Cart page redesign */
.pm-portal .ihl-portal.ihl-portal--cart {
  max-width: min(1380px, calc(100vw - 48px));
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-portal-main {
  gap: 22px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-header {
  margin: 4px 0 4px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-title {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 0.98;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-alerts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 8px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--pm-paper) 0%, #f7faff 100%);
  color: #1f2937;
  font-size: 12px;
  line-height: 1.45;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-alert-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 999px;
  border: 1px solid #de395b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--pm-accent, var(--pm-accent));
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-alert p {
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-alert strong {
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-form {
  display: grid;
  gap: 24px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.88fr);
  gap: 22px;
  align-items: start;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-items {
  display: grid;
  gap: 14px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d9e0ea;
  border-radius: 14px;
  background: var(--pm-paper);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-media {
  width: 108px;
  height: 118px;
  border-radius: 10px;
  border: 1px solid #e2e8f2;
  background-color: #f6f8fc;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-name {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #121823;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-variant {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-unit {
  font-size: 13px;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-qty > span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4b5563;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-qty input {
  width: 62px;
  min-height: 38px;
  border: 1px solid #cfd9e6;
  border-radius: 10px;
  background: var(--pm-paper);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-qty input::-webkit-outer-spin-button,
.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-update {
  border: 1px solid #111111;
  border-radius: 10px;
  background: #111111;
  color: var(--pm-paper);
  min-height: 38px;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-remove {
  border: 1px solid #d4dbe6;
  border-radius: 10px;
  background: #f8fafc;
  color: #334155;
  min-height: 38px;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-total {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
  color: #667085;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-total strong {
  font-family: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.02em;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary {
  position: sticky;
  top: 16px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary-card {
  border: 1px solid #d8e0ec;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--pm-paper) 0%, #f7f9fc 100%);
  box-shadow: 0 16px 36px rgba(15, 18, 22, 0.08);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary-card h3 {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #121823;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-promo,
.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-credit {
  display: grid;
  gap: 8px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: var(--pm-paper);
  padding: 12px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-promo label,
.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-credit-head span,
.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-credit-partial label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-promo input {
  min-height: 40px;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: var(--pm-paper);
  font-size: 13px;
  padding: 0 12px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-promo-apply,
.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-promo-remove {
  min-height: 40px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 14px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-promo-apply {
  background: #111111;
  border: 1px solid #111111;
  color: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-promo-remove {
  background: var(--pm-paper);
  border: 1px solid #cfd8e6;
  color: #1f2937;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-credit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-credit-head strong {
  font-size: 16px;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-credit-options {
  display: grid;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-credit-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1f2937;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-credit-partial input[type="number"] {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #cfd8e6;
  background: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary-lines {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #dbe3ee;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #344054;
  font-size: 13px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary-line strong {
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary-total {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px dashed #ccd6e4;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary-total span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary-total .ihl-portal-order-total {
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111111;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary-actions {
  display: grid;
  gap: 10px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-checkout {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--pp-button-gradient);
  color: var(--pm-paper);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-continue {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #cfd8e6;
  background: var(--pm-paper);
  color: #111111;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons {
  margin-top: 8px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-title {
  margin: 0 0 12px;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-card-media,
.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-card-media.has-image {
  height: clamp(320px, 40vw, 500px);
  min-height: clamp(320px, 40vw, 500px);
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-card-media.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-card-name {
  font-size: clamp(18px, 1.45vw, 22px);
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-card-add {
  grid-template-columns: minmax(0, 1fr) 52px;
}

.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-qty-input {
  width: 52px;
}

/* Checkout page redesign */
.pm-portal .ihl-portal.ihl-portal--checkout {
  max-width: min(1380px, calc(100vw - 48px));
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 44px;
  margin-bottom: 0;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-main {
  margin-top: 0;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-main {
  display: grid;
  gap: 16px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-card {
  border: 1px solid #d8e0ec;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--pm-paper) 0%, #f8f9fc 100%);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-card h3 {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-grid {
  display: grid;
  gap: 10px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-grid--payment {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-grid--delivery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-content {
  border: 1px solid #d6deea;
  border-radius: 12px;
  background: var(--pm-paper);
  min-height: 78px;
  padding: 10px 12px;
  box-shadow: none;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f3f6fb;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-text strong {
  font-size: 14px;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-text span,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-help {
  color: #667085;
  font-size: 12px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option input:checked + .ihl-checkout-option-content {
  border-color: #de395b;
  box-shadow: 0 0 0 2px rgba(219, 48, 94, 0.16);
  background: #fff3f7;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-shipping-panel {
  display: grid;
  gap: 14px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-field {
  display: grid;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-field label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-select,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-field input[type="text"],
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-field input[type="email"],
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-field input[type="tel"],
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-field textarea,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-checkbox {
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: var(--pm-paper);
  min-height: 42px;
  padding: 10px 12px;
  box-shadow: none;
  font-size: 13px;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--checkout #ihl-checkout-notes {
  min-height: 118px;
  resize: vertical;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-shippo-rates {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-shippo-rate {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #d6deea;
  border-radius: 10px;
  background: var(--pm-paper);
  padding: 10px 12px;
  box-shadow: none;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-shippo-rate input {
  margin: 0;
  accent-color: var(--pm-accent, var(--pm-accent));
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-shippo-rate.is-selected {
  border-color: #de395b;
  background: #fff3f7;
  box-shadow: 0 0 0 1px rgba(219, 48, 94, 0.16);
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-shippo-rate-meta strong {
  font-size: 13px;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-shippo-rate-meta small,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-shippo-status,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-shippo-loading {
  font-size: 12px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary {
  position: sticky;
  top: 16px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-card {
  border: 1px solid #d8e0ec;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--pm-paper) 0%, #f8f9fc 100%);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-body {
  padding: 16px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-header h3 {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-items {
  display: grid;
  gap: 10px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e4e9f1;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-item strong {
  font-size: 13px;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-meta {
  font-size: 11px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-amount {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-promo,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-credit {
  display: grid;
  gap: 8px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: var(--pm-paper);
  padding: 12px;
  margin: 10px 0px 10px 0px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-promo label,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-credit-head span,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-credit-partial label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-promo input,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-credit-partial input[type="number"] {
  min-height: 40px;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: var(--pm-paper);
  font-size: 13px;
  padding: 0 12px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-promo-apply,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-promo-remove {
  min-height: 40px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 12px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-promo-apply {
  background: #111111;
  border: 1px solid #111111;
  color: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-promo-remove {
  background: var(--pm-paper);
  border: 1px solid #cfd8e6;
  color: #1f2937;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-credit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-credit-head strong {
  color: #111827;
  font-size: 16px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-credit-options {
  display: grid;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-credit-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1f2937;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-totals {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #dbe3ee;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-summary {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #344054;
  font-weight: 500;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-summary span {
  color: #667085;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-summary strong {
  color: #111827;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-summary--total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed #ccd6e4;
  border-radius: 0;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-order-summary--total .ihl-portal-order-total {
  font-size: clamp(24px, 2vw, 30px);
  color: #111111;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-actions {
  display: grid;
  gap: 10px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--pp-button-gradient);
  color: var(--pm-paper);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-secondary,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #cfd8e6;
  background: var(--pm-paper);
  color: #111111;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 12px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-toggle {
  border: 0;
  border-bottom: 1px solid #dbe3ee;
  background: var(--pm-paper);
  color: #111827;
  padding: 14px 16px;
}

.pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-toggle-total {
  font-weight: 700;
}

/* Account page redesign */
.pm-portal .ihl-portal.ihl-portal--account {
  max-width: min(1380px, calc(100vw - 48px));
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 44px;
  margin-bottom: 0;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-portal-main {
  margin-top: 0;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-layout {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-card,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-menu,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-featured,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-panel,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-password-card,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-card,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-progress {
  border: 1px solid #d8e0ec;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--pm-paper) 0%, #f8f9fc 100%);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-card--profile {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-card-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-card-name {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-card-meta {
  font-size: 13px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-menu {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-menu-title {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-tab {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  border: 1px solid #d3dce9;
  border-radius: 10px;
  background: #f5f7fc;
  color: #243041;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
  box-shadow: none;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-tab.is-active,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-tab[aria-selected="true"] {
  border-color: #bfcde2;
  background: #eaf0fa;
  box-shadow: inset 0 0 0 1px #d6e0ef;
  color: #1a2533;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-tab:hover {
  background: #edf2fa;
  border-color: #c7d4e7;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-logout {
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #d3dce9;
  background: var(--pm-paper);
  color: #111111;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-featured {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-featured-title {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product {
  border: 1px solid #dde4ef;
  border-radius: 12px;
  background: var(--pm-paper);
  overflow: hidden;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  min-width: 0;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-media {
  min-height: 112px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-body {
  display: grid;
  gap: 6px;
  padding: 10px;
  min-width: 0;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-vendor {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-name {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  color: #101828;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-price {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #475467;
  background: #f8fafc;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 8px;
  align-items: center;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-add {
  min-height: 36px;
  border-radius: 10px;
  border: 0;
  background: var(--pp-button-gradient);
  color: var(--pm-paper);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-qty {
  width: 52px;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid #d0d8e6;
  text-align: center;
  font-size: 13px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-qty::-webkit-outer-spin-button,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-content {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-section {
  display: grid;
  gap: 14px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-section[hidden] {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-section-heading {
  display: grid;
  gap: 6px;
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-section-heading h2 {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(24px, 2.1vw, 32px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-section-heading h3 {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-section-heading p {
  margin: 0;
  color: #667085;
  font-size: 13px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-panel,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-password-card {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-password-title {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #667085;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-wrap {
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-heading {
  display: grid;
  gap: 4px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-heading h3 {
  margin: 0;
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-heading p {
  margin: 0;
  font-size: 12px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-portal-order-field {
  display: grid;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-portal-order-field label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-portal-order-field input[type="text"],
.pm-portal .ihl-portal.ihl-portal--account .ihl-portal-order-field input[type="email"],
.pm-portal .ihl-portal.ihl-portal--account .ihl-portal-order-field input[type="tel"],
.pm-portal .ihl-portal.ihl-portal--account .ihl-portal-order-field input[type="password"],
.pm-portal .ihl-portal.ihl-portal--account .ihl-portal-order-field textarea {
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: var(--pm-paper);
  min-height: 42px;
  padding: 10px 12px;
  box-shadow: none;
  font-size: 13px;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--account [data-account-avatar-picker] {
  border: 1px solid #cfd8e6;
  background: #f8f9fc;
  box-shadow: none;
}

.pm-portal .ihl-portal.ihl-portal--account [data-account-avatar-overlay] {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(17, 24, 39, 0.7);
  color: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--account [data-account-avatar-overlay] svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.pm-portal .ihl-portal.ihl-portal--account [data-account-avatar-overlay-text] {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-actions .ihl-portal-submit {
  width: auto;
  min-width: 220px;
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--pp-button-gradient);
  color: var(--pm-paper);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 0 16px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-actions .ihl-portal-button.secondary {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid #cfd8e6;
  background: var(--pm-paper);
  color: #111111;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 14px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-address-card {
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: var(--pm-paper);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-address-card.is-primary {
  border-color: #de395b;
  background: #fff3f7;
}

.pm-portal .ihl-portal .ihl-shop-add-button:hover,
.pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-checkout:hover,
.pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-submit:hover,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-product-add:hover,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-actions .ihl-portal-submit:hover {
  background: var(--pp-button-gradient-hover);
  color: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-address-title {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-address-lines {
  font-size: 13px;
  line-height: 1.45;
  color: #1f2937;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-address-meta {
  font-size: 11px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-address-delete {
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-address-actions .ihl-portal-button.secondary {
  min-height: 34px;
  border-radius: 9px;
  border: 1px solid #cfd8e6;
  background: var(--pm-paper);
  color: #111111;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0 11px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid #d8e0ec;
  border-radius: 14px;
  background: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: transparent;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table th,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table th,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table th,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table th {
  background: #f8fafc;
  border-bottom: 1px solid #dde4ef;
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table td,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table td,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table td,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf1f7;
  font-size: 13px;
  color: #1f2937;
  background: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table tr:last-child td,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table tr:last-child td,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table tr:last-child td,
.pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table tr:last-child td {
  border-bottom: 0;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-order-actions,
.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-order-action,
.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid #d3dce9;
  border-radius: 999px;
  padding: 0 10px;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #111827;
  background: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-order-action + .ihl-order-action,
.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-action + .ihl-order-action {
  margin-left: 6px;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-remove {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-remove-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #f3b0b7;
  background: #fff1f3;
  color: #b42318;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  text-decoration: none;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-remove-btn i {
  font-size: 15px;
  line-height: 1;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-remove-btn:hover {
  border-color: #d92d20;
  background: #fee4e2;
  color: #912018;
  transform: none;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-remove-btn.is-active {
  border-color: #d92d20;
  background: #d92d20;
  color: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-table + .ihl-portal-order-summary {
  margin-top: 14px;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-main {
  align-items: start;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-table {
  align-self: start;
  height: auto;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-table tbody,
.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-table tr {
  height: auto;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-table th,
.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-table td {
  vertical-align: middle;
  padding-top: 10px;
  padding-bottom: 10px;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-link {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-link:focus-visible {
  outline: 2px solid #de395b;
  outline-offset: 2px;
  border-radius: 8px;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-thumb {
  width: 48px;
  height: 48px;
  border: 1px solid #d8e0ec;
  border-radius: 10px;
  background: var(--pm-paper);
  overflow: hidden;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-order-summary + .ihl-portal-order-summary {
  margin-top: 8px;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-order-meta {
  margin-top: 16px;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-cart-actions {
  margin-top: 20px;
}

.pm-portal .ihl-portal.ihl-portal--orders .ihl-portal-order-cancel-form {
  display: grid;
  gap: 10px;
  width: 100%;
}

@media (max-width: 820px) {
  .pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-cell {
    gap: 8px;
  }

  .pm-portal .ihl-portal.ihl-portal--orders .ihl-order-sku-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-block {
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-card {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-card--center {
  justify-items: center;
  text-align: center;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-card--center .ihl-account-referral-url {
  width: 100%;
  text-align: left;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-title {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-url {
  border: 1px dashed #d3dce9;
  border-radius: 10px;
  background: var(--pm-paper);
  min-height: 42px;
  padding: 10px 12px;
  font-size: 12px;
  color: #111827;
  word-break: break-all;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-progress {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-progress-title {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.05;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-progress-note {
  font-size: 12px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-range-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  border: 1px solid #d3dce9;
  border-radius: 999px;
  background: #f8fafc;
  padding: 7px 12px;
  width: fit-content;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-range-chip-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-range-chip-value {
  font-size: 11px;
  color: #1f2937;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-stat {
  border: 1px solid #d8e0ec;
  border-radius: 14px;
  background: var(--pm-paper);
  padding: 12px;
  display: grid;
  gap: 5px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-stat-label {
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #667085;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-stat-value {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.04;
  color: #111622;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-stat-meta {
  font-size: 11px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-card {
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-kv {
  display: grid;
  gap: 4px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-kv-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #667085;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-kv-value {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  overflow-wrap: anywhere;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-link-shell {
  width: 100%;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-link-input {
  width: 100%;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: var(--pm-paper);
  min-height: 42px;
  padding: 10px 12px;
  box-shadow: none;
  font-size: 12px;
  color: #101828;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-qr-wrap {
  width: min(260px, 100%);
  border: 1px solid #d3dce9;
  border-radius: 12px;
  background: var(--pm-paper);
  padding: 10px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-qr-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-payment-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-payment-list li {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: var(--pm-paper);
  padding: 8px 10px;
  font-size: 12px;
  color: #344054;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-account-muted {
  color: #667085;
  font-size: 13px;
}

.pm-portal .ihl-portal.ihl-portal--account .ihl-portal-button {
  width: auto;
  min-height: 40px;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.pm-portal .ihl-portal.ihl-portal--affiliate {
  max-width: min(1380px, calc(100vw - 48px));
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 44px;
  margin-bottom: 0;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-portal-main {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.pm-portal .ihl-portal.ihl-portal--affiliate h1,
.pm-portal .ihl-portal.ihl-portal--affiliate h2,
.pm-portal .ihl-portal.ihl-portal--affiliate h3 {
  font-family: "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.02em;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-range-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  border: 1px solid #d3dce9;
  border-radius: 999px;
  background: #f8fafc;
  padding: 7px 12px;
  width: fit-content;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-range-chip-label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-range-chip-value {
  font-size: 11px;
  color: #1f2937;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 22px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 28%, #7c3aed 62%, #f43f5e 100%);
  color: var(--pm-paper);
  box-shadow: 0 22px 48px rgba(76, 29, 149, 0.24);
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
  opacity: 0.92;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-hero h1 {
  margin: 0;
  color: var(--pm-paper);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.02;
  font-weight: 900;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-hero p {
  margin: 10px 0 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 60ch;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-hero-pills {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: var(--pm-paper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-metrics {
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-stat {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  min-height: 128px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-stat-label {
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #667085;
  font-weight: 800;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-stat-value {
  font-size: clamp(27px, 2.2vw, 36px);
  line-height: 1;
  color: #111827;
  font-weight: 900;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-stat-meta {
  margin-top: auto;
  font-size: 12px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-stat:nth-child(1) {
  background: linear-gradient(180deg, var(--pm-paper) 0%, #f8fbff 100%);
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-stat:nth-child(2) {
  background: linear-gradient(180deg, #fffdf8 0%, #fff8ec 100%);
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-stat:nth-child(3) {
  background: linear-gradient(180deg, #f8fff9 0%, #eefef1 100%);
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-stat:nth-child(4) {
  background: linear-gradient(180deg, #fff8fb 0%, #ffeef7 100%);
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-stat:nth-child(5) {
  background: linear-gradient(180deg, #f8fbff 0%, #eff4ff 100%);
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #d7e1ef;
  background: var(--pm-paper);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.07);
  overflow: hidden;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-form-heading {
  display: grid;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-card .ihl-account-form-heading h3 {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 32px);
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.04;
  color: #0f172a;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-form-heading p {
  margin: 0;
  font-size: 13px;
  color: #667085;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-share-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(156px, 184px);
  align-items: start;
  gap: 16px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-share-main {
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-share-qr {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-kv {
  display: grid;
  gap: 5px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-kv-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #667085;
  font-weight: 800;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-kv-value {
  font-size: 16px;
  color: #111827;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.pm-portal .ihl-portal .ihl-account-affiliate-kv-value.ihl-account-affiliate-kv-value--code {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.pm-portal .ihl-portal .ihl-account-affiliate-link-shell {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: var(--pm-paper);
  min-height: 44px;
  padding: 10px 12px;
  box-shadow: none;
  overflow-x: auto;
  overflow-y: hidden;
  user-select: text;
  -webkit-user-select: text;
  cursor: text;
  -webkit-overflow-scrolling: touch;
}

.pm-portal .ihl-portal .ihl-account-affiliate-link-shell:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.pm-portal .ihl-portal .ihl-account-affiliate-link-text {
  display: inline-block;
  min-width: max-content;
  white-space: nowrap;
  font-family: "Google Sans Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.3;
  color: #101828;
}

.pm-portal .ihl-portal .ihl-account-affiliate-link-input {
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 0;
  padding: 0;
  box-shadow: none;
  font-size: 12px;
  color: #101828;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-link-input {
  width: 100%;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-referral-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-portal-button {
  border-radius: 999px;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 10px 16px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-portal-button:not(.secondary) {
  border: none;
  background: linear-gradient(90deg, #f43f5e 0%, #fb7185 28%, #fb923c 100%);
  color: var(--pm-paper);
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.28);
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-portal-button.secondary {
  background: var(--pm-paper);
  border: 1px solid #bcd0ea;
  color: #0f172a;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-qr-wrap {
  width: 100%;
  max-width: 184px;
  border: 1px solid #d3dce9;
  border-radius: 10px;
  background: var(--pm-paper);
  padding: 6px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-qr-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-form {
  display: grid;
  gap: 12px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-field {
  display: grid;
  gap: 6px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-field--full {
  grid-column: 1 / -1;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-field > span {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475467;
  font-weight: 700;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-field input[type="text"],
.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-field input[type="email"],
.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-field select {
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  background: var(--pm-paper);
  min-height: 42px;
  padding: 10px 12px;
  box-shadow: none;
  font-size: 13px;
  color: #111827;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-group {
  display: none;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-group.is-active {
  display: block;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-payment-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-payment-list li {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: var(--pm-paper);
  padding: 9px 10px;
  font-size: 13px;
  color: #344054;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe4f2;
  border-radius: 12px;
  background: var(--pm-paper);
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-referrals-table,
.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-promo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-referrals-table th,
.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-referrals-table td,
.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-promo-table th,
.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-promo-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #edf2fa;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-referrals-table thead th,
.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-promo-table thead th {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #667085;
  font-weight: 800;
  background: #f8fbff;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-referrals-table tbody td,
.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-promo-table tbody td {
  font-size: 13px;
  color: #1f2937;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-referrals-table tr:last-child td,
.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-promo-table tr:last-child td {
  border-bottom: 0;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-muted {
  color: #667085;
  font-size: 13px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-empty {
  border-radius: 20px;
  border: 1px solid #d4deee;
  background: linear-gradient(145deg, var(--pm-paper) 0%, #f6f9ff 100%);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.08);
  padding: 22px;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-empty h2 {
  margin: 0 0 8px;
  color: #0f172a;
}

.pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-empty p {
  margin: 0 0 14px;
  color: #475467;
}

.pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pm-portal .ihl-portal .cl-product-hidden {
  display: none;
}

@media (max-width: 1150px) {
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-sidebar {
    position: static;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-featured-title {
    grid-column: 1 / -1;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-addresses {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary {
    position: static;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-grid--payment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-summary {
    position: static;
  }

  .pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-sidebar,
  .pm-portal .ihl-portal.ihl-portal--pricing.ihl-shop-filters-open .ihl-shop-sidebar,
  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-featured,
  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-filter-group {
    display: none;
  }

  .pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner-slider {
    height: 620px;
  }

  .pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner,
  .pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner-slide {
    min-height: 620px;
    height: 620px;
  }
}

@media (max-width: 820px) {
  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-grid {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--account {
    max-width: min(1320px, calc(100vw - 22px));
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-sidebar {
    gap: 10px;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-menu-title {
    grid-column: 1 / -1;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-tab {
    width: 100%;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-featured {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-grid {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 16px;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-dashboard-hero-pills {
    justify-items: start;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate {
    max-width: min(1380px, calc(100vw - 22px));
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-share-layout {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-share-qr {
    justify-items: start;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-affiliate-qr-wrap {
    width: 100%;
    max-width: 156px;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-product {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-grid {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-actions .ihl-portal-submit,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-form-actions .ihl-portal-button.secondary,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-referral-actions .ihl-portal-button {
    width: 100%;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-account-referral-actions .ihl-portal-button {
    width: 100%;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-grid {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--affiliate .ihl-affiliate-payment-actions .ihl-portal-button {
    width: 100%;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table {
    min-width: 0;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table thead,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table thead,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table thead,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table thead {
    display: none;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table tbody,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table tbody,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table tbody,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table tbody {
    display: grid;
    gap: 10px;
    padding: 10px;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table tr,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table tr,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table tr,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table tr {
    display: grid;
    gap: 6px;
    border: 1px solid #e0e7f1;
    border-radius: 10px;
    padding: 8px;
    background: var(--pm-paper);
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table td,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table td,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table td,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    padding: 2px 4px;
    font-size: 12px;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table td::before,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table td::before,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table td::before,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #667085;
    font-weight: 700;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table td[colspan],
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table td[colspan],
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table td[colspan],
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table td[colspan] {
    display: block;
    text-align: left;
    padding: 6px 4px;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-orders-table td[colspan]::before,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-promo-table td[colspan]::before,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-referrals-table td[colspan]::before,
  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-credit-table td[colspan]::before {
    content: none;
  }

  .pm-portal .ihl-portal.ihl-portal--account .ihl-account-affiliate-metrics {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout {
    max-width: min(1320px, calc(100vw - 22px));
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-layout {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary {
    position: static;
    order: -1;
    width: auto;
    margin: 0 0 14px;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-card {
    border: 1px solid #d8e0ec;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--pm-paper) 0%, #f8f9fc 100%);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
    padding: 0;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-toggle {
    display: flex;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary.is-collapsed .ihl-checkout-summary-body {
    display: none;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-body {
    padding: 14px;
    border-bottom: 0;
    background: transparent;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-summary-header {
    display: none;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-actions--sidebar {
    display: none;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-actions--main {
    display: grid;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-grid--payment,
  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-checkout-option-grid--delivery,
  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-portal-form-grid {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--checkout .ihl-cart-promo-row {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--cart {
    max-width: min(1320px, calc(100vw - 22px));
  }

  .pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-alerts {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
  }

  .pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-total {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
    padding-top: 2px;
    border-top: 1px dashed #d5dde9;
  }

  .pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-item-media {
    width: 88px;
    height: 100px;
  }

  .pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-promo-row {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--cart .ihl-cart-addons-grid {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-search {
    max-width: 100%;
    justify-self: stretch;
    margin-left: 0;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-layout {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-sidebar,
  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-featured,
  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-filter-group {
    display: none;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-banner,
  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-banner-slide {
    min-height: 320px;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-layout {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-title {
    font-size: clamp(26px, 8.5vw, 38px);
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-media {
    min-height: 320px;
    padding: 12px;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-media img {
    max-width: min(100%, 340px);
    max-height: min(52vh, 420px);
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-add {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-qty-input {
    width: 64px;
  }

  .pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner-slider {
    height: 460px;
    margin-bottom: 20px;
  }

  .pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner,
  .pm-portal .ihl-portal.ihl-portal--coas .ihl-shop-banner-slide {
    min-height: 460px;
    height: 460px;
  }
}

@media (max-width: 820px) {
  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-card-name {
    font-size: 15px;
    line-height: 1.08;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 480px) {
  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-card-name {
    font-size: 14px;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-content {
    padding: 14px;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-add {
    grid-template-columns: 1fr;
  }

  .pm-portal .ihl-portal.ihl-portal--pricing .ihl-shop-product-qty-input {
    width: 100%;
  }
}

.cl-shop-toast-stack {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 999999;
  display: grid;
  gap: 8px;
  width: min(340px, calc(100vw - 24px));
}

.cl-shop-toast {
  border: 1px solid #d5d9df;
  border-radius: 10px;
  background: var(--pm-paper);
  color: #111827;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cl-shop-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cl-shop-toast.is-dismissed {
  opacity: 0;
  transform: translateY(-6px);
}

.cl-shop-toast--success {
  border-color: rgba(22, 163, 74, 0.34);
  background: rgba(240, 253, 244, 0.97);
}

.cl-shop-toast--error {
  border-color: rgba(220, 38, 38, 0.34);
  background: rgba(254, 242, 242, 0.97);
}

/* NO FOCUS STYLES / NO ITALICS */
*:focus, *:focus-visible, *:focus-within { outline: none !important; outline-offset: 0 !important; box-shadow: none !important; }
a:hover, a:focus, a:focus-visible { text-decoration: none !important; }
em, i, cite, dfn { font-style: normal !important; }

/* ===============================================================
   Tier 6 D3: extracted from ihl-pricing-manager
   Source: includes/split/admin-rendering.php
   Function: ihl_render_affiliate_apply (shortcode [ihl_affiliate_apply])
   =============================================================== */
        .ihl-affiliate-apply-shell {
          max-width: 980px;
          margin: 48px auto;
          padding: 0 20px;
          font-family: var(--ihl-font-primary, var(--pp-font-base, "Google Sans", "Montserrat", "Helvetica Neue", Arial, sans-serif));
        }
        .ihl-affiliate-apply-shell,
        .ihl-affiliate-apply-shell p,
        .ihl-affiliate-apply-shell label,
        .ihl-affiliate-apply-shell span,
        .ihl-affiliate-apply-shell input,
        .ihl-affiliate-apply-shell textarea,
        .ihl-affiliate-apply-shell select,
        .ihl-affiliate-apply-shell button {
          font-family: var(--ihl-font-primary, var(--pp-font-base, "Google Sans", "Montserrat", "Helvetica Neue", Arial, sans-serif));
        }
        .ihl-affiliate-apply-card { background: linear-gradient(145deg, #f8fafc 0%, var(--pm-paper) 48%, #f6f9ff 100%); border: 1px solid #d7deec; border-radius: 24px; box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08); padding: clamp(18px, 3vw, 34px); }
        .ihl-affiliate-apply-eyebrow { margin: 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #64748b; font-weight: 700; }
        .ihl-affiliate-apply-title {
          margin: 10px 0 8px;
          font-size: clamp(30px, 4vw, 44px);
          line-height: 1.05;
          color: #0f172a;
          font-family: var(--ihl-font-secondary, var(--pp-font-accent, "Montserrat", "Arial Narrow", "Helvetica Neue", Arial, sans-serif));
          font-weight: 900;
        }
        .ihl-affiliate-apply-copy { margin: 0 0 22px; color: #475569; font-size: 16px; line-height: 1.6; max-width: 720px; }
        .ihl-affiliate-apply-notice { border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
        .ihl-affiliate-apply-notice--success { background: #e9f9ef; border: 1px solid #9dd9ad; color: #1f6b36; }
        .ihl-affiliate-apply-notice--error { background: #fff1f2; border: 1px solid #f8c0c7; color: #b42318; }
        .ihl-affiliate-apply-notice--info { background: #eef5ff; border: 1px solid #c5d7ff; color: #1e3a8a; }
        .ihl-affiliate-apply-form { display: grid; gap: 16px; }
        .ihl-affiliate-apply-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
        .ihl-affiliate-apply-field { display: grid; gap: 6px; }
        .ihl-affiliate-apply-field label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #475569; font-weight: 700; }
        .ihl-affiliate-apply-field input:not([type='checkbox']),
        .ihl-affiliate-apply-field select,
        .ihl-affiliate-apply-field textarea { width: 100%; border: 1px solid #cad5e3; border-radius: 11px; padding: 12px 13px; font-size: 15px; color: #0f172a; background: var(--pm-paper); }
        .ihl-affiliate-apply-field textarea { min-height: 108px; resize: vertical; }
        .ihl-affiliate-apply-field input:not([type='checkbox']):focus,
        .ihl-affiliate-apply-field select:focus,
        .ihl-affiliate-apply-field textarea:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15); }
        .ihl-affiliate-apply-field--full { grid-column: 1 / -1; }
        .ihl-affiliate-apply-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #334155; }
        .ihl-affiliate-apply-consent input[type='checkbox'] { width: 18px; height: 18px; min-width: 18px; max-width: 18px; margin: 2px 0 0; padding: 0; border-radius: 4px; flex: 0 0 18px; }
        .ihl-affiliate-apply-consent span { min-width: 0; overflow-wrap: anywhere; line-height: 1.55; text-transform: none; letter-spacing: 0; font-weight: 600; }
        .ihl-affiliate-apply-terms { border: 1px solid #d3ddee; background: var(--pm-paper); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
        .ihl-affiliate-apply-terms h3 { margin: 0; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #334155; }
        .ihl-affiliate-apply-terms-note { margin: 0; font-size: 12px; color: #64748b; }
        .ihl-affiliate-apply-terms-scroll { max-height: 320px; overflow: auto; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; background: #f8fafc; font-size: 13px; line-height: 1.55; color: #334155; white-space: pre-wrap; }
        .ihl-affiliate-apply-actions { display: flex; justify-content: flex-start; }
        .ihl-affiliate-apply-submit { border: 1px solid #111827; background: #111827; color: var(--pm-paper); border-radius: 999px; padding: 12px 24px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; cursor: pointer; }
        .ihl-affiliate-apply-submit:hover,
        .ihl-affiliate-apply-submit:focus-visible { background: #1f2937; border-color: #1f2937; }
        .ihl-affiliate-apply-hint { margin-top: -2px; font-size: 12px; color: #64748b; }
        .ihl-affiliate-apply-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
        @media (max-width: 820px) {
          .ihl-affiliate-apply-grid { grid-template-columns: 1fr; }
          .ihl-affiliate-apply-consent { align-items: flex-start; }
          .ihl-affiliate-apply-actions { width: 100%; }
          .ihl-affiliate-apply-submit { width: 100%; }
        }

/* ===============================================================
   Tier 6 D3: extracted from ihl-pricing-manager
   Source: includes/split/admin-rendering.php
   Function: ihl_render_affiliate_onboarding (shortcode [ihl_affiliate_onboarding])
   =============================================================== */
        .ihl-affiliate-onboarding-shell { width: min(980px, 100%); margin: 0 auto; padding: 28px 18px; box-sizing: border-box; color: #0f172a; font-family: "Montserrat", Arial, sans-serif; }
        .ihl-affiliate-onboarding-card { border: 1px solid #d6e2f0; border-radius: 20px; background: linear-gradient(160deg, #f8fbff 0%, #f2f7ff 100%); padding: 24px; box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08); }
        .ihl-affiliate-onboarding-eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #4a5d7a; }
        .ihl-affiliate-onboarding-title { margin: 10px 0 0; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 900; color: #0f172a; }
        .ihl-affiliate-onboarding-copy { margin: 12px 0 0; max-width: 780px; font-size: 16px; line-height: 1.7; color: #334155; }
        .ihl-affiliate-onboarding-pill-row { margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
        .ihl-affiliate-onboarding-pill { border: 1px solid #c7d9f0; border-radius: 999px; background: rgba(255, 255, 255, 0.78); color: #334155; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 7px 12px; }
        .ihl-affiliate-onboarding-notice { margin: 14px 0 0; border: 1px solid transparent; border-radius: 12px; padding: 11px 13px; font-size: 13px; line-height: 1.55; font-weight: 600; }
        .ihl-affiliate-onboarding-notice--success { border-color: #b7f0d1; background: #ecfdf3; color: #166534; }
        .ihl-affiliate-onboarding-notice--error { border-color: #fecaca; background: #fff1f2; color: #991b1b; }
        .ihl-affiliate-onboarding-notice--info { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
        .ihl-affiliate-onboarding-login { margin-top: 18px; display: grid; gap: 10px; max-width: 640px; }
        .ihl-affiliate-onboarding-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
        .ihl-affiliate-onboarding-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #0f172a; border-radius: 999px; background: #0f172a; color: var(--pm-paper); text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; font-size: 11px; padding: 11px 18px; }
        .ihl-affiliate-onboarding-button:hover,
        .ihl-affiliate-onboarding-button:focus-visible { background: #1e293b; border-color: #1e293b; color: var(--pm-paper); }
        .ihl-affiliate-onboarding-button--secondary { border-color: #c7d2fe; background: var(--pm-paper); color: #1e3a8a; }
        .ihl-affiliate-onboarding-form { margin-top: 18px; border: 1px solid #dbe7f4; border-radius: 16px; background: rgba(255, 255, 255, 0.92); padding: 16px; display: grid; gap: 14px; }
        .ihl-affiliate-onboarding-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
        .ihl-affiliate-onboarding-field { display: grid; gap: 6px; }
        .ihl-affiliate-onboarding-field--full { grid-column: 1 / -1; }
        .ihl-affiliate-onboarding-field label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #475569; }
        .ihl-affiliate-onboarding-field input,
        .ihl-affiliate-onboarding-field select,
        .ihl-affiliate-onboarding-field textarea { width: 100%; border: 1px solid #cdd8e7; border-radius: 10px; min-height: 44px; padding: 10px 12px; box-sizing: border-box; background: var(--pm-paper); color: #0f172a; font-size: 14px; font-family: inherit; }
        .ihl-affiliate-onboarding-field textarea { min-height: 110px; resize: vertical; }
        .ihl-affiliate-onboarding-field em { margin-top: -2px; font-size: 12px; line-height: 1.5; color: #64748b; font-style: normal; }
        .ihl-affiliate-onboarding-subhead { margin: 2px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.11em; font-weight: 800; color: #334155; }
        .ihl-affiliate-onboarding-doc-link { font-size: 12px; color: #1d4ed8; text-decoration: underline; }
        .ihl-affiliate-onboarding-check { display: flex; align-items: flex-start; gap: 10px; border: 1px solid #cdd8e7; border-radius: 10px; padding: 10px 12px; background: var(--pm-paper); font-size: 13px; line-height: 1.55; color: #1f2937; font-weight: 600; text-transform: none; letter-spacing: 0; }
        .ihl-affiliate-onboarding-check input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; margin-top: 2px; flex: 0 0 18px; padding: 0; }
        .ihl-affiliate-onboarding-signature-preview { min-height: 62px; border: 1px dashed #9fb7dd; border-radius: 10px; background: #f8fbff; padding: 10px 12px; display: flex; align-items: center; font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive; font-size: 36px; line-height: 1.1; color: #0f172a; }
        .ihl-affiliate-onboarding-signature-preview.is-empty { opacity: 0.62; font-size: 22px; }
        .ihl-affiliate-onboarding-payment-group { display: none; }
        .ihl-affiliate-onboarding-payment-group.is-active { display: contents; }
        @media (max-width: 860px) {
          .ihl-affiliate-onboarding-grid { grid-template-columns: 1fr; }
          .ihl-affiliate-onboarding-signature-preview { font-size: 30px; }
        }

/* ===============================================================
   Tier 6 D3: extracted from ihl-pricing-manager
   Source: includes/split/admin-rendering.php
   Function: ihl_render_public_coas (chrome reset for public COA shortcode)
   =============================================================== */
body.ihl-portal--public-coas .cl-topbar,
body.ihl-portal--public-coas .cl-header,
body.ihl-portal--public-coas .wp-site-blocks > header,
body.ihl-portal--public-coas header.wp-block-template-part,
body.ihl-portal--public-coas header.site-header,
body.ihl-portal--public-coas #masthead,
body.ihl-portal--public-coas .wp-site-blocks > footer,
body.ihl-portal--public-coas footer.wp-block-template-part,
body.ihl-portal--public-coas footer.site-footer,
body.ihl-portal--public-coas #colophon,
body.ihl-portal--public-coas .cl-footer{display:none !important;}
body .ihl-portal.ihl-portal--public-coas{padding-top:24px;}

/* ===============================================================
   Tier 6 D3: extracted from ihl-pricing-manager
   Source: includes/split/admin-rendering.php
   Function: ihl_output_policy_header_css (policy page header cleanup)
   =============================================================== */
body.ihl-policy-page .wp-site-blocks > header .wp-block-navigation,
body.ihl-policy-page header .wp-block-navigation,
body.ihl-policy-page .wp-site-blocks > header .wp-block-page-list,
body.ihl-policy-page header .wp-block-page-list,
body.ihl-policy-page header .wp-block-navigation__responsive-container-open,
body.ihl-policy-page header .wp-block-navigation__responsive-container,
body.ihl-policy-page header .wp-block-navigation__responsive-container-content,
body.ihl-policy-page header nav[aria-label]{display:none !important;}
body.ihl-policy-page header .wp-block-site-title,
body.ihl-policy-page header .site-title,
body.ihl-policy-page header .wp-block-site-tagline{display:none !important;}
body.ihl-policy-page .wp-site-blocks > header .wp-block-site-logo img,
body.ihl-policy-page header .custom-logo{max-height:56px !important;width:auto !important;}
body.ihl-policy-page .wp-site-blocks > header,
body.ihl-policy-page header.site-header,
body.ihl-policy-page #masthead,
body.ihl-policy-page header.wp-block-template-part{border-bottom:none !important;}

/* M8 a11y — honor prefers-reduced-motion across every portal surface.
   Portal HTML is authored with .ihl-portal / .ihl-portal--* roots and
   adds .pm-portal when mounted via the Peptide Manager shortcodes. We
   zero transitions, transform-driven hovers, and keyframe animations so
   users with "Reduce motion" enabled see instant end-states. */
@media (prefers-reduced-motion: reduce) {
  .ihl-portal, .ihl-portal *, .ihl-portal *::before, .ihl-portal *::after,
  .pm-portal, .pm-portal *, .pm-portal *::before, .pm-portal *::after,
  [class*="ihl-portal--"], [class*="ihl-portal--"] *,
  [class*="ihl-portal--"] *::before, [class*="ihl-portal--"] *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .cl-shop-toast, .cl-shop-toast-stack,
  .cl-shop-toast.is-visible, .cl-shop-toast.is-dismissed {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
