/*
Theme Name: Redacted Research Child
Theme URI: https://redactedresearch.co
Description: Child theme for Twenty Twenty-Five (custom branding).
Author: Redacted Research
Template: twentytwentyfive
Version: 1.0.0
Text Domain: redacted-research-child
*/

:root {
  --rr-ink: #0b0b0b;
  --rr-paper: #ffffff;
  --rr-fog: #f2f2f2;
  --rr-ash: #5f5f59;
  --rr-line: rgba(0, 0, 0, 0.22);
  --rr-shop-banner: url("https://redactedresearch.co/wp-content/uploads/2026/01/banner.png");
  --rr-shop-card-bg: url("https://redactedresearch.co/wp-content/uploads/2026/01/image_bg.webp");
}

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

body {
  background-color: var(--rr-paper);
  color: var(--rr-ink);
  font-family: var(--wp--preset--font-family--display, "Space Grotesk", sans-serif);
  letter-spacing: 0.01em;
  min-height: 100vh;
  position: relative;
}

::selection {
  background: var(--rr-ink);
  /*color: var(--rr-paper);*/
}

a {
  color: var(--rr-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--rr-ink);
  background: var(--rr-fog);
} 

h1,
h2,
h3 {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

hr {
  border: 0;
  border-top: 2px solid var(--rr-ink);
}

.wp-site-blocks {
  min-height: 100vh;
  position: relative;
  z-index: 1;
  background: var(--rr-paper);
}

.wp-block-site-title,
.wp-block-navigation {
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

header,
.wp-block-site-title a,
.wp-block-navigation a {
  color: var(--rr-ink);
}

header {
  background: var(--rr-paper);
  border-bottom: none;
}

footer,
.site-footer,
.wp-site-blocks > footer,
footer.wp-block-template-part,
.wp-block-template-part.wp-block-template-part-footer {
  background: #000000;
  color: #ffffff;
}

footer a,
footer .wp-block-site-title a,
footer .wp-block-navigation a,
.site-footer a {
  color: #ffffff;
}

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 .wp-site-blocks > .wp-block-template-part {
  display: none !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 footer {
  display: none;
}

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

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

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

@media (max-height: 820px) and (orientation: landscape) {
  body.rr-login-page {
    overflow: auto;
    height: auto;
  }
}

body.rr-login-page #rr-login-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background: transparent;
  pointer-events: none;
  overflow: hidden;
}

body.rr-login-page #rr-login-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}

body.rr-login-page .wp-site-blocks {
  background: transparent;
}

.wp-block-site-logo img {
  filter: none;
}

.wp-block-button__link,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  border-radius: 0;
  border: 2px solid var(--rr-ink);
  background: var(--rr-ink);
  color: var(--rr-paper);
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
  border-radius: 0;
  border: 1px solid var(--rr-line);
  background: #ffffff;
  color: var(--rr-ink);
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.wp-block-quote,
.wp-block-pullquote {
  border-radius: 0;
  border-color: var(--rr-ink);
  background: var(--rr-fog);
}

.rr-redact {
  background: var(--rr-ink);
  color: transparent;
  display: inline-block;
  padding: 0 6px;
}

main > * {
  animation: rr-rise 0.7s ease-out both;
}

main > *:nth-child(2) {
  animation-delay: 0.05s;
}

main > *:nth-child(3) {
  animation-delay: 0.1s;
}

main > *:nth-child(4) {
  animation-delay: 0.15s;
}

@keyframes rr-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  main > * {
    animation: none;
  }
}

/* Portal overrides to match the classified access vibe. */
.ihl-portal,
.ihl-portal * {
  color: var(--rr-ink) !important;
}

.ihl-portal {
  /*background: #ffffff !important;*/
  border: none !important;
  box-shadow: none !important;
}

.ihl-portal-card,
.ihl-portal-login-card,
.ihl-portal-order-card,
.ihl-portal-payment,
.ihl-portal-order-summary,
.ihl-portal-table,
.ihl-portal-checkbox,
.ihl-portal-choice-group label,
.ihl-portal-preview,
.ihl-portal-search input,
.ihl-portal-select,
.ihl-portal-order-field input,
.ihl-portal-order-field textarea {
  border-radius: 0 !important;
  border: 1px solid var(--rr-ink) !important;
  box-shadow: none !important;
  background: #ffffff !important;
}

.ihl-portal-order-card {
  background: #ffffff !important;
  border: 1px solid #e3e6ea !important;
  border-radius: 16px !important;
  padding: 20px !important;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.06) !important;
  margin-bottom: 40px !important;
}

.ihl-portal-header {
  border-bottom: 2px solid var(--rr-ink) !important;
}

.ihl-portal--login .ihl-portal-header {
  border-bottom: none !important;
}

.ihl-portal-notice[data-portal-toast] {
  display: none;
}

.ihl-portal-toast-stack {
  position: fixed;
  bottom: 26px;
  right: 26px;
  top: auto;
  left: auto;
  z-index: 10000;
  display: grid;
  gap: 10px;
  pointer-events: none;
  width: min(92vw, 360px);
  justify-items: end;
}

.ihl-portal-toast {
  display: block;
  position: relative;
  background: #ffffff;
  border: none;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 16px 18px 16px 52px;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.4;
  color: #111111;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
  margin: 0 !important;
}

.ihl-portal-notice.ihl-portal-toast {
  display: block;
  border: none !important;
  background: #ffffff !important;
}

.ihl-portal-toast::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 0;
  background-color: transparent;
  background-image: url("https://redactedresearch.co/wp-content/uploads/2026/01/cart.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  opacity: 0.9;
}

.ihl-portal-toast.success {
  color: #111111;
}

.ihl-portal-toast.success::before {
  filter: brightness(0) saturate(100%) invert(52%) sepia(96%) saturate(348%) hue-rotate(86deg) brightness(94%) contrast(90%);
}

.ihl-portal-toast.error {
  color: #7a1c16;
}

.ihl-portal-toast.error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23b42318' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l8 8M14 6l-8 8'/%3E%3C/svg%3E");
  filter: none;
}

.ihl-portal-toast.info {
  color: #111111;
}

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

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

@media (max-width: 768px) {
  .ihl-portal-toast-stack {
    right: 14px;
    left: 14px;
    bottom: 18px;
    width: auto;
    justify-items: stretch;
  }
}

.ihl-portal-nav a {
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: rgba(0, 0, 0, 0.6) !important;
}

.ihl-portal-nav a.is-active {
  color: var(--rr-ink) !important;
}

.ihl-portal-nav a.is-active::after {
  border-radius: 0 !important;
  height: 3px !important;
  background: var(--rr-ink) !important;
}

.ihl-portal-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ihl-portal-logo img {
  display: block;
  height: 20px;
  width: auto;
}

.ihl-portal-button,
.ihl-portal-submit,
.ihl-portal-logout,
.ihl-portal-preview-clear {
  border-radius: 0 !important;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: 1px solid var(--rr-ink) !important;
}

.ihl-portal-button,
.ihl-portal-submit {
  background: var(--rr-ink) !important;
  color: var(--rr-paper) !important;       
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2) !important;
}

.ihl-portal-button.secondary,
.ihl-portal-preview-clear {
  background: #ffffff !important;
  color: var(--rr-ink) !important;
  box-shadow: none !important;
}

.ihl-portal-table th {
  background: var(--rr-ink) !important;
  color: var(--rr-paper) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.ihl-portal-icon-link img {
  filter: none;
}

.ihl-portal--shop {
  max-width: 1200px !important;
  padding: 0 24px 72px !important;
}

.ihl-portal--shop .ihl-portal-header {
  position: relative;
  border-top: 1px solid var(--rr-ink);
  border-bottom: 1px solid var(--rr-ink) !important;
  padding: 12px 0 10px;
  margin: 0 0 18px;
}

.ihl-portal--shop .ihl-portal-header-main {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "logo preview"
    "nav preview";
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
  text-align: left;
}

.ihl-portal--shop .ihl-portal-logo {
  grid-area: logo;
  justify-self: start;
}

.ihl-portal--shop .ihl-portal-nav {
  grid-area: nav;
  justify-self: start;
}

.ihl-portal--shop .ihl-portal-preview {
  grid-area: preview;
  justify-self: end;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 6px 8px;
  max-width: 460px;
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 20;
  height: 45px;
}

.ihl-portal--shop .ihl-portal-preview-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ihl-portal--shop .ihl-portal-preview label {
  font-size: 9px;
  letter-spacing: 0.14em;
}

.ihl-portal--shop .ihl-portal-preview select {
  min-width: 140px;
  padding: 4px 6px;
  font-size: 11px;
  border-radius: 0;
}

.ihl-portal--shop .ihl-portal-preview .ihl-portal-button.secondary {
  padding: 4px 8px !important;
  font-size: 9px !important;
  letter-spacing: 0.12em !important;
}

.ihl-portal--shop .ihl-portal-preview-clear {
  padding: 4px 8px;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.ihl-portal--shop .ihl-portal-preview-note {
  margin: 0;
  font-size: 10px;
  text-align: right;
}

.ihl-portal--shop .ihl-portal-header h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  align-self: center;
}

.ihl-portal--shop .ihl-portal-logo {
  display: inline-flex;
}

.ihl-portal--shop .ihl-portal-logo img {
  display: block;
  height: 18px;
  width: auto;
}

.ihl-portal--shop .ihl-portal-header-actions {
  position: absolute;
  right: 0;
  top: 0;
  gap: 12px;
  align-items: center;
}

.ihl-portal-menu-toggle {
  display: none;
  border: 1px solid var(--rr-ink);
  background: transparent;
  width: 28px;
  height: 28px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.ihl-portal-menu-toggle span {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--rr-ink);
}

.ihl-portal--shop .ihl-portal-header-actions a {
  order: 2;
}

.ihl-portal--shop .ihl-portal-header-actions a[data-portal-icon="cart"] {
  order: 1;
}

.ihl-portal--shop .ihl-portal-header-actions a[data-portal-icon="account"] {
  order: 2;
}

.ihl-portal--shop .ihl-portal-header-actions a[data-portal-icon="logout"] {
  order: 3;
}

.ihl-portal--shop .ihl-portal-header-actions .ihl-portal-icon-link {
  width: 28px;
  height: 28px;
}

.ihl-portal--shop .ihl-portal-icon-link img {
  width: 18px;
  height: 18px;
}

.ihl-portal--shop .ihl-portal-nav {
  width: 100%;
  justify-content: flex-start;
  gap: 28px;
}

.ihl-portal--shop .ihl-portal-nav a {
  font-size: 11px;
  letter-spacing: 0.2em;
}

.ihl-portal--shop .ihl-portal-nav a.is-active::after {
  height: 2px !important;
}

.ihl-portal--cart .ihl-cart-header {
  text-align: center;
  margin: 18px 0 12px;
}

.ihl-portal--cart .ihl-cart-title {
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
}

.ihl-portal--cart .ihl-cart-alerts {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.ihl-portal--cart .ihl-cart-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 26px 14px;
  background: #d9d9d9;
  font-size: 11px;
  line-height: 1.4;
}

.ihl-portal--cart .ihl-cart-alert-icon {
  width: 18px;
  height: 18px;
  border: 1px solid var(--rr-ink);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex: 0 0 auto;
  margin-top: 1px;
}

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

.ihl-portal--cart .ihl-cart-layout {
  display: grid;
  gap: 45px;
  align-items: start;
}

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

.ihl-portal--cart .ihl-cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rr-line);
}

.ihl-portal--cart .ihl-cart-item:last-child {
  border-bottom: none;
}

.ihl-portal--cart .ihl-cart-item-media {
  width: 72px;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--rr-line);
  background: var(--rr-shop-card-bg) center / cover no-repeat;
}

.ihl-portal--cart .ihl-cart-item-body {
  display: grid;
  gap: 6px;
}

.ihl-portal--cart .ihl-cart-item-name {
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 500;
}

.ihl-portal--cart .ihl-cart-item-variant {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
}

.ihl-portal--cart .ihl-cart-item-unit {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.65);
}

.ihl-portal--cart .ihl-cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.ihl-portal--cart .ihl-cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.ihl-portal--cart .ihl-cart-item-qty input {
  width: 46px;
  height: 24px;
  border: 1px solid var(--rr-ink);
  background: #ffffff;
  text-align: center;
  font-size: 11px;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

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

.ihl-portal--cart .ihl-cart-item-update {
  border: 1px solid var(--rr-ink);
  background: #111111;
  color: #ffffff !important;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  cursor: pointer;
}

.ihl-portal--cart .ihl-cart-item-remove {
  border: none;
  background: transparent;
  color: #111111;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.ihl-portal--cart .ihl-cart-item-total {
  text-align: right;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.7);
}

.ihl-portal--cart .ihl-cart-item-total strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #111111;
  margin-top: 4px;
}

.ihl-portal--cart .ihl-cart-summary-card {
  border: 1px solid #d9d9d9;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
  padding: 24px;
  display: grid;
  gap: 27px;
}

.ihl-portal--cart .ihl-cart-summary-card h3 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.ihl-portal--cart .ihl-cart-promo {
  display: grid;
  gap: 8px;
}

.ihl-portal--cart .ihl-cart-promo label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111111 !important;
}

.ihl-portal--cart .ihl-cart-promo-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
}

.ihl-portal--cart .ihl-cart-promo input {
  border: 1px solid #d9d9d9;
  background-color: #ffffff;
  padding: 10px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #111111 !important;
}

.ihl-portal--cart .ihl-cart-promo-apply {
  background: #111111;
  color: #ffffff !important;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 18px;
  cursor: pointer;
}

.ihl-portal--cart .ihl-cart-promo-remove {
  background: #ffffff;
  color: #111111 !important;
  border: 1px solid #111111;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  cursor: pointer;
}

.ihl-portal--cart .ihl-cart-promo-row,
.ihl-portal--checkout .ihl-cart-promo-row {
  align-items: center;
  grid-template-columns: none;
}

.ihl-portal--cart .ihl-cart-promo-apply,
.ihl-portal--cart .ihl-cart-promo-remove,
.ihl-portal--checkout .ihl-cart-promo-apply,
.ihl-portal--checkout .ihl-cart-promo-remove {
  width: 100%;
}

.ihl-portal--cart .ihl-cart-promo-remove,
.ihl-portal--checkout .ihl-cart-promo-remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: opacity 0.12s ease;
}

.ihl-portal--cart .ihl-cart-promo[data-promo-code=""] .ihl-cart-promo-remove,
.ihl-portal--checkout .ihl-cart-promo[data-promo-code=""] .ihl-cart-promo-remove {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.ihl-portal--cart .ihl-cart-summary-line--promo,
.ihl-portal--checkout .ihl-portal-order-summary--promo {
  display: flex !important;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.ihl-portal--cart .ihl-cart-summary-line--promo span,
.ihl-portal--checkout .ihl-portal-order-summary--promo span {
  white-space: nowrap;
}

.ihl-portal--cart .ihl-cart-promo[data-promo-code]:not([data-promo-code=""]) ~ .ihl-cart-summary-lines .ihl-cart-summary-line--promo,
.ihl-portal--checkout .ihl-cart-promo[data-promo-code]:not([data-promo-code=""]) ~ .ihl-checkout-summary-totals .ihl-portal-order-summary--promo {
  visibility: visible;
  opacity: 1;
}

.ihl-portal--checkout .ihl-cart-promo {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.ihl-portal--checkout .ihl-cart-promo label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111111;
}

.ihl-portal--checkout .ihl-cart-promo-row {
  display: grid;
  gap: 8px;
}

.ihl-portal--checkout .ihl-cart-promo input {
  border: 1px solid #d9d9d9;
  background-color: #ffffff;
  padding: 10px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #111111;
}

.ihl-portal--checkout .ihl-cart-promo-apply {
  background: #111111;
  color: #ffffff !important;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 18px;
  cursor: pointer;
}

.ihl-portal--checkout .ihl-cart-promo-remove {
  background: #ffffff;
  color: #111111 !important;
  border: 1px solid #111111;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  cursor: pointer;
}

.ihl-portal--cart .ihl-cart-promo input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.ihl-portal--cart .ihl-cart-summary-lines {
  display: grid;
  gap: 8px;
  font-size: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--rr-line);
}

.ihl-portal--cart .ihl-cart-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ihl-portal--cart .ihl-cart-summary-total strong {
  font-size: 12px;
}

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

.ihl-portal--cart .ihl-cart-checkout,
.ihl-portal--cart .ihl-cart-continue {
  width: 100%;
  border-radius: 0 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
}

.ihl-portal--cart .ihl-cart-continue {
  justify-content: center;
}

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

.ihl-portal--cart .ihl-cart-addons-title {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 20px;
}

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

.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-card-body {
  gap: 6px;
  font-size: 13px;
}

.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-card-vendor {
  font-size: 10px;
}

.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-card-name {
  font-size: 12px;
  line-height: 1.1;
}

.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-card-price {
  font-size: 12px;
}

.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-add-button {
  padding: 6px 8px !important;
  font-size: 9px !important;
  gap: 6px;
}

.ihl-portal--cart .ihl-cart-addons-grid .ihl-shop-qty-input {
  width: 36px;
  height: 28px;
  font-size: 11px;
}

@media (max-width: 480px) {
  .ihl-portal--cart .ihl-cart-item {
    grid-template-columns: 1fr;
  }

  .ihl-portal--cart .ihl-cart-item-media {
    width: 100%;
    max-width: 180px;
  }

  .ihl-portal--cart .ihl-cart-item-total {
    margin-left: 0;
  }

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

@media (min-width: 769px) {
  body.rr-portal-page .wp-site-blocks > header,
  body.rr-portal-page header.wp-block-template-part {
    display: none;
  }

  body.rr-portal-page .wp-site-blocks {
    padding-top: 0;
  }

  .ihl-portal--shop .ihl-portal-header {
    border-top: none;
    border-bottom: none !important;
    padding: 14px 0 0;
    margin-bottom: 16px;
  }

  .ihl-portal--shop .ihl-portal-header-main {
    gap: 4px;
  }

  body.rr-portal-page main.wp-block-group {
    margin-top: 20px !important;
  }

  .ihl-portal--shop .ihl-portal-nav {
    position: relative;
    border-top: none;
    padding-top: 12px;
    margin-top: 6px;
  }

  .ihl-portal--shop .ihl-portal-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: var(--rr-ink);
    transform: translateX(-50%);
  }

  .ihl-portal--shop .ihl-portal-header-actions {
    top: 4px;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) {
    max-width: 1200px !important;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-header {
    position: relative;
    border-bottom: none !important;
    padding: 14px 0 0;
    margin: 0 0 16px;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-header-main {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo preview"
      "nav preview";
    align-items: center;
    column-gap: 16px;
    row-gap: 8px;
    text-align: left;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-logo {
    grid-area: logo;
    justify-self: start;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-logo img {
    display: block;
    height: 18px;
    width: auto;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-preview {
    grid-area: preview;
    justify-self: end;
    align-self: start;
    display: grid;
    gap: 4px;
    padding: 6px 8px;
    max-width: 460px;
    position: absolute;
    top: 50px;
    right: 0;
    z-index: 20;
    height: 45px;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-header-actions {
    position: absolute;
    right: 0;
    top: 4px;
    gap: 12px;
    align-items: center;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-header-actions .ihl-portal-icon-link {
    width: 28px;
    height: 28px;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-icon-link img {
    width: 18px;
    height: 18px;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-nav {
    grid-area: nav;
    justify-self: start;
    width: 100%;
    justify-content: flex-start;
    gap: 28px;
    position: relative;
    border-top: none;
    padding-top: 12px;
    margin-top: 6px;
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: var(--rr-ink);
    transform: translateX(-50%);
  }

  body.rr-portal-page .ihl-portal:not(.ihl-portal--shop):not(.ihl-portal--checkout):not(.ihl-portal--login) .ihl-portal-nav a {
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  body.rr-portal-page .ihl-portal--login {
    max-width: 1200px !important;
  }

  body.rr-portal-page .ihl-portal--login .ihl-portal-header {
    position: relative;
    border-bottom: none !important;
    padding: 14px 0 0;
    margin: 0 0 16px;
  }

  body.rr-portal-page .ihl-portal--login .ihl-portal-header-main {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo preview"
      "nav preview";
    align-items: center;
    column-gap: 16px;
    row-gap: 8px;
    text-align: left;
  }

  body.rr-portal-page .ihl-portal--login .ihl-portal-logo {
    grid-area: logo;
    justify-self: start;
  }

  body.rr-portal-page .ihl-portal--login .ihl-portal-logo img {
    display: block;
    height: 18px;
    width: auto;
  }

  body.rr-portal-page .ihl-portal--login .ihl-portal-nav {
    grid-area: nav;
    justify-self: start;
    width: 100%;
    justify-content: flex-start;
    gap: 28px;
    position: relative;
    border-top: none;
    padding-top: 12px;
    margin-top: 6px;
  }

  body.rr-portal-page .ihl-portal--login .ihl-portal-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: var(--rr-ink);
    transform: translateX(-50%);
  }
}

.ihl-shop-banner-slider {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin: 0 calc(50% - 50vw) 24px;
  --ihl-shop-banner-height: 900px;
  height: var(--ihl-shop-banner-height);
}

.ihl-shop-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  z-index: 0;
}

.ihl-shop-banner-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.ihl-shop-banner {
  position: relative;
  height: var(--ihl-shop-banner-height);
  width: 100%;
  margin: 0;
  background: var(--rr-shop-banner) center / cover no-repeat;
  overflow: hidden;
  display: flex; 
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.ihl-shop-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  z-index: 2;
}

.ihl-shop-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--rr-ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.ihl-shop-banner-dot.is-active {
  background: var(--rr-ink);
}

.ihl-shop-banner-dot:focus-visible {
  outline: 2px solid var(--rr-ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .ihl-shop-banner-slide {
    transition: none;
  }
}

.ihl-shop-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  /*background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);*/
  z-index: 0;
}

.ihl-shop-banner .ihl-shop-banner-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(92%, 640px);
}

.ihl-shop-banner .ihl-shop-banner-kicker {
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

.ihl-shop-banner .ihl-shop-banner-title {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.08;
  font-family: var(--wp--preset--font-family--display, "Space Grotesk", sans-serif);
}

.ihl-shop-banner .ihl-shop-banner-subtitle {
  margin: 0;
  font-size: clamp(13px, 1.9vw, 18px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
  max-width: 36ch;
}

.ihl-shop-banner .ihl-shop-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 2px solid var(--rr-ink);
  background: var(--rr-ink);
  color: var(--rr-paper) !important;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ihl-shop-banner .ihl-shop-banner-button:visited {
  color: var(--rr-paper) !important;
}

.ihl-shop-banner .ihl-shop-banner-button:hover {
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.ihl-shop-breadcrumb {
  text-align: center;
  margin: 12px 0 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

.ihl-portal--pricing .ihl-shop-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

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

.ihl-portal--pricing .ihl-shop-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
}

.ihl-portal--pricing .ihl-shop-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ihl-portal--pricing .ihl-shop-filter-group {
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
}

.ihl-portal--pricing .ihl-shop-filter-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  color: var(--rr-ink);
  cursor: pointer;
}

.ihl-portal--pricing .ihl-shop-filter-group summary::-webkit-details-marker {
  display: none;
}

.ihl-portal--pricing .ihl-shop-filter-group summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--rr-ink);
  border-bottom: 1px solid var(--rr-ink);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.ihl-portal--pricing .ihl-shop-filter-group[open] summary::after {
  transform: rotate(-135deg);
}

.ihl-portal--pricing .ihl-shop-filter-options {
  display: grid;
  gap: 8px;
  padding: 10px 0 2px;
}

.ihl-portal--pricing .ihl-shop-price-range {
  display: grid;
  gap: 8px;
  padding: 10px 0 2px;
}

.ihl-portal--pricing .ihl-shop-price-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}

.ihl-portal--pricing .ihl-shop-price-input {
  width: 100%;
  border: 1px solid #d0d5dd;
  padding: 6px 8px;
  font-size: 12px;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

.ihl-portal--pricing .ihl-shop-price-separator {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
}

.ihl-portal--pricing .ihl-shop-price-hint {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.5);
}

.ihl-portal--pricing .ihl-shop-filter-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
}

.ihl-portal--pricing .ihl-shop-filter-option input {
  width: 14px;
  height: 14px;
  accent-color: var(--rr-ink);
}

.ihl-portal--pricing .ihl-shop-featured-title {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  color: var(--rr-ink);
}

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

.ihl-portal--pricing .ihl-shop-card--mini {
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-media {
  width: 76px;
  min-width: 76px;
  aspect-ratio: 1 / 1;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-body {
  gap: 6px;
  font-size: 12px;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-vendor {
  font-size: 10px;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-name {
  font-size: 12px;
  line-height: 1.1;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-price {
  font-size: 12px;
}

.ihl-portal--pricing .ihl-shop-card-price--discount {
  display: grid;
  gap: 6px;
}

.ihl-portal--pricing .ihl-shop-card-price--discount .ihl-shop-card-price-retail,
.ihl-portal--pricing .ihl-shop-card-price--discount .ihl-shop-card-price-your {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.ihl-portal--pricing .ihl-shop-card-price--discount .ihl-shop-card-price-value {
  font-weight: 500;
}

.ihl-portal--pricing .ihl-shop-card-price--discount .ihl-shop-card-price-retail .ihl-shop-card-price-value {
  text-decoration: line-through;
  color: rgba(0, 0, 0, 0.45);
  font-weight: 400;
}

.ihl-portal--pricing .ihl-shop-card-price--discount .ihl-shop-card-price-your .ihl-shop-card-price-value {
  font-weight: 600;
}

.ihl-portal--pricing .ihl-shop-card-price--discount .ihl-shop-card-price-label {
  font-size: 0.55em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-weight: 400;
}

.ihl-portal--pricing .ihl-shop-card-price--discount .ihl-shop-card-price-your .ihl-shop-card-price-label {
  color: #111111;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-price--discount {
  gap: 4px;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-price--discount .ihl-shop-card-price-retail,
.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-price--discount .ihl-shop-card-price-your {
  gap: 8px;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-tag {
  font-size: 10px;
  padding: 2px 4px;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-card-add {
  gap: 8px;
  margin-top: 6px;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-add-button {
  padding: 6px 8px !important;
  font-size: 9px !important;
  height: 26px;
  gap: 6px;
}

.ihl-portal--pricing .ihl-shop-card--mini .ihl-shop-qty-input {
  width: 34px;
  height: 26px;
  font-size: 11px;
}

.ihl-portal--pricing .ihl-shop-banner-slider {
  width: 100%;
  margin: 0 0 24px;
  --ihl-shop-banner-height: 360px;
  height: var(--ihl-shop-banner-height);
}

.ihl-portal--pricing .ihl-shop-banner {
  height: var(--ihl-shop-banner-height);
  align-items: flex-start;
  justify-content: center;
  padding-top: 26px;
}

.ihl-portal--pricing .ihl-shop-banner-cta {
  width: min(92%, 520px);
  gap: 6px;
}

.ihl-portal--pricing .ihl-shop-banner-title {
  font-size: 22px;
  letter-spacing: 0.32em;
  font-weight: 600;
}

.ihl-portal--pricing .ihl-shop-banner-subtitle {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ihl-portal--pricing .ihl-shop-breadcrumb {
  text-align: left;
  margin: 6px 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.ihl-portal--pricing .ihl-shop-toolbar {
  margin-bottom: 18px;
}

.ihl-portal--pricing .ihl-shop-filter-toggle {
  font-size: 10px;
  letter-spacing: 0.18em;
}

.ihl-portal--pricing .ihl-shop-search {
  border: 1px solid var(--rr-ink);
  padding: 6px 10px;
  gap: 6px;
}

.ihl-portal--pricing .ihl-shop-search input {
  width: 160px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.ihl-portal--pricing .ihl-shop-grid {
  gap: 34px 22px;
}

.ihl-portal--home .ihl-home-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 36px;
}

.ihl-portal--home .ihl-home-link {
  display: block;
  border: 1px solid #e5e7eb;
  background: #f7f7f8;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ihl-portal--home .ihl-home-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.ihl-portal--home .ihl-home-link.is-disabled {
  cursor: default;
}

.ihl-portal--home .ihl-home-link.is-disabled:hover {
  transform: none;
  box-shadow: none;
}



.ihl-portal--home .ihl-home-link img {
  width: 100%;
  height: auto;
  display: block;
}

.ihl-portal--home .ihl-home-link-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 80px);
  padding: 14px 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 18px;
  font-weight: 200;
  color: #111;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ihl-portal--home .ihl-home-link-note {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: #111;
  color: #ffffff !important;
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

.ihl-portal--home .ihl-home-disclaimer {
  margin: 18px 0 36px;
  display: grid;
  gap: 12px;
}

.ihl-portal--home .ihl-home-disclaimer-title {
  margin: 0;
  text-align: center;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.ihl-portal--home .ihl-home-disclaimer-card {
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 16px 18px;
  display: grid;
  gap: 12px;
}

.ihl-portal--home .ihl-home-disclaimer-block {
  display: grid;
  gap: 6px;
}

.ihl-portal--home .ihl-home-disclaimer-line {
  background: #efefef;
  padding: 6px 8px;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #111;
  line-height: 1.4;
}

.ihl-portal--home .ihl-home-featured {
  margin-top: 12px;
}

.ihl-portal--home .ihl-home-product-grid {
  margin-top: 0;
}

.ihl-portal--home .ihl-home-see-more {
  display: flex;
  justify-content: center;
  margin: 28px 0 10px;
}

.ihl-portal--home .ihl-home-see-more-button {
  min-width: 260px;
  padding: 12px 40px !important;
  background: #ffffff !important;
  color: var(--rr-ink) !important;
  border: 1px solid var(--rr-ink) !important;
  box-shadow: none !important;
  letter-spacing: 0.05em !important;
}

.ihl-portal--home .ihl-home-trust {
  margin: 34px 0 0;
}

.ihl-portal--home .ihl-home-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.ihl-portal--home .ihl-home-trust-card {
  position: relative;
}

.ihl-portal--home .ihl-home-trust-label {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(70%, 320px);
  padding: 10px 14px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 200;
  color: #111;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

.ihl-portal--home .ihl-home-trust-card img {
  display: block;
  width: 100%;
  height: auto;
}

.ihl-portal--home .ihl-home-trust-divider {
  height: 1px;
  background: #d1d5db;
  margin: 24px 0;
}

.ihl-portal--home .ihl-home-trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

.ihl-portal--home .ihl-home-trust-logo {
  display: block;
  max-height: 70px;
  width: auto;
  height: auto;
}

.ihl-portal--home .ihl-home-empty {
  margin: 12px 0 0;
  color: rgba(0, 0, 0, 0.55);
  font-size: 14px;
}

.ihl-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ihl-shop-filter-toggle {
  border: none;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  cursor: pointer;
}

.ihl-shop-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--rr-ink);
  padding-bottom: 2px;
}

.ihl-shop-search input {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  width: 130px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

.ihl-shop-search input:focus {
  outline: none;
}

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

.ihl-shop-icon svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke-width: 1.4;
}

.ihl-shop-icon img {
  width: 14px;
  height: 14px;
  display: block;
}

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

.ihl-shop-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ihl-shop-card-media {
  position: relative;
  background: var(--rr-shop-card-bg) center / cover no-repeat;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.ihl-shop-card-title {
  position: absolute;  
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  max-width: 90%;
}

.ihl-shop-card-body {
  display: grid;
  gap: 10px;
  font-size: 18px;
}

.ihl-shop-card-vendor {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-weight: 400;
}

.ihl-shop-card-name {
  font-size: 22px;
  font-weight: 500;
}  

.ihl-shop-card-price {
  font-size: 22px;
  font-weight: 400;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

.ihl-shop-card-backorder {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b5e00; 
}
 
.ihl-shop-card-tags {
  display: flex; 
  gap: 4px;
  flex-wrap: wrap;
}

.ihl-shop-card-tag {
  border: 1px solid var(--rr-ink);
  padding: 2px 4px;
  font-size: 14px;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

.ihl-shop-card-add {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.ihl-shop-add-button {
  padding: 10px 16px !important;
  font-size: 14px !important;
  box-shadow: none !important;
  height: 40px;
  gap: 12px;
}

.ihl-shop-add-button .ihl-shop-icon {
  width: 18px;
  height: 18px;
  color: var(--rr-paper) !important;
}

.ihl-shop-add-button .ihl-shop-icon svg {
  width: 18px;
  height: 18px;
}

.ihl-shop-add-button .ihl-shop-icon img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.ihl-shop-qty-input {
  width: 56px;
  height: 40px;
  border: 1px solid var(--rr-ink) !important;
  background: #ffffff !important;
  padding: 0 !important;
  text-align: center;
  font-size: 15px;
  -moz-appearance: textfield;
  appearance: textfield;
}

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

.ihl-portal--shop .ihl-portal-search-empty {
  text-align: center;
  margin-top: 24px;
}

@media (max-width: 768px) {
  body.rr-portal-page:not(.rr-login-page) header.site-header,
  body.rr-portal-page:not(.rr-login-page) .site-header,
  body.rr-portal-page:not(.rr-login-page) #masthead,
  body.rr-portal-page:not(.rr-login-page) header.wp-block-template-part,
  body.rr-portal-page:not(.rr-login-page) .wp-site-blocks > header {
    display: block !important;
  }

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

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

  .ihl-portal--cart .ihl-cart-item-total {
    grid-column: 1 / -1;
    text-align: left;
    margin-left: 74px;
  }

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

  .ihl-portal--shop {
    padding: 0 20px 64px !important;
  }

  .ihl-portal--home .ihl-home-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin: 20px 0 28px;
  }

  .ihl-portal--home .ihl-home-link-label {
    width: calc(100% - 48px);
    font-size: 14px;
    letter-spacing: 0.18em;
    padding: 10px 12px;
  }

  .ihl-portal--home .ihl-home-disclaimer {
    margin: 12px 0 28px;
  }

  .ihl-portal--home .ihl-home-disclaimer-card {
    padding: 12px 12px;
  }

  .ihl-portal--home .ihl-home-disclaimer-line {
    font-size: 10px;
    letter-spacing: 0.02em;
  }

  .ihl-portal--home .ihl-home-see-more {
    margin: 22px 0 6px;
  }

  .ihl-portal--home .ihl-home-trust {
    margin-top: 26px;
  }

  .ihl-portal--home .ihl-home-trust-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .ihl-portal--home .ihl-home-trust-label {
    width: calc(100% - 48px);
    font-size: 12px;
    letter-spacing: 0.18em;
    padding: 8px 10px;
  }

  .ihl-portal--home .ihl-home-trust-logos {
    gap: 32px;
  }

  .ihl-portal--home .ihl-home-trust-logo {
    max-height: 54px;
  }

  .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);
    background: #ffffff;
  }

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

  .ihl-portal--pricing .ihl-shop-banner-slider {
    --ihl-shop-banner-height: 260px;
    margin-bottom: 18px;
  }

  .ihl-portal--pricing .ihl-shop-banner {
    padding-top: 18px;
  }

  .ihl-portal--pricing .ihl-shop-banner-title {
    font-size: 18px;
  }

  .ihl-portal--pricing .ihl-shop-banner-subtitle {
    font-size: 10px;
  }

  .ihl-portal--pricing .ihl-shop-search {
    width: 100%;
  }

  .ihl-portal--pricing .ihl-shop-search input {
    width: 100%;
  }

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

  .ihl-portal--login .ihl-portal-header {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 16px;
    padding: 12px 0 0;
    border-bottom: none !important;
  }

  .ihl-portal--login .ihl-portal-header-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ihl-portal--login .ihl-portal-logo img {
    height: 18px;
    width: auto;
  }

  .ihl-portal--login .ihl-portal-nav {
    width: 100%;
    position: relative;
    padding-top: 12px;
    margin-top: 6px;
  }

  .ihl-portal--login .ihl-portal-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 1px;
    background: var(--rr-ink);
    transform: translateX(-50%);
  }

  .ihl-portal--shop .ihl-portal-header-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .ihl-portal--shop .ihl-portal-header h2 {
    align-self: flex-start;
  }

  .ihl-portal--shop .ihl-portal-header-actions {
    top: 2px;
    gap: 8px;
  }

  .ihl-portal--shop .ihl-portal-preview {
    align-self: stretch;
    max-width: 100%;
  }

  .ihl-portal--shop .ihl-portal-preview-form {
    width: 100%;
  }

  .ihl-portal--shop .ihl-portal-preview select {
    width: 100%;
    min-width: 0;
  }

  .ihl-portal--shop .ihl-portal-header-actions a {
    display: none;
  }

  .ihl-portal--shop .ihl-portal-menu-toggle {
    display: inline-flex;
  }

  .ihl-portal--shop .ihl-portal-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--rr-line);
  }

  .ihl-portal--shop.ihl-portal--menu-open .ihl-portal-nav {
    display: flex;
  }

  .ihl-shop-banner-slider {
    --ihl-shop-banner-height: 420px;
    margin: 0 calc(50% - 50vw) 20px;
  }

  .ihl-shop-banner {
    height: var(--ihl-shop-banner-height);
    padding: 0 18px;
  }

  .ihl-shop-banner-cta {
    gap: 10px;
    max-width: 340px;
  }

  .ihl-shop-banner-kicker {
    font-size: 10px;
    letter-spacing: 0.24em;
  }

  .ihl-shop-banner-title {
    font-size: 26px;
    letter-spacing: 0.12em;
  }

  .ihl-shop-banner-subtitle {
    font-size: 12px;
  }

  .ihl-shop-banner-button {
    font-size: 10px;
    padding: 9px 18px;
    letter-spacing: 0.18em;
  }

  .ihl-shop-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
   
  .ihl-shop-search input {
    width: 140px;  
  }

  .ihl-shop-card-title {
    font-size: 16px;
  }

  .ihl-portal--shop .ihl-shop-card-body {
    gap: 6px;
    font-size: 14px;
  }

  .ihl-portal--shop .ihl-shop-card-vendor {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.45);
    font-weight: 400;
  }

  .ihl-portal--shop .ihl-shop-card-name {
    font-size: 15px;
    line-height: 1.05;
  }

  .ihl-portal--shop .ihl-shop-card-price {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .ihl-portal--shop .ihl-shop-card-backorder {
    font-size: 12px;
  }

  .ihl-portal--shop .ihl-shop-card-tag {
    font-size: 11px;
    padding: 2px 4px;
  }

  .ihl-portal--shop .ihl-shop-card-add {
    gap: 12px;
    margin-top: 6px;
  }

  .ihl-portal--shop .ihl-shop-add-button {
    padding: 7px 10px !important;
    font-size: 11px !important;
    height: 32px;
    gap: 8px;
  }

  .ihl-portal--shop .ihl-shop-add-button .ihl-shop-icon {
    width: 14px;
    height: 14px;
  }

  .ihl-portal--shop .ihl-shop-add-button .ihl-shop-icon svg {
    width: 14px;
    height: 14px;
  }

  .ihl-portal--shop .ihl-shop-add-button .ihl-shop-icon img {
    width: 14px;
    height: 14px;
  }

  .ihl-portal--shop .ihl-shop-qty-input {
    width: 40px;
    height: 32px;
    font-size: 12px;
  }

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

  body.rr-portal-page .wp-block-navigation__responsive-container {
    display: none;
    background: transparent !important;
  }

  body.rr-portal-page .wp-block-navigation {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }

  body.rr-portal-page .ihl-portal-mobile-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    text-decoration: none;
  }

  body.rr-portal-page .ihl-portal-mobile-cart img {
    width: 18px;
    height: 18px;
  }

  body.rr-portal-page .wp-block-navigation__responsive-container.is-menu-open,
  body.rr-portal-page .wp-block-navigation.is-menu-open .wp-block-navigation__responsive-container {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
  }

  body.rr-portal-page .wp-block-navigation__responsive-container-content {
    height: 100vh;
    width: clamp(240px, 62vw, 360px);
    margin-left: auto;
    background: var(--rr-paper);
    padding: 92px 30px 44px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    box-shadow: -18px 0 28px rgba(0, 0, 0, 0.18);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  body.rr-portal-page .wp-block-navigation__responsive-container-close {
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 0;
    padding: 0;
    color: var(--rr-ink);
    background: transparent;
  }

  body.rr-portal-page .wp-block-navigation__responsive-container-close svg {
    width: 20px;
    height: 20px;
  }

  body.rr-portal-page .wp-block-navigation__container,
  body.rr-portal-page .wp-block-page-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 24px;
  }

  body.rr-portal-page .wp-block-navigation-item__content {
    font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.35;
  }

  body.rr-portal-page .ihl-portal-menu-item {
    width: 100%;
  }

  body.rr-portal-page .ihl-portal-menu-item .wp-block-navigation-item__content {
    display: inline-flex;
    width: 100%;
    justify-content: flex-start;
    padding: 0;
    border: none;
    font-size: 20px;
    line-height: 1.35;
    background: transparent;
  }

  body.rr-portal-page .ihl-portal-menu-item.current-menu-item .wp-block-navigation-item__content,
  body.rr-portal-page .ihl-portal-menu-item .wp-block-navigation-item__content[aria-current="page"] {
    background: transparent;
    color: var(--rr-ink);
    font-weight: 400;
  }

  body.rr-portal-page .ihl-portal-menu-icons {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
  }

  body.rr-portal-page .ihl-portal-menu-icons .ihl-portal-icon-link {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  body.rr-portal-page .ihl-portal-menu-icons .ihl-portal-icon-link:not([data-portal-icon="cart"]) {
    display: none;
  }

  body.rr-portal-page .ihl-portal-menu-icons img {
    width: 24px;
    height: 24px;
    display: block;
  }

  body.rr-portal-page .ihl-portal-menu-icons .ihl-portal-icon-badge {
    top: -6px;
    right: -6px;
    min-width: 14px;
    height: 14px;
    font-size: 9px;
    padding: 0 3px;
  }
}

@media (min-width: 769px) {
  .ihl-portal--shop .ihl-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .ihl-portal--home .ihl-home-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .ihl-portal--shop .ihl-shop-card-body {
    gap: 6px;
    font-size: 17px;
  }

  .ihl-portal--shop .ihl-shop-card-vendor {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45) !important;
    font-weight: 400;
  }

  .ihl-portal--shop .ihl-shop-card-name {
    font-size: 16px;
    line-height: 0.8;
  }

  .ihl-portal--shop .ihl-shop-card-price {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .ihl-portal--shop .ihl-shop-card-backorder {
    font-size: 14px;
  }

  .ihl-portal--shop .ihl-shop-card-tag {
    font-size: 12px;
    padding: 2px 5px;
  }

  .ihl-portal--shop .ihl-shop-card-add {
    gap: 15px;
    margin-top: 10px;
  }

  .ihl-portal--shop .ihl-shop-add-button {
    padding: 10px 15px !important;
    font-size: 13px !important;
    height: 38px;
    gap: 10px;
  }

  .ihl-portal--shop .ihl-shop-add-button .ihl-shop-icon {
    width: 17px;
    height: 17px;
  }

  .ihl-portal--shop .ihl-shop-add-button .ihl-shop-icon svg {
    width: 17px;
    height: 17px;
  }

  .ihl-portal--shop .ihl-shop-add-button .ihl-shop-icon img {
    width: 17px;
    height: 17px;
  }

  .ihl-portal--shop .ihl-shop-qty-input {
    width: 54px;
    height: 38px;
    font-size: 14px;
  }
}

.ihl-portal-login-wrap {
  padding: 96px 24px !important;
}

@media screen and (max-width: 768px) {
  .ihl-portal-login-wrap {
    padding: 96px 20px !important;
  }
  
}

.ihl-portal-login {
  margin-top: 0 !important;
}

.ihl-portal-login-card--primary::before {
  content: "Classified Access Only";
  display: block;
  padding: 6px 12px;
  border: 2px solid var(--rr-ink);
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}

.ihl-portal-subheading,
.ihl-portal-help,
.ihl-portal-preview-note,
.ihl-portal-backorder,
.ihl-portal-payment-copy,
.ihl-portal-payment-note,
.ihl-portal-order-summary span {
  color: rgba(0, 0, 0, 0.6) !important;
}

.ihl-portal-notice {
  background: #ffffff !important;
  border: 2px solid var(--rr-ink) !important;
}

.ihl-portal-notice.success,
.ihl-portal-notice.error,
.ihl-portal-notice.info {
  color: var(--rr-ink) !important;
}

.ihl-portal--checkout {
  max-width: 1100px !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 24px 48px !important;
  margin-bottom: 48px !important;
}

.ihl-portal-order-field input,
.ihl-portal-order-field textarea,
.ihl-portal-search input,
.ihl-portal-select {
  color: var(--rr-ink) !important;
}

.ihl-portal-order-field input::placeholder,
.ihl-portal-order-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}

.ihl-portal-icon-badge {
  background: var(--rr-ink) !important;
  color: var(--rr-paper) !important;
  min-width: 0 !important;
  padding: 0 2px !important;
  border-radius: 4px !important;
}

.ihl-portal--login .ihl-portal-header-actions,
.ihl-portal--login .ihl-portal-menu-toggle {
  display: none !important;
}

.ihl-portal--login .ihl-portal-nav a {
  display: none !important;
}

.ihl-portal--login .ihl-portal-nav {
  display: none !important;
}

.ihl-portal--login .ihl-portal-preview {
  display: none !important;
}

/* Checkout overrides to match the Figma layout. */
.ihl-portal--checkout .ihl-portal-header {
  border-bottom: 1px solid var(--rr-ink) !important;
  margin: 0 0 24px !important;
  padding-bottom: 12px !important;
}

.ihl-portal--checkout .ihl-checkout-card,
.ihl-portal--checkout .ihl-checkout-summary-card,
.ihl-portal--checkout .ihl-shippo-rate {
  border: 1px solid #d9d9d9 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.ihl-portal--checkout .ihl-portal-order-field input,
.ihl-portal--checkout .ihl-portal-order-field textarea,
.ihl-portal--checkout .ihl-portal-select,
.ihl-portal--checkout .ihl-portal-checkbox {
  border: 1px solid #d9d9d9 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  padding: 10px 12px !important;
  font-size: 12px !important;
  height: 40px !important;
}

.ihl-portal--checkout #ihl-checkout-notes {
  height: 120px !important;
  resize: none;
}

.ihl-portal--checkout .ihl-portal-order-field label {
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
}

.ihl-portal--checkout .ihl-portal-order-summary {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
}

.ihl-portal--checkout .ihl-portal-submit {
  box-shadow: none !important;
}

.ihl-portal--checkout .ihl-checkout-secondary {
  border: 1px solid var(--rr-ink) !important;
  background: #ffffff !important;
  letter-spacing: 0.2em !important;
}

.ihl-portal--checkout .ihl-checkout-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d9d9d9 !important;
  background: #ffffff !important;
  color: #111111 !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

.ihl-portal--checkout .ihl-portal-help,
.ihl-portal--checkout .ihl-checkout-option-text span,
.ihl-portal--checkout .ihl-checkout-summary-meta,
.ihl-portal--checkout .ihl-portal-order-summary span,
.ihl-portal--checkout .ihl-shippo-rate-meta small,
.ihl-portal--checkout .ihl-shippo-status,
.ihl-portal--checkout .ihl-shippo-loading {
  color: rgba(0, 0, 0, 0.6) !important;
}

.ihl-portal--checkout .ihl-checkout-option input:checked + .ihl-checkout-option-content {
  background: #f3f3f3 !important;
  border-color: #111111 !important;
  box-shadow: inset 0 0 0 1px #111111 !important;
}

.ihl-portal--checkout .ihl-checkout-option input:checked + .ihl-checkout-option-content .ihl-checkout-option-text strong {
  font-weight: 600 !important;
}

.ihl-portal--checkout .ihl-shippo-rate.is-selected {
  background: #f3f3f3 !important;
  border-color: #111111 !important;
  box-shadow: inset 0 0 0 1px #111111 !important;
}

/* Orders view layout + styling. */
.ihl-portal-order--view {
  display: grid;
  gap: 28px;
}

.ihl-portal-order--view > h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ihl-portal-order--view .ihl-portal-payment {
  padding: 20px !important;
  border: 1px solid var(--rr-ink) !important;
  background: #ffffff !important;
  display: grid;
  gap: 12px;
}

.ihl-portal-order--view .ihl-portal-payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}

.ihl-portal-order--view .ihl-portal-payment-title {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
}

.ihl-portal-order--view .ihl-portal-payment-badge {
  border-radius: 0 !important;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
}

.ihl-portal-order--view .ihl-portal-payment-badge.is-paid {
  background: #f3f3f3;
  border-color: #111111;
  color: #111111;
}

.ihl-portal-order--view .ihl-portal-payment-badge.is-unpaid {
  background: #f3f3f3;
  border-color: #111111;
  color: #111111;
}

.ihl-portal-order--view .ihl-portal-payment-lede {
  font-size: 13px;
  margin: 0;
}

.ihl-portal-order--view .ihl-portal-payment-copy {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.ihl-portal-order--view .ihl-portal-payment-divider {
  height: 1px;
  background: #d9d9d9;
}

.ihl-portal-order--view .ihl-portal-order-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
}

.ihl-portal-order--view .ihl-portal-order-id span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
}

.ihl-portal-order--view .ihl-portal-order-id strong {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.ihl-portal-order-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed #d5d9df;
  border-radius: 0 !important;
  background: #fff;
}

.ihl-order-meta {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid rgb(227, 230, 234);
  border-radius: 0 !important;
  background: rgb(250, 250, 250);
  display: grid;
  gap: 8px;
}

.ihl-portal-select {
  width: 100%;
  border: 1px solid #d5d9df;
  border-radius: 12px !important;
  padding: 12px 14px;
  background: #f7f8fa;
  font-size: 14px;
  height: 40px;
}

.ihl-portal-button[data-add-order-item] {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
  box-shadow: none !important;
}

.ihl-portal-order-cancel-form {
  margin: 0;
}

.ihl-portal-order--view .ihl-portal-choice-group {
  gap: 10px;
}

.ihl-portal-order--view .ihl-portal-choice-group label {
  border: 1px solid #d9d9d9 !important;
  padding: 8px 12px !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  background: #ffffff !important;
}

.ihl-portal-order--view .ihl-payment-panel {
  border: 1px solid #d9d9d9 !important;
  background: #ffffff !important;
  padding: 12px !important;
  border-radius: 0 !important;
}

.ihl-portal-order--view .ihl-payment-panel strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ihl-portal-order--view .ihl-portal-order-card {
  padding: 20px !important;
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.ihl-portal-order--view .ihl-portal-edit-order {
  margin-right: 12px;
}

.ihl-portal-order--view .ihl-portal-edit-order:hover {
  background: #b42318;
  color: #ffffff;
  border-color: #b42318;
}

.ihl-portal-update-order {
  margin-right: 12px;
}

.ihl-portal-update-order:hover {
  background: #b42318;
  color: #ffffff;
  border-color: #b42318;
}

/* Account page layout. */
.ihl-portal--account .ihl-portal-main {
  margin-top: 12px;
}

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

.ihl-portal--account .ihl-account-sidebar {
 
  padding-right: 24px;
  display: grid;
  gap: 18px;
  position: sticky;
  top: 24px;
  align-self: start;
}

.ihl-portal--account .ihl-account-card {
  border: 1px solid #d9d9d9;
  padding: 16px;
  background: #ffffff;
}

.ihl-portal--account .ihl-account-card-kicker {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 10px;
}

.ihl-portal--account .ihl-account-card-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ihl-portal--account .ihl-account-card-meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b7280;
}

.ihl-portal--account .ihl-account-menu {
  display: grid;
  gap: 10px;
}

.ihl-portal--account .ihl-account-menu-title {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #6b7280;
}

.ihl-portal--account .ihl-account-tab {
  width: 100%;
  text-align: left;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  color: #111111;
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
}

.ihl-portal--account .ihl-account-tab.is-active {
  background: #111111;
  color: #ffffff !important;
  border-color: #111111;
}

.ihl-portal--account .ihl-portal-button,
.ihl-portal--account .ihl-portal-submit {
  box-shadow: none !important;
  letter-spacing: 0.28em !important;
  font-size: 10px;
  padding: 10px 14px;
}

.ihl-portal--account .ihl-account-logout {
  width: 100%;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 10px;
}

.ihl-portal--account .ihl-account-logout:hover {
  background: #ffffff;
  color: #111111;
}

.ihl-portal--account .ihl-account-featured {
  margin-top: 12px;
  display: grid;
  gap: 14px;
}

.ihl-portal--account .ihl-account-featured-title {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #6b7280;
}

.ihl-portal--account .ihl-account-product {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.ihl-portal--account .ihl-account-product-media {
  width: 72px;
  height: 98px;
  background-size: cover;
  background-position: center;
  border: 1px solid #d9d9d9;
}

.ihl-portal--account .ihl-account-product-body {
  display: grid;
  gap: 6px;
}

.ihl-portal--account .ihl-account-product-vendor {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b7280;
}

.ihl-portal--account .ihl-account-product-name {
  font-size: 12px;
  font-weight: 600;
}

.ihl-portal--account .ihl-account-product-price {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ihl-portal--account .ihl-account-product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ihl-portal--account .ihl-account-product-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ihl-portal--account .ihl-account-product-add {
  padding: 6px 10px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ihl-portal--account .ihl-account-product-qty {
  width: 44px;
  height: 32px;
  border: 1px solid #111111;
  text-align: center;
  font-size: 12px;
}

.ihl-portal--account .ihl-account-content {
  display: grid;
  gap: 32px;
}

.ihl-portal--account .ihl-account-section {
  display: none;
}

.ihl-portal--account .ihl-account-section.is-active {
  display: block;
}

.ihl-portal--account .ihl-account-section-heading {
  margin-bottom: 48px;
  padding-bottom: 10px;
  text-align-last: end;
}

.ihl-portal--account .ihl-account-section-heading h2 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.ihl-portal--account .ihl-account-section-heading p {
  margin: 0;
  font-size: 18px;
  color: #6b7280 !important;
  letter-spacing: 0.12em;
}

.ihl-portal--account .ihl-account-panel {
  border: 1px solid #d9d9d9;
  padding: 20px;
  background: #ffffff;
  width: 100%;
}

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

.ihl-portal--account .ihl-account-form-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.ihl-portal--account .ihl-account-form .ihl-portal-order-field label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6b7280;
}

.ihl-portal--account .ihl-account-form .ihl-portal-order-field input,
.ihl-portal--account .ihl-account-form .ihl-portal-order-field textarea {
  border: 1px solid #d9d9d9 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  height: 40px;
  font-size: 12px;
}

.ihl-portal--account .ihl-account-addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.ihl-portal--account .ihl-account-address-card {
  border: 1px solid #d9d9d9;
  background: #ffffff;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.ihl-portal--account .ihl-account-address-title {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.ihl-portal--account .ihl-account-address-lines {
  font-size: 13px;
  line-height: 1.5;
}

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

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

.ihl-portal--account .ihl-account-address-delete {
  margin: 0;
  display: inline-flex;
}

.ihl-portal--account .ihl-account-form-wrap {
  margin-top: 24px;
}

.ihl-portal--account .ihl-account-form-heading {
  margin-bottom: 12px;
}

.ihl-portal--account .ihl-account-form-heading h3 {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

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

.ihl-portal--account .ihl-account-password-card {
  background: #111111;
  color: #ffffff;
  padding: 26px;
  max-width: 520px;
  margin:auto;
  margin-top:48px;
}

.ihl-portal--account .ihl-account-password-title {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #ffffff !important;
}

.ihl-portal--account .ihl-account-password-card .ihl-portal-order-field label {
  color: #ffffff !important;
}

.ihl-portal--account .ihl-account-password-card .ihl-portal-order-field input {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #ffffff !important;
}

.ihl-portal--account .ihl-account-password-card,
.ihl-portal--account .ihl-account-password-card * {
  color: #ffffff !important;
}

.ihl-portal--account .ihl-account-password-card .ihl-portal-order-field input::placeholder {
  color: #9ca3af;
}

.ihl-portal--account .ihl-account-password-card .ihl-portal-submit {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

.ihl-portal--account .ihl-account-password-card .ihl-portal-submit:hover {
  background: #ffffff !important;
  color: #111111 !important;
}

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

.ihl-portal--account .ihl-account-password-card .ihl-account-form-actions {
  text-align: center;
  justify-content: center;
}

.ihl-portal--account .ihl-account-table-wrap {
  border: 1px solid #d9d9d9;
  width: 100%;
  margin-bottom:100px;
  margin-top:48px;
}

.ihl-portal--account .ihl-account-orders-table,
.ihl-portal--account .ihl-account-promo-table,
.ihl-portal--account .ihl-account-referrals-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.ihl-portal--account .ihl-account-orders-table th,
.ihl-portal--account .ihl-account-promo-table th,
.ihl-portal--account .ihl-account-referrals-table th {
  background: #f3f3f3;
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid #d9d9d9;
}

.ihl-portal--account .ihl-account-orders-table td,
.ihl-portal--account .ihl-account-promo-table td,
.ihl-portal--account .ihl-account-referrals-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e3e3e3;
}

.ihl-portal--account .ihl-account-muted {
  font-size: 12px;
  color: #6b7280;
  margin-bottom:100px;
}

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

.ihl-portal--account .ihl-order-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 9px;
}

.ihl-portal--account .ihl-order-action:hover {
  background: #111111;
  color: #ffffff;
}

.ihl-portal--account .ihl-account-referral-block {
  display: grid;
  gap: 12px;
  margin-top: 48px;
  max-width: 100%;
}

.ihl-portal--account .ihl-account-referral-kicker {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6b7280;
}

.ihl-portal--account .ihl-account-referral-card {
  border: 1px solid #d9d9d9;
  padding: 24px 18px;
  display: grid;
  gap: 16px;
  width: 100%;
}

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

.ihl-portal--account .ihl-account-referral-title {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.ihl-portal--account .ihl-account-referral-url {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  word-break: break-all;
}

.ihl-portal--account .ihl-account-referral-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ihl-portal--account .ihl-account-referral-actions .ihl-portal-button {
  min-width: 180px;
  height: 40px;
}

.ihl-portal--account .ihl-account-referral-progress {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.ihl-portal--account .ihl-account-referral-progress-title {
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
}

.ihl-portal--account .ihl-account-referral-progress-note {
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
}

@media (max-width: 1024px) {
  .ihl-portal--account .ihl-account-layout {
    grid-template-columns: 1fr;
  }

  .ihl-portal--account .ihl-account-sidebar {
    position: static;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: 20px;
  }
}

@media (max-width: 720px) {
  .ihl-portal--account .ihl-account-form-grid {
    grid-template-columns: 1fr;
  }

  .ihl-portal--account .ihl-account-referral-row {
    grid-template-columns: 1fr;
  }

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

  .ihl-portal--account .ihl-account-product-media {
    width: 64px;
    height: 90px;
  }
}

.ihl-portal-order--view .ihl-portal-table {
  border: 1px solid #d9d9d9 !important;
}

.ihl-portal-order--view .ihl-portal-table th {
  background: #f3f3f3 !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
}

.ihl-portal-order--view .ihl-portal-table td {
  font-size: 12px;
}

.ihl-portal-order--view .ihl-portal-order-summary {
  border: none !important;
  border-bottom: 1px solid #d9d9d9 !important;
  padding: 10px 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
}

.ihl-portal-order--view .ihl-portal-order-summary:last-of-type {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.ihl-portal-order--view .ihl-portal-order-summary strong {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ihl-portal-order--view .ihl-order-meta {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #d9d9d9;
  display: grid;
  gap: 10px;
  font-size: 12px;
}

.ihl-portal-order--view .ihl-order-meta strong {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ihl-portal-order--view .ihl-portal-order-field label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Orders list page. */
.ihl-portal--orders .ihl-portal-main {
  display: block;
}

.ihl-portal--orders .ihl-portal-main > * + * {
  margin-top: 20px;
}

.ihl-portal--orders .ihl-portal-table {
  margin-top: 0;
  border: 1px solid #d9d9d9 !important;
  background: #ffffff !important;
}

.ihl-portal--orders .ihl-portal-table th {
  background: #f3f3f3 !important;
  color: #111111 !important;
  font-size: 10px !important;
  letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  line-height: 1.2;
}

.ihl-portal--orders .ihl-portal-table td {
  padding: 8px 12px !important;
  font-size: 12px !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  vertical-align: middle;
  height: auto !important;
}

.ihl-portal--orders .ihl-portal-table tr {
  height: auto !important;
}

.ihl-portal--orders .ihl-portal-table td[data-label="Total"] {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ihl-portal--orders .ihl-portal-table td[data-label="Status"],
.ihl-portal--orders .ihl-portal-table td[data-label="Payment"] {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px !important;
}

.ihl-portal--orders .ihl-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ihl-portal--orders .ihl-order-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid #111111;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 9px;
}

.ihl-portal--orders .ihl-order-action:hover {
  background: #111111;
  color: #ffffff;
}

@media (hover: hover) {
  .ihl-portal--orders .ihl-order-action:hover {
    color: #ffffff !important;
  }
}

@media (min-width: 1024px) {
  .ihl-portal-order--view {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    grid-template-areas:
      "title title"
      "order payment";
    align-items: start;
  }

  .ihl-portal-order--view > h3 {
    grid-area: title;
  }

  .ihl-portal-order--view > .ihl-portal-order-card {
    grid-area: order;
  }

  .ihl-portal-order--view > .ihl-portal-payment {
    grid-area: payment;
    position: sticky;
    top: 24px;
  }
}

@media (min-width: 769px) {
  .ihl-portal--orders .ihl-portal-table {
    table-layout: auto !important;
  }

  .ihl-portal--orders .ihl-portal-table thead {
    display: table-header-group !important;
  }

  .ihl-portal--orders .ihl-portal-table tbody {
    display: table-row-group !important;
  }

  .ihl-portal--orders .ihl-portal-table tr {
    display: table-row !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .ihl-portal--orders .ihl-portal-table th,
  .ihl-portal--orders .ihl-portal-table td {
    display: table-cell !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    vertical-align: middle !important;
  }

  .ihl-portal--orders .ihl-portal-table th {
    background: #e9e9e9 !important;
    color: #111111 !important;
    padding: 6px 10px !important;
    font-size: 9px !important;
    letter-spacing: 0.22em !important;
  }

  .ihl-portal--orders .ihl-portal-table td {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }

  .ihl-portal--orders .ihl-order-action {
    padding: 4px 8px;
    font-size: 8px;
    letter-spacing: 0.18em;
  }
}

@media (max-width: 768px) {
  .ihl-portal--orders .ihl-portal-table {
    margin-top: 0;
    border: none !important;
    background-color: #ffffff !important;
  }

  .ihl-portal-table tr {
    display: block;
    border: 1px solid #d9d9d9;
    margin-bottom: 20px;
  }

  .ihl-portal-order--view .ihl-portal-payment,
  .ihl-portal-order--view .ihl-portal-order-card {
    padding: 16px !important;
  }

  .ihl-portal-order--view .ihl-portal-order-id {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 769px) {
  .ihl-portal--checkout .ihl-checkout-summary-header {
    display: block !important;
    font-size: 11px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: #111111 !important;
    font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace) !important;
    margin-bottom: 16px !important;
    border-bottom: solid 1px #d9d9d9 !important;
    padding-bottom: 12px !important;
  }

  .ihl-portal--checkout .ihl-checkout-summary-header h3 {
    font-size: 17px !important;
    letter-spacing: 0 !important;
    margin-bottom: 4px !important;
  }

  .ihl-portal--checkout .ihl-checkout-summary-item:last-child {
    border-bottom: none !important;
    padding-bottom: 10px !important;
  }
}

@media (max-width: 768px) {
  .ihl-portal--checkout {
    padding: 0 0 24px !important;
    margin-bottom: 24px !important;
  }

  .ihl-portal--checkout .ihl-checkout-summary-toggle {
    justify-content: flex-start !important;
  }

  .ihl-portal--checkout .ihl-checkout-summary-toggle > span:first-child {
    order: 1;
  }

  .ihl-portal--checkout .ihl-checkout-summary-caret {
    order: 2;
    margin-left: 8px;
  }

  .ihl-portal--checkout .ihl-checkout-summary-toggle-total {
    order: 3;
    margin-left: auto;
  }
}

/* Login-only styling to match the redacted reference. */
.ihl-portal--login .ihl-portal-login {
  max-width: 420px;
}

.ihl-portal--login .ihl-portal-login-card {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 22px 22px !important;
  position: relative;
}

.ihl-portal--login .ihl-portal-login-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: none;
  pointer-events: none;
}

.ihl-portal--login .ihl-portal-login-card--primary::before {
  content: "Authorized Access Only";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--rr-ink);
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

.ihl-portal--login .ihl-portal-login-card label {
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  color: var(--rr-ink) !important;
  margin-bottom: 4px !important;
}

.ihl-portal--login .ihl-portal-login-card form {
  margin: 0;
  padding: 0 !important;
}

.ihl-portal--login .ihl-portal-login-card .login-username,
.ihl-portal--login .ihl-portal-login-card .login-password,
.ihl-portal--login .ihl-portal-login-card .login-remember,
.ihl-portal--login .ihl-portal-login-card .login-submit {
  margin-bottom: 10px !important;
  margin-top: 18px;
}

.ihl-portal--login .ihl-portal-login-card .ihl-portal-button {
  width: 100%;
  box-sizing: border-box;
}

.ihl-portal--login .ihl-portal-login-card--primary {
  --rr-redact-size: 12ch;
}

.ihl-portal--login .ihl-portal-login-card--primary input[type="text"],
.ihl-portal--login .ihl-portal-login-card--primary input[type="password"] {
  width: 100% !important;
  box-sizing: border-box;
  border: 1px solid var(--rr-ink) !important;
  border-radius: 0 !important;
  background-color: #ffffff !important;
  background-image: none !important;
  background-size: auto !important;
  background-position: 0 0 !important;
  background-repeat: no-repeat;
  padding: 0 14px !important;
  font-size: 15px !important;
  height: 44px;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  color: var(--rr-ink) !important;
  caret-color: var(--rr-ink) !important;
  letter-spacing: 0;
  transition: background-size 0.12s ease;
}

.ihl-portal--login .ihl-portal-login-card--primary input[type="text"]:focus,
.ihl-portal--login .ihl-portal-login-card--primary input[type="password"]:focus {
  box-shadow: none !important;
  border-color: var(--rr-ink) !important;
}

.ihl-portal--login .ihl-portal-login-card .login-remember label {
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  letter-spacing: 0.08em !important;
  color: var(--rr-ink) !important;
}

.ihl-portal--login .ihl-portal-login-card .login-remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--rr-ink);
  border: 1px solid var(--rr-ink);
}

.ihl-portal--login .ihl-portal-login-card input[type="submit"] {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0 !important;
  background: var(--rr-ink) !important;
  color: var(--rr-paper) !important;
  letter-spacing: 0.16em !important;
  padding: 0 18px !important;
  height: 44px;
  border: 1px solid var(--rr-ink);
}

.ihl-portal--login .ihl-portal-login-card .ihl-portal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px !important;
  height: 44px;
}

.ihl-portal--login .ihl-portal-login.is-request-open .ihl-portal-request-toggle {
  display: none !important;
}

.ihl-portal--login .ihl-portal-forgot a {
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ihl-portal--login .ihl-portal-forgot {
  text-align: right;
  margin-top: 6px;
}

@media (max-width: 768px) { 
  .ihl-portal--login .ihl-portal-login-card {
    padding: 4px 0px !important;
  }

  .ihl-portal--login .ihl-portal-login-card--primary {
    --rr-redact-size: 9ch;
    margin-top: -20px;
  }.     
  
  .rr-login-brand {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    transform: translateY(-20px);
  }

  .rr-login-mark {
    width: auto;
    height: 64px;
  }

  .rr-login-wordmark {
    width: auto;
    height: 64px;
  }
}

.rr-login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  transform: translateY(-100px);
}

.rr-login-brand--site {
  justify-content: center;
  transform: none;
  margin-bottom: 24px;
}

.rr-login-brand--site .custom-logo-link {
  display: inline-flex;
}

.rr-login-brand--site .custom-logo {
  height: 48px;
  width: auto;
}

.rr-login-brand--site .rr-login-site-name {
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 18px;
  color: var(--rr-ink);
}

.rr-login-mark {
  width: 100px;
  height: auto;
}

.rr-login-wordmark {
  width: 380px;
  height: auto;
}

@media (max-width: 768px) {
  .rr-login-brand {
    display: block;
    align-items: center;
    transform: translateY(-100px);
  }

  .rr-login-brand--site {
    transform: none;
    margin-bottom: 20px;
    display: flex;
  }

  .rr-login-brand--site .custom-logo {
    height: 40px;
  }

  .rr-login-mark {
    width: auto;
    height: 46px;
    margin-right: 10px;
  }

  .rr-login-wordmark {
    width: 260px;
    height: auto;
  }
}

/* COA pages */
.ihl-portal--coas .ihl-shop-banner-slider {
  --ihl-shop-banner-height: 600px;
  height: var(--ihl-shop-banner-height);
}

.ihl-portal--coas .ihl-shop-banner {
  height: var(--ihl-shop-banner-height);  
}

.ihl-portal--coas .ihl-coa-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0 18px;
}

.ihl-portal--coas .ihl-coa-heading h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ihl-portal--coas .ihl-coa-heading p {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280 !important;
}

.ihl-portal--coas .ihl-coa-grid {
  row-gap: 38px;
}

.ihl-portal--coas .ihl-coa-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ihl-portal--coas .ihl-coa-card-media {
  background: #d9d9d9;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.ihl-portal--coas .ihl-coa-card-vendor {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--mono, "IBM Plex Mono", monospace);
  color: rgba(0, 0, 0, 0.45) !important;
}

.ihl-portal--coas .ihl-coa-card-name {
  font-size: 16px;
  font-weight: 500;
}

.ihl-portal--coas .ihl-coa-card-size {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ihl-portal--coas .ihl-coa-card-link {
  margin-top: 8px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #111;
  border-color: #111;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  padding: 8px 12px;
}

.ihl-portal--coas .ihl-coa-card-link:hover {
  background: #000;
  color: #fff !important;
}

.ihl-portal--coas .ihl-coa-detail {
  display: grid;
  gap: 28px;
}

.ihl-portal--coas .ihl-coa-detail-header {
  text-align: center;
}

.ihl-portal--coas .ihl-coa-detail-title {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ihl-portal--coas .ihl-coa-detail-subtitle {
  margin: 6px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280 !important;
}

.ihl-portal--coas .ihl-coa-detail-media {
  margin: 0 auto;
  padding: 24px;
  border: 1px solid #d9d9d9;
  background: #fff;
}

.ihl-portal--coas .ihl-coa-detail-media img {
  width: 100%;
  height: auto;
  display: block;
}

.ihl-portal--coas .ihl-coa-product {
  max-width: 320px;
  margin: 0 auto;
}

.ihl-portal--coas .ihl-coa-product-card .ihl-shop-card-body {
  font-size: 16px;
}

.ihl-portal--coas .ihl-coa-related {
  margin-top: 12px;
}

.ihl-portal--coas .ihl-coa-related-title {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: #6b7280 !important;
}

.ihl-portal--coas .ihl-coa-view-all {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin: 20px 0 10px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ihl-portal--coas .ihl-coa-view-all::before,
.ihl-portal--coas .ihl-coa-view-all::after {
  content: "";
  height: 1px;
  background: #d9d9d9;
  flex: 1;
}

.ihl-portal--coas .ihl-coa-view-all a {
  text-decoration: none;
  color: #111 !important;
}

@media (max-width: 980px) {
  .ihl-portal--coas .ihl-coa-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .ihl-portal--coas .ihl-shop-banner-slider {
    --ihl-shop-banner-height: 260px;
  }

  .ihl-portal--coas .ihl-coa-detail-media {
    padding: 16px;
  }
}

/* ======================================================
 * ZERO PROTOCOL REFRESH
 * ====================================================== */
:root {
  --rr-ink: #222222;
  --rr-paper: #f4f8ff;
  --rr-fog: #e7f0ff;
  --rr-ash: #51607a;
  --rr-line: rgba(27, 132, 255, 0.18);
  --rr-accent: #1B84FF;
  --rr-accent-dark: #0B67C2;
  --rr-accent-soft: rgba(27, 132, 255, 0.12);
  --rr-surface: #ffffff;
  --rr-surface-muted: #f8fbff;
  --rr-shadow: 0 16px 34px rgba(11, 103, 194, 0.16);
  --rr-shadow-soft: 0 10px 22px rgba(27, 132, 255, 0.12);
  --rr-radius: 18px;
  --rr-radius-lg: 26px;
  --rr-radius-sm: 12px;
  --rr-radius-pill: 999px;
  --rr-shop-banner: linear-gradient(135deg, rgba(27, 132, 255, 0.22), rgba(11, 103, 194, 0.08));
  --rr-shop-card-bg: linear-gradient(150deg, rgba(27, 132, 255, 0.12), rgba(11, 103, 194, 0.04));
}

body {
  background: radial-gradient(1200px 600px at 85% 10%, rgba(27, 132, 255, 0.12), transparent 60%),
    radial-gradient(900px 520px at 10% 30%, rgba(11, 103, 194, 0.12), transparent 55%),
    var(--rr-paper);
  color: var(--rr-ink);
  letter-spacing: 0.005em;
}

.wp-site-blocks {
  background: transparent;
}

::selection {
  background: rgba(27, 132, 255, 0.28);
  color: #ffffff;
}

a {
  color: var(--rr-accent);
}

a:hover {
  color: var(--rr-accent-dark);
  background: var(--rr-accent-soft);
}

h1,
h2,
h3 {
  text-transform: none;
  letter-spacing: 0.01em;
}

hr {
  border-top: 1px solid var(--rr-line);
}

.wp-block-site-title,
.wp-block-navigation {
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--wp--preset--font-family--display, "Roboto", sans-serif);
}

header,
.wp-site-blocks > header,
header.wp-block-template-part {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--rr-line);
  box-shadow: 0 8px 22px rgba(11, 103, 194, 0.08);
  backdrop-filter: blur(12px);
}

footer,
.site-footer,
.wp-site-blocks > footer,
footer.wp-block-template-part,
.wp-block-template-part.wp-block-template-part-footer {
  background: linear-gradient(160deg, #0B67C2, #1B84FF);
  color: #eef4ff;
}

footer a,
footer .wp-block-site-title a,
footer .wp-block-navigation a,
.site-footer a {
  color: #eef4ff;
}

.ihl-portal-card,
.ihl-portal-login-card,
.ihl-portal-order-card,
.ihl-portal-payment,
.ihl-portal-order-summary,
.ihl-portal-table,
.ihl-portal-checkbox,
.ihl-portal-choice-group label,
.ihl-portal-preview,
.ihl-portal-search input,
.ihl-portal-select,
.ihl-portal-order-field input,
.ihl-portal-order-field textarea {
  border-radius: var(--rr-radius-lg) !important;
  border: 1px solid rgba(27, 132, 255, 0.18) !important;
  box-shadow: var(--rr-shadow-soft) !important;
  background: var(--rr-surface) !important;
}

.ihl-portal-order-card {
  border-radius: var(--rr-radius-lg) !important;
  border: 1px solid rgba(27, 132, 255, 0.2) !important;
  box-shadow: var(--rr-shadow) !important;
}

.ihl-portal-table {
  overflow: hidden;
}

.ihl-portal-table th {
  background: var(--rr-accent) !important;
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0.04em !important;
  font-weight: 600 !important;
}

.ihl-portal-header {
  border-bottom: 1px solid var(--rr-line) !important;
}

.ihl-portal-nav a {
  font-family: var(--wp--preset--font-family--display, "Roboto", sans-serif) !important;
  text-transform: none !important;
  letter-spacing: 0.04em !important;
  color: rgba(34, 34, 34, 0.7) !important;
}

.ihl-portal-nav a.is-active {
  color: var(--rr-accent-dark) !important;
}

.ihl-portal-nav a.is-active::after {
  background: var(--rr-accent) !important;
  border-radius: var(--rr-radius-pill) !important;
  height: 3px !important;
}

.ihl-portal-logo img {
  height: 28px;
}

.ihl-portal-button,
.ihl-portal-submit,
.ihl-portal-logout,
.ihl-portal-preview-clear,
.ihl-cart-item-update,
.ihl-cart-promo-apply,
.ihl-portal--checkout .ihl-portal-submit {
  border-radius: var(--rr-radius-pill) !important;
  font-family: var(--wp--preset--font-family--display, "Roboto", sans-serif) !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
  border: 1px solid transparent !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ihl-portal-button,
.ihl-portal-submit,
.ihl-cart-item-update,
.ihl-cart-promo-apply,
.ihl-portal--checkout .ihl-portal-submit {
  background: linear-gradient(135deg, var(--rr-accent), var(--rr-accent-dark)) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px rgba(27, 132, 255, 0.28) !important;
}

.ihl-portal-button:hover,
.ihl-portal-submit:hover,
.ihl-cart-item-update:hover,
.ihl-cart-promo-apply:hover,
.ihl-portal--checkout .ihl-portal-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(27, 132, 255, 0.32) !important;
}

.ihl-portal-button.secondary,
.ihl-portal-preview-clear,
.ihl-cart-promo-remove,
.ihl-portal--checkout .ihl-checkout-secondary,
.ihl-portal--checkout .ihl-checkout-tertiary {
  background: var(--rr-surface) !important;
  color: var(--rr-accent-dark) !important;
  border: 1px solid rgba(27, 132, 255, 0.24) !important;
  box-shadow: none !important;
}

.ihl-portal-search input,
.ihl-portal-select,
.ihl-portal-order-field input,
.ihl-portal-order-field textarea,
.ihl-portal--checkout .ihl-portal-checkbox,
.ihl-portal--cart .ihl-cart-item-qty input,
.ihl-portal--cart .ihl-cart-promo input {
  border-radius: var(--rr-radius-sm) !important;
  border: 1px solid rgba(27, 132, 255, 0.22) !important;
  background: var(--rr-surface-muted) !important;
  color: var(--rr-ink) !important;
}

.ihl-portal-order-field input:focus,
.ihl-portal-order-field textarea:focus,
.ihl-portal-search input:focus,
.ihl-portal-select:focus,
.ihl-portal--cart .ihl-cart-item-qty input:focus,
.ihl-portal--cart .ihl-cart-promo input:focus {
  border-color: var(--rr-accent) !important;
  box-shadow: 0 0 0 3px rgba(27, 132, 255, 0.18) !important;
  outline: none;
}

.ihl-portal--shop {
  padding: 0 32px 90px !important;
}

.ihl-portal--shop .ihl-portal-header {
  border: 1px solid rgba(27, 132, 255, 0.2) !important;
  border-radius: var(--rr-radius-lg) !important;
  padding: 16px 18px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: var(--rr-shadow-soft) !important;
  border-top: none !important;
}

.ihl-portal--shop .ihl-portal-preview {
  border-radius: var(--rr-radius) !important;
  border: 1px solid rgba(27, 132, 255, 0.22) !important;
  box-shadow: var(--rr-shadow-soft) !important;
  background: var(--rr-surface) !important;
  height: auto !important;
  padding: 10px 12px !important;
  top: 12px;
}

.ihl-portal--shop .ihl-portal-preview label {
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0.06em;
}

.ihl-portal--shop .ihl-portal-preview select {
  border-radius: var(--rr-radius-sm);
}

.ihl-portal--shop .ihl-portal-header h2 {
  text-transform: none;
  letter-spacing: 0.08em;
  color: var(--rr-accent-dark);
}

.ihl-portal--shop .ihl-portal-header-actions .ihl-portal-icon-link {
  width: 34px;
  height: 34px;
  border-radius: var(--rr-radius-pill);
  background: var(--rr-surface);
  border: 1px solid rgba(27, 132, 255, 0.22);
  box-shadow: var(--rr-shadow-soft);
}

.ihl-portal--shop .ihl-portal-icon-link img {
  width: 20px;
  height: 20px;
}

.ihl-portal-menu-toggle {
  border-radius: var(--rr-radius-pill);
  border: 1px solid rgba(27, 132, 255, 0.22);
  background: var(--rr-surface);
}

.ihl-portal-menu-toggle span {
  background: var(--rr-accent-dark);
}

.ihl-portal--cart .ihl-cart-alert {
  background: var(--rr-accent-soft);
  border-radius: var(--rr-radius);
  border: 1px solid rgba(27, 132, 255, 0.2);
}

.ihl-portal--cart .ihl-cart-item {
  border-bottom: 1px solid var(--rr-line);
}

.ihl-portal--cart .ihl-cart-item-media {
  border-radius: var(--rr-radius);
  border: 1px solid rgba(27, 132, 255, 0.2);
}

.ihl-portal--cart .ihl-cart-item-name {
  text-transform: none;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.ihl-portal--cart .ihl-cart-item-variant,
.ihl-portal--cart .ihl-cart-item-unit {
  color: var(--rr-ash);
}

.ihl-portal--cart .ihl-cart-summary-card {
  border-radius: var(--rr-radius-lg);
  box-shadow: var(--rr-shadow);
  border: 1px solid rgba(27, 132, 255, 0.16);
  background: var(--rr-surface);
}

.ihl-portal--cart .ihl-cart-title,
.ihl-portal--cart .ihl-cart-summary-card h3 {
  text-transform: none;
  letter-spacing: 0.08em;
}

.ihl-portal--checkout .ihl-checkout-card,
.ihl-portal--checkout .ihl-checkout-summary-card,
.ihl-portal--checkout .ihl-shippo-rate {
  border-radius: var(--rr-radius-lg) !important;
  border: 1px solid rgba(27, 132, 255, 0.18) !important;
  box-shadow: var(--rr-shadow-soft) !important;
}

.ihl-portal--login .ihl-portal-login-card {
  border-radius: var(--rr-radius-lg) !important;
  background: linear-gradient(180deg, rgba(27, 132, 255, 0.08), rgba(255, 255, 255, 0.95)) !important;
  box-shadow: var(--rr-shadow) !important;
  border: 1px solid rgba(27, 132, 255, 0.18) !important;
}

.ihl-portal--login .ihl-portal-login-card--primary::before {
  content: "Zero Protocol Access";
  border-radius: var(--rr-radius-pill);
  border: 1px solid rgba(27, 132, 255, 0.25);
  background: var(--rr-surface);
  color: var(--rr-accent-dark);
  text-transform: none;
  letter-spacing: 0.08em;
}

.ihl-portal--login .ihl-portal-login-card--primary input[type="text"],
.ihl-portal--login .ihl-portal-login-card--primary input[type="password"] {
  border-radius: var(--rr-radius);
  border: 1px solid rgba(27, 132, 255, 0.22) !important;
  background-color: var(--rr-surface-muted) !important;
  font-family: var(--wp--preset--font-family--display, "Roboto", sans-serif);
}

.ihl-portal--login .ihl-portal-login-card input[type="submit"] {
  background: linear-gradient(135deg, var(--rr-accent), var(--rr-accent-dark)) !important;
  border: none !important;
  border-radius: var(--rr-radius-pill) !important;
  letter-spacing: 0.02em !important;
}

.ihl-portal--login .ihl-portal-forgot a {
  text-transform: none;
  color: var(--rr-accent-dark);
}

.ihl-portal-toast {
  border-radius: var(--rr-radius) !important;
  border: 1px solid rgba(27, 132, 255, 0.2) !important;
  box-shadow: var(--rr-shadow-soft) !important;
  text-transform: none;
  letter-spacing: 0.04em;
}

.ihl-portal-toast::before {
  border-radius: var(--rr-radius-pill);
  background-color: var(--rr-accent-soft);
}

.ihl-portal--coas .ihl-coa-view-all {
  text-transform: none;
  letter-spacing: 0.08em;
}

.ihl-portal--coas .ihl-coa-view-all::before,
.ihl-portal--coas .ihl-coa-view-all::after {
  background: var(--rr-line);
}

.ihl-portal--coas .ihl-coa-view-all a {
  color: var(--rr-accent-dark) !important;
}

/* ======================================================
 * ZERO PROTOCOL LAYOUT PASS
 * ====================================================== */
body.rr-portal-page .ihl-portal {
  max-width: 1240px !important;
  margin: 32px auto 96px !important;
  padding: 0 24px !important;
}

body.rr-portal-page .ihl-portal-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 20px !important;
  margin: 0 0 24px !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(27, 132, 255, 0.2) !important;
  border-radius: var(--rr-radius-lg) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: var(--rr-shadow-soft) !important;
}

body.rr-portal-page .ihl-portal-header-main {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  grid-template-areas:
    "logo title"
    "logo nav"
    "logo preview" !important;
  column-gap: 18px !important;
  row-gap: 10px !important;
}

body.rr-portal-page .ihl-portal-logo {
  grid-area: logo;
  align-self: center;
}

body.rr-portal-page .ihl-portal-header h2 {
  grid-area: title;
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 600;
  color: var(--rr-accent-dark);
  letter-spacing: 0.02em;
}

body.rr-portal-page .ihl-portal-nav {
  grid-area: nav;
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 6px !important;
  padding: 6px 8px !important;
  border-radius: var(--rr-radius-pill) !important;
  background: rgba(27, 132, 255, 0.08) !important;
  border: 1px solid rgba(27, 132, 255, 0.18) !important;
}

body.rr-portal-page .ihl-portal-nav a {
  padding: 8px 14px !important;
  border-radius: var(--rr-radius-pill) !important;
  background: transparent !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
}

body.rr-portal-page .ihl-portal-nav a.is-active {
  background: var(--rr-accent) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

body.rr-portal-page .ihl-portal-nav a.is-active::after {
  display: none !important;
}

body.rr-portal-page .ihl-portal-nav::before,
body.rr-portal-page .ihl-portal--shop .ihl-portal-nav::before,
body.rr-portal-page .ihl-portal--login .ihl-portal-nav::before {
  content: none !important;
  display: none !important;
}

body.rr-portal-page .ihl-portal-preview {
  grid-area: preview;
  position: static !important;
  max-width: none !important;
  height: auto !important;
  align-self: start !important;
  justify-self: end !important;
  border-radius: var(--rr-radius-pill) !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(27, 132, 255, 0.22) !important;
  background: var(--rr-surface) !important;
  box-shadow: var(--rr-shadow-soft) !important;
}

body.rr-portal-page .ihl-portal-preview-form {
  gap: 8px !important;
}

body.rr-portal-page .ihl-portal-preview select {
  border-radius: var(--rr-radius-pill) !important;
  border: 1px solid rgba(27, 132, 255, 0.22) !important;
  background: var(--rr-surface-muted) !important;
  font-size: 12px !important;
}

body.rr-portal-page .ihl-portal-header-actions {
  position: static !important;
  align-self: center !important;
  padding: 6px 8px !important;
  border-radius: var(--rr-radius-pill) !important;
  border: 1px solid rgba(27, 132, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--rr-shadow-soft) !important;
}

body.rr-portal-page .ihl-portal-icon-link {
  width: 36px !important;
  height: 36px !important;
  border-radius: var(--rr-radius-pill) !important;
  border: 1px solid rgba(27, 132, 255, 0.2) !important;
  background: var(--rr-accent-soft) !important;
}

body.rr-portal-page .ihl-portal-icon-link img {
  width: 20px !important;
  height: 20px !important;
}

body.rr-portal-page .ihl-portal-icon-link.has-items .ihl-portal-icon-badge {
  background: var(--rr-accent) !important;
  color: #ffffff !important;
  border-radius: var(--rr-radius-pill) !important;
}

body.rr-portal-page .ihl-portal-main {
  margin-top: 18px !important;
}

.ihl-portal--shop {
  padding: 0 24px 84px !important;
}

.ihl-portal--shop .ihl-portal-header {
  background: rgba(255, 255, 255, 0.96) !important;
}

.ihl-shop-banner-slider,
.ihl-portal--pricing .ihl-shop-banner-slider {
  width: 100% !important;
  margin: 0 0 32px !important;
  border-radius: var(--rr-radius-lg) !important;
  overflow: hidden;
  --ihl-shop-banner-height: 420px;
  height: var(--ihl-shop-banner-height);
  box-shadow: var(--rr-shadow) !important;
}

.ihl-shop-banner {
  height: var(--ihl-shop-banner-height);
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  padding: 42px;
  background: linear-gradient(140deg, rgba(27, 132, 255, 0.24), rgba(11, 103, 194, 0.12));
}

.ihl-shop-banner::after {
  background: linear-gradient(180deg, rgba(11, 103, 194, 0.05), rgba(11, 103, 194, 0.25));
}

.ihl-shop-banner .ihl-shop-banner-cta {
  align-items: flex-start;
  text-align: left;
}

.ihl-shop-banner .ihl-shop-banner-kicker {
  text-transform: none;
  letter-spacing: 0.12em;
  color: var(--rr-accent-dark);
}

.ihl-shop-banner .ihl-shop-banner-title {
  text-transform: none;
  letter-spacing: 0.02em;
}

.ihl-shop-banner .ihl-shop-banner-button {
  border: none;
  border-radius: var(--rr-radius-pill);
  background: var(--rr-accent);
  color: #ffffff !important;
  letter-spacing: 0.04em;
}

.ihl-shop-banner-dot {
  border-color: rgba(27, 132, 255, 0.35);
}

.ihl-shop-banner-dot.is-active {
  background: var(--rr-accent);
  border-color: var(--rr-accent);
}

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

.ihl-portal--pricing .ihl-shop-sidebar-inner {
  border-radius: var(--rr-radius-lg);
  border: 1px solid rgba(27, 132, 255, 0.18);
  padding: 18px;
  background: var(--rr-surface);
  box-shadow: var(--rr-shadow-soft);
}

.ihl-shop-toolbar {
  padding: 12px 16px;
  border-radius: var(--rr-radius);
  background: var(--rr-surface);
  border: 1px solid rgba(27, 132, 255, 0.18);
  box-shadow: var(--rr-shadow-soft);
}

.ihl-shop-search {
  border-bottom: none;
  border-radius: var(--rr-radius-pill);
  background: var(--rr-surface-muted);
  border: 1px solid rgba(27, 132, 255, 0.2);
  padding: 6px 12px;
}

.ihl-shop-search input {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 12px;
}

.ihl-portal--shop .ihl-shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.ihl-shop-card {
  background: var(--rr-surface);
  border-radius: var(--rr-radius-lg);
  border: 1px solid rgba(27, 132, 255, 0.16);
  padding: 16px;
  box-shadow: var(--rr-shadow-soft);
  height: 100%;
}

.ihl-shop-card-media {
  border-radius: var(--rr-radius);
  border: 1px solid rgba(27, 132, 255, 0.16);
  overflow: hidden;
  background: var(--rr-shop-card-bg);
}

.ihl-shop-card-title {
  text-transform: none;
  letter-spacing: 0.04em;
}

.ihl-shop-card-vendor {
  text-transform: none;
  letter-spacing: 0.06em;
  color: var(--rr-ash);
}

.ihl-shop-card-price {
  color: var(--rr-accent-dark);
}

.ihl-shop-card-tag {
  border-radius: var(--rr-radius-pill);
  border: 1px solid rgba(27, 132, 255, 0.35);
  color: var(--rr-accent-dark);
  text-transform: none;
  letter-spacing: 0.04em;
}

.ihl-shop-add-button {
  border-radius: var(--rr-radius-pill) !important;
  background: var(--rr-accent) !important;
  color: #ffffff !important;
  border: none !important;
}

.ihl-shop-qty-input {
  border-radius: var(--rr-radius-pill) !important;
  border: 1px solid rgba(27, 132, 255, 0.25) !important;
  background: var(--rr-surface) !important;
}

.ihl-cart-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px) !important;
  gap: 32px !important;
}

.ihl-cart-summary {
  position: sticky;
  top: 120px;
}

.ihl-cart-summary-card {
  border-radius: var(--rr-radius-lg) !important;
  box-shadow: var(--rr-shadow) !important;
  border: 1px solid rgba(27, 132, 255, 0.16) !important;
}

.ihl-checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px) !important;
  gap: 32px !important;
}

.ihl-checkout-summary {
  top: 120px;
}

.ihl-checkout-card,
.ihl-checkout-summary-card {
  border-radius: var(--rr-radius-lg) !important;
  border: 1px solid rgba(27, 132, 255, 0.18) !important;
  box-shadow: var(--rr-shadow-soft) !important;
}

.ihl-portal--orders .ihl-portal-table,
.ihl-portal--account .ihl-portal-table {
  border-radius: var(--rr-radius-lg) !important;
  overflow: hidden;
}

.ihl-portal--home .ihl-home-link,
.ihl-portal--home .ihl-home-disclaimer-card {
  border-radius: var(--rr-radius-lg);
  border: 1px solid rgba(27, 132, 255, 0.18);
  background: var(--rr-surface);
  box-shadow: var(--rr-shadow-soft);
}

.ihl-portal--home .ihl-home-link-label,
.ihl-portal--home .ihl-home-trust-label {
  text-transform: none;
  letter-spacing: 0.08em;
  color: var(--rr-accent-dark);
}

.ihl-portal--login .ihl-portal-login-wrap {
  padding: 80px 24px;
}

.ihl-portal--login .ihl-portal-login {
  max-width: 520px;
}

@media (max-width: 980px) {
  body.rr-portal-page .ihl-portal-header {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.rr-portal-page .ihl-portal-header-actions {
    justify-self: start;
  }

  body.rr-portal-page .ihl-portal-header-main {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "logo"
      "title"
      "nav"
      "preview" !important;
  }

  body.rr-portal-page .ihl-portal-preview {
    justify-self: start !important;
    width: 100%;
  }

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

  .ihl-cart-layout,
  .ihl-checkout-layout {
    grid-template-columns: 1fr !important;
  }

  .ihl-cart-summary,
  .ihl-checkout-summary {
    position: static;
  }

  .ihl-shop-banner-slider {
    --ihl-shop-banner-height: 300px;
  }
}
